From 54ae9c43662b1ab98f78392c3b235d64251fa7ae Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 02 八月 2024 11:24:41 +0800
Subject: [PATCH] 1
---
manifest.json | 2 +-
pages/user/supplier-user.vue | 50 ++++++++++++++++++++++++++------------------------
2 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/manifest.json b/manifest.json
index 782394c..2848179 100644
--- a/manifest.json
+++ b/manifest.json
@@ -49,7 +49,7 @@
"quickapp" : {},
/* 快应用特有相关 */
"mp-weixin" : {
- "appid" : "wx6d0ecc4e18710458",
+ "appid" : "wx1441324401626290",
"setting" : {
"urlCheck" : false,
"es6" : true,
diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue
index 4974867..712ec82 100644
--- a/pages/user/supplier-user.vue
+++ b/pages/user/supplier-user.vue
@@ -199,19 +199,19 @@
<uni-icons type="right"></uni-icons>
</view>
</view>
-
+
<view class="user-util m-t-12 flex" @click="goto('/pages/user/user-pwd/user-pwd',true)">
<view class="title">修改密码</view>
<view class="right-icon">
<uni-icons type="right"></uni-icons>
</view>
- </view>
- <view class="user-util m-t-12 flex" v-if="currentInfo&¤tInfo.id"
- @click="goto('/pages/user/user-bind-wx/user-bind-wx',true)">
- <view class="title">绑定当前微信</view>
- <view class="right-icon">
- <uni-icons type="right"></uni-icons>
- </view>
+ </view>
+ <view class="user-util m-t-12 flex" v-if="currentInfo&¤tInfo.id"
+ @click="goto('/pages/user/user-bind-wx/user-bind-wx',true)">
+ <view class="title">绑定当前微信</view>
+ <view class="right-icon">
+ <uni-icons type="right"></uni-icons>
+ </view>
</view>
<view class="user-util m-t-12 flex" v-if="selftype==='customer'" @click="clearlogout">
<view class="title">退出登录</view>
@@ -222,20 +222,18 @@
<view class="user-util m-t-12 " v-if="selftype==='supplier'||selftype==='customer' || !selftype">
<view class="title">我的客服</view>
- <view class="flex flex-wrap-normal" >
- <image class="icon-clock m-r-6 m-t-2" src="../../static/common/icon-call.png"></image>
- <!-- @click="callTel" -->
- <button open-type="contact"
- class="component-button-contact"
- @handleContact="handleContact">
- <view class="name">
- 客服电话 : <span class="topic-gray">{{ tel }}</span>
- </view>
- <view class="right-icon" >
- <uni-icons type="right"></uni-icons>
- </view>
- </button>
-
+ <view class="flex flex-wrap-normal">
+ <image class="icon-clock m-r-6 m-t-2" src="../../static/common/icon-call.png"></image>
+ <!-- @click="callTel" -->
+ <button open-type="contact" class="component-button-contact" @handleContact="handleContact">
+ <view class="name">
+ 客服电话 : <span class="topic-gray">{{ tel }}</span>
+ </view>
+ <view class="right-icon">
+ <uni-icons type="right"></uni-icons>
+ </view>
+ </button>
+
</view>
</view>
<!-- <view class="user-util m-t-12 " @click="callTel" v-if="selftype==='partner'">
@@ -376,14 +374,18 @@
that.$message.hideLoading()
if (code == 0) {
that.$message.showToast(`绑定合伙人${partnerName}成功`)
- await that.$store.dispatch('getCurrentInfo')
+ setTimeout(() => {
+ that.$message.showLoading()
+ await that.$store.dispatch('getCurrentInfo')
+ that.$message.hideLoading()
+ }, 300)
}
} else {
that.$message.showToast('二维码格式不正确扫码失败')
}
} catch (e) {
- that.$message.showToast('二维码格式不正确扫码失败')
+ that.$message.showToast('二维码扫码错误')
}
},
fail() {
--
Gitblit v1.9.3