From b8b0b453e032770e64c8e37964e156dc7bf4c4b2 Mon Sep 17 00:00:00 2001
From: huangzhenbao <17818024429@163.com>
Date: Tue, 19 May 2026 23:10:27 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=B1=85=E5=AE=B6=E6=9C=8D?=
=?UTF-8?q?=E5=8A=A1=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...ges.consumer.2026-05-19T11-45-27-612Z.json | 461 +++++++
...ges.consumer.2026-05-19T11-45-44-349Z.json | 461 +++++++
components/home/HomeMallContent.uvue | 265 ++--
pages/main/index.uvue | 901 ++++++++++++-
.../consumer/home-service/service-detail.uvue | 1140 +++++++++++++----
5 files changed, 2870 insertions(+), 358 deletions(-)
create mode 100644 .pages-backup/pages.consumer.2026-05-19T11-45-27-612Z.json
create mode 100644 .pages-backup/pages.consumer.2026-05-19T11-45-44-349Z.json
diff --git a/.pages-backup/pages.consumer.2026-05-19T11-45-27-612Z.json b/.pages-backup/pages.consumer.2026-05-19T11-45-27-612Z.json
new file mode 100644
index 00000000..60afb4ad
--- /dev/null
+++ b/.pages-backup/pages.consumer.2026-05-19T11-45-27-612Z.json
@@ -0,0 +1,461 @@
+{
+ "pages": [
+ {
+ "path": "pages/main/index",
+ "style": {
+ "navigationBarTitleText": "首页",
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/user/boot",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/user/login",
+ "style": {
+ "navigationBarTitleText": "用户登录",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/register",
+ "style": {
+ "navigationBarTitleText": "注册"
+ }
+ },
+ {
+ "path": "pages/user/forgot-password",
+ "style": {
+ "navigationBarTitleText": "忘记密码"
+ }
+ },
+ {
+ "path": "pages/user/terms",
+ "style": {
+ "navigationBarTitleText": "用户协议与隐私政策"
+ }
+ },
+ {
+ "path": "pages/user/center",
+ "style": {
+ "navigationBarTitleText": "用户中心"
+ }
+ },
+ {
+ "path": "pages/user/profile",
+ "style": {
+ "navigationBarTitleText": "个人资料"
+ }
+ },
+ {
+ "path": "pages/user/change-password",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ },
+ {
+ "path": "pages/user/bind-phone",
+ "style": {
+ "navigationBarTitleText": "绑定手机"
+ }
+ },
+ {
+ "path": "pages/user/bind-email",
+ "style": {
+ "navigationBarTitleText": "绑定邮箱"
+ }
+ },
+ {
+ "path": "pages/main/messages",
+ "style": {
+ "navigationBarTitleText": "消息",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/main/cart",
+ "style": {
+ "navigationBarTitleText": "购物车",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/main/profile",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/main/category",
+ "style": {
+ "navigationBarTitleText": "分类",
+ "navigationStyle": "custom"
+ }
+ }
+ ],
+ "subPackages": [
+ {
+ "root": "pages/mall/consumer",
+ "pages": [
+ {
+ "path": "settings",
+ "style": {
+ "navigationBarTitleText": "设置"
+ }
+ },
+ {
+ "path": "edit-profile",
+ "style": {
+ "navigationBarTitleText": "编辑资料"
+ }
+ },
+ {
+ "path": "wallet",
+ "style": {
+ "navigationBarTitleText": "我的钱包"
+ }
+ },
+ {
+ "path": "withdraw",
+ "style": {
+ "navigationBarTitleText": "余额提现"
+ }
+ },
+ {
+ "path": "search",
+ "style": {
+ "navigationBarTitleText": "搜索",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "product-detail",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "channel-detail",
+ "style": {
+ "navigationBarTitleText": "频道详情",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "shop-detail",
+ "style": {
+ "navigationBarTitleText": "店铺详情"
+ }
+ },
+ {
+ "path": "coupons",
+ "style": {
+ "navigationBarTitleText": "我的优惠券"
+ }
+ },
+ {
+ "path": "favorites",
+ "style": {
+ "navigationBarTitleText": "我的收藏"
+ }
+ },
+ {
+ "path": "footprint",
+ "style": {
+ "navigationBarTitleText": "我的足迹"
+ }
+ },
+ {
+ "path": "address",
+ "style": {
+ "navigationBarTitleText": "地址"
+ }
+ },
+ {
+ "path": "address-list",
+ "style": {
+ "navigationBarTitleText": "收货地址"
+ }
+ },
+ {
+ "path": "address-edit",
+ "style": {
+ "navigationBarTitleText": "编辑地址"
+ }
+ },
+ {
+ "path": "checkout",
+ "style": {
+ "navigationBarTitleText": "确认订单"
+ }
+ },
+ {
+ "path": "payment",
+ "style": {
+ "navigationBarTitleText": "收银台"
+ }
+ },
+ {
+ "path": "payment-success",
+ "style": {
+ "navigationBarTitleText": "支付成功",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "orders",
+ "style": {
+ "navigationBarTitleText": "我的订单",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "order-detail",
+ "style": {
+ "navigationBarTitleText": "订单详情"
+ }
+ },
+ {
+ "path": "logistics",
+ "style": {
+ "navigationBarTitleText": "物流详情"
+ }
+ },
+ {
+ "path": "review",
+ "style": {
+ "navigationBarTitleText": "评价晒单"
+ }
+ },
+ {
+ "path": "refund",
+ "style": {
+ "navigationBarTitleText": "退款/售后"
+ }
+ },
+ {
+ "path": "apply-refund",
+ "style": {
+ "navigationBarTitleText": "申请售后"
+ }
+ },
+ {
+ "path": "refund-review",
+ "style": {
+ "navigationBarTitleText": "服务评价"
+ }
+ },
+ {
+ "path": "chat",
+ "style": {
+ "navigationBarTitleText": "客服聊天",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "chat_new",
+ "style": {
+ "navigationBarTitleText": "客服聊天(新版)"
+ }
+ },
+ {
+ "path": "subscription/plan-list",
+ "style": {
+ "navigationBarTitleText": "软件订阅"
+ }
+ },
+ {
+ "path": "subscription/plan-detail",
+ "style": {
+ "navigationBarTitleText": "订阅详情"
+ }
+ },
+ {
+ "path": "subscription/subscribe-checkout",
+ "style": {
+ "navigationBarTitleText": "确认订阅"
+ }
+ },
+ {
+ "path": "subscription/my-subscriptions",
+ "style": {
+ "navigationBarTitleText": "我的订阅"
+ }
+ },
+ {
+ "path": "subscription/followed-shops",
+ "style": {
+ "navigationBarTitleText": "关注店铺"
+ }
+ },
+ {
+ "path": "points/index",
+ "style": {
+ "navigationBarTitleText": "积分管理"
+ }
+ },
+ {
+ "path": "points/signin",
+ "style": {
+ "navigationBarTitleText": "签到"
+ }
+ },
+ {
+ "path": "points/exchange",
+ "style": {
+ "navigationBarTitleText": "积分兑换"
+ }
+ },
+ {
+ "path": "points/exchange-records",
+ "style": {
+ "navigationBarTitleText": "兑换记录"
+ }
+ },
+ {
+ "path": "red-packets/index",
+ "style": {
+ "navigationBarTitleText": "我的红包"
+ }
+ },
+ {
+ "path": "bank-cards/index",
+ "style": {
+ "navigationBarTitleText": "银行卡管理"
+ }
+ },
+ {
+ "path": "bank-cards/add",
+ "style": {
+ "navigationBarTitleText": "添加银行卡"
+ }
+ },
+ {
+ "path": "home-service/index",
+ "style": {
+ "navigationBarTitleText": "居家上门服务",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "home-service/apply",
+ "style": {
+ "navigationBarTitleText": "提交服务申请",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "home-service/service-detail",
+ "style": {
+ "navigationBarTitleText": "预约服务",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "home-service/order-detail",
+ "style": {
+ "navigationBarTitleText": "服务单详情",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "home-service/feedback",
+ "style": {
+ "navigationBarTitleText": "验收反馈",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "bank-cards/verify",
+ "style": {
+ "navigationBarTitleText": "银行卡验证"
+ }
+ },
+ {
+ "path": "balance/index",
+ "style": {
+ "navigationBarTitleText": "余额"
+ }
+ },
+ {
+ "path": "my-reviews",
+ "style": {
+ "navigationBarTitleText": "我的评价"
+ }
+ },
+ {
+ "path": "message-detail",
+ "style": {
+ "navigationBarTitleText": "消息详情"
+ }
+ },
+ {
+ "path": "member/index",
+ "style": {
+ "navigationBarTitleText": "会员中心"
+ }
+ },
+ {
+ "path": "product-reviews",
+ "style": {
+ "navigationBarTitleText": "商品评价"
+ }
+ }
+ ]
+ }
+ ],
+ "tabBar": {
+ "color": "#999999",
+ "selectedColor": "#ff5000",
+ "backgroundColor": "#ffffff",
+ "borderStyle": "black",
+ "list": [
+ {
+ "pagePath": "pages/main/index",
+ "text": "首页",
+ "iconPath": "static/tabbar/home.png",
+ "selectedIconPath": "static/tabbar/home-active.png"
+ },
+ {
+ "pagePath": "pages/main/messages",
+ "text": "消息",
+ "iconPath": "static/tabbar/message.png",
+ "selectedIconPath": "static/tabbar/message.png"
+ },
+ {
+ "pagePath": "pages/main/cart",
+ "text": "购物车",
+ "iconPath": "static/tabbar/cart.png",
+ "selectedIconPath": "static/tabbar/cart.png"
+ },
+ {
+ "pagePath": "pages/main/profile",
+ "text": "我的",
+ "iconPath": "static/tabbar/user.png",
+ "selectedIconPath": "static/tabbar/user.png"
+ }
+ ]
+ },
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "mall",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "backgroundColor": "#F8F8F8"
+ },
+ "condition": {
+ "current": 0,
+ "list": [
+ {
+ "name": "consumer端",
+ "path": "pages/main/index",
+ "query": "role=consumer"
+ }
+ ]
+ }
+}
diff --git a/.pages-backup/pages.consumer.2026-05-19T11-45-44-349Z.json b/.pages-backup/pages.consumer.2026-05-19T11-45-44-349Z.json
new file mode 100644
index 00000000..60afb4ad
--- /dev/null
+++ b/.pages-backup/pages.consumer.2026-05-19T11-45-44-349Z.json
@@ -0,0 +1,461 @@
+{
+ "pages": [
+ {
+ "path": "pages/main/index",
+ "style": {
+ "navigationBarTitleText": "首页",
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "pages/user/boot",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "pages/user/login",
+ "style": {
+ "navigationBarTitleText": "用户登录",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/user/register",
+ "style": {
+ "navigationBarTitleText": "注册"
+ }
+ },
+ {
+ "path": "pages/user/forgot-password",
+ "style": {
+ "navigationBarTitleText": "忘记密码"
+ }
+ },
+ {
+ "path": "pages/user/terms",
+ "style": {
+ "navigationBarTitleText": "用户协议与隐私政策"
+ }
+ },
+ {
+ "path": "pages/user/center",
+ "style": {
+ "navigationBarTitleText": "用户中心"
+ }
+ },
+ {
+ "path": "pages/user/profile",
+ "style": {
+ "navigationBarTitleText": "个人资料"
+ }
+ },
+ {
+ "path": "pages/user/change-password",
+ "style": {
+ "navigationBarTitleText": "修改密码"
+ }
+ },
+ {
+ "path": "pages/user/bind-phone",
+ "style": {
+ "navigationBarTitleText": "绑定手机"
+ }
+ },
+ {
+ "path": "pages/user/bind-email",
+ "style": {
+ "navigationBarTitleText": "绑定邮箱"
+ }
+ },
+ {
+ "path": "pages/main/messages",
+ "style": {
+ "navigationBarTitleText": "消息",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "pages/main/cart",
+ "style": {
+ "navigationBarTitleText": "购物车",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/main/profile",
+ "style": {
+ "navigationBarTitleText": "我的",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/main/category",
+ "style": {
+ "navigationBarTitleText": "分类",
+ "navigationStyle": "custom"
+ }
+ }
+ ],
+ "subPackages": [
+ {
+ "root": "pages/mall/consumer",
+ "pages": [
+ {
+ "path": "settings",
+ "style": {
+ "navigationBarTitleText": "设置"
+ }
+ },
+ {
+ "path": "edit-profile",
+ "style": {
+ "navigationBarTitleText": "编辑资料"
+ }
+ },
+ {
+ "path": "wallet",
+ "style": {
+ "navigationBarTitleText": "我的钱包"
+ }
+ },
+ {
+ "path": "withdraw",
+ "style": {
+ "navigationBarTitleText": "余额提现"
+ }
+ },
+ {
+ "path": "search",
+ "style": {
+ "navigationBarTitleText": "搜索",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "product-detail",
+ "style": {
+ "navigationBarTitleText": "",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "channel-detail",
+ "style": {
+ "navigationBarTitleText": "频道详情",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "shop-detail",
+ "style": {
+ "navigationBarTitleText": "店铺详情"
+ }
+ },
+ {
+ "path": "coupons",
+ "style": {
+ "navigationBarTitleText": "我的优惠券"
+ }
+ },
+ {
+ "path": "favorites",
+ "style": {
+ "navigationBarTitleText": "我的收藏"
+ }
+ },
+ {
+ "path": "footprint",
+ "style": {
+ "navigationBarTitleText": "我的足迹"
+ }
+ },
+ {
+ "path": "address",
+ "style": {
+ "navigationBarTitleText": "地址"
+ }
+ },
+ {
+ "path": "address-list",
+ "style": {
+ "navigationBarTitleText": "收货地址"
+ }
+ },
+ {
+ "path": "address-edit",
+ "style": {
+ "navigationBarTitleText": "编辑地址"
+ }
+ },
+ {
+ "path": "checkout",
+ "style": {
+ "navigationBarTitleText": "确认订单"
+ }
+ },
+ {
+ "path": "payment",
+ "style": {
+ "navigationBarTitleText": "收银台"
+ }
+ },
+ {
+ "path": "payment-success",
+ "style": {
+ "navigationBarTitleText": "支付成功",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "orders",
+ "style": {
+ "navigationBarTitleText": "我的订单",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "order-detail",
+ "style": {
+ "navigationBarTitleText": "订单详情"
+ }
+ },
+ {
+ "path": "logistics",
+ "style": {
+ "navigationBarTitleText": "物流详情"
+ }
+ },
+ {
+ "path": "review",
+ "style": {
+ "navigationBarTitleText": "评价晒单"
+ }
+ },
+ {
+ "path": "refund",
+ "style": {
+ "navigationBarTitleText": "退款/售后"
+ }
+ },
+ {
+ "path": "apply-refund",
+ "style": {
+ "navigationBarTitleText": "申请售后"
+ }
+ },
+ {
+ "path": "refund-review",
+ "style": {
+ "navigationBarTitleText": "服务评价"
+ }
+ },
+ {
+ "path": "chat",
+ "style": {
+ "navigationBarTitleText": "客服聊天",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "chat_new",
+ "style": {
+ "navigationBarTitleText": "客服聊天(新版)"
+ }
+ },
+ {
+ "path": "subscription/plan-list",
+ "style": {
+ "navigationBarTitleText": "软件订阅"
+ }
+ },
+ {
+ "path": "subscription/plan-detail",
+ "style": {
+ "navigationBarTitleText": "订阅详情"
+ }
+ },
+ {
+ "path": "subscription/subscribe-checkout",
+ "style": {
+ "navigationBarTitleText": "确认订阅"
+ }
+ },
+ {
+ "path": "subscription/my-subscriptions",
+ "style": {
+ "navigationBarTitleText": "我的订阅"
+ }
+ },
+ {
+ "path": "subscription/followed-shops",
+ "style": {
+ "navigationBarTitleText": "关注店铺"
+ }
+ },
+ {
+ "path": "points/index",
+ "style": {
+ "navigationBarTitleText": "积分管理"
+ }
+ },
+ {
+ "path": "points/signin",
+ "style": {
+ "navigationBarTitleText": "签到"
+ }
+ },
+ {
+ "path": "points/exchange",
+ "style": {
+ "navigationBarTitleText": "积分兑换"
+ }
+ },
+ {
+ "path": "points/exchange-records",
+ "style": {
+ "navigationBarTitleText": "兑换记录"
+ }
+ },
+ {
+ "path": "red-packets/index",
+ "style": {
+ "navigationBarTitleText": "我的红包"
+ }
+ },
+ {
+ "path": "bank-cards/index",
+ "style": {
+ "navigationBarTitleText": "银行卡管理"
+ }
+ },
+ {
+ "path": "bank-cards/add",
+ "style": {
+ "navigationBarTitleText": "添加银行卡"
+ }
+ },
+ {
+ "path": "home-service/index",
+ "style": {
+ "navigationBarTitleText": "居家上门服务",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "home-service/apply",
+ "style": {
+ "navigationBarTitleText": "提交服务申请",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "home-service/service-detail",
+ "style": {
+ "navigationBarTitleText": "预约服务",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "home-service/order-detail",
+ "style": {
+ "navigationBarTitleText": "服务单详情",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "home-service/feedback",
+ "style": {
+ "navigationBarTitleText": "验收反馈",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "bank-cards/verify",
+ "style": {
+ "navigationBarTitleText": "银行卡验证"
+ }
+ },
+ {
+ "path": "balance/index",
+ "style": {
+ "navigationBarTitleText": "余额"
+ }
+ },
+ {
+ "path": "my-reviews",
+ "style": {
+ "navigationBarTitleText": "我的评价"
+ }
+ },
+ {
+ "path": "message-detail",
+ "style": {
+ "navigationBarTitleText": "消息详情"
+ }
+ },
+ {
+ "path": "member/index",
+ "style": {
+ "navigationBarTitleText": "会员中心"
+ }
+ },
+ {
+ "path": "product-reviews",
+ "style": {
+ "navigationBarTitleText": "商品评价"
+ }
+ }
+ ]
+ }
+ ],
+ "tabBar": {
+ "color": "#999999",
+ "selectedColor": "#ff5000",
+ "backgroundColor": "#ffffff",
+ "borderStyle": "black",
+ "list": [
+ {
+ "pagePath": "pages/main/index",
+ "text": "首页",
+ "iconPath": "static/tabbar/home.png",
+ "selectedIconPath": "static/tabbar/home-active.png"
+ },
+ {
+ "pagePath": "pages/main/messages",
+ "text": "消息",
+ "iconPath": "static/tabbar/message.png",
+ "selectedIconPath": "static/tabbar/message.png"
+ },
+ {
+ "pagePath": "pages/main/cart",
+ "text": "购物车",
+ "iconPath": "static/tabbar/cart.png",
+ "selectedIconPath": "static/tabbar/cart.png"
+ },
+ {
+ "pagePath": "pages/main/profile",
+ "text": "我的",
+ "iconPath": "static/tabbar/user.png",
+ "selectedIconPath": "static/tabbar/user.png"
+ }
+ ]
+ },
+ "globalStyle": {
+ "navigationBarTextStyle": "black",
+ "navigationBarTitleText": "mall",
+ "navigationBarBackgroundColor": "#FFFFFF",
+ "backgroundColor": "#F8F8F8"
+ },
+ "condition": {
+ "current": 0,
+ "list": [
+ {
+ "name": "consumer端",
+ "path": "pages/main/index",
+ "query": "role=consumer"
+ }
+ ]
+ }
+}
diff --git a/components/home/HomeMallContent.uvue b/components/home/HomeMallContent.uvue
index 414f18a7..c0adeb0b 100644
--- a/components/home/HomeMallContent.uvue
+++ b/components/home/HomeMallContent.uvue
@@ -1,18 +1,33 @@
-
-
+
-
-
- {{ getCategoryDisplayIcon(item) }}
+
+
+
+
+
+ {{ getCategoryDisplayIcon(item) }}
+
+ {{ item.name }}
+
+
- {{ item.name }}
-
+
@@ -73,77 +88,86 @@
-
+
+
-
-
-
- handleProductImageError(product.id)"
- mode="aspectFill"
- />
-
-
-
-
- {{ tag }}
-
+
+
+
+ handleProductImageError(product.id)"
+ mode="aspectFill"
+ />
- {{ getProductTitle(product) }}
- {{ getProductHighlight(product) }}
-
-
- {{ tag }}
-
+
+
+
+ {{ tag }}
+
+
+ {{ getProductTitle(product) }}
+ {{ getProductHighlight(product) }}
+
+
+ {{ tag }}
+
+
+
+ ¥{{ formatProductPrice(product) }}
+ ¥{{ formatMarketPrice(product) }}
+
+ {{ getProductSalesText(product) }}
-
- ¥{{ formatProductPrice(product) }}
- ¥{{ formatMarketPrice(product) }}
-
- {{ getProductSalesText(product) }}
-
-
- 正在加载商品...
-
+
+ 正在加载商品...
+
-
+
+
+
-
- 正在加载更多商品...
-
+
+ 正在加载更多商品...
+
-
- 已经到底了
+
+ 已经到底了
+
\ No newline at end of file