From d6bf7289fb769a5ea291de30a12eabb7637e107e Mon Sep 17 00:00:00 2001
From: Lirui <2417307363@qq.com>
Date: Sun, 7 Apr 2024 16:00:16 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9F=9F=E5=90=8D=E5=88=87=E6=8D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/coupon/list.vue | 3 +-
pages/index/category.vue | 3 +-
pages/order/aftersale/detail.vue | 4 +-
pages/order/detail.vue | 52 +++++++++++++++++--
pages/order/dispatch/content.vue | 2 +-
pages/order/express/list.vue | 19 ++++++-
pages/public/setting.vue | 5 +-
.../components/mp-authorization.vue | 3 +-
.../s-businessSchool/s-businessSchool.vue | 14 +++--
.../s-coupon-choose/s-coupon-choose.vue | 2 +-
.../components/s-order-card/s-order-card.vue | 3 +-
.../s-platform-announcement-item.vue | 2 +-
sheep/components/s-user-card/s-user-card.vue | 2 +-
.../s-ztaddress-info/s-ztaddress-info.vue | 2 +-
.../s-ztaddress-item/s-ztaddress-item.vue | 2 +-
sheep/config/index.js | 4 +-
sheep/hooks/useModal.js | 3 +-
17 files changed, 95 insertions(+), 30 deletions(-)
diff --git a/pages/coupon/list.vue b/pages/coupon/list.vue
index 3a98f4f..8cce456 100644
--- a/pages/coupon/list.vue
+++ b/pages/coupon/list.vue
@@ -169,13 +169,12 @@
}
async function commissionCouponList() {
const { code, data, msg } = await sheep.$api.coupon.commissionCouponList();
- if (code === 1 && data && `${data.is_get}` === '0') {
+ if (code === 1 && data && `${data.is_get}` === '0' && `${data.level}` !== '1') {
state.dataList.forEach((item) => {
item.typeList = data[item.key].map(val => ({ name: val.name, time: `${val.get_start_time}~${val.get_end_time}`, id: val.id }))
});
state.show = true;
state.level = data.level_name;
- console.log(111111111);
} else {
getCoupon();
}
diff --git a/pages/index/category.vue b/pages/index/category.vue
index f278e12..833c535 100644
--- a/pages/index/category.vue
+++ b/pages/index/category.vue
@@ -219,7 +219,7 @@
&-item {
border-radius: 15rpx 15rpx 15rpx 15rpx;
background: #fff;
- padding: 37rpx 35rpx;
+ padding: 37rpx 35rpx 0;
margin-bottom: 25rpx;
&-title {
border-left: 10rpx solid var(--ui-BG-Main);
@@ -241,6 +241,7 @@
&-item {
width: calc(50% - 15rpx);
cursor: pointer;
+ margin-bottom: 25rpx;
&:not(:nth-child(even)) {
margin-right: 15rpx;
}
diff --git a/pages/order/aftersale/detail.vue b/pages/order/aftersale/detail.vue
index 6e05d4a..c0c09f3 100644
--- a/pages/order/aftersale/detail.vue
+++ b/pages/order/aftersale/detail.vue
@@ -115,9 +115,7 @@
@tap="onDelete(state.info.id)"
>删除 -->
-
+
diff --git a/pages/order/detail.vue b/pages/order/detail.vue
index 4c4a6a1..cd52e55 100644
--- a/pages/order/detail.vue
+++ b/pages/order/detail.vue
@@ -47,7 +47,7 @@
{{ state.orderInfo.status_desc }}
-
+
@@ -58,8 +58,12 @@
{{ addressText }}
+
+
+ 自提信息
+ 商家信息:
{{ state.orderInfo.zt_address.linkname }}
@@ -67,6 +71,17 @@
{{ state.orderInfo.zt_address.linkphone }}
{{ state.orderInfo.zt_address.address }}
+ 用户信息:
+
+
+ 取货时间:{{ state.orderInfo.selffetch_time }}
+
+
+
+
+ 预留电话:{{ state.orderInfo.self_phone }}
+
+
@@ -138,7 +153,7 @@
-
@@ -274,6 +289,9 @@
>
查看发票
+ 联系客服
@@ -483,7 +501,7 @@
margin-right: 20rpx;
}
}
-
+
.order-address-box {
background-color: #fff;
border-radius: 10rpx;
@@ -493,16 +511,30 @@
box-sizing: border-box;
font-weight: 500;
color: rgba(51, 51, 51, 1);
-
.address-username {
margin-right: 20rpx;
}
+ &-title {
+ font-size: 32rpx;
+ color: #333;
+ font-weight: bold;
+ margin-bottom: 20rpx;
+ }
+
+ &-subtitle {
+ font-size: 28rpx;
+ color: #333;
+ font-weight: 400;
+ margin-bottom: 20rpx;
+ }
+
.address-detail {
font-size: 26rpx;
font-weight: 500;
color: rgba(153, 153, 153, 1);
margin-top: 20rpx;
+ margin-bottom: 20rpx;
}
}
@@ -673,4 +705,16 @@
margin-right: 20rpx;
}
}
+
+ .ztaddress-time {
+ color: #999;
+ font-weight: 400;
+ font-size: 26rpx;
+ margin-bottom: 20rpx;
+ }
+ .ztaddress-phone {
+ color: #999;
+ font-weight: 400;
+ font-size: 26rpx;
+ }
diff --git a/pages/order/dispatch/content.vue b/pages/order/dispatch/content.vue
index 1a1dc83..e64214b 100644
--- a/pages/order/dispatch/content.vue
+++ b/pages/order/dispatch/content.vue
@@ -10,7 +10,7 @@
radius="20"
>
-
+
{{ state.data.status_text }}
diff --git a/pages/order/express/list.vue b/pages/order/express/list.vue
index 2f70c42..dcacf53 100644
--- a/pages/order/express/list.vue
+++ b/pages/order/express/list.vue
@@ -2,9 +2,9 @@
-
+
{{
item.express_name + ' : ' + item.express_no
}}
+ 复制
{{ item.logs[0]?.content }}
@@ -47,6 +48,10 @@
const { data } = await sheep.$api.order.express.list(orderId);
state.list = data;
}
+ // 复制
+ const onCopy = (express_no) => {
+ sheep.$helper.copyText(express_no);
+ };
onLoad((Option) => {
state.orderId = Option.orderId;
getExpressList(state.orderId);
@@ -101,4 +106,14 @@
color: #999999;
}
}
+ .copy-btn {
+ width: 100rpx;
+ line-height: 50rpx;
+ border-radius: 25rpx;
+ padding: 0;
+ background: rgba(238, 238, 238, 1);
+ font-size: 22rpx;
+ font-weight: 400;
+ color: rgba(51, 51, 51, 1);
+ }
diff --git a/pages/public/setting.vue b/pages/public/setting.vue
index 5841cf7..15866fc 100644
--- a/pages/public/setting.vue
+++ b/pages/public/setting.vue
@@ -50,7 +50,7 @@
>
公司及产品资质
-
+
+
+
+
+
@@ -21,7 +25,7 @@
- 上传时间:{{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}
+ {{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}
@@ -40,7 +44,7 @@
- 上传时间:{{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}
+ {{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}
@@ -70,14 +74,14 @@
}
let { code: articleCode, data: { data: articleData } } = await sheep.$api.businessSchool.articleList('1');
if (articleCode === 1) {
- state.articleData = articleData;
+ state.articleData = articleData.slice(0, 3);
} else {
state.articleData = [];
}
let { code: saleCode, data: { data: saleData } } = await sheep.$api.businessSchool.articleList('2');
console.log(saleData, 'saleData');
if (saleCode === 1) {
- state.saleData = saleData;
+ state.saleData = saleData.slice(0, 3);
} else {
state.saleData = [];
}
diff --git a/sheep/components/s-coupon-choose/s-coupon-choose.vue b/sheep/components/s-coupon-choose/s-coupon-choose.vue
index 3b2fc29..2d58839 100644
--- a/sheep/components/s-coupon-choose/s-coupon-choose.vue
+++ b/sheep/components/s-coupon-choose/s-coupon-choose.vue
@@ -18,7 +18,7 @@
{{ item.type }}
{{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}
- 上传时间:{{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}
+ {{ dayjs(item.createtime).format('YYYY/MM/DD').replaceAll('/', '.') }}
diff --git a/sheep/components/s-user-card/s-user-card.vue b/sheep/components/s-user-card/s-user-card.vue
index 965e66d..7973bb9 100644
--- a/sheep/components/s-user-card/s-user-card.vue
+++ b/sheep/components/s-user-card/s-user-card.vue
@@ -17,7 +17,7 @@
-
+
{{ userInfo?.nickname || nickname }}
{{ userInfo.agent.level_info.name }}
diff --git a/sheep/components/s-ztaddress-info/s-ztaddress-info.vue b/sheep/components/s-ztaddress-info/s-ztaddress-info.vue
index 976cf6e..aa5a17b 100644
--- a/sheep/components/s-ztaddress-info/s-ztaddress-info.vue
+++ b/sheep/components/s-ztaddress-info/s-ztaddress-info.vue
@@ -53,7 +53,7 @@
const state = reactive({
selffetch_time: '',
- today: '',
+ today: '2035-12-31 23:59:59',
phone: '',
});
diff --git a/sheep/components/s-ztaddress-item/s-ztaddress-item.vue b/sheep/components/s-ztaddress-item/s-ztaddress-item.vue
index 1406146..a53a479 100644
--- a/sheep/components/s-ztaddress-item/s-ztaddress-item.vue
+++ b/sheep/components/s-ztaddress-item/s-ztaddress-item.vue
@@ -57,7 +57,7 @@