diff --git a/.env b/.env index 7e11634..c26753f 100644 --- a/.env +++ b/.env @@ -17,13 +17,13 @@ VITE_PWD_ENC_KEY='pigxpigxpigxpigx' VITE_OAUTH2_APP_CLIENT='mini:mini' # --------------------------- start 开发环境 start ---------------------------------- -# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api +VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/api # VITE_APP_DEV_SERVICE = http://localhost:9999 -VITE_APP_DEV_SERVICE = https://rj4jv5rwqs.by.takin.cc +# VITE_APP_DEV_SERVICE = https://dzc-test-1.fy.takin.cc # VITE_IMAGE_DEV_PATH = http://localhost:9999 +# VITE_IMAGE_DEV_PATH = https://dzc-test-1.fy.takin.cc/api VITE_IMAGE_DEV_PATH = https://stgl.pj.gov.cn/api -# VITE_IMAGE_DEV_PATH = https://rj4jv5rwqs.by.takin.cc # ----------------------------- end 开发环境 end ------------------------------------ # --------------------------- start 生产环境 start ---------------------------------- diff --git a/src/pages.json b/src/pages.json index 0792e7e..e7ea7da 100644 --- a/src/pages.json +++ b/src/pages.json @@ -99,6 +99,13 @@ "navigationBarTitleText": "webview页面", "disableScroll": true } + }, + { + "path": "pages/tabbar/integrated", + "style": { + "navigationBarTitleText": "综合服务", + "disableScroll": true + } } ], "subPackages": [ diff --git a/src/pages/canteen/detail.vue b/src/pages/canteen/detail.vue index 6108f78..449535b 100644 --- a/src/pages/canteen/detail.vue +++ b/src/pages/canteen/detail.vue @@ -357,17 +357,21 @@ const doFood = () => { - {{ item.title }} - - 可预订时间段: - {{ item.startTime.slice(0, -3) }}-{{ item.endTime.slice(0, -3) }} - - - 用餐时间段: - - {{ state.canteenDetail.jobTime?.split(",")[Number(index) + 1] ? - state.canteenDetail.jobTime?.split(",")[Number(index) + 1] : "" }} - + + {{ item.title }} + + 可预订时间段: + + {{ item.startTime.slice(0, -3) }}-{{ item.endTime.slice(0, -3) }} + + + + 用餐时间段: + + {{ state.canteenDetail.jobTime?.split(",")[Number(index) + 1] ? + state.canteenDetail.jobTime?.split(",")[Number(index) + 1] : "" }} + + diff --git a/src/pages/integrated/feedback/detail.vue b/src/pages/integrated/feedback/detail.vue index e950eb7..1c9a16f 100644 --- a/src/pages/integrated/feedback/detail.vue +++ b/src/pages/integrated/feedback/detail.vue @@ -1,5 +1,5 @@ - + 加载中... @@ -11,29 +11,25 @@ {{ detail.description || '无描述' }} - + 提交时间:{{ formatTime(detail.createTime) }} - + + + diff --git a/src/pages/merchant/brandDetail.vue b/src/pages/merchant/brandDetail.vue index 9cb96e6..84c1386 100644 --- a/src/pages/merchant/brandDetail.vue +++ b/src/pages/merchant/brandDetail.vue @@ -58,18 +58,18 @@ const toDetail = async (v: any) => { - - - - - - - + + + + + + + 菜品分类购买数量占比图 - @@ -15,7 +15,7 @@ 近一周各食堂购买数量趋势图 - + diff --git a/src/pages/tabbar/integrated.vue b/src/pages/tabbar/integrated.vue new file mode 100644 index 0000000..e54ca72 --- /dev/null +++ b/src/pages/tabbar/integrated.vue @@ -0,0 +1,242 @@ + + + + 综合服务 + + + + + + + + + {{ todoCount > 99 ? "99+" : todoCount }} + + + {{ item.label }} + + + + + + 联系热线: + 18367908152 + + 15657370065 + + + + + + + diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue index e25b063..c419ec7 100644 --- a/src/pages/tabbar/my.vue +++ b/src/pages/tabbar/my.vue @@ -51,6 +51,13 @@ 切换角色 + + + 联系热线: + 18367908152 + + 15657370065 + diff --git a/src/sheep/components/crud/crud-layout/crud-layout.vue b/src/sheep/components/crud/crud-layout/crud-layout.vue index 0ae7563..e17b074 100644 --- a/src/sheep/components/crud/crud-layout/crud-layout.vue +++ b/src/sheep/components/crud/crud-layout/crud-layout.vue @@ -1,5 +1,5 @@ + + diff --git a/src/sheep/components/time-range-picker.vue b/src/sheep/components/time-range-picker.vue index d752072..35eb9c7 100644 --- a/src/sheep/components/time-range-picker.vue +++ b/src/sheep/components/time-range-picker.vue @@ -13,7 +13,7 @@ {{ item.time.slice(0, 5) }} - + 取消 确定 diff --git a/src/static/tabbar/home-select.png b/src/static/tabbar/home-select.png new file mode 100644 index 0000000..5d4d531 Binary files /dev/null and b/src/static/tabbar/home-select.png differ diff --git a/src/static/tabbar/home.png b/src/static/tabbar/home.png new file mode 100644 index 0000000..9f65dd2 Binary files /dev/null and b/src/static/tabbar/home.png differ diff --git a/src/uni_modules/tm-ui/components/tm-tabbar/tm-tabbar.vue b/src/uni_modules/tm-ui/components/tm-tabbar/tm-tabbar.vue index 5a72288..81e73cb 100644 --- a/src/uni_modules/tm-ui/components/tm-tabbar/tm-tabbar.vue +++ b/src/uni_modules/tm-ui/components/tm-tabbar/tm-tabbar.vue @@ -393,9 +393,11 @@ onMounted(() => { name="item"> - + :name="nowIndex == index ? item.selectedIcon : item.icon" + :size="iconSize"> @@ -406,6 +408,7 @@ onMounted(() => { +