rk
2026-05-22 552238172036acf08ccf36134282a06b5e21b936
small-program/pages/settings/settings.vue
@@ -34,9 +34,10 @@
               <u-icon name="arrow-right" color="#999999" size="17"></u-icon>
            </view>
         </view>
         <view class="list-item" @click="jumpxy">
            <view class="list-item-label">协议与说明</view>
         <view class="list-item">
            <view class="list-item-label">开票邮箱</view>
            <view class="list-item-val">
               <input type="text" v-model="form.email" @blur="updateUserInfo" placeholder="请输入" />
               <u-icon name="arrow-right" color="#999999" size="17"></u-icon>
            </view>
         </view>
@@ -48,7 +49,7 @@
            <view class="tc-contemt">
               <view class="tc-contemt-title">更换绑定手机号?</view>
               <view class="tc-contemt-nr">
                  更换后现手机号{{returnPhone(form.phone)}}将不能用于登录,180天内只可更换一次
                  更换后现手机号{{returnPhone(userInfo.telephone)}}将不能用于登录
               </view>
            </view>
            <view class="tc-btn">
@@ -57,6 +58,7 @@
            </view>
         </view>
      </u-popup>
      <auth-login v-if="showLogin" @close="showLogin = false"></auth-login>
   </view>
</template>
@@ -70,13 +72,15 @@
      data() {
         return {
            show: false,
            showLogin: false,
            form: {
               nickName: '',
               name: '',
               telephone: '',
               phone1: '',
               fullCoverImage: '',
               coverImage: ''
               coverImage: '',
               email: ''
            }
         };
      },
@@ -87,6 +91,7 @@
         this.form.phone1 = this.returnPhone(this.userInfo.telephone)
         this.form.fullCoverImage = this.userInfo.fullCoverImage
         this.form.coverImage = this.userInfo.coverImage
         this.form.email = this.userInfo.email || ''
         uni.$on('phone', () => {
            this.form.telephone = this.userInfo.telephone
            this.form.phone1 = this.returnPhone(this.userInfo.telephone)   
@@ -104,8 +109,11 @@
         jumpPhone() {
            this.show = false
            uni.navigateTo({
               url: '/pages/change-binding/change-binding'
               url: '/shop/pages/change-binding/change-binding'
            })
         },
         handleBindPhone() {
            this.showLogin = true
         },
         jumpAddr() {
            uni.navigateTo({
@@ -153,6 +161,7 @@
               .then(res => {
                  if (res.code === 200) {
                     this.$store.commit('empty')
                     uni.$emit('loginOut')
                     uni.switchTab({
                        url: '/pages/index/index'
                     })