diff --git a/src/project/fengdu/AppMine/AppMine.vue b/src/project/fengdu/AppMine/AppMine.vue index 8432de2..01193b6 100644 --- a/src/project/fengdu/AppMine/AppMine.vue +++ b/src/project/fengdu/AppMine/AppMine.vue @@ -44,6 +44,12 @@ {{ item.label }} +
+
+ +
+ 扫一扫 +
@@ -90,6 +96,12 @@ export default { path: "./myIntegral", type: 'token' }, + { + icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png", + label: "我的家庭", + path: "./myFamily", + type: 'token' + }, ], // [ // { @@ -179,6 +191,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/integralRank.vue b/src/project/fengdu/AppMine/integralRank.vue new file mode 100644 index 0000000..31ad102 --- /dev/null +++ b/src/project/fengdu/AppMine/integralRank.vue @@ -0,0 +1,469 @@ + + + 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 @@