fix: tabBar颜色rgba→hex、我的页去重复五星域进度条(首页已有)、signData补currencyType=CNY修复ILLEGAL_CURRENCY_TYPE
This commit is contained in:
+2
-2
@@ -52,14 +52,14 @@ function applyTabBarTheme(theme) {
|
||||
try {
|
||||
if (theme === 'dark') {
|
||||
uni.setTabBarStyle({
|
||||
color: 'rgba(255,255,255,0.35)',
|
||||
color: '#a2a2b8',
|
||||
selectedColor: '#a2b2ff',
|
||||
backgroundColor: '#181828',
|
||||
borderStyle: 'black'
|
||||
})
|
||||
} else {
|
||||
uni.setTabBarStyle({
|
||||
color: 'rgba(0,0,0,0.3)',
|
||||
color: '#999999',
|
||||
selectedColor: '#5b5ff8',
|
||||
backgroundColor: '#ffffff',
|
||||
borderStyle: 'white'
|
||||
|
||||
@@ -41,21 +41,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 五星域点亮进度 -->
|
||||
<view class="dims-progress" v-if="stats">
|
||||
<view v-for="dim in dimensions" :key="dim.id" class="dim-row" @click="goDim(dim.id)">
|
||||
<view class="dim-dot" :style="{ background: dim.iconBg }">
|
||||
<AppIcon :name="dim.icon" :size="13" />
|
||||
</view>
|
||||
<text class="dim-name">{{ dim.name }}</text>
|
||||
<view class="dim-bar">
|
||||
<view class="dim-bar-fill" :style="{ width: dimPercent(dim.id) + '%', background: dim.color }"></view>
|
||||
</view>
|
||||
<text class="dim-frac">{{ stats.litByDim?.[dim.id] || 0 }}/{{ byDim[dim.id] || 0 }}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 星尘余额 + 今日免费(已登录) -->
|
||||
<!-- 星尘余额 + 今日免费(已登录) -->
|
||||
<view class="balance-card" v-if="userStore.isLoggedIn">
|
||||
<!-- 未登录:引导登录(简洁明确) -->
|
||||
<view class="balance-card login-guide" v-if="!userStore.isLoggedIn" @click="goLogin">
|
||||
@@ -250,6 +236,7 @@ async function handleLogout() {
|
||||
|
||||
function goLogin() { uni.navigateTo({ url: '/pages/login/login' }) }
|
||||
|
||||
function goHome() { uni.switchTab({ url: '/pages/index/index' }) }
|
||||
function goRecharge() { uni.navigateTo({ url: '/pages/vpay/recharge' }) }
|
||||
function goChat() { uni.switchTab({ url: '/pages/chat/chat' }) }
|
||||
function goFavorites() { uni.navigateTo({ url: '/pages/favorites/favorites' }) }
|
||||
@@ -653,3 +640,8 @@ onShareTimeline(() => ({
|
||||
flex-shrink: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<style scoped>
|
||||
.stats-hint { text-align: center; padding: 4px 0 8px; }
|
||||
.stats-hint text { font-size: 11px; color: var(--text-muted); }
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user