From: guangchao.xu Date: Mon, 18 Jan 2021 05:37:55 +0000 (+0800) Subject: 添加设置密保、密保改密、版本提示 更新版本v2.2.0 版本号android 10 ios 11 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=c43cf97c3449110b612e0954dbe37879e1c8ed63;p=dali_platform%2Fmobile.git 添加设置密保、密保改密、版本提示 更新版本v2.2.0 版本号android 10 ios 11 --- diff --git a/App.vue b/App.vue index fa9f0db..3ffa7df 100644 --- a/App.vue +++ b/App.vue @@ -1,11 +1,13 @@ diff --git a/manifest.json b/manifest.json index 632e48e..1d51cc8 100644 --- a/manifest.json +++ b/manifest.json @@ -1,262 +1,265 @@ { - "name": "大理市民卡", - "appid": "__UNI__6DDB720", - "description": "大理市民服务app", - "versionName": "2.1.0", - "versionCode": 7, - "transformPx": false, - "app-plus": { - // APP-VUE分包,可提APP升启动速度,2.7.12开始支持,兼容微信小程序分包方案,默认关闭 - "compatible": { - "ignoreVersion": true //true为忽略版本检查框 - }, - "optimization": { - "subPackages": true - }, - "safearea": { - "bottom": { - "offset": "none" - } - }, - "splashscreen": { - "alwaysShowBeforeRender": true, - "waiting": true, - "autoclose": true, - "delay": 0 - }, - "usingComponents": true, - "nvueCompiler": "uni-app", - "compilerVersion": 3, - "modules": { - "FaceID": {}, - "Fingerprint": {}, - "Maps": {}, - "Geolocation": {} - }, - "distribute": { - "android": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "permissionExternalStorage": { - "request": "none", - "prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。" - }, - "permissionPhoneState": { - "request": "none", - "prompt": "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。" - }, - "abiFilters": ["armeabi-v7a", "arm64-v8a"] - }, - "ios": { - "privacyDescription": { - "NSCameraUsageDescription": "使用扫一扫识别二维码需要访问相机权限", - "NSPhotoLibraryUsageDescription": "使用app特制功能需要访问相机权限" - } - }, - "sdkConfigs": { - "ad": {}, - "maps": { - "amap": { - "appkey_ios": "301567cad1afe899587917e803441d60", - "appkey_android": "6e97c7069def9d8f0f3aa3d421ce196b" - } - }, - "geolocation": { - "amap": { - "__platform__": ["ios", "android"], - "appkey_ios": "301567cad1afe899587917e803441d60", - "appkey_android": "6e97c7069def9d8f0f3aa3d421ce196b" - } - } - }, - "icons": { - "android": { - "hdpi": "unpackage/res/icons/72x72.png", - "xhdpi": "unpackage/res/icons/96x96.png", - "xxhdpi": "unpackage/res/icons/144x144.png", - "xxxhdpi": "unpackage/res/icons/192x192.png" - }, - "ios": { - "appstore": "unpackage/res/icons/1024x1024.png", - "ipad": { - "app": "unpackage/res/icons/76x76.png", - "app@2x": "unpackage/res/icons/152x152.png", - "notification": "unpackage/res/icons/20x20.png", - "notification@2x": "unpackage/res/icons/40x40.png", - "proapp@2x": "unpackage/res/icons/167x167.png", - "settings": "unpackage/res/icons/29x29.png", - "settings@2x": "unpackage/res/icons/58x58.png", - "spotlight": "unpackage/res/icons/40x40.png", - "spotlight@2x": "unpackage/res/icons/80x80.png" - }, - "iphone": { - "app@2x": "unpackage/res/icons/120x120.png", - "app@3x": "unpackage/res/icons/180x180.png", - "notification@2x": "unpackage/res/icons/40x40.png", - "notification@3x": "unpackage/res/icons/60x60.png", - "settings@2x": "unpackage/res/icons/58x58.png", - "settings@3x": "unpackage/res/icons/87x87.png", - "spotlight@2x": "unpackage/res/icons/80x80.png", - "spotlight@3x": "unpackage/res/icons/120x120.png" - } - } - }, - "splashscreen": { - "androidStyle": "default" - } - }, - "nativePlugins": { - "KJ-JPush": { - "ios_appkey": "d644d997f2cab0551ff704a3", - "android_channel": "huawei", - "android_appkey": "d644d997f2cab0551ff704a3", - "ios_channel": "appstore", - "__plugin_info__": { - "name": "【离线包、源码优惠出售】极光推送(ios、andorid)", - "description": "【不维护试用合适再购买3.33块】离线包源码优惠价66块,购买源码加QQ:543610866", - "platforms": "Android,iOS", - "url": "https://ext.dcloud.net.cn/plugin?id=1009", - "android_package_name": "com.dalicitycard.app", - "ios_bundle_id": "com.dalicitycard.app", - "isCloud": true, - "bought": 1, - "pid": "1009", - "parameters": { - "ios_appkey": { - "des": "发布ios时,必填,填写极光推送的APPKEY", - "key": "JPUSH_APPKEY", - "value": "${ios_appkey}" - }, - "android_channel": { - "des": "发布android时,必填,填写发布渠道,如不知道,填写:huawei", - "key": "JPUSH_CHANNEL", - "value": "${android_channel}" - }, - "android_appkey": { - "des": "发布android时,必填,填写极光推送的APPKEY", - "key": "JPUSH_APPKEY", - "value": "${android_appkey}" - }, - "ios_channel": { - "des": "发布ios时,必填,填写发布渠道,如不知道,填写:appstore", - "key": "JPUSH_CHANNEL", - "value": "${ios_channel}" - } - } - } - }, - "Mpaas-Scan": { - "AppId": "ONEX1D49B6A241152", - "WorkspaceId": "default", - "License": "zvI8Ix1QYGLcZWTu9pfuwRxhPIERACTAjd2rQ66ky3zCCWLCCZDiISir89uVn4y+OGn0jcPIX/mMsZ8NIZXjfsgvB/m5MzVeaycZ7WRC4cxzoXjMSeN+AYty28ssiJJMdP1kFtIAoy/80VPeOBhl+yozUFaaTtDWEyMqT6XujcLWVuTJp8WHBvvLj0KmoleFV+OAusd+9keF9aSSHGwSwM1IbU9M4JMZsKWmLaKBpC77Ag0MVUhhdnY6MZ5Mff/KDivd5oGu1hbzXBPfoUlEkNppe3gwbxRTUM6k0OndyczPgZdVL9gC1/+UGH7kwiBNjegibMdySzsQuujbtISwFA==", - "__plugin_info__": { - "name": "支付宝原生扫码插件", - "description": "支付宝原生扫码组件,包体积仅0.7MB,15分钟即可完成接入。同时,mPaaS提供「扫码分析」大盘", - "platforms": "Android,iOS", - "url": "https://ext.dcloud.net.cn/plugin?id=2636", - "android_package_name": "com.dalicitycard.app", - "ios_bundle_id": "com.dalicitycard.app", - "isCloud": true, - "bought": 1, - "pid": "2636", - "parameters": { - "AppId": { - "des": "Android平台的AppId,请填写Android的config文件中的appId对应的值", - "key": "mobilegw.appid", - "value": "" - }, - "WorkspaceId": { - "des": "Android平台的WorkspaceId,请填写Android的config文件中的workspaceId对应的值", - "key": "workspaceId", - "value": "" - }, - "License": { - "des": "Android平台的License,,请填写Android的config文件中的mpaasConfigLicense对应的值", - "key": "mpaasConfigLicense", - "value": "" - } - } - } - } - } - }, - "quickapp": {}, - "mp-weixin": { - "appid": "wxc458a08d7fb5b4d3", - "setting": { - "urlCheck": true, - "es6": false, - "minified": true, - "postcss": true - }, - "optimization": { - "subPackages": true - }, - "usingComponents": true, - "permission": { - "scope.userLocation": { - "desc": "你的位置信息将用于小程序位置接口的效果展示" - } - } - }, - "mp-alipay": { - "usingComponents": true, - "component2": true - }, - "mp-baidu": { - "usingComponents": true, - "appid": "" - }, - "mp-toutiao": { - "usingComponents": true - }, - "h5": { - "template": "template.h5.html", - "router": { - "mode": "hash", - "base": "" - }, - "optimization": { - "treeShaking": { - "enable": true - } - }, - "title": "uView UI", - "devServer": { - "proxy": { - "/api": { - "target": "http://yy.dlsmk.cn:8080/portal/mobileapi", - "changeOrigin": true, - "pathRewrite": { - "^/api": "" - } - } - } - } - }, - "channel_list": [{ - "id": "baidu", - "name": "百度应用市场" - }] + "name" : "大理市民卡", + "appid" : "__UNI__6DDB720", + "description" : "大理市民服务app", + "versionName" : "2.2.0", + "versionCode" : 11, + "transformPx" : false, + "app-plus" : { + // APP-VUE分包,可提APP升启动速度,2.7.12开始支持,兼容微信小程序分包方案,默认关闭 + "compatible" : { + "ignoreVersion" : true //true为忽略版本检查框 + }, + "optimization" : { + "subPackages" : true + }, + "safearea" : { + "bottom" : { + "offset" : "none" + } + }, + "splashscreen" : { + "alwaysShowBeforeRender" : true, + "waiting" : true, + "autoclose" : true, + "delay" : 0 + }, + "usingComponents" : true, + "nvueCompiler" : "uni-app", + "compilerVersion" : 3, + "modules" : { + "FaceID" : {}, + "Fingerprint" : {}, + "Maps" : {}, + "Geolocation" : {} + }, + "distribute" : { + "android" : { + "permissions" : [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "permissionExternalStorage" : { + "request" : "none", + "prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。" + }, + "permissionPhoneState" : { + "request" : "none", + "prompt" : "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。" + }, + "abiFilters" : [ "armeabi-v7a", "arm64-v8a" ] + }, + "ios" : { + "privacyDescription" : { + "NSCameraUsageDescription" : "使用扫一扫功能识别二维码需要访问相机权限", + "NSPhotoLibraryUsageDescription" : "使用留言功能上传图片需要访问相册权限", + "NSLocationAlwaysAndWhenInUseUsageDescription" : "使用网点查询功能需要访问位置权限" + } + }, + "sdkConfigs" : { + "ad" : {}, + "maps" : { + "amap" : { + "appkey_ios" : "301567cad1afe899587917e803441d60", + "appkey_android" : "6e97c7069def9d8f0f3aa3d421ce196b" + } + }, + "geolocation" : { + "amap" : { + "__platform__" : [ "ios", "android" ], + "appkey_ios" : "301567cad1afe899587917e803441d60", + "appkey_android" : "6e97c7069def9d8f0f3aa3d421ce196b" + } + } + }, + "icons" : { + "android" : { + "hdpi" : "unpackage/res/icons/72x72.png", + "xhdpi" : "unpackage/res/icons/96x96.png", + "xxhdpi" : "unpackage/res/icons/144x144.png", + "xxxhdpi" : "unpackage/res/icons/192x192.png" + }, + "ios" : { + "appstore" : "unpackage/res/icons/1024x1024.png", + "ipad" : { + "app" : "unpackage/res/icons/76x76.png", + "app@2x" : "unpackage/res/icons/152x152.png", + "notification" : "unpackage/res/icons/20x20.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "proapp@2x" : "unpackage/res/icons/167x167.png", + "settings" : "unpackage/res/icons/29x29.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "spotlight" : "unpackage/res/icons/40x40.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png" + }, + "iphone" : { + "app@2x" : "unpackage/res/icons/120x120.png", + "app@3x" : "unpackage/res/icons/180x180.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "notification@3x" : "unpackage/res/icons/60x60.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "settings@3x" : "unpackage/res/icons/87x87.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png", + "spotlight@3x" : "unpackage/res/icons/120x120.png" + } + } + }, + "splashscreen" : { + "androidStyle" : "default" + } + }, + "nativePlugins" : { + "KJ-JPush" : { + "ios_appkey" : "d644d997f2cab0551ff704a3", + "android_channel" : "huawei", + "android_appkey" : "d644d997f2cab0551ff704a3", + "ios_channel" : "appstore", + "__plugin_info__" : { + "name" : "【离线包、源码优惠出售】极光推送(ios、andorid)", + "description" : "【不维护试用合适再购买3.33块】离线包源码优惠价66块,购买源码加QQ:543610866", + "platforms" : "Android,iOS", + "url" : "https://ext.dcloud.net.cn/plugin?id=1009", + "android_package_name" : "com.dalicitycard.app", + "ios_bundle_id" : "com.dalicitycard.app", + "isCloud" : true, + "bought" : 1, + "pid" : "1009", + "parameters" : { + "ios_appkey" : { + "des" : "发布ios时,必填,填写极光推送的APPKEY", + "key" : "JPUSH_APPKEY", + "value" : "${ios_appkey}" + }, + "android_channel" : { + "des" : "发布android时,必填,填写发布渠道,如不知道,填写:huawei", + "key" : "JPUSH_CHANNEL", + "value" : "${android_channel}" + }, + "android_appkey" : { + "des" : "发布android时,必填,填写极光推送的APPKEY", + "key" : "JPUSH_APPKEY", + "value" : "${android_appkey}" + }, + "ios_channel" : { + "des" : "发布ios时,必填,填写发布渠道,如不知道,填写:appstore", + "key" : "JPUSH_CHANNEL", + "value" : "${ios_channel}" + } + } + } + }, + "Mpaas-Scan" : { + "AppId" : "ONEX1D49B6A241152", + "WorkspaceId" : "default", + "License" : "zvI8Ix1QYGLcZWTu9pfuwRxhPIERACTAjd2rQ66ky3zCCWLCCZDiISir89uVn4y+OGn0jcPIX/mMsZ8NIZXjfsgvB/m5MzVeaycZ7WRC4cxzoXjMSeN+AYty28ssiJJMdP1kFtIAoy/80VPeOBhl+yozUFaaTtDWEyMqT6XujcLWVuTJp8WHBvvLj0KmoleFV+OAusd+9keF9aSSHGwSwM1IbU9M4JMZsKWmLaKBpC77Ag0MVUhhdnY6MZ5Mff/KDivd5oGu1hbzXBPfoUlEkNppe3gwbxRTUM6k0OndyczPgZdVL9gC1/+UGH7kwiBNjegibMdySzsQuujbtISwFA==", + "__plugin_info__" : { + "name" : "支付宝原生扫码插件", + "description" : "支付宝原生扫码组件,包体积仅0.7MB,15分钟即可完成接入。同时,mPaaS提供「扫码分析」大盘", + "platforms" : "Android,iOS", + "url" : "https://ext.dcloud.net.cn/plugin?id=2636", + "android_package_name" : "com.dalicitycard.app", + "ios_bundle_id" : "com.dalicitycard.app", + "isCloud" : true, + "bought" : 1, + "pid" : "2636", + "parameters" : { + "AppId" : { + "des" : "Android平台的AppId,请填写Android的config文件中的appId对应的值", + "key" : "mobilegw.appid", + "value" : "" + }, + "WorkspaceId" : { + "des" : "Android平台的WorkspaceId,请填写Android的config文件中的workspaceId对应的值", + "key" : "workspaceId", + "value" : "" + }, + "License" : { + "des" : "Android平台的License,,请填写Android的config文件中的mpaasConfigLicense对应的值", + "key" : "mpaasConfigLicense", + "value" : "" + } + } + } + } + } + }, + "quickapp" : {}, + "mp-weixin" : { + "appid" : "wxc458a08d7fb5b4d3", + "setting" : { + "urlCheck" : true, + "es6" : false, + "minified" : true, + "postcss" : true + }, + "optimization" : { + "subPackages" : true + }, + "usingComponents" : true, + "permission" : { + "scope.userLocation" : { + "desc" : "你的位置信息将用于小程序位置接口的效果展示" + } + } + }, + "mp-alipay" : { + "usingComponents" : true, + "component2" : true + }, + "mp-baidu" : { + "usingComponents" : true, + "appid" : "" + }, + "mp-toutiao" : { + "usingComponents" : true + }, + "h5" : { + "template" : "template.h5.html", + "router" : { + "mode" : "hash", + "base" : "" + }, + "optimization" : { + "treeShaking" : { + "enable" : true + } + }, + "title" : "uView UI", + "devServer" : { + "proxy" : { + "/api" : { + "target" : "http://yy.dlsmk.cn:8080/portal/mobileapi", + "changeOrigin" : true, + "pathRewrite" : { + "^/api" : "" + } + } + } + } + }, + "channel_list" : [ + { + "id" : "baidu", + "name" : "百度应用市场" + } + ] } diff --git a/pages.json b/pages.json index 94efca2..a918896 100644 --- a/pages.json +++ b/pages.json @@ -114,6 +114,12 @@ "style": { "navigationBarTitleText": "手机认证" } + }, + { + "path": "forgetPwd/question", + "style": { + "navigationBarTitleText": "密保验证" + } } ] @@ -380,6 +386,18 @@ "navigationBarTitleText": "设置邮箱" } }, + { + "path": "question/index", + "style": { + "navigationBarTitleText": "密保" + } + }, + { + "path": "setQuestion/index", + "style": { + "navigationBarTitleText": "设置密保" + } + }, { "path": "integralQuery/index", "style": { diff --git a/pages/sub_basic/forgetPwd/index.vue b/pages/sub_basic/forgetPwd/index.vue index 523f916..0c5e66e 100644 --- a/pages/sub_basic/forgetPwd/index.vue +++ b/pages/sub_basic/forgetPwd/index.vue @@ -1,8 +1,8 @@ @@ -30,7 +25,8 @@ cardno:'', idno:'', signed:'', - tel:'' + tel:'', + email:'' } }, methods: { @@ -39,11 +35,12 @@ onLoad() { let that = this that.name = uni.getStorageSync('name')?uni.getStorageSync('name'):'佚名' - that.bankcardno = uni.getStorageSync('bankcardno')?uni.getStorageSync('bankcardno'):'暂无银行卡信息' - that.cardno = uni.getStorageSync('cardno')?uni.getStorageSync('cardno').substr(0,2) + '****' + uni.getStorageSync('cardno').substr(6,2):'暂无市民卡信息' - that.idno = uni.getStorageSync('idno')?uni.getStorageSync('idno'):'暂无身份证信息' - that.signed = uni.getStorageSync('signed') == 'yes' ? '已绑定签约':'未绑定' - that.tel = uni.getStorageSync('phoneX') ? uni.getStorageSync('phoneX') : '暂无手机号' + that.bankcardno = uni.getStorageSync('bankcardno')?uni.getStorageSync('bankcardno'):'无银行卡信息' + that.cardno = uni.getStorageSync('cardno')?uni.getStorageSync('cardno').substr(0,2) + '****' + uni.getStorageSync('cardno').substr(6,2):'无市民卡信息' + that.idno = uni.getStorageSync('idno')?uni.getStorageSync('idno'):'无身份证信息' + that.signed = uni.getStorageSync('signed') == 'yes' ? '已绑定签约':'未绑定签约' + that.tel = uni.getStorageSync('phoneX') ? uni.getStorageSync('phoneX') : '无手机号' + that.email = uni.getStorageSync('email') ? uni.getStorageSync('email') : '未绑定邮箱' } } diff --git a/pages/sub_mine/question/index.vue b/pages/sub_mine/question/index.vue new file mode 100644 index 0000000..8fd7082 --- /dev/null +++ b/pages/sub_mine/question/index.vue @@ -0,0 +1,63 @@ + + + + + diff --git a/pages/sub_mine/setQuestion/index.vue b/pages/sub_mine/setQuestion/index.vue new file mode 100644 index 0000000..c746443 --- /dev/null +++ b/pages/sub_mine/setQuestion/index.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/pages/sub_tabbar/index.vue b/pages/sub_tabbar/index.vue index 0851a76..7264790 100644 --- a/pages/sub_tabbar/index.vue +++ b/pages/sub_tabbar/index.vue @@ -14,7 +14,7 @@ - + @@ -57,7 +57,7 @@ 签到即可领积分 - + {{activity.title?activity.title:''}} @@ -105,6 +105,7 @@