From 3451ce3dd42db97cd703870a0cf93d56eaa725b8 Mon Sep 17 00:00:00 2001 From: weiwei Date: Wed, 26 Mar 2025 10:00:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E4=BD=9C=E5=95=86=E5=AE=B6tabbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 7 +++ src/pages.json | 21 ++++++- src/pages/pay/scanPay.vue | 2 +- src/pages/tabbar/coopShop.vue | 79 ++++++++++++++++++++++++++ src/static/tabbar/coopShop-select.png | Bin 0 -> 498 bytes src/static/tabbar/coopShop.png | Bin 0 -> 493 bytes 6 files changed, 107 insertions(+), 2 deletions(-) create mode 100644 src/pages/tabbar/coopShop.vue create mode 100644 src/static/tabbar/coopShop-select.png create mode 100644 src/static/tabbar/coopShop.png diff --git a/src/App.vue b/src/App.vue index 69941a5..dde7a33 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,6 +20,13 @@ const tabbar = [ selectedIconPath: "/static/tabbar/shop-select.png", auth: ["zhezhengding", "shihua"], }, + { + pagePath: "pages/tabbar/coopShop", + text: "合作商家", + iconPath: "/static/tabbar/coopShop.png", + selectedIconPath: "/static/tabbar/coopShop-select.png", + auth: ["zhezhengding"], + }, { pagePath: "pages/tabbar/order", text: "订单", diff --git a/src/pages.json b/src/pages.json index fafaefb..277aa80 100644 --- a/src/pages.json +++ b/src/pages.json @@ -23,6 +23,13 @@ "disableScroll": true } }, + { + "path": "pages/tabbar/coopShop", + "style": { + "navigationBarTitleText": "合作商家", + "disableScroll": true + } + }, { "path": "pages/tabbar/order", "style": { @@ -277,7 +284,7 @@ { "path": "scanPay", "style": { - "navigationBarTitleText": "", + "navigationBarTitleText": "支付", "disableScroll": true } } @@ -305,6 +312,12 @@ "iconPath": "", "selectedIconPath": "" }, + { + "pagePath": "pages/tabbar/coopShop", + "text": "", + "iconPath": "", + "selectedIconPath": "" + }, { "pagePath": "pages/tabbar/order", "text": "", @@ -343,6 +356,12 @@ // "selectedIconPath": "static/tabbar/shop-select.png" // }, // { + // pagePath: "pages/tabbar/coopShop", + // text: "合作商家", + // iconPath: "static/tabbar/coopShop.png", + // selectedIconPath: "static/tabbar/coopShop-select.png", + // }, + // { // "pagePath": "pages/tabbar/order", // "text": "订单", // "iconPath": "static/tabbar/order.png", diff --git a/src/pages/pay/scanPay.vue b/src/pages/pay/scanPay.vue index ffc974f..19ee234 100644 --- a/src/pages/pay/scanPay.vue +++ b/src/pages/pay/scanPay.vue @@ -1,7 +1,7 @@