From 1ea3d5e56ccfd6ae59a38005d28240fddb0bd1fc Mon Sep 17 00:00:00 2001 From: xvv Date: Tue, 28 May 2024 10:12:15 +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 --- pos-uni/pages/index/index.vue | 6 +-- pos-uni/pages/login/login.vue | 10 ++-- pos-uni/pagesHome/AddVip/AddCode.vue | 74 ++++++++++++++++++++++++++-- 3 files changed, 77 insertions(+), 13 deletions(-) diff --git a/pos-uni/pages/index/index.vue b/pos-uni/pages/index/index.vue index 5dced570e..5fa2ebbb9 100644 --- a/pos-uni/pages/index/index.vue +++ b/pos-uni/pages/index/index.vue @@ -110,9 +110,9 @@ tabbar }, methods: { - goRecharge(){ + goRecharge() { uni.navigateTo({ - url:"/pagesHome/MemberRecharge/MemberRecharge" + url: "/pagesHome/MemberRecharge/MemberRecharge" }) }, goCode() { @@ -128,7 +128,7 @@ goAdd() { uni.navigateTo({ - url: '/pagesHome/AddVip/AddVip' + url: '/pagesHome/AddVip/AddCode' }) }, goCollection() { diff --git a/pos-uni/pages/login/login.vue b/pos-uni/pages/login/login.vue index 0e40860ee..3464bde88 100644 --- a/pos-uni/pages/login/login.vue +++ b/pos-uni/pages/login/login.vue @@ -8,12 +8,12 @@ - + - + @@ -81,10 +81,10 @@ uni.navigateTo({ url: '/pages/index/index' }) - }else{ + } else { uni.showToast({ - title:res.data, - icon:"none" + title: res.data, + icon: "none" }) } }) diff --git a/pos-uni/pagesHome/AddVip/AddCode.vue b/pos-uni/pagesHome/AddVip/AddCode.vue index 1a9e79499..2eedeb92f 100644 --- a/pos-uni/pagesHome/AddVip/AddCode.vue +++ b/pos-uni/pagesHome/AddVip/AddCode.vue @@ -3,13 +3,20 @@ - - + + 扫码成为京博加油站会员 + + + + + 长按识别领取会员卡 - 保存 + 手动添加 @@ -19,7 +26,7 @@