From 5394e4969bd8569285cd4cfdfd19231cd1a28847 Mon Sep 17 00:00:00 2001 From: xvv Date: Wed, 29 May 2024 14:07:07 +0800 Subject: [PATCH] =?UTF-8?q?pos=20=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MemberRecharge/MemberRecharge.vue | 49 +++++++++++++++---- 1 file changed, 39 insertions(+), 10 deletions(-) diff --git a/pos-uni/pagesHome/MemberRecharge/MemberRecharge.vue b/pos-uni/pagesHome/MemberRecharge/MemberRecharge.vue index 5994e9eeb..4309839da 100644 --- a/pos-uni/pagesHome/MemberRecharge/MemberRecharge.vue +++ b/pos-uni/pagesHome/MemberRecharge/MemberRecharge.vue @@ -56,7 +56,10 @@ 微信扫码支付 - + + + + @@ -66,7 +69,10 @@ 支付宝扫码支付 - + + + + @@ -76,7 +82,10 @@ 银联扫码支付 - + + + + @@ -86,7 +95,10 @@ 现金支付 - + + + + @@ -107,6 +119,7 @@ return { titles: "会员充值", listindex: 0, + memberId: 0, numList: [ "50元", "100元", @@ -115,14 +128,14 @@ "1000元", "自定义金额", ], - isChooseUser:false, - userId:"", - userInfo:"", + isChooseUser: false, + userId: "", + userInfo: "", } }, onLoad(e) { this.userId = e.userId - if (e.userId){ + if (e.userId) { this.isChooseUser = true this.getUser() } @@ -145,6 +158,10 @@ headers }, methods: { + getmemberId(num) { + this.memberId = num + console.log(this.memberId); + }, // 获取用户信息 getUser() { request({ @@ -154,9 +171,9 @@ this.userInfo = res.data }) }, - goChooseUser(){ + goChooseUser() { uni.navigateTo({ - url:"/pagesHome/searchVip/searchVip?type=1" + url: "/pagesHome/searchVip/searchVip?type=1" }) }, getindex(index) { @@ -377,4 +394,16 @@ border-radius: 50%; border: 1px solid #333333; } + + .qiux { + width: 16px; + height: 16px; + border-radius: 50%; + border: 1px solid #0864e9; + background: #0864e9; + display: flex; + align-items: center; + justify-content: center; + color: #fff; + } \ No newline at end of file