feat: 调整样式

This commit is contained in:
Blizzard
2026-02-14 11:31:44 +08:00
parent cbbe82ef63
commit d6f781a666
42 changed files with 827 additions and 293 deletions
+9 -2
View File
@@ -1,5 +1,6 @@
// pages/profile/index.js
import request from '../../utils/request';
import { calculateDaysSince } from '../../utils/dateUtil';
const app = getApp();
@@ -78,7 +79,9 @@ Page({
userLevelTag: levelTag,
// EXP / Sunlight
userExp: res.currentSunlight || 0
userExp: res.currentSunlight || 0,
userSunlight: res.currentSunlight || 0,
joinedDays: calculateDaysSince(res.createdAt)
});
// Update global cache
@@ -111,6 +114,10 @@ Page({
},
// ======== Menu Actions ========
goToExchange() {
wx.navigateTo({ url: '/pages/profile/exchange/index' });
},
goToIdentifyHistory() {
wx.navigateTo({ url: '/pages/profile/identify-history/index' });
},
@@ -129,7 +136,7 @@ Page({
},
goToAbout() {
this.setData({ view: 'about' });
wx.navigateTo({ url: '/pages/profile/about/index' });
},
openDoc(e) {