diff --git a/.env b/.env index 5553335..f56b7f1 100644 --- a/.env +++ b/.env @@ -19,16 +19,16 @@ VITE_OAUTH2_APP_CLIENT='mini:mini' # --------------------------- 开发环境 api地址 ---------------------------------- # VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # 域名线上 #VITE_APP_DEV_SERVICE = http://59.202.170.152:81/api # 信创线上 -VITE_APP_DEV_SERVICE = http://192.168.101.196:9999 # 邓-本地 -# VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地 -# VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上 +# VITE_APP_DEV_SERVICE = http://192.168.101.174:9999 # 邓-本地 + VITE_APP_DEV_SERVICE = http://127.0.0.1:9999 # 邓-本地 +#VITE_APP_DEV_SERVICE = http://123.157.250.162:8089/api # 测试线上 # --------------------------- 开发环境 图片访问基础地址 --------------------------- # VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api # 域名线上 #VITE_IMAGE_DEV_PATH = http://59.202.170.152:81/api # 信创线上 -VITE_IMAGE_DEV_PATH = http://192.168.101.196:9999 # 邓-本地 - # VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999 -# VITE_IMAGE_DEV_PATH = http://123.157.250.162:8089/api # 测试线上 +# VITE_IMAGE_DEV_PATH = http://192.168.101.174:9999 # 邓-本地 + VITE_IMAGE_DEV_PATH = http://127.0.0.1:9999 +#VITE_IMAGE_DEV_PATH = http://123.157.250.162:8089/api # 测试线上 # --------------------------- 生产环境 api地址 ---------------------------------- VITE_APP_PROD_SERVICE = https://stgl.pj.gov.cn/api # 域名线上 diff --git a/src/App.vue b/src/App.vue index 37c5930..400d2f5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -61,6 +61,14 @@ const tabbar: TabbarItem[] = [ launchParam: ["onlineShop"], auth: ["user"], }, + { + pagePath: "pages/tabbar/prosperityShop", + text: "共富商城", + iconPath: "/static/tabbar/prosperity-shop.png", + selectedIconPath: "/static/tabbar/prosperity-shop-select.png", + launchParam: ["prosperityShop"], + auth: ["user"], + }, { pagePath: "pages/tabbar/cabinet", text: "智能柜", @@ -99,14 +107,14 @@ const tabbar: TabbarItem[] = [ iconPath: "/static/tabbar/integrated.png", selectedIconPath: "/static/tabbar/integrated-select.png", launchParam: ["integrated"], - auth: [], + auth: ["user"], }, { pagePath: "pages/tabbar/my", text: "我的", iconPath: "/static/tabbar/my.png", selectedIconPath: "/static/tabbar/my-select.png", - launchParam: ["canteen", "selfMerchant", "onlineShop", "coopMerchant", "integrated"], + launchParam: ["canteen", "selfMerchant", "onlineShop", "coopMerchant", "integrated", "prosperityShop"], auth: ["user", "merchant", "doorAdmin"], }, ] diff --git a/src/pages.json b/src/pages.json index 060e1f6..9023092 100644 --- a/src/pages.json +++ b/src/pages.json @@ -44,6 +44,13 @@ "disableScroll": true } }, + { + "path": "pages/tabbar/prosperityShop", + "style": { + "navigationBarTitleText": "共富商城", + "disableScroll": true + } + }, { "path": "pages/tabbar/coopMerchant", "style": { @@ -96,33 +103,85 @@ ], "subPackages": [ { - "root": "pages/shop", + "root": "pages/merchant", "pages": [ { "path": "detail", "style": { - "navigationBarTitleText": "", + "navigationBarTitleText": "商户详情", "disableScroll": true } }, { "path": "brandDetail", "style": { - "navigationBarTitleText": "", + "navigationBarTitleText": "商户品牌详情", "disableScroll": true } - }, - { - "path": "product-detail", - "style": { - "navigationBarTitleText": "", - "disableScroll": true - } - }, + } + ] + }, + { + "root": "pages/online-shop", + "pages": [ { "path": "cart", "style": { - "navigationBarTitleText": "", + "navigationBarTitleText": "购物车", + "disableScroll": true + } + }, + { + "path": "goods-detail", + "style": { + "navigationBarTitleText": "商品详情", + "disableScroll": true + } + } + ] + }, + { + "root": "pages/prosperity-shop", + "pages": [ + { + "path": "goods-detail", + "style": { + "navigationBarTitleText": "商品详情", + "disableScroll": true + } + }, + { + "path": "shop-detail", + "style": { + "navigationBarTitleText": "超市详情", + "disableScroll": true + } + }, + { + "path": "goods-search", + "style": { + "navigationBarTitleText": "商品搜索", + "disableScroll": true + } + }, + { + "path": "goods-manage", + "style": { + "navigationBarTitleText": "商品管理", + "disableScroll": true + } + }, + { + "path": "goods-form", + "style": { + "navigationBarTitleText": "商品信息管理", + "disableScroll": true + } + }, + { + "path": "categary-manage", + "style": { + "navigationBarTitleText": "商品分类管理", "disableScroll": true } } @@ -576,6 +635,12 @@ "iconPath": "", "selectedIconPath": "" }, + { + "pagePath": "pages/tabbar/prosperityShop", + "text": "", + "iconPath": "", + "selectedIconPath": "" + }, { "pagePath": "pages/tabbar/cabinet", "text": "", @@ -614,4 +679,4 @@ } ] } -} \ No newline at end of file +} diff --git a/src/pages/cabinet/putaway.vue b/src/pages/cabinet/putaway.vue index c401b9c..0d5292f 100644 --- a/src/pages/cabinet/putaway.vue +++ b/src/pages/cabinet/putaway.vue @@ -59,16 +59,7 @@ - + { - + @@ -354,7 +354,7 @@ const doFood = () => { @@ -483,7 +483,7 @@ const doFood = () => { } } -.car { +.cart { box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 0.1); } diff --git a/src/pages/human-face/apply.vue b/src/pages/human-face/apply.vue index 95d3387..b227247 100644 --- a/src/pages/human-face/apply.vue +++ b/src/pages/human-face/apply.vue @@ -79,21 +79,22 @@ const doSubmit = async () => {