From e74fa78bcb72219a2d509cd1c52d6bb26fd801e8 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 11 Jul 2023 08:52:19 +0800 Subject: [PATCH 1/4] areaId --- src/project/szpc/AppNewFarmerBank/taskDetail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/project/szpc/AppNewFarmerBank/taskDetail.vue b/src/project/szpc/AppNewFarmerBank/taskDetail.vue index f6624db..3ed0299 100644 --- a/src/project/szpc/AppNewFarmerBank/taskDetail.vue +++ b/src/project/szpc/AppNewFarmerBank/taskDetail.vue @@ -204,7 +204,7 @@ export default { }, // 打卡积分 clockIn() { - if(!this.user.idNumber) { + if(!this.user.areaId) { return this.$dialog.confirm({ content: '您只有完成信息认证后,才可进行相关操作。', confirmText: '去认证' @@ -349,7 +349,7 @@ export default { }) }, toAuth() { - if (!this.user.idNumber) { + if (!this.user.areaId) { this.$dialog.confirm({ content: '您只有完成信息认证后,才可进行相关操作。', confirmText: '去认证' From 2e69a79bce7fe8cce458f394bf838960263d52eb Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 12 Jul 2023 09:37:18 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=B8=B0=E9=83=BD=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/fengdu/AppMine/AppMine.vue | 12 ++++++++++++ .../AppRedemptionPoints/AppRedemptionPoints.vue | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/project/fengdu/AppMine/AppMine.vue b/src/project/fengdu/AppMine/AppMine.vue index 8432de2..fc32ed5 100644 --- a/src/project/fengdu/AppMine/AppMine.vue +++ b/src/project/fengdu/AppMine/AppMine.vue @@ -90,6 +90,18 @@ export default { path: "./myIntegral", type: 'token' }, + { + icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png", + label: "我的家庭", + path: "./myIntegral", + type: 'token' + }, + { + icon: "https://cdn.cunwuyun.cn/wxmp/mine/saoyisao.png", + label: "扫一扫", + path: "./myIntegral", + type: 'token' + }, ], // [ // { diff --git a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue index 9a42c87..d1a40a8 100644 --- a/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue +++ b/src/project/fengdu/AppRedemptionPoints/AppRedemptionPoints.vue @@ -83,7 +83,7 @@ export default { appName: '积分兑换', data() { return { - tabList: [{name: '全部'}, {name: '积分兑换'}, {name: '京东低价商品'}], + tabList: [{name: '全部'}, {name: '积分兑换'}, {name: '低价商品'}], currentTabs: 0, barStyle: { 'width': '20px', From 56a9b9871c97abed01526000930b7dc79d0fecb2 Mon Sep 17 00:00:00 2001 From: liuye Date: Wed, 12 Jul 2023 10:49:37 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E4=B8=B0=E9=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/fengdu/AppMine/AppMine.vue | 44 ++-- src/project/fengdu/AppMine/myFamily.vue | 195 +++++++----------- .../fengdu/AppMine/transferIntrgral.vue | 60 ++++++ 3 files changed, 161 insertions(+), 138 deletions(-) create mode 100644 src/project/fengdu/AppMine/transferIntrgral.vue diff --git a/src/project/fengdu/AppMine/AppMine.vue b/src/project/fengdu/AppMine/AppMine.vue index fc32ed5..362c21c 100644 --- a/src/project/fengdu/AppMine/AppMine.vue +++ b/src/project/fengdu/AppMine/AppMine.vue @@ -44,6 +44,12 @@ {{ item.label }} +
@@ -90,18 +96,18 @@ export default { path: "./myIntegral", type: 'token' }, - { - icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png", - label: "我的家庭", - path: "./myIntegral", - type: 'token' - }, - { - icon: "https://cdn.cunwuyun.cn/wxmp/mine/saoyisao.png", - label: "扫一扫", - path: "./myIntegral", - type: 'token' - }, + // { + // icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png", + // label: "我的家庭", + // path: "./myFamily", + // type: 'token' + // }, + // { + // icon: "https://cdn.cunwuyun.cn/wxmp/mine/saoyisao.png", + // label: "扫一扫", + // path: "scan", + // type: 'token' + // }, ], // [ // { @@ -191,6 +197,20 @@ export default { } }) }, + scan() { + wx.scanQRCode({ + needResult: 1, // 默认为0,扫描结果由微信处理,1则直接返回扫描结果, + scanType: ['qrCode', 'barCode'], // 可以指定扫二维码还是一维码,默认二者都有 + success: (res)=> { + // var result = res.resultStr; // 当 needResult 为 1 时,扫码返回的结果 + // var resultArr = result.split(','); // 扫描结果以逗号分割数组(一维码) + // var codeContent = resultArr[resultArr.length - 1]; // 获取数组最后一个元素,也就是最终的内容 + }, + fail: (err) => { + console.log("调用wx.scanQRCode扫码失败"); + }, + }); + } }, onLoad() { this.getAuth(); diff --git a/src/project/fengdu/AppMine/myFamily.vue b/src/project/fengdu/AppMine/myFamily.vue index a544cf9..a64e3b5 100644 --- a/src/project/fengdu/AppMine/myFamily.vue +++ b/src/project/fengdu/AppMine/myFamily.vue @@ -1,29 +1,29 @@ @@ -43,10 +43,10 @@ export default {