瀏覽代碼

数据库

姜皓天 3 月之前
父節點
當前提交
8da4369a79

+ 1 - 0
src/app/app.component.ts

@@ -1,5 +1,6 @@
 import { Component } from '@angular/core';
 
+
 @Component({
   selector: 'app-root',
   templateUrl: './app.component.html',

+ 6 - 4
src/app/app.module.ts

@@ -27,11 +27,13 @@ import { ReactiveFormsModule } from '@angular/forms';
 import { TestComponent } from './test/test.component';
 
 // 引入Parse第三方库
-import * as Parse from "parse"
-(Parse as any).serverURL = "https://web2023.fmode.cn/parse"
-Parse.initialize("dev")
-
+// import * as Parse from "parse"
+// (Parse as any).serverURL = "https://web2023.fmode.cn/parse"
+// Parse.initialize("dev")
 
+import * as Parse from "parse";
+Parse.initialize("dev");
+(Parse as any).serverURL = 'http://web2023.fmode.cn:9999/parse'
 
 
 

+ 1 - 1
src/app/articlefive/articlefive.component.scss

@@ -5,7 +5,7 @@
     background-color: #d6f1e0;
     border: 1px solid #1e0000;
     border-radius: 5px;
-    height: 640px; /* 设置一个固定的高度 */
+    height: 85vh; /* 设置一个固定的高度 */
     overflow-y: scroll; /* 当内容溢出时显示滚动条 */
   }
   

+ 3 - 1
src/app/articlefive/articlefive.component.ts

@@ -1,5 +1,7 @@
 import { Component, OnInit } from '@angular/core';
-import Parse from 'parse';
+// import Parse from 'parse';
+// Parse.initialize("dev")
+// Parse.serverURL = 'http://web2023.fmode.cn:9999/parse'
 
 @Component({
   selector: 'app-articlefive',

+ 1 - 1
src/app/articlefour/articlefour.component.scss

@@ -5,7 +5,7 @@
     background-color: #d6f1e0;
     border: 1px solid #1e0000;
     border-radius: 5px;
-    height: 640px; /* 设置一个固定的高度 */
+    height: 85vh; /* 设置一个固定的高度 */
     overflow-y: scroll; /* 当内容溢出时显示滚动条 */
   }
   

+ 1 - 1
src/app/articleone/articleone.component.scss

@@ -5,7 +5,7 @@
   background-color: #d6f1e0;
   border: 1px solid #1e0000;
   border-radius: 5px;
-  height: 640px; /* 设置一个固定的高度 */
+  height: 85vh; /* 设置一个固定的高度 */
   overflow-y: scroll; /* 当内容溢出时显示滚动条 */
 }
 

+ 1 - 1
src/app/articleseven/articleseven.component.scss

@@ -5,7 +5,7 @@
     background-color: #d6f1e0;
     border: 1px solid #1e0000;
     border-radius: 5px;
-    height: 640px; /* 设置一个固定的高度 */
+    height:85vh; /* 设置一个固定的高度 */
     overflow-y: scroll; /* 当内容溢出时显示滚动条 */
   }
   

+ 1 - 1
src/app/articlesix/articlesix.component.scss

@@ -5,7 +5,7 @@
     background-color: #d6f1e0;
     border: 1px solid #1e0000;
     border-radius: 5px;
-    height: 640px; /* 设置一个固定的高度 */
+    height: 85vh; /* 设置一个固定的高度 */
     overflow-y: scroll; /* 当内容溢出时显示滚动条 */
   }
   

+ 1 - 1
src/app/articlesix/articlesix.component.ts

@@ -1,5 +1,5 @@
 import { Component, OnInit } from '@angular/core';
-import Parse from 'parse';
+import * as Parse from "parse"
 
 @Component({
   selector: 'app-articlesix',

+ 1 - 1
src/app/articlethree/articlethree.component.scss

@@ -5,7 +5,7 @@
     background-color: #d6f1e0;
     border: 1px solid #1e0000;
     border-radius: 5px;
-    height: 640px; /* 设置一个固定的高度 */
+    height: 85vh; /* 设置一个固定的高度 */
     overflow-y: scroll; /* 当内容溢出时显示滚动条 */
   }
   

+ 1 - 1
src/app/articletwo/articletwo.component.scss

@@ -5,7 +5,7 @@
     background-color: #d6f1e0;
     border: 1px solid #1e0000;
     border-radius: 5px;
-    height: 640px; /* 设置一个固定的高度 */
+    height:85vh; /* 设置一个固定的高度 */
     overflow-y: scroll; /* 当内容溢出时显示滚动条 */
   }