|  |  | 
 |  |  | { | 
 |  |  |     "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages | 
 |  |  | 		 | 
 |  |  |         { | 
 |  |  |             "path": "pages/component/demo", | 
 |  |  |             "style": { | 
 |  |  |                 "navigationBarTitleText": "测试" | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |             "path": "pages/LoginDemo/LoginDemo", | 
 |  |  |             "style": { | 
 |  |  | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         { | 
 |  |  |             "path": "pages/component/demo", | 
 |  |  |             "path": "pages/home/home", | 
 |  |  |             "style": { | 
 |  |  |                 "navigationBarTitleText": "测试" | 
 |  |  |                 "navigationBarTitleText": "Home" | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  | 		 | 
 |  |  | 		 | 
 |  |  |         { | 
 |  |  |             "path": "pages/common/data-list/dataDetail", | 
 |  |  |             "style": { | 
 
 |  |  | 
 |  |  | <template> | 
 |  |  |     <view class="main"> | 
 |  |  |         <!-- 设置按钮 --> | 
 |  |  |         <uni-icons type="gear" size="30" color="#b1b3b8" class="setting"></uni-icons> | 
 |  |  |         <uni-icons type="gear" size="30" color="#b1b3b8" class="setting" @click="settings"></uni-icons> | 
 |  |  |         <view class="left"> | 
 |  |  |             <!-- logo --> | 
 |  |  |             <view class="logo-box"> | 
 |  |  | 
 |  |  |                 登录 | 
 |  |  |             </view> | 
 |  |  |         </view> | 
 |  |  | 		 | 
 |  |  | 		 | 
 |  |  |         <!-- 设置弹窗区域 --> | 
 |  |  |         <uni-popup ref="settings" type="dialog" style="height: 100%;width: 100%;background-color: aqua;"> | 
 |  |  |             <view class="popup"> | 
 |  |  |                 <!-- 标题 --> | 
 |  |  |                 <view class="title">配置</view> | 
 |  |  |                 <view class="popup-item"> | 
 |  |  |                     <view class="popup-item-left">IP:</view> | 
 |  |  |                     <view class="popup-item-right"><input type="text" v-model="url.ip"></view> | 
 |  |  |                 </view> | 
 |  |  |                 <view class="popup-item"> | 
 |  |  |                     <view class="popup-item-left">端口:</view> | 
 |  |  |                     <view class="popup-item-right"><input type="text" v-model="url.port"></view> | 
 |  |  |                 </view> | 
 |  |  |                 <view class="popup-item"> | 
 |  |  |                     <view class="popup-item-left">项目:</view> | 
 |  |  |                     <view class="popup-item-right"><input type="text" v-model="url.project"></view> | 
 |  |  |                 </view> | 
 |  |  |             </view> | 
 |  |  |         </uni-popup> | 
 |  |  | 		 | 
 |  |  |         <!-- 版本号 --> | 
 |  |  |         <!-- #ifdef APP-PLUS --> | 
 |  |  |         <view class="version"> | 
 |  |  | 
 |  |  |         data() { | 
 |  |  |             return { | 
 |  |  |                 version: '', | 
 |  |  |                 remberPassword: true | 
 |  |  |                 remberPassword: true, | 
 |  |  |                 url: { | 
 |  |  |                     ip: '', | 
 |  |  |                     port: '', | 
 |  |  |                     project: '' | 
 |  |  |                 }, | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         mounted() { | 
 |  |  | 
 |  |  |         methods: { | 
 |  |  |             remberChange() { | 
 |  |  |                  | 
 |  |  |             }, | 
 |  |  |             settings() { | 
 |  |  |                 this.$refs.settings.open() | 
 |  |  |             } | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  | 
 |  |  |         font-size: 10px; | 
 |  |  |         color: #909399; | 
 |  |  |     } | 
 |  |  | 	 | 
 |  |  |     .popup { | 
 |  |  |         background-color: #fff; | 
 |  |  |         width: 100%; | 
 |  |  |     } | 
 |  |  | </style> | 
 
| New file | 
 |  |  | 
 |  |  | <template> | 
 |  |  |     <view class=""> | 
 |  |  |         Home | 
 |  |  |     </view> | 
 |  |  | </template> | 
 |  |  |  | 
 |  |  | <script> | 
 |  |  | </script> | 
 |  |  |  | 
 |  |  | <style> | 
 |  |  | </style> |