4 files modified
1 files added
| | |
| | | */ |
| | | module.exports = { |
| | | // 应用名, |
| | | name: '饶城格格通', |
| | | name: "社区网格治理", |
| | | // 应用logo,支持本地路径和网络路径 |
| | | logo: '/static/images/base.ico', |
| | | logo: "/static/images/base.ico", |
| | | // 版本号 |
| | | version: '2.0.0', |
| | | version: "2.0.0", |
| | | // 开发环境接口Url |
| | | // devUrl: 'http://z4042833u6.wicp.vip', |
| | | // devUrl: 'https://srgdjczzxtpt.com:2080/api', |
| | | devUrl: 'http://192.168.2.140:9528', |
| | | devUrl: 'https://srgdjczzxtpt.com:2080/api', |
| | | // devUrl: "http://192.168.2.140:9528", |
| | | // devUrl: 'https://kt39592615.goho.co', |
| | | minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/", |
| | | // minioBaseUrl: "http://192.168.0.101:9528/", |
| | | // 数据中台接口url |
| | | dataCenterUrl: 'https://sk.hubeishuiyi.cn/services', |
| | | dataCenterUrl: "https://sk.hubeishuiyi.cn/services", |
| | | //洪水预报接口url |
| | | hsybUrl: "https://sk.hubeishuiyi.cn/hsybApi/api/fh-admin", |
| | | // 线上环境接口Url |
| | | prodUrl: 'https://srgdjczzxtpt.com:2080/api', |
| | | prodUrl: "https://srgdjczzxtpt.com:2080/api", |
| | | |
| | | // prodUrl: 'http://192.168.2.140:9528', |
| | | |
| | | // 后端数据的接收方式application/json;charset=UTF-8或者application/x-www-form-urlencoded;charset=UTF-8 |
| | | contentType: 'application/json;charset=UTF-8', |
| | | contentType: "application/json;charset=UTF-8", |
| | | // 后端返回状态码 |
| | | codeName: 'code', |
| | | codeName: "code", |
| | | // 操作正常code |
| | | successCode: 200, |
| | | // 登录失效code |
| | | invalidCode: 401, |
| | | // 客户端ID |
| | | clientId: 'rider', |
| | | clientId: "rider", |
| | | // 客户端密钥 |
| | | clientSecret: 'rider_secret', |
| | | clientSecret: "rider_secret", |
| | | // token过期时间(秒) |
| | | // 30天 30*24*60*60 |
| | | tokenTime: 2592000, |
| | | } |
| | | }; |
| | |
| | | { |
| | | "name" : "饶城格格通", |
| | | "appid" : "__UNI__EE88272", |
| | | "appid" : "__UNI__A3B9E26", |
| | | "description" : "", |
| | | "versionName" : "1.0.10", |
| | | "versionCode" : 104, |
| | |
| | | "quickapp" : {}, |
| | | /* 小程序特有相关 */ |
| | | "mp-weixin" : { |
| | | "appid" : "wx41aa8a5d2e565a05", |
| | | "appid" : "wxc92dcfb4afc3e34b", |
| | | "setting" : { |
| | | "urlCheck" : false, |
| | | "minified" : true, |
| | |
| | | "uniStatistics" : { |
| | | "enable" : false |
| | | }, |
| | | "requiredPrivateInfos" : [ |
| | | "getLocation", |
| | | "chooseLocation", |
| | | "onLocationChange", |
| | | "startLocationUpdateBackground" |
| | | ], |
| | | "requiredBackgroundModes" : [ "location" ], //必填 |
| | | "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ], |
| | | "permission" : { |
| | | "scope.userLocation" : { |
| | | "desc" : "定位" |
| | |
| | | ], |
| | | "globalStyle": { |
| | | "navigationBarTextStyle": "black", |
| | | "navigationBarTitleText": "饶城智理通", |
| | | "navigationBarTitleText": "社区网格治理", |
| | | "navigationBarBackgroundColor": "#fff", |
| | | "backgroundColor": "#4586FE" |
| | | }, |
| | |
| | | |
| | | |
| | | <view class="content" v-if="!loginType"> |
| | | <image class="title-img" src="/static/icon/login-title.png" mode="aspectFill"></image> |
| | | <image class="title-img" src="/static/icon/login-title-ys.png" mode="aspectFill"></image> |
| | | <view class="flex f-d-c a-i-c" style="margin-bottom:60rpx;"> |
| | | <view class="f-28">登录后即可展示自己</view> |
| | | <view class="fw" style="font-size:56rpx;margin:40rpx 0 38rpx;">185****1647</view> |
| | |
| | | </u-checkbox-group> |
| | | |
| | | <view class="f-22">我已阅读并同意<text class="c-main">用户协议</text>和<text class="c-main">隐私政策</text>以及 <text |
| | | class="c-main">《中国移动认证服务条款》</text>·同时登录并使用基层智治综合协同平台</view> |
| | | class="c-main">《中国移动认证服务条款》</text>·同时登录并使用社区网格治理平台</view> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | <view class="content" v-if="loginType == 1"> |
| | | |
| | | <image class="title-img" src="/static/icon/login-title.png" mode="aspectFill"></image> |
| | | <image class="title-img" src="/static/icon/login-title-ys.png" mode="aspectFill"></image> |
| | | |
| | | <view class=""> |
| | | <u-form labelPosition="top" labelWidth="60" :model="form" :rules="rules" ref="form"> |
| | |
| | | }, |
| | | { |
| | | validator: (rule, value, callback) => { |
| | | return uni.$u.test.mobile(value); |
| | | return uni.$u.test.mobile(value) |
| | | }, |
| | | message: '手机号码不正确', |
| | | trigger: ['change', 'blur'], |
| | |
| | | }, |
| | | |
| | | onLoad() { |
| | | this.screenHeight = `${uni.getSystemInfoSync().screenHeight}px`; |
| | | this.form.phone = uni.getStorageSync("phoneNmber"); |
| | | this.screenHeight = `${uni.getSystemInfoSync().screenHeight}px` |
| | | this.form.phone = uni.getStorageSync("phoneNmber") |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | // if(!this.isAgreement){ |
| | | |
| | | // } |
| | | console.log(111); |
| | | this.loginType = 1; |
| | | console.log(111) |
| | | this.loginType = 1 |
| | | }, |
| | | |
| | | submit() { |