MrShi
2026-05-18 b099e758396f61b39d24cf5fa6be7bb0d10c2b4d
small-program/pages/settings/settings.vue
@@ -34,6 +34,13 @@
               <u-icon name="arrow-right" color="#999999" size="17"></u-icon>
            </view>
         </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>
      </view>
      <view class="loginOut" @click="tuichu">退出登录</view>
      <!-- 更换手机号 -->
@@ -72,7 +79,8 @@
               telephone: '',
               phone1: '',
               fullCoverImage: '',
               coverImage: ''
               coverImage: '',
               email: ''
            }
         };
      },
@@ -83,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)