From ab44b198fc958f3c12326d89357118a00717aa97 Mon Sep 17 00:00:00 2001
From: dzc <2388224167@qq.com>
Date: Fri, 13 Mar 2026 18:33:14 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E9=80=82=E9=85=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages.json | 68 +++++++++++
src/pages/canteen/components/product-row.vue | 2 +-
src/pages/canteen/detail.vue | 6 +-
src/pages/canteen/product-detail.vue | 2 +-
src/pages/human-face/list.vue | 8 +-
src/pages/integrated/notice/detail.vue | 2 +-
src/pages/integrated/visitor/detail.vue | 66 +++++-----
.../integrated/visitor/invitation-record.vue | 113 ++++++++----------
src/pages/integrated/visitor/invitation.vue | 46 ++-----
src/pages/merchant/brandDetail.vue | 7 +-
src/pages/merchant/coupon-list.vue | 22 ++--
src/pages/merchant/detail.vue | 6 +-
src/pages/merchant/merchant-activity.vue | 30 ++---
src/pages/pay/payComplete.vue | 2 +-
src/pages/pay/scanPay.vue | 12 +-
src/pages/pay/transferMoney.vue | 24 ++--
src/pages/tabbar/cabinet.vue | 12 +-
src/pages/tabbar/canteen.vue | 4 -
src/pages/tabbar/canteenAnalyse.vue | 8 +-
src/pages/tabbar/coopMerchant.vue | 18 ++-
src/pages/tabbar/my.vue | 12 +-
src/pages/tabbar/order.vue | 58 ++++-----
src/pages/tabbar/selfMerchant.vue | 8 +-
src/sheep/api/index.ts | 1 +
src/sheep/components/common/service-text.vue | 2 +-
src/sheep/components/number-keyboard.vue | 10 +-
src/sheep/components/time-range-picker.vue | 2 +-
src/sheep/stores/tabbar.ts | 5 +-
unocss.config.ts | 2 +-
29 files changed, 278 insertions(+), 280 deletions(-)
diff --git a/src/pages.json b/src/pages.json
index ac0719e..39cbc7e 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -65,6 +65,20 @@
"disableScroll": true
}
},
+ {
+ "path": "pages/tabbar/prosperityShop",
+ "style": {
+ "navigationBarTitleText": "共富商城",
+ "disableScroll": true
+ }
+ },
+ {
+ "path": "pages/tabbar/prosperityShopMchList",
+ "style": {
+ "navigationBarTitleText": "共富商城",
+ "disableScroll": true
+ }
+ },
{
"path": "pages/root/login",
"style": {
@@ -372,6 +386,60 @@
}
}
]
+ },
+ {
+ "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
+ }
+ },
+ {
+ "path": "settlement",
+ "style": {
+ "navigationBarTitleText": "结算",
+ "disableScroll": true
+ }
+ }
+ ]
}
],
"globalStyle": {
diff --git a/src/pages/canteen/components/product-row.vue b/src/pages/canteen/components/product-row.vue
index 7660070..5b5d453 100644
--- a/src/pages/canteen/components/product-row.vue
+++ b/src/pages/canteen/components/product-row.vue
@@ -61,7 +61,7 @@ const remove = () => {
库存:{{ props.stock }}
-
+
{{ hooks.useFormatNum("销量", "", props.salesCount) }}
diff --git a/src/pages/canteen/detail.vue b/src/pages/canteen/detail.vue
index 912cd17..5af9960 100644
--- a/src/pages/canteen/detail.vue
+++ b/src/pages/canteen/detail.vue
@@ -332,7 +332,7 @@ const doFood = () => {
- 暂无信息
+ 暂无信息
@@ -352,7 +352,7 @@ const doFood = () => {
cancelText="取消" confirmText="确认" position="bottom" height="520rpx" zIndex="800">
-
+
{{ item.title }}
@@ -372,7 +372,7 @@ const doFood = () => {
-
+
取消
确认
diff --git a/src/pages/canteen/product-detail.vue b/src/pages/canteen/product-detail.vue
index 96731b0..b229a50 100644
--- a/src/pages/canteen/product-detail.vue
+++ b/src/pages/canteen/product-detail.vue
@@ -60,7 +60,7 @@ const getDetail = async () => {
- 暂无数据
+ 暂无数据
diff --git a/src/pages/human-face/list.vue b/src/pages/human-face/list.vue
index 605f018..230f6e5 100644
--- a/src/pages/human-face/list.vue
+++ b/src/pages/human-face/list.vue
@@ -53,10 +53,10 @@ const doDel = (id: string) => {
:auto-clean-list-when-reload="false" :auto-scroll-to-top-when-reload="false" @scroll="pageHook.scroll">
-
- {{ v.username }}·{{ v.deptName }}
-
+ {{ v.username }}·{{ v.deptName }}
+
修改
删除
@@ -65,7 +65,7 @@ const doDel = (id: string) => {
添加
diff --git a/src/pages/integrated/notice/detail.vue b/src/pages/integrated/notice/detail.vue
index fb9ac1a..f1ea776 100644
--- a/src/pages/integrated/notice/detail.vue
+++ b/src/pages/integrated/notice/detail.vue
@@ -26,7 +26,7 @@
{{ formatFileSize(file.size) }}
- 去 领 券
+ 去 领 券
diff --git a/src/pages/integrated/visitor/detail.vue b/src/pages/integrated/visitor/detail.vue
index f320cdd..17a137e 100644
--- a/src/pages/integrated/visitor/detail.vue
+++ b/src/pages/integrated/visitor/detail.vue
@@ -2,78 +2,70 @@
-
+
{{ alertListType2[detail.checkStatus].text }}
-
+
{{ alertListType1[detail.checkStatus].text }}
访客信息
-
- 访客姓名
+
+ 访客姓名
{{ detail.name }}
-
- 访客手机号
+
+ 访客手机号
{{ detail.mobile }}
-
- 访客公司名称
+
+ 访客公司名称
{{ detail.companyName }}
-
- 来访原因
- {{ visitorReasonList.find((item) => item.id == detail.reasonValue)?.title || "" }}
+
+ 来访原因
+ {{visitorReasonList.find((item) => item.id == detail.reasonValue)?.title || ""}}
-
- 接待人
+
+ 接待人
{{ detail.userName }}
-
- 来访人数
+
+ 来访人数
{{ detail.peopleNumber }}
-
- 是否可随行人员
+
+ 是否可随行人员
{{ detail.isOtherPeople == "1" ? "是" : "否" }}
-
- 是否可驾驶车辆
+
+ 是否可驾驶车辆
{{ detail.isDrive == "1" ? "是" : "否" }}
时间
-
- 预计来访时间
+
+ 预计来访时间
{{ detail.vendDate }}
-
- 预计离开时间
+
+ 预计离开时间
{{ detail.vstartDate }}
其他
-
- 创建方式
+
+ 创建方式
{{ detail.type == "1" ? "主动申请" : detail.type == "2" ? "邀约" : "后台创建" }}
-
- 提交时间
+
+ 提交时间
{{ detail.createTime }}
diff --git a/src/pages/integrated/visitor/invitation-record.vue b/src/pages/integrated/visitor/invitation-record.vue
index 8ff27ff..4c4d9f5 100644
--- a/src/pages/integrated/visitor/invitation-record.vue
+++ b/src/pages/integrated/visitor/invitation-record.vue
@@ -1,51 +1,33 @@
-
+
-
-
+
+ }" @change="onTabChange" />
@@ -53,16 +35,20 @@
-
+
- 待接受
- 待到访
- 已拒绝
- 已取消
+ 待接受
+
+ 待到访
+
+ 已拒绝
+
+ 已取消
+
{{ v.vstartDate + " ~ " + v.vendDate }}
-
-
+
+
访客姓名
{{ v.name || "---" }}
@@ -77,27 +63,28 @@
拜访原因
- {{ visitorReasonList.find((item) => item.id == v.reasonValue)?.title || "---" }}
+ {{visitorReasonList.find((item) => item.id == v.reasonValue)?.title || "---"}}
-
+
-
- 接受申请
+
+ 接受申请
-
- 拒绝申请
+
+ 拒绝申请
- 查看详情
+ 查看详情
- 查看详情
-
- 取消邀约
+ 查看详情
+
+ 取消邀约
diff --git a/src/pages/integrated/visitor/invitation.vue b/src/pages/integrated/visitor/invitation.vue
index f676694..5379e56 100644
--- a/src/pages/integrated/visitor/invitation.vue
+++ b/src/pages/integrated/visitor/invitation.vue
@@ -12,26 +12,16 @@
拜访开始时间
-
+
拜访离开时间
-
+
@@ -39,34 +29,18 @@
- 提 交
+ 提 交
-
+
-
+
提交后系统将会向手机号
{{ form.mobile || "" }}
diff --git a/src/pages/merchant/brandDetail.vue b/src/pages/merchant/brandDetail.vue
index 54dc42d..9cb96e6 100644
--- a/src/pages/merchant/brandDetail.vue
+++ b/src/pages/merchant/brandDetail.vue
@@ -20,9 +20,6 @@ const query = (page: number, pagesize: number) => {
}
onLoad((options: any) => {
- const app = getApp()
- app._initTabbar()
-
if (options.parentId) {
state.pa.parentId = options.parentId
}
@@ -84,7 +81,7 @@ const toDetail = async (v: any) => {
- {{ v.phone }}
+ {{ v.phone }}
@@ -99,7 +96,7 @@ const toDetail = async (v: any) => {
- 地址:
+ 地址:
{{ v.addressDes }}
diff --git a/src/pages/merchant/coupon-list.vue b/src/pages/merchant/coupon-list.vue
index 2ebf57c..05e652d 100644
--- a/src/pages/merchant/coupon-list.vue
+++ b/src/pages/merchant/coupon-list.vue
@@ -4,12 +4,13 @@
safe-area-inset-bottom :loading-more-enabled="true" :show-scrollbar="false" @query="query"
:auto-clean-list-when-reload="false" :auto-scroll-to-top-when-reload="false" @scroll="pageHook.scroll">
-
- 搜 索
+ 搜
+ 索
@@ -17,27 +18,28 @@
-
{{ getActStatus(item.actStatus)?.name }}
- ID {{ item.id }}
-
+ ID {{ item.id }}
+
限时领取
-
+
{{ (item.actStartTime?.split(" ")[0] || "") + "~" + (item.actExpireTime?.split(" ")[0] || "") }}
- {{ item.actTitlel }}
- 限量领取 先领先得
+ {{ item.actTitlel }}
+ 限量领取 先领先得
+
- 领取人 {{ item.receiverUsername }}
+ 领取人 {{ item.receiverUsername }}
领取时间 {{ item.receiverTime }}
- 核销人 {{ item.cancelUsername }}
+ 核销人 {{ item.cancelUsername }}
核销时间 {{ item.cancelTime }}
diff --git a/src/pages/merchant/detail.vue b/src/pages/merchant/detail.vue
index 97a0e42..de324dc 100644
--- a/src/pages/merchant/detail.vue
+++ b/src/pages/merchant/detail.vue
@@ -24,9 +24,9 @@
v-for="(item, index) in state.detail.phone.split('/')" :key="index"
class="flex items-center">
- {{ item.trim() }}
+ {{ item.trim() }}
联系商家
@@ -49,7 +49,7 @@
- 地址:
+ 地址:
{{ state.detail.addressDes }}
diff --git a/src/pages/merchant/merchant-activity.vue b/src/pages/merchant/merchant-activity.vue
index 258d522..4b6448f 100644
--- a/src/pages/merchant/merchant-activity.vue
+++ b/src/pages/merchant/merchant-activity.vue
@@ -1,23 +1,24 @@
-
+
兑换券
-
+
限时领取
-
+
{{ (state.actDetail.startTime?.split(" ")[0] || "") + "~" +
(state.actDetail.expireTime?.split(" ")[0] || "") }}
- {{ state.actDetail.actTitle }}
+ {{ state.actDetail.actTitle }}
- ¥{{ hooks.useMoney(state.actDetail.activeCancelPrice) }}
+ ¥{{ hooks.useMoney(state.actDetail.activeCancelPrice) }}
¥{{ hooks.useMoney(state.actDetail.activeOrgPrice)
}}
- 限量领取 先领先得
+ 限量领取 先领先得
+
@@ -29,9 +30,9 @@
{{ actCouponTypeEnum[state.actDetail.type] }}
-
+
{{ state.actDetail.name }}
-
+
{{ state.actDetail.validStartTime }}
~
@@ -39,7 +40,7 @@
-
+
领取后请在
{{ state.actDetail.validStartTime }}
@@ -54,25 +55,26 @@
+ class="m-l-20rpx m-y-20rpx w-55% text-28 bg-#eeeeee44 c-#fff p-16rpx rounded-16rpx">
{{ state.actDetail.description }}
+ class="text-center card rounded-lt-0! rounded-rt-0! p-24rpx sub-text-30">
已 核 销
立 即 领 取
-
+ class="text-center card rounded-lt-0! rounded-rt-0! p-24rpx sub-text-30" @tap="doReceive">立 即 领 取
+
+
{{ actUserReceiveEnum[state.actUserReceiveStatus] || "未知状态" }}
- 我的礼券
+ 我的礼券
diff --git a/src/pages/pay/payComplete.vue b/src/pages/pay/payComplete.vue
index 95a0807..8ada9c2 100644
--- a/src/pages/pay/payComplete.vue
+++ b/src/pages/pay/payComplete.vue
@@ -9,7 +9,7 @@
fill="#2BCDA3" p-id="1709" data-spm-anchor-id="a313x.search_index.0.i2.beb13a81SVstw0"
class="selected">
- 支付成功
+ 支付成功
diff --git a/src/pages/pay/scanPay.vue b/src/pages/pay/scanPay.vue
index 1588b94..05bd5b7 100644
--- a/src/pages/pay/scanPay.vue
+++ b/src/pages/pay/scanPay.vue
@@ -1,21 +1,21 @@
- {{ scanPayState.mchName }}
+ {{ scanPayState.mchName }}
- ¥
+ ¥
{{ displayAmount }}
- 选择支付钱包:
+ 选择支付钱包:
-
+
{{ v.walletTypeName }}
@@ -25,7 +25,7 @@
- 支 付
+ 支 付
diff --git a/src/pages/pay/transferMoney.vue b/src/pages/pay/transferMoney.vue
index e4b8d89..d1ba58c 100644
--- a/src/pages/pay/transferMoney.vue
+++ b/src/pages/pay/transferMoney.vue
@@ -1,43 +1,43 @@
-
+
-
+
{{ payStore.sourceWalletData.walletTypeName }}
余额:
- {{ hooks.useMoney(payStore.sourceWalletData.balance) + "元" }}
+ {{ hooks.useMoney(payStore.sourceWalletData.balance) + "元" }}
-
+
-
+
转入到
- {{ targetWalletType.name }}
+ {{ targetWalletType.name }}
-
+
转账金额
- ¥
+ ¥
转账金额
{{ formattedAmount }}
-
+
注:转账金额不能超过钱包余额
-
+
确定转账
@@ -47,11 +47,11 @@
-
+
{{ v.walletTypeName }}
{{ v.cardNumber }}
diff --git a/src/pages/tabbar/cabinet.vue b/src/pages/tabbar/cabinet.vue
index 7a9dee7..615743a 100644
--- a/src/pages/tabbar/cabinet.vue
+++ b/src/pages/tabbar/cabinet.vue
@@ -6,16 +6,18 @@
{{ item.hardName }} {{ item.deviceCode }}
-
-
+
+
货柜详情
-
+
货柜补货
-
+
商品上架
@@ -34,8 +36,6 @@ import { onLoad, onShow } from "@dcloudio/uni-app"
const pageRef = ref(null)
onLoad(() => {
- const app = getApp()
- app._initTabbar()
})
onShow(() => {
if (pageRef.value) {
diff --git a/src/pages/tabbar/canteen.vue b/src/pages/tabbar/canteen.vue
index 07251be..d32db2f 100644
--- a/src/pages/tabbar/canteen.vue
+++ b/src/pages/tabbar/canteen.vue
@@ -18,10 +18,6 @@ onLoad(() => {
})
onShow(async () => {
- const app: any = getApp({ allowDefault: true })
- if (app?.globalData?._initTabbar) {
- await app.globalData._initTabbar()
- }
if (pageRef.value) {
pageRef.value.reload(false)
}
diff --git a/src/pages/tabbar/canteenAnalyse.vue b/src/pages/tabbar/canteenAnalyse.vue
index 73d42e3..01e4a13 100644
--- a/src/pages/tabbar/canteenAnalyse.vue
+++ b/src/pages/tabbar/canteenAnalyse.vue
@@ -38,16 +38,16 @@
'bg-gradient-to-r from-orange-50 to-red-50': index === 2,
}">
-
- {{ index + 1 }}
+ {{ Number(index) + 1 }}
- {{ index + 1 }}
+ {{ Number(index) + 1 }}
@@ -155,8 +155,6 @@ const areaChartOpts = {
}
onLoad(() => {
- const app = getApp()
- app._initTabbar()
})
const pageRef = ref(null)
diff --git a/src/pages/tabbar/coopMerchant.vue b/src/pages/tabbar/coopMerchant.vue
index e50daae..206a91e 100644
--- a/src/pages/tabbar/coopMerchant.vue
+++ b/src/pages/tabbar/coopMerchant.vue
@@ -23,8 +23,6 @@ const query = (page: number, pagesize: number) => {
}
onLoad(async () => {
- const app = getApp()
- app._initTabbar()
try {
const res: any = await merchantApi.selectCatgory({ current: 1, size: 99999 })
@@ -69,13 +67,13 @@ const toDetail = async (v: any) => {
:auto-clean-list-when-reload="false" :auto-scroll-to-top-when-reload="false" @scroll="pageHook.scroll">
-
+
+ fontSize="28" :showClear="true" :focus="false" placeholder="请输入商家名称" width="100%"
+ :focus-highlight="false" color="#ECF4F9">
- 搜 索
+ 搜
+ 索
@@ -88,7 +86,7 @@ const toDetail = async (v: any) => {
- {{ v.name }}
+ {{ v.name }}
@@ -96,7 +94,7 @@ const toDetail = async (v: any) => {
- {{ v.phone }}
+ {{ v.phone }}
{{ v.deptName.length > 5 ? v.deptName.substring(0, 5)
@@ -111,7 +109,7 @@ const toDetail = async (v: any) => {
- 地址:
+ 地址:
{{ v.addressDes }}
diff --git a/src/pages/tabbar/my.vue b/src/pages/tabbar/my.vue
index bc95d85..44a5e04 100644
--- a/src/pages/tabbar/my.vue
+++ b/src/pages/tabbar/my.vue
@@ -1,7 +1,7 @@
-
+
是否核销该活动兑换券?
确认核销将自动对用户的 消费钱包 扣费
-
+
取 消
确 认
@@ -337,10 +337,6 @@ const initMenuConfig = () => {
}
onLoad(async () => {
- const app = getApp({ allowDefault: true })
- if (app._initTabbar) {
- app._initTabbar()
- }
// 初始化配置菜单
initMenuConfig()
// 获取应用信息
@@ -352,10 +348,6 @@ onLoad(async () => {
storage.getUserInfo()
})
onShow(() => {
- const app = getApp({ allowDefault: true })
- if (app._initTabbar) {
- app._initTabbar()
- }
// 获取存储中的用户信息
storage.getUserInfo()
})
diff --git a/src/pages/tabbar/order.vue b/src/pages/tabbar/order.vue
index ee3417c..98351dc 100644
--- a/src/pages/tabbar/order.vue
+++ b/src/pages/tabbar/order.vue
@@ -7,9 +7,12 @@ import { orderApi } from "@@/api"
import { filePath } from "@@/utils/file"
+import { useTabbarStore } from "@@/stores/tabbar"
+
import zTabs from "@@/components/other/z-tabs/z-tabs.vue"
import { getLaunchParam } from "@/sheep/utils/app"
+const tabbarStore = useTabbarStore()
const data = {
tabs: [
{ id: null, name: "全部", disabled: false },
@@ -26,17 +29,8 @@ const state = reactive({
})
onLoad(() => {
- const app = getApp({ allowDefault: true })
- if (app._initTabbar) {
- app._initTabbar()
- }
})
onShow(async () => {
- const app = getApp({ allowDefault: true })
- if (app._initTabbar) {
- app._initTabbar()
- }
-
const isLogin = await hooks.useCheckLogin()
if (!isLogin) return
if (pageRef.value) {
@@ -50,22 +44,19 @@ const doTab = (e: any) => {
}
const pageRef = ref(null)
-const pageHook = hooks.usePage(
- pageRef,
- getLaunchParam() == "canteen" // 食堂
- ? orderApi.caneenPage
- : getLaunchParam() == "selfMerchant"
- ? orderApi.supPage
- : getLaunchParam() == "coopMerchant"
- ? orderApi.supPage
- : getLaunchParam() == "onlineShop"
- ? orderApi.supPage
- : getLaunchParam() == "prosperityShop"
- ? orderApi.farmerSpuPage
- : async () => [],
- null,
- "data.records",
-)
+let orderPageApi: any = async () => []
+const launchParam = tabbarStore.launchParam
+if (!launchParam) {
+ orderPageApi = async () => []
+} else if (launchParam === "canteen") {
+ orderPageApi = orderApi.caneenPage
+} else if (["selfMerchant", "coopMerchant", "onlineShop"].includes(launchParam)) {
+ orderPageApi = orderApi.supPage
+} else if (launchParam === "prosperityShop") {
+ orderPageApi = orderApi.farmerSpuPage
+}
+
+const pageHook = hooks.usePage(pageRef, orderPageApi, null, "data.records")
const query = (page: number, pagesize: number) => {
const isLogin = hooks.useStaticCheckLogin()
@@ -96,7 +87,7 @@ const doRefund = (v: any) => {
-
+
@@ -117,10 +108,10 @@ const doRefund = (v: any) => {
{{ hooks.useEnum("hardwareRefundStatusEnum", v.refundStatus) }}
-
+
+ class="second-text-30 mr-16rpx">
共 {{ v.carList.length }} 件
¥ {{ hooks.useMoney(v.totalPrice) }}
@@ -129,11 +120,11 @@ const doRefund = (v: any) => {
-
+
-
@@ -142,7 +133,7 @@ const doRefund = (v: any) => {
-
+
{{ pV.productName }}
¥ {{ hooks.useMoney(pV.productPrice) }}
x {{ pV.productCount }}
@@ -151,12 +142,13 @@ const doRefund = (v: any) => {
¥ {{ hooks.useMoney(pV.totalPrice) }}
无数据
-
+
-
+
diff --git a/src/pages/tabbar/selfMerchant.vue b/src/pages/tabbar/selfMerchant.vue
index 4e8599f..111795a 100644
--- a/src/pages/tabbar/selfMerchant.vue
+++ b/src/pages/tabbar/selfMerchant.vue
@@ -22,10 +22,6 @@ onLoad(() => {
})
onShow(async () => {
- const app: any = getApp({ allowDefault: true })
- if (app?.globalData?._initTabbar) {
- await app.globalData._initTabbar()
- }
pageRef.value && pageRef.value.reload(false)
})
@@ -53,7 +49,7 @@ const toDetail = async (v: any) => {
- {{ v.phone }}
+ {{ v.phone }}
{{ v.jobTime == ",," ? "" : "营业时间:" }}
@@ -63,7 +59,7 @@ const toDetail = async (v: any) => {
- 地址:
+ 地址:
{{ v.addressDes }}
diff --git a/src/sheep/api/index.ts b/src/sheep/api/index.ts
index 7ab9c26..82b90f2 100644
--- a/src/sheep/api/index.ts
+++ b/src/sheep/api/index.ts
@@ -22,6 +22,7 @@ export { default as noticeApi } from "./notice"
export { default as orderApi } from "./order"
export { default as payApi } from "./pay"
export { default as productApi } from "./product"
+export { default as prosperityShopApi } from "./prosperity-shop"
export { default as refundApi } from "./refund"
export { default as shopApi } from "./shop"
export { default as sysBannerApi } from "./sys-banner"
diff --git a/src/sheep/components/common/service-text.vue b/src/sheep/components/common/service-text.vue
index bf780cf..7129f6c 100644
--- a/src/sheep/components/common/service-text.vue
+++ b/src/sheep/components/common/service-text.vue
@@ -35,7 +35,7 @@ defineExpose({
-
+
联系热线
diff --git a/src/sheep/components/number-keyboard.vue b/src/sheep/components/number-keyboard.vue
index e5c79c1..5f8eb62 100644
--- a/src/sheep/components/number-keyboard.vue
+++ b/src/sheep/components/number-keyboard.vue
@@ -1,19 +1,19 @@
-
+
-
-
-
+
{{ key }}
-
+
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/sheep/stores/tabbar.ts b/src/sheep/stores/tabbar.ts
index e550a77..e176edb 100644
--- a/src/sheep/stores/tabbar.ts
+++ b/src/sheep/stores/tabbar.ts
@@ -169,6 +169,7 @@ export const useTabbarStore = defineStore("tabbarStore", {
}
})
this.tabbarList = tabbarList
+ this.launchParam = _launchParam
},
jumpFirstTabbar() {
const firstTabbar = this.tabbarList[0]
@@ -178,7 +179,9 @@ export const useTabbarStore = defineStore("tabbarStore", {
jump(firstTabbar.pagePath, {}, 3)
},
setCurrentRoute(route: string) {
- console.log("设置route:", route)
+ if (route === this.currentRoute) {
+ return
+ }
this.currentRoute = route
},
},
diff --git a/unocss.config.ts b/unocss.config.ts
index 2b73d0f..73c7ce3 100644
--- a/unocss.config.ts
+++ b/unocss.config.ts
@@ -6,7 +6,7 @@ const { presetWeappAttributify, transformerAttributify } = extractorAttributify(
export default {
presets: [
presetWeapp({
- whRpx: true,
+ whRpx: false,
}),
presetWeappAttributify(),
],