diff --git a/app.json b/app.json
index e16005f..5328106 100644
--- a/app.json
+++ b/app.json
@@ -1,14 +1,15 @@
{
- "pages":[
+ "pages": [
"pages/index/index",
"pages/index/login",
"pages/index/user",
"pages/blackboard/index"
],
- "window":{
- "backgroundTextStyle":"light",
- "navigationBarBackgroundColor": "#fff",
+ "window": {
+ "backgroundTextStyle": "light",
+ "navigationBarBackgroundColor": "#f8f8f8",
+ "backgroundColor": "#f8f8f8",
"navigationBarTitleText": "南外人黑板",
- "navigationBarTextStyle":"black"
+ "navigationBarTextStyle": "black"
}
}
diff --git a/pages/blackboard/index.js b/pages/blackboard/index.js
index 1f367ee..9fb8875 100644
--- a/pages/blackboard/index.js
+++ b/pages/blackboard/index.js
@@ -4,7 +4,7 @@ const moment = require('../../lib/moment-with-locales.min');
Page({
data: {
classes: [],
- clazIndex: 0,
+ clazIndex: 1,
clazInfo: [],
datail: [],
teacher: []
diff --git a/pages/blackboard/index.wxml b/pages/blackboard/index.wxml
index 9711c2b..b730a2a 100644
--- a/pages/blackboard/index.wxml
+++ b/pages/blackboard/index.wxml
@@ -1,5 +1,5 @@
-
+
@@ -19,31 +19,32 @@
- 公告
-
+ 公告
+
-
-
-
-
- {{item.content}}
-
- 截止日期:{{item.deadline}}
-
-
- 发布日期:{{item.time}}
+
+ {{item.time}}
+
+
+ {{item.content}}
+
+
+
+ 截止日期
+ {{item.deadline}}
- 附件
-
-
-
-
+
+ 附件
+
+
+
+
diff --git a/pages/blackboard/index.wxss b/pages/blackboard/index.wxss
index 9a75e66..dfad36f 100644
--- a/pages/blackboard/index.wxss
+++ b/pages/blackboard/index.wxss
@@ -1,3 +1,6 @@
.markdown {
- margin: 5px;
+ margin: 10px;
+}
+.weui-form-preview{
+ margin-bottom: 25px;
}
\ No newline at end of file
diff --git a/project.config.json b/project.config.json
index 31a830c..d494285 100644
--- a/project.config.json
+++ b/project.config.json
@@ -4,7 +4,7 @@
"ignore": []
},
"setting": {
- "urlCheck": false,
+ "urlCheck": true,
"es6": true,
"postcss": true,
"minified": true,