From 31d91f7de57467031afc69676a6d1c8687408176 Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Fri, 31 Oct 2025 16:30:47 +0800
Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D=EF=BC=8C?=
=?UTF-8?q?=E4=B8=8B=E5=8D=95=E4=BC=98=E5=8C=96=EF=BC=8C=E8=AE=A2=E5=8D=95?=
=?UTF-8?q?=E7=BB=93=E7=AE=97=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
distribution/income-details/index.vue | 8 +-
distribution/shop-detail/index.vue | 49 ++-
pages/order/components/orderInfo.vue | 2 +-
pages/product/components/shoppingCartes.vue | 2 +-
pages/product/index.vue | 87 +++---
stores/carts.js | 1 +
utils/goods copy.ts | 317 ++++++++++++++++----
utils/goods-utils.js | 29 +-
utils/goods.ts | 4 +-
utils/order-utils.js | 28 +-
10 files changed, 379 insertions(+), 148 deletions(-)
diff --git a/distribution/income-details/index.vue b/distribution/income-details/index.vue
index 977198f..cebd4e1 100644
--- a/distribution/income-details/index.vue
+++ b/distribution/income-details/index.vue
@@ -69,7 +69,7 @@
已入账
- 已退款
@@ -80,12 +80,12 @@
{{ item.orderNo }}
- -{{ item.rewardAmount }}
+{{ item.rewardAmount }}
- 订单退款
+ 订单退款
(订单一级分成)
@@ -205,7 +205,7 @@ const statusList = ref([
fontSize: "16",
},
{
- value: "REFUND",
+ value: "refund",
name: "已退款",
color: "#333",
fontSize: "16",
diff --git a/distribution/shop-detail/index.vue b/distribution/shop-detail/index.vue
index 08d06fb..2268e43 100644
--- a/distribution/shop-detail/index.vue
+++ b/distribution/shop-detail/index.vue
@@ -54,7 +54,14 @@
@click="questionClick('等级升级条件')"
/>
-
+
距离下一级还差:
{{ juNextLvMoney }}
@@ -72,7 +79,11 @@
- 总收益
+ 总收益
- {{
- state.distributionUser.totalIncome
- }}
+ {{ state.distributionUser.totalIncome }}
- 待入账
+ 待入账
- {{
- state.distributionUser.pendingIncome
- }}
+ {{ state.distributionUser.pendingIncome }}
@@ -219,9 +240,7 @@
{{
item.inviteTime.split(" ")[0]
}}
- {{
- "yyyy-MM-dd"
- }}
+ {{ "yyyy-MM-dd" }}
@@ -358,7 +377,11 @@ const commissionTipsType = ref("");
function toShouyiDetail(name) {
uni.navigateTo({
- url: "/distribution/income-details/index?name="+name+'&shopId='+options.shopId,
+ url:
+ "/distribution/income-details/index?name=" +
+ name +
+ "&shopId=" +
+ options.shopId,
});
}
function questionClick(title) {
diff --git a/pages/order/components/orderInfo.vue b/pages/order/components/orderInfo.vue
index bd49c55..b5a3c14 100644
--- a/pages/order/components/orderInfo.vue
+++ b/pages/order/components/orderInfo.vue
@@ -891,7 +891,7 @@ async function getDiscountActivity() {
}
onMounted(async () => {
await getConsumeDiscount();
- // getDiscountActivity();
+ getDiscountActivity();
});
diff --git a/pages/product/components/shoppingCartes.vue b/pages/product/components/shoppingCartes.vue
index 912e7ea..ddc39ed 100644
--- a/pages/product/components/shoppingCartes.vue
+++ b/pages/product/components/shoppingCartes.vue
@@ -83,7 +83,7 @@
>
{{ item.salePrice }}
diff --git a/pages/product/index.vue b/pages/product/index.vue
index 52852e5..56904bb 100644
--- a/pages/product/index.vue
+++ b/pages/product/index.vue
@@ -58,7 +58,10 @@
v-for="(item, index) in shopProductList.hots"
:key="index"
>
- 限时折扣 -->
+ 限时折扣
/{{ item1.unitName }}
- ¥{{ item1.salePrice }}
+
+ ¥{{ item1.salePrice }}