diff --git a/main.js b/main.js index ce5fa7e..bf77b46 100644 --- a/main.js +++ b/main.js @@ -13,8 +13,8 @@ import * as filters from '@/utils/formatFilter' uni.$http = $http Vue.prototype.$api = api -// $http.baseUrl = 'http://146.56.223.227:9527' -$http.baseUrl = 'http://localhost:9527' +$http.baseUrl = 'http://146.56.223.227:9527' +// $http.baseUrl = 'http://localhost:9527' $http.beforeRequest = function(options) { uni.showLoading({ diff --git a/pages.json b/pages.json index 3956d8b..875b656 100644 --- a/pages.json +++ b/pages.json @@ -26,7 +26,8 @@ "path": "pages/knowledge/knowledge", "style": { "navigationBarTitleText": "全民演练", - "enablePullDownRefresh": true + "enablePullDownRefresh": true, + "navigationStyle": "custom" } } ], @@ -71,7 +72,8 @@ "style" : { "navigationBarTitleText" : "", - "enablePullDownRefresh" : true + "enablePullDownRefresh" : true, + "navigationStyle": "custom" } }, { diff --git a/pages/index/index.vue b/pages/index/index.vue index 442ec19..df335a3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -67,7 +67,7 @@ }, onLoad() { this.getSwiperList(); - // this.checkLogin() + this.checkLogin() }, onShow() { this.page= "home" diff --git a/pages/knowledge/knowledge.vue b/pages/knowledge/knowledge.vue index 4add765..3854284 100644 --- a/pages/knowledge/knowledge.vue +++ b/pages/knowledge/knowledge.vue @@ -1,9 +1,14 @@ diff --git a/static/base_css.css b/static/base_css.css index e569621..c5cfc99 100644 --- a/static/base_css.css +++ b/static/base_css.css @@ -275,7 +275,7 @@ h3.contit span { .mainwrap3 { top: 0; - height: calc(100% - 90rpx); + height: calc(100% - 160rpx); overflow-y: hidden; } diff --git a/subpkg/list/list.vue b/subpkg/list/list.vue index 402e397..85b7f51 100644 --- a/subpkg/list/list.vue +++ b/subpkg/list/list.vue @@ -1,7 +1,7 @@