diff --git a/src/App.vue b/src/App.vue index b89e1e9..dde7a33 100644 --- a/src/App.vue +++ b/src/App.vue @@ -13,12 +13,20 @@ const tabbar = [ selectedIconPath: "/static/tabbar/canteen-select.png", auth: ["zhezhengding", "shihua"], }, - // { - // "pagePath": "pages/tabbar/shop", - // "text": "超市", - // "iconPath": "/static/tabbar/shop.png", - // "selectedIconPath": "/static/tabbar/shop-select.png" - // }, + { + pagePath: "pages/tabbar/shop", + text: "超市", + iconPath: "/static/tabbar/shop.png", + 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 26907c7..277aa80 100644 --- a/src/pages.json +++ b/src/pages.json @@ -16,13 +16,20 @@ "disableScroll": true } }, - // { - // "path": "pages/tabbar/shop", - // "style": { - // "navigationBarTitleText": "超市", - // "disableScroll": true - // } - // }, + { + "path": "pages/tabbar/shop", + "style": { + "navigationBarTitleText": "超市", + "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 } } @@ -299,12 +306,18 @@ "iconPath": "", "selectedIconPath": "" }, - // { - // "pagePath": "pages/tabbar/shop", - // "text": "", - // "iconPath": "", - // "selectedIconPath": "" - // }, + { + "pagePath": "pages/tabbar/shop", + "text": "", + "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/merchant/food.vue b/src/pages/merchant/food.vue index 98739e5..00cd8fa 100644 --- a/src/pages/merchant/food.vue +++ b/src/pages/merchant/food.vue @@ -150,17 +150,17 @@ const doProduct = (v: any) => { 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 @@