diff --git a/App.vue b/App.vue index 9621055..53bdbee 100644 --- a/App.vue +++ b/App.vue @@ -4,11 +4,11 @@ // url: 'http://192.168.3.4:9301/crest', // imgUrl: 'https://192.168.3.4:9301/filesystem/', //正式 - url: 'https://pay.bxb.cn/crest', - imgUrl: 'https://xuan-pay-private.obs.cn-southwest-2.myhuaweicloud.com', - //测试 - // url: 'https://paycs.dctpay.com/crest', + // url: 'https://pay.bxb.cn/crest', // imgUrl: 'https://xuan-pay-private.obs.cn-southwest-2.myhuaweicloud.com', + //测试 + url: 'https://paycs.dctpay.com/crest', + imgUrl: 'https://xuan-pay-private.obs.cn-southwest-2.myhuaweicloud.com', userInfo: "", openId: '', code: '', diff --git a/Utils/Api.js b/Utils/Api.js index beb3010..2be773f 100644 --- a/Utils/Api.js +++ b/Utils/Api.js @@ -107,3 +107,15 @@ export const storemoveHomeCount = params => { export const getTradeOrderList = params => { return POST('GET', `${base}/tradeOrder/getTradeOrderList`, params).then(res => res.data); } +//业务员绑定门店二维码 +export const bindStore = params => { + return POST('POST', `${base}/payQrCode/bindStore`, params).then(res => res.data); +} +//业务员查询二维码列表 +export const getSalesmanQrCodeList = params => { + return POST('GET', `${base}/payQrCode/getSalesmanQrCodeList`, params).then(res => res.data); +} +//门店查询二维码列表 +export const getStoreQrCodeList = params => { + return POST('GET', `${base}/payQrCode/getStoreQrCodeList`, params).then(res => res.data); +} diff --git a/pages.json b/pages.json index 2647a65..965307f 100644 --- a/pages.json +++ b/pages.json @@ -1,18 +1,18 @@ { "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/login/login", - "style": { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "登录", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } - } - - },{ + { + "path": "pages/login/login", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "登录", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + }, { "path": "pages/tabBar/home/home", "style": { "navigationBarTextStyle": "white", @@ -23,7 +23,7 @@ "softinputNavBar": "none" } } - },{ + }, { "path": "pages/index/index", "style": { "navigationBarTitleText": "首页" @@ -126,99 +126,114 @@ } }, { "path": "pages/index/addStore/addStore", - "style": { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "添加门店", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "添加门店", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } } }, { "path": "pages/index/collection-record/collection-record", - "style": { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "收费记录", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "收费记录", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + }, { + "path": "pages/index/mcc-list/mcc-list", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "商户类别", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + }, { + "path": "pages/index/collectNotes/collectNotes", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "收款记录", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + }, { + "path": "pages/index/doorManage/doorManage", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "门店管理", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + }, { + "path": "pages/index/serviceBuild/serviceBuild", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "绑定设备", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + }, { + "path": "pages/index/addService/addService", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "绑定设备", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + }, { + "path": "pages/index/bindScan/bindScan", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "绑定二维码", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } + } + + }, { + "path": "pages/index/scanList/scanList", + "style": { + "navigationBarTextStyle": "white", + "navigationBarTitleText": "二维码列表", + "onReachBottomDistance": 50, + "app-plus": { + "titleNView": false, //禁用原生导航栏 + "softinputNavBar": "none" + } } } - ,{ - "path" : "pages/index/mcc-list/mcc-list", - "style": { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "商户类别", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } - } - - } - ,{ - "path" : "pages/index/collectNotes/collectNotes", - "style" : - { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "收款记录", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } - } - - } - ,{ - "path" : "pages/index/doorManage/doorManage", - "style" : - { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "门店管理", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } - } - - } - ,{ - "path" : "pages/index/serviceBuild/serviceBuild", - "style" : - { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "绑定设备", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } - } - - } - ,{ - "path" : "pages/index/addService/addService", - "style" : - { - "navigationBarTextStyle": "white", - "navigationBarTitleText": "绑定设备", - "onReachBottomDistance": 50, - "app-plus": { - "titleNView": false, //禁用原生导航栏 - "softinputNavBar": "none" - } - } - - } - ], + ], "subpackages": [{ "root": "subPages", diff --git a/pages/index/bindScan/bindScan.vue b/pages/index/bindScan/bindScan.vue new file mode 100644 index 0000000..e66ed96 --- /dev/null +++ b/pages/index/bindScan/bindScan.vue @@ -0,0 +1,244 @@ + + + + + diff --git a/pages/index/collectNotes/collectNotes.vue b/pages/index/collectNotes/collectNotes.vue index 1082956..3668209 100644 --- a/pages/index/collectNotes/collectNotes.vue +++ b/pages/index/collectNotes/collectNotes.vue @@ -1,6 +1,6 @@