From 62bce4739dcbd9f09320c743397447f419355d45 Mon Sep 17 00:00:00 2001 From: xvv Date: Tue, 28 May 2024 09:34:09 +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.json | 9 ++- pos-uni/pages/index/index.vue | 9 ++- pos-uni/pagesHome/AddVip/AddCode.vue | 75 +++++++++++++++++++ pos-uni/pagesHome/PaymentCode/PaymentCode.vue | 4 +- pos-uni/pagesHome/PaymentCode/SetUpCode.vue | 7 +- 5 files changed, 97 insertions(+), 7 deletions(-) create mode 100644 pos-uni/pagesHome/AddVip/AddCode.vue diff --git a/pos-uni/pages.json b/pos-uni/pages.json index 5ede8bc20..e5b1a0332 100644 --- a/pos-uni/pages.json +++ b/pos-uni/pages.json @@ -64,6 +64,13 @@ "navigationStyle": "custom" } }, + { + "path": "AddVip/AddCode", + "style": { + "navigationBarTitleText": "新增会员", + "navigationStyle": "custom" + } + }, { "path": "changeShifts/changeShifts", "style": { @@ -95,7 +102,7 @@ { "path": "PaymentCode/SetUpCode", "style": { - "navigationBarTitleText": "收款码", + "navigationBarTitleText": "设置金额", "navigationStyle": "custom" } }, diff --git a/pos-uni/pages/index/index.vue b/pos-uni/pages/index/index.vue index 7269ef832..8b760bc78 100644 --- a/pos-uni/pages/index/index.vue +++ b/pos-uni/pages/index/index.vue @@ -20,7 +20,7 @@ 收款 - + @@ -123,7 +123,7 @@ goAdd() { uni.navigateTo({ - url: '/pagesHome/AddVip/AddVip' + url: '/pagesHome/AddVip/AddCode' }) }, goCollection() { @@ -141,6 +141,11 @@ url: '/pagesHome/BusinessData/BusinessData' }) }, + goMemberRecharge() { + uni.navigateTo({ + url: '/pagesHome/MemberRecharge/MemberRecharge' + }) + }, goback() { uni.navigateBack() }, diff --git a/pos-uni/pagesHome/AddVip/AddCode.vue b/pos-uni/pagesHome/AddVip/AddCode.vue new file mode 100644 index 000000000..1a9e79499 --- /dev/null +++ b/pos-uni/pagesHome/AddVip/AddCode.vue @@ -0,0 +1,75 @@ + + + + + \ No newline at end of file diff --git a/pos-uni/pagesHome/PaymentCode/PaymentCode.vue b/pos-uni/pagesHome/PaymentCode/PaymentCode.vue index 9d6974da4..f1601dda1 100644 --- a/pos-uni/pagesHome/PaymentCode/PaymentCode.vue +++ b/pos-uni/pagesHome/PaymentCode/PaymentCode.vue @@ -47,9 +47,9 @@ }, methods: { // 设置金额 - setAmount(){ + setAmount() { uni.navigateTo({ - url:"/pagesHome/PaymentCode/SetUpCode" + url: "/pagesHome/PaymentCode/SetUpCode" }) }, onReady() { diff --git a/pos-uni/pagesHome/PaymentCode/SetUpCode.vue b/pos-uni/pagesHome/PaymentCode/SetUpCode.vue index dd61f1f94..2d79c155d 100644 --- a/pos-uni/pagesHome/PaymentCode/SetUpCode.vue +++ b/pos-uni/pagesHome/PaymentCode/SetUpCode.vue @@ -4,11 +4,11 @@ 金额 - + 备注 - + @@ -80,5 +80,8 @@ font-weight: bold; font-size: 16px; color: #333333; + background: #fff; + box-sizing: border-box; + padding: 10px; } \ No newline at end of file