From 0b7da8dfcf42c85191dc9b939ce5fc98cb8f4fa2 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Sun, 25 Jun 2023 16:33:26 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5=E6=A1=8C=E7=A0=81=202.?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5=203.?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=89=AB=E7=A0=81=E5=88=86=E9=85=8D=E4=BA=8C?= =?UTF-8?q?=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 5 +- Utils/Api.js | 43 +- components/downloadUp.vue | 616 +++++++++--------- manifest.json | 266 ++++---- pages/index/bindScan/bindScan.vue | 16 +- .../merchant-details/merchant-details.vue | 26 +- pages/index/salesOrderList/salesOrderList.vue | 24 +- .../scanCodeAllocation/scanCodeAllocation.vue | 18 +- pages/tabBar/home/home.vue | 6 + 9 files changed, 523 insertions(+), 497 deletions(-) diff --git a/App.vue b/App.vue index 263e37f..f9e1a21 100644 --- a/App.vue +++ b/App.vue @@ -59,9 +59,8 @@ const res = uni.getSystemInfoSync(); uni.setStorageSync('platform', res.platform); - plus.runtime.getProperty(plus.runtime.appid, function(inf) { - uni.setStorageSync('version', inf.version); // 大版本号 - uni.setStorageSync('versionCode', inf.versionCode); // 小版本号 + plus.runtime.getProperty(plus.runtime.appid, function(inf) { + uni.setStorageSync('version', inf.versionCode); }); let uuid = plus.device.uuid; diff --git a/Utils/Api.js b/Utils/Api.js index ff9dc61..3abfc92 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -177,18 +177,6 @@ export const deviceRefund = params => { -// //门店添加设备 -// export const bindStoreDevice = params => { -// return POST('POST', `${base}/device/bindStoreDevice`, params).then(res => res.data); -// } -// //业务员查询设备列表 -// export const getSalesmanDeviceList = params => { -// return POST('GET', `${base}/device/getSalesmanDeviceList`, params).then(res => res.data); -// } -// //门店查询设备列表 -// export const getStoreDeviceList = params => { -// return POST('GET', `${base}/device/getStoreDeviceList`, params).then(res => res.data); -// } //业务员查询统计 export const moveHomeCount = params => { @@ -264,25 +252,34 @@ export const enrollActivity = params => { // 配置费率 export const configRosterRate = params => { return POST('POST', `${base}/bankActivity/configRosterRate`, params).then(res => res.data); -} - -//进件复议 +} + +//进件复议 export const reconsider = params => { return POST('POST', `${base}/mer/reconsider`, params).then(res => res.data); -} -//根据商户查询结算 +} +//根据商户查询结算 export const getSettleAcctByMer = params => { return POST('GET', `${base}/merSettleAcct/getSettleAcctByMer`, params).then(res => res.data); -} -//上传cid +} +//上传cid export const uniPush = params => { return POST('GET', `${base}/test/uniPush`, params).then(res => res.data); -} -//绑定门店关系 +} +//绑定门店关系 export const connectStoreCid = params => { return POST('POST', `${base}/storeCid/connectStoreCid`, params).then(res => res.data); -} -//结束播报语音 +} +//解除绑定 +export const unbindStore = params => { + return POST('POST', `${base}/payQrCode/unbindStore`, params).then(res => res.data); +} + +//结束播报语音 export const voiceSucceed = params => { return POST('GET', `${base}/storeCid/voiceSucceed`, params).then(res => res.data); } +//查询版本号?termType=APP +export const queryVersion = params => { + return POST('GET', `${base}/sysVersion/queryVersion`, params).then(res => res.data); +} diff --git a/components/downloadUp.vue b/components/downloadUp.vue index adb346c..da79ecc 100644 --- a/components/downloadUp.vue +++ b/components/downloadUp.vue @@ -1,294 +1,324 @@ - - - - \ No newline at end of file diff --git a/manifest.json b/manifest.json index d49c779..e8d4b83 100644 --- a/manifest.json +++ b/manifest.json @@ -1,133 +1,133 @@ -{ - "name" : "惠支付", - "appid" : "__UNI__190622D", - "description" : "", - "versionName" : "1.0.0", - "versionCode" : "100", - "transformPx" : false, - /* 5+App特有相关 */ - "app-plus" : { - "usingComponents" : true, - "nvueStyleCompiler" : "uni-app", - "compilerVersion" : 3, - "splashscreen" : { - "alwaysShowBeforeRender" : true, - "waiting" : true, - "autoclose" : true, - "delay" : 0 - }, - /* 模块配置 */ - "modules" : { - "Push" : {} - }, - /* 应用发布信息 */ - "distribute" : { - /* android打包配置 */ - "android" : { - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - /* ios打包配置 */ - "ios" : { - "dSYMs" : false - }, - /* SDK配置 */ - "sdkConfigs" : { - "push" : { - "unipush" : { - "offline" : false, - "hms" : {} - } - }, - "ad" : {} - }, - "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" - } - } - } - } - }, - /* 快应用特有相关 */ - "quickapp" : {}, - /* 小程序特有相关 */ - "mp-weixin" : { - "appid" : "", - "setting" : { - "urlCheck" : false - }, - "usingComponents" : true - }, - "mp-alipay" : { - "usingComponents" : true - }, - "mp-baidu" : { - "usingComponents" : true - }, - "mp-toutiao" : { - "usingComponents" : true - }, - "uniStatistics" : { - "enable" : false - }, - "vueVersion" : "2", - "h5" : { - "router" : { - "base" : "/cweb", - "mode" : "hash" - }, - "title" : "惠支付", - "devServer" : { - "https" : false - }, - "sdkConfigs" : { - "maps" : { - "qqmap" : { - "key" : "7UMBZ-HFEHX-HSD4Q-Z3QY6-OQKN7-2QBDB" - } - } - } - } -} +{ + "name": "惠支付", + "appid": "__UNI__190622D", + "description": "", + "versionName": "1.0.0", + "versionCode": 101, + "transformPx": false, + /* 5+App特有相关 */ + "app-plus": { + "usingComponents": true, + "nvueStyleCompiler": "uni-app", + "compilerVersion": 3, + "splashscreen": { + "alwaysShowBeforeRender": true, + "waiting": true, + "autoclose": true, + "delay": 0 + }, + /* 模块配置 */ + "modules": { + "Push": {} + }, + /* 应用发布信息 */ + "distribute": { + /* android打包配置 */ + "android": { + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ] + }, + /* ios打包配置 */ + "ios": { + "dSYMs": false + }, + /* SDK配置 */ + "sdkConfigs": { + "push": { + "unipush": { + "offline": false, + "hms": {} + } + }, + "ad": {} + }, + "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" + } + } + } + } + }, + /* 快应用特有相关 */ + "quickapp": {}, + /* 小程序特有相关 */ + "mp-weixin": { + "appid": "", + "setting": { + "urlCheck": false + }, + "usingComponents": true + }, + "mp-alipay": { + "usingComponents": true + }, + "mp-baidu": { + "usingComponents": true + }, + "mp-toutiao": { + "usingComponents": true + }, + "uniStatistics": { + "enable": false + }, + "vueVersion": "2", + "h5": { + "router": { + "base": "/cweb", + "mode": "hash" + }, + "title": "惠支付", + "devServer": { + "https": false + }, + "sdkConfigs": { + "maps": { + "qqmap": { + "key": "7UMBZ-HFEHX-HSD4Q-Z3QY6-OQKN7-2QBDB" + } + } + }, + } +} \ No newline at end of file diff --git a/pages/index/bindScan/bindScan.vue b/pages/index/bindScan/bindScan.vue index 424be23..ac8e152 100644 --- a/pages/index/bindScan/bindScan.vue +++ b/pages/index/bindScan/bindScan.vue @@ -17,16 +17,16 @@ 创建: {{item.createTime | timeFormat('yyyy-mm-dd')}} {{item.createTime | timeFormat('hh:mm')}} - +