1
xuxueyang
2024-08-02 54ae9c43662b1ab98f78392c3b235d64251fa7ae
1
已修改2个文件
52 ■■■■ 文件已修改
manifest.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/user/supplier-user.vue 50 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manifest.json
@@ -49,7 +49,7 @@
    "quickapp" : {},
    /* 快应用特有相关 */
    "mp-weixin" : {
        "appid" : "wx6d0ecc4e18710458",
        "appid" : "wx1441324401626290",
        "setting" : {
            "urlCheck" : false,
            "es6" : true,
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&&currentInfo.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&&currentInfo.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">
                             客服电话 : &nbsp;&nbsp; <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">
                            客服电话 : &nbsp;&nbsp; <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() {