From a70759652a7167e83076dcf96af09471a0c1c83c Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 28 八月 2024 16:39:23 +0800
Subject: [PATCH] update ui更新和一键删除

---
 static/images/customer/service/service-icon-7.png |    0 
 sub_pages/customer/shopping/shopping.vue          |    4 ++--
 manifest.json                                     |    2 +-
 sub_pages/partner/delivery/delivery-detail.vue    |    9 +++++----
 sub_pages/customer/shopping/confirm.vue           |   11 ++++++++---
 pages/order/order-detail.vue                      |    6 ++----
 pages/user/supplier-user.vue                      |   12 ++++++------
 7 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/manifest.json b/manifest.json
index f2448bf..2848179 100644
--- a/manifest.json
+++ b/manifest.json
@@ -49,7 +49,7 @@
     "quickapp" : {},
     /* 快应用特有相关 */
     "mp-weixin" : {
-        "appid" : "wx3203fd935a6ffe09",
+        "appid" : "wx1441324401626290",
         "setting" : {
             "urlCheck" : false,
             "es6" : true,
diff --git a/pages/order/order-detail.vue b/pages/order/order-detail.vue
index 67167b9..589f663 100644
--- a/pages/order/order-detail.vue
+++ b/pages/order/order-detail.vue
@@ -230,10 +230,8 @@
 								...data,
 								async success(res) {
 									console.log('pay success', res)
-									that.$message.showToast('支付成功')
-									setTimeout(() => {
-										that.getDetail()
-									}, 200)
+									await that.$message.showToast('支付成功')
+									that.getDetail()
 								},
 								fail(err) {
 									console.error('pay fail', err)
diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue
index 56b3ddb..b8460a0 100644
--- a/pages/user/supplier-user.vue
+++ b/pages/user/supplier-user.vue
@@ -171,11 +171,11 @@
 						</image>
 						<view>新手帮助</view>
 					</view>
-					<!-- 			<view class="service-icons" @click.stop="$meesage.showToast('敬请期待')">
-						<image src="../../static/images/customer/service/service-icon-6.png" class="t2 service-icon ">
+					<view class="service-icons" @click="goto('/sub_pages/customer/self/feedback',true)">
+						<image src="../../static/images/customer/service/service-icon-7.png" class="t2 service-icon ">
 						</image>
-						<view>运费详查</view>
-					</view> -->
+						<view>投诉反馈</view>
+					</view>
 
 					<view class="service-icons"></view>
 
@@ -256,12 +256,12 @@
 					<uni-icons type="right"></uni-icons>
 				</view>
 			</view>
-			<view class="user-util m-t-12 flex" @click="goto('/sub_pages/customer/self/feedback',true)">
+		<!-- 	<view class="user-util m-t-12 flex" @click="goto('/sub_pages/customer/self/feedback',true)">
 				<view class="title">投诉反馈</view>
 				<view class="right-icon">
 					<uni-icons type="right"></uni-icons>
 				</view>
-			</view>
+			</view> -->
 
 			<!-- v-if="selftype==='customer'" -->
 			<view class="user-util m-t-12 flex" @click="clearlogout">
diff --git a/static/images/customer/service/service-icon-7.png b/static/images/customer/service/service-icon-7.png
new file mode 100644
index 0000000..1e4352b
--- /dev/null
+++ b/static/images/customer/service/service-icon-7.png
Binary files differ
diff --git a/sub_pages/customer/shopping/confirm.vue b/sub_pages/customer/shopping/confirm.vue
index 4ea2671..db02471 100644
--- a/sub_pages/customer/shopping/confirm.vue
+++ b/sub_pages/customer/shopping/confirm.vue
@@ -204,13 +204,18 @@
 											tmp.$message.showToast('支付成功')
 											//返回上一页
 											await tmp.$store.dispatch('sign_add', 'shopping')
-											uni.navigateBack()
+											// setTimeout(() => {
+											// uni.navigateBack()
+											// }, 500)
+											await tmp.$message.showToast('支付成功')
+
+
 										},
 										async fail(err) {
 											console.error('pay fail', err)
 											tmp.$message.showToast('支付失败')
-											await tmp.$store.dispatch('sign_add', 'shopping')
-											uni.navigateBack()
+											// await tmp.$store.dispatch('sign_add', 'shopping')
+											// uni.navigateBack()
 										}
 									})
 
diff --git a/sub_pages/customer/shopping/shopping.vue b/sub_pages/customer/shopping/shopping.vue
index 66a0a67..a512018 100644
--- a/sub_pages/customer/shopping/shopping.vue
+++ b/sub_pages/customer/shopping/shopping.vue
@@ -10,9 +10,9 @@
 			<view class="name">
 				15974805814
 			</view>
-			<!-- <view class="m-l-a m-r-0">
+			<view class="m-l-a m-r-0">
 				<uni-icons v-if="list&&list.length>0" type="trash" size="28" @click="batchDelete"></uni-icons>
-			</view> -->
+			</view>
 		</view>
 		<view class="">
 			<no-data v-if="!list||list.length===0" style="width: 100%;"></no-data>
diff --git a/sub_pages/partner/delivery/delivery-detail.vue b/sub_pages/partner/delivery/delivery-detail.vue
index df13f1b..1295e6d 100644
--- a/sub_pages/partner/delivery/delivery-detail.vue
+++ b/sub_pages/partner/delivery/delivery-detail.vue
@@ -82,10 +82,11 @@
 					})
 					this.$message.hideLoading()
 					if (code === 0) {
-						this.$message.showToast('操作成功')
-						setTimeout(() => {
-							this.init()
-						}, 500)
+						await this.$message.showToast('操作成功')
+						this.init()
+						// setTimeout(() => {
+						// 	this.init()
+						// }, 500)
 					}
 					return
 				}

--
Gitblit v1.9.3