陶杰
2025-01-08 c24e49083d4419300bcee0f0ca926c084037d665
sub_pages/customer/setup/setup.vue
@@ -9,6 +9,13 @@
               <uni-icons type="right"></uni-icons>
            </view>
         </view>
         <view class="user-util m-t-12 flex" v-if="selftype==='customer'||!selftype"
            @click="goto('/sub_pages/customer/setup/account-self',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="goto('/pages/help/content?id=隐私政策',false)" >
            <view class="title">隐私政策</view>
@@ -31,11 +38,11 @@
            </view>
         </view>
         <view class="user-util m-t-12 flex" @click="clearlogout">
            <view class="title">退出登录</view>
            <view class="right-icon">
         <view class="user-util m-t-12 flex logout" @click="clearlogout">
            <view class="title2">退出登录</view>
            <!-- <view class="right-icon">
               <uni-icons type="right"></uni-icons>
            </view>
            </view> -->
         </view>
@@ -56,7 +63,7 @@
            tcode: '',
            inviterName: '',
            // StatusBar:0,
            tel: '15974805814',
            tel: '19288780072',
            tj: {},
            tj_order: {},
            cacheUserId: '',
@@ -116,7 +123,7 @@
      onShow() {
         this.cacheUserId = ''
         this.getTj()
         this.getHotLineConfig()
      },
      onLoad(options) {
@@ -139,6 +146,27 @@
         uni.stopPullDownRefresh()
      },
      methods: {
         async getHotLineConfig() {
            this.$message.showLoading()
            const {
               code,
               data
            } = await this.$http.request('get', `/v2/config-param/base/getBaseString`, {
               params: {
                  paramGroup: "servicehotline",
                  paramKey: "hotline_tel"
               }
            })
            this.$message.hideLoading()
            if (code === 0) {
               // 电话
               console.log(data)
               this.tel =data
            }
         },
         async bindPartnerUser(userId, name) {
            // await this.$message.confirm(`确定要绑定${name}合伙人吗?`)
            //调用接口绑定