From 39f8b88715b429173d7bf370b880dfdf00905e55 Mon Sep 17 00:00:00 2001 From: zzc <1761997216@qq.com> Date: Tue, 24 Feb 2026 20:36:36 +0800 Subject: [PATCH] fix: lucky page --- pages/wallpaper/index.vue | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/pages/wallpaper/index.vue b/pages/wallpaper/index.vue index d368e9d..d6d52c9 100644 --- a/pages/wallpaper/index.vue +++ b/pages/wallpaper/index.vue @@ -19,6 +19,18 @@ + + + + + 每次下载消耗 {{ downloadCost }} 积分 + + + 当前积分: + {{ userScore }} + + + !!userStore.userInfo.nickName); +const userScore = computed(() => userStore.userInfo.score || 0); +const downloadCost = ref(20); + const categories = ref([]); const currentCategoryId = ref(null); const wallpapers = ref([]); @@ -308,6 +323,35 @@ const shareWallpaper = (item) => {}; z-index: 100; } +.points-bar { + display: flex; + justify-content: space-between; + align-items: center; + padding: 16rpx 30rpx; + background-color: #fffbf0; + font-size: 24rpx; + color: #666; +} + +.points-left { + display: flex; + align-items: center; + gap: 8rpx; + color: #ff9800; +} + +.points-right { + display: flex; + align-items: center; +} + +.score-val { + color: #d81e06; + font-weight: bold; + font-size: 28rpx; + margin-left: 4rpx; +} + .tabs-scroll { white-space: nowrap; width: 100%;