From ef768521c47872de57c7adb1a44f003eb0004c4e Mon Sep 17 00:00:00 2001
From: tianyi <13521030702@163.com>
Date: Wed, 6 May 2026 18:02:03 +0800
Subject: [PATCH] 1
---
package1/buyFood/buyFood.vue | 22 +++++--
package1/group/groupBuySingle.vue | 51 +++++++++++++---
package1/myCenter/addGoods.vue | 25 ++++----
package1/myCenter/attributeList.vue | 91 ++++++++++++++++-------------
package1/myCenter/goodsList.vue | 2 +-
package1/order/orderDetail.vue | 5 +-
package1/runErrand/runErrand.vue | 2 +-
7 files changed, 131 insertions(+), 67 deletions(-)
diff --git a/package1/buyFood/buyFood.vue b/package1/buyFood/buyFood.vue
index 3eac90e..609633a 100644
--- a/package1/buyFood/buyFood.vue
+++ b/package1/buyFood/buyFood.vue
@@ -313,7 +313,7 @@
¥{{backendTotalAmount ? backendTotalAmount.toFixed(2) : totalAmountCalc.toFixed(2)}}
-
+
若拼团失败,将会为您自动退款
@@ -693,7 +693,10 @@
let shopArea = this.shopItem.shopArea || '';
let putArea = this.formData.address ? this.formData.address.areaId : '';
if(shopArea == '' || putArea == ''){
- this.tui.toast('请先选择取货和收货地址');
+ uni.showToast({
+ title: '请先选择取货和收货地址',
+ icon: 'none'
+ })
return;
}
uni.navigateTo({
@@ -756,7 +759,10 @@
wxPayment() {
let that = this;
if (!this.currentOrderId || !this.backendTotalAmount) {
- that.tui.toast(this.currentOrderId + this.backendTotalAmount);
+ uni.showToast({
+ title: this.currentOrderId + this.backendTotalAmount,
+ icon: 'none'
+ })
return;
}
@@ -811,10 +817,16 @@
that.handlePaymentSuccess();
}, 1500);
}).catch(e => {
- that.tui.toast("请求失败");
+ uni.showToast({
+ title: '请求失败',
+ icon: 'none'
+ })
});
} else {
- that.tui.toast(res.message);
+ uni.showToast({
+ title: res.message,
+ icon: 'none'
+ })
}
}
})
diff --git a/package1/group/groupBuySingle.vue b/package1/group/groupBuySingle.vue
index c4932a4..8af91ec 100644
--- a/package1/group/groupBuySingle.vue
+++ b/package1/group/groupBuySingle.vue
@@ -302,7 +302,7 @@
:class="selectedGroupRule && selectedGroupRule.groupCount === rule.groupCount ? 'team-check' : 'team1'"
v-for="(rule, rIndex) in currentItem.productGroupBuyPrices" :key="rIndex"
@tap="selectGroupRule(rule)">
-
+
¥{{parseFloat(rule.groupPrice).toFixed(2)}}
@@ -331,14 +331,17 @@
-
-
+
-
+
+
+
+
¥{{spec.attributeListPrice | sliceMsg}}
-
+
{{spec.productName}}
@@ -2101,6 +2104,11 @@
font-size: 28rpx;
font-weight: 700;
}
+ .spec22 {
+ display: flex;
+ white-space: nowrap;
+ overflow-x: scroll;
+ }
.spec222 {
display: inline-block;
@@ -2127,7 +2135,6 @@
.team1 {
width: 154rpx;
- height: 126rpx;
background: #eee;
border-radius: 20rpx;
font-size: 26rpx;
@@ -2136,11 +2143,35 @@
float: left;
margin-right: 40rpx;
font-weight: 700;
+ padding: 10px;
+ }
+ .team2{
+ width: 190rpx;
+ height: 270rpx;
+ background: #f5f5f5;
+ border-radius: 10px;
+ float: left;
+ text-align: center;
+ margin-right: 20px;
+ padding: 10px 10px 0;
+ }
+ .team-check1 {
+ width: 190rpx;
+ height: 280rpx;
+ background: rgba(166, 255, 234, 1);
+ border-radius: 20rpx;
+ font-size: 26rpx;
+ text-align: center;
+ line-height: 40rpx;
+ float: left;
+ margin-right: 40rpx;
+ position: relative;
+ padding: 10px 10px 0;
+ font-weight: 700;
}
-
.team-check {
width: 154rpx;
- height: 126rpx;
+ height: auto;
background: rgba(166, 255, 234, 1);
border-radius: 20rpx;
font-size: 26rpx;
@@ -2149,6 +2180,7 @@
float: left;
margin-right: 40rpx;
position: relative;
+ padding: 10px;
}
.zaixian-swiper{
flex: 1;
@@ -2171,6 +2203,9 @@
.goods-team {
width: 100%;
min-height: 130rpx;
+ display: flex;
+ white-space: nowrap;
+ overflow-x: scroll;
}
.list-right {
diff --git a/package1/myCenter/addGoods.vue b/package1/myCenter/addGoods.vue
index d41d4ac..0e7d879 100644
--- a/package1/myCenter/addGoods.vue
+++ b/package1/myCenter/addGoods.vue
@@ -54,9 +54,9 @@
-
-
-
+
+
+ 删除
新增拼团
@@ -124,21 +124,24 @@
-
+
-
{{item.attributeName}}
-
+
-