feat:隐藏明星选择

This commit is contained in:
zheng020 2026-05-12 13:41:14 +08:00
parent 9a6efea1c9
commit 8231ef3a31
2 changed files with 7 additions and 6 deletions

View File

@ -86,10 +86,10 @@
<image class="service-icon" src="/static/icon/edit-password.png" mode="aspectFit"></image>
<text class="service-text">修改密码</text>
</view>
<view class="service-button" @tap="handleSwitchRole">
<!-- <view class="service-button" @tap="handleSwitchRole">
<image class="service-icon" src="/static/icon/switch-account.png" mode="aspectFit"></image>
<text class="service-text">添加身份</text>
</view>
</view> -->
<view class="service-button" @tap="handleDeleteAccount">
<image class="service-icon" src="/static/icon/logout.png" mode="aspectFit"></image>
<text class="service-text">注销账号</text>
@ -387,7 +387,7 @@ const fetchUserInfo = async (forceRefresh = false) => {
nickname.value = userForCache.nickname || '';
uid.value = userForCache.uid || '';
fanLevel.value = userForCache.fan_level || 0;
fanTag.value = userForCache.fan_identity?.tag || '';
fanTag.value = userForCache.fan_identity?.name || '';
blockchainAddress.value = userForCache.blockchain_address || '';
userAvatarUrl.value = userForCache.avatar_url || '';
mobile.value = uni.getStorageSync('login_mobile') || '';

View File

@ -3,18 +3,19 @@
// 不需要手动注释!
// #ifdef H5
const baseURL = 'http://localhost:8080' // H5 开发用本机
// const baseURL = 'http://localhost:8080' // H5 开发用本机
const baseURL = 'http://192.168.110.60:8080' // H5 开发用本机
// #endif
// #ifdef APP-PLUS
// 开发调试手机和电脑同一WiFi时用这个改成你电脑IP
// 上线后:改成实际服务器地址
// const baseURL = 'http://192.168.110.60:8080'
const baseURL = 'http://192.168.110.60:8080'
// #endif
// 服务器地址(正式上线用)
// #ifdef APP-PLUS
const baseURL = 'http://101.132.250.62:8080'
// const baseURL = 'http://101.132.250.62:8080'
// #endif
// 是否使用模拟数据(开发调试时设为 true后端API准备好后改为 false