diff --git a/App.vue b/App.vue index 7d3e0ab..43b5f72 100644 --- a/App.vue +++ b/App.vue @@ -12,8 +12,8 @@ console.log(token.secretKey,'App Launch') } else { uni.reLaunch({ - url: '/pages/login/login' - // url:'/pages/spjk/index' + // url: '/pages/login/login' + url:'/pages/zhjs/index' }) console.log(token.secretKey,'App Launch2') } @@ -34,6 +34,7 @@ @import "@/uni_modules/uview-ui/index.scss"; /* #ifndef APP-NVUE */ @import '@/static/customicons.css'; + @import 'ol/ol.css'; // 设置整个项目的背景色 page { // background: linear-gradient(-180deg, #64acf0 0%, #ffffff 62%,#EEF3F6 70%); @@ -106,4 +107,11 @@ // color: #3399ef; } } +// .amap-logo { +// display: none !important; +// } +// .amap-copyright { +// display: none !important; +// } + diff --git a/manifest.json b/manifest.json index 498a326..bb887b4 100644 --- a/manifest.json +++ b/manifest.json @@ -10,6 +10,7 @@ "usingComponents" : true, "nvueCompiler" : "uni-app", "nvueStyleCompiler" : "uni-app", + "runmode":"liberate", "splashscreen" : { "alwaysShowBeforeRender" : true, "waiting" : true, diff --git a/package.json b/package.json index 547af8c..1076917 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "echarts": "^4.9.0", "es6-promise": "^4.2.8", "flv.js": "^1.6.2", - "moment": "^2.30.1" + "moment": "^2.30.1", + "ol": "^10.2.1" } } diff --git a/pages.json b/pages.json index 2b6cb13..fbaaf0c 100644 --- a/pages.json +++ b/pages.json @@ -77,6 +77,26 @@ "style": { "navigationBarTitleText": "" } + }, + { + "path": "pages/zhjs/index", + "style": { + "navigationBarTitleText": "", + "app-plus": { + "titleNView": false, + "subNVues": [ + { + "id": "drawer", + "path": "pages/zhjs/subnvue/index.nvue", + "style": { + "position": "absolute", + "width": "100%", + "height": "100%" + } + } + ] + } + } }, { "path": "pages/mypage/compents/wtcl/index", diff --git a/pages/homeIndex/index.vue b/pages/homeIndex/index.vue index 04b5a09..3ae5fd7 100644 --- a/pages/homeIndex/index.vue +++ b/pages/homeIndex/index.vue @@ -88,6 +88,12 @@ computed: { getNavList() { return [ + { + value: '综合监视', + key: 1, + icon: '../../static/tabs/yujing_icon@2x2.png', + url: '/pages/zhjs/index' + }, { value: '预警', key: 2, diff --git a/pages/skInfo/detail/basicInfo.vue b/pages/skInfo/detail/basicInfo.vue index 97123e7..ee386b9 100644 --- a/pages/skInfo/detail/basicInfo.vue +++ b/pages/skInfo/detail/basicInfo.vue @@ -1,22 +1,5 @@ \ No newline at end of file diff --git a/pages/zhjs/index.vue b/pages/zhjs/index.vue new file mode 100644 index 0000000..bfe7f0b --- /dev/null +++ b/pages/zhjs/index.vue @@ -0,0 +1,59 @@ + + + + \ No newline at end of file diff --git a/pages/zhjs/index1.vue b/pages/zhjs/index1.vue new file mode 100644 index 0000000..e80155d --- /dev/null +++ b/pages/zhjs/index1.vue @@ -0,0 +1,62 @@ + + + diff --git a/pages/zhjs/subnvue/index.nvue b/pages/zhjs/subnvue/index.nvue new file mode 100644 index 0000000..a3bb1f4 --- /dev/null +++ b/pages/zhjs/subnvue/index.nvue @@ -0,0 +1,50 @@ + + + + \ No newline at end of file diff --git a/static/tabs/add.png b/static/tabs/add.png index 3dc048a..036e72d 100644 Binary files a/static/tabs/add.png and b/static/tabs/add.png differ diff --git a/static/tabs/dingwei.png b/static/tabs/dingwei.png new file mode 100644 index 0000000..735b7a6 Binary files /dev/null and b/static/tabs/dingwei.png differ