| | |
| | | { |
| | | "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
| | | { |
| | | "path": "pages/test/test", |
| | | "style": { |
| | | "navigationStyle": "custom", |
| | | // 去掉顶部导航栏 |
| | | "app-plus": { |
| | | "titleNView": false |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/home/home", |
| | | "style": { |
| | | "navigationStyle": "custom", |
| | | // 去掉顶部导航栏 |
| | | "app-plus": { |
| | | "titleNView": false |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/index", |
| | | "style": { |
| | | "navigationStyle": "custom", |
| | |
| | | "titleNView": false |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/index/index", |
| | | "style": { |
| | | "navigationStyle": "custom", |
| | | // 去掉顶部导航栏 |
| | | "app-plus": { |
| | | "titleNView": false |
| | | } |
| | | } |
| | | }, |
| | | { |
| | | "path": "pages/index/monitor", |
| | | "style": { |
| | | "navigationStyle": "custom" |
| | | } |
| | | } |
| | | // { |
| | | // "path": "pages/home/home", |
| | | // "style": { |
| | | // "navigationStyle": "custom", |
| | | // // 去掉顶部导航栏 |
| | | // "app-plus": { |
| | | // "titleNView": false |
| | | // } |
| | | // } |
| | | // }, |
| | | // { |
| | | // "path": "pages/index", |
| | | // "style": { |
| | | // "navigationStyle": "custom", |
| | | // // 去掉顶部导航栏 |
| | | // "app-plus": { |
| | | // "titleNView": false |
| | | // } |
| | | // } |
| | | // }, |
| | | // { |
| | | // "path": "pages/index/index", |
| | | // "style": { |
| | | // "navigationStyle": "custom", |
| | | // // 去掉顶部导航栏 |
| | | // "app-plus": { |
| | | // "titleNView": false |
| | | // } |
| | | // } |
| | | // }, |
| | | // { |
| | | // "path": "pages/index/monitor", |
| | | // "style": { |
| | | // "navigationStyle": "custom" |
| | | // } |
| | | // } |
| | | |
| | | |
| | | ], |
| | |
| | | <template> |
| | | <view class="container"> |
| | | <view> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | |
| | | |
| | | <script> |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | // page 设置可以重置这些 |
| | | page { |
| | | width: 100%; |
| | | height: 100%; |
| | | } |
| | | .container { |
| | | height: 100%; |
| | | width: 100%; |
| | | background-image: url(../static/background.png); |
| | | background-size: 100% 100%; |
| | | } |
| | | <style> |
| | | </style> |