shuishen
2024-03-22 a22193b0d38a8ab76f4be0e3923e41592dae453d
测试更改测试
4 files modified
1 files added
54 ■■■■■ changed files
common/setting.js 24 ●●●● patch | view | raw | blame | history
manifest.json 12 ●●●● patch | view | raw | blame | history
pages.json 2 ●●● patch | view | raw | blame | history
pages/login/login-account.vue 16 ●●●● patch | view | raw | blame | history
static/icon/login-title-ys.png patch | view | raw | blame | history
common/setting.js
@@ -3,40 +3,40 @@
 */
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,
}
};
manifest.json
@@ -1,6 +1,6 @@
{
    "name" : "饶城格格通",
    "appid" : "__UNI__EE88272",
    "appid" : "__UNI__A3B9E26",
    "description" : "",
    "versionName" : "1.0.10",
    "versionCode" : 104,
@@ -142,7 +142,7 @@
    "quickapp" : {},
    /* 小程序特有相关 */
    "mp-weixin" : {
        "appid" : "wx41aa8a5d2e565a05",
        "appid" : "wxc92dcfb4afc3e34b",
        "setting" : {
            "urlCheck" : false,
            "minified" : true,
@@ -156,13 +156,7 @@
        "uniStatistics" : {
            "enable" : false
        },
        "requiredPrivateInfos" : [
            "getLocation",
            "chooseLocation",
            "onLocationChange",
            "startLocationUpdateBackground"
        ],
        "requiredBackgroundModes" : [ "location" ], //必填
        "requiredPrivateInfos" : [ "getLocation", "chooseLocation" ],
        "permission" : {
            "scope.userLocation" : {
                "desc" : "定位"
pages.json
@@ -1020,7 +1020,7 @@
    ],
    "globalStyle": {
        "navigationBarTextStyle": "black",
        "navigationBarTitleText": "饶城智理通",
        "navigationBarTitleText": "社区网格治理",
        "navigationBarBackgroundColor": "#fff",
        "backgroundColor": "#4586FE"
    },
pages/login/login-account.vue
@@ -11,7 +11,7 @@
        <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>
@@ -26,14 +26,14 @@
                </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">
@@ -148,7 +148,7 @@
                        },
                        {
                            validator: (rule, value, callback) => {
                                return uni.$u.test.mobile(value);
                        return uni.$u.test.mobile(value)
                            },
                            message: '手机号码不正确',
                            trigger: ['change', 'blur'],
@@ -174,8 +174,8 @@
        },
        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: {
@@ -184,8 +184,8 @@
                // if(!this.isAgreement){
                // }
                console.log(111);
                this.loginType = 1;
            console.log(111)
            this.loginType = 1
            },
            submit() {
static/icon/login-title-ys.png