| | |
| | | { |
| | | "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
| | | |
| | | |
| | | { |
| | | "path": "pages/LoginDemo/LoginDemo", |
| | | "style": { |
| | |
| | | "navigationBarTitleText" : "提取物料", |
| | | "enablePullDownRefresh" : false |
| | | } |
| | | } |
| | | ,{ |
| | | "path" : "pages/project/jmAGV/home", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "主页", |
| | | }, |
| | | { |
| | | "path" : "pages/project/jmAGV/home", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText": "主页", |
| | | "navigationStyle": "custom", |
| | | // 去掉顶部导航栏 |
| | | "enablePullDownRefresh": false |
| | | "enablePullDownRefresh": false |
| | | |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | } |
| | | ], |
| | | "globalStyle": { |
| | | "navigationBarTextStyle": "black", |
| | |
| | | if (network) { |
| | | baseUrl = `http://${network[0].ip}:${network[0].port}/${network[0].address}` |
| | | } |
| | | console.log(network); |
| | | |
| | | async function onLogin(user) { |
| | | console.log(network); |
| | | let _this = this, |
| | | item = {}; |
| | | var login = await uni.request({ |
| | |
| | | /* margin: 1%; */ |
| | | background-color: azure; |
| | | } |
| | | .zcard { |
| | | /* .zcard { |
| | | margin: 10px 100px; |
| | | /* background-color: blanchedalmond; */ |
| | | } |
| | | background-color: #409EFF; |
| | | } */ |
| | | .zcard-flex { |
| | | /* background-color: coral; */ |
| | | margin-top: 20rpx; |
| | | width: 100%; |
| | | height: 100%; |
| | | display: flex; |
| | |
| | | align-items: center; |
| | | } |
| | | .button-nk { |
| | | margin: 10rpx; |
| | | padding: 20rpx 70rpx; |
| | | margin: 10rpx 0rpx; |
| | | /* padding: 20rpx 70rpx; */ |
| | | /* background-color: azure; */ |
| | | min-width: 200rpx; |
| | | min-width: 150rpx; |
| | | /* margin: 0 auto; */ |
| | | height: 50px; |
| | | height: 50rpx; |
| | | text-align: center; |
| | | line-height: 50px; |
| | | font-size: 20px; |
| | | line-height: 50rpx; |
| | | font-size: 20rpx; |
| | | background-color: #409EFF; |
| | | color: #ECF0F1; |
| | | border-radius: 7px; |