杂务:整理文档并收口 YumiNail 修复

This commit is contained in:
xiaowang
2026-05-21 18:43:59 +08:00
parent 3797938616
commit 9227ec6175
362 changed files with 8358 additions and 19928 deletions
+3 -2
View File
@@ -6,6 +6,7 @@ const wishlistApi = require('../../api/wishlist')
const actionGuard = require('../../utils/action-guard')
const auth = require('../../utils/auth')
const navigation = require('../../utils/navigation')
const theme = require('../../utils/theme')
const { DEFAULT_AVATAR } = require('../../utils/config')
const { runWithLoading } = require('../../utils/loading')
@@ -14,7 +15,7 @@ const { runWithLoading } = require('../../utils/loading')
* Call guide: page data drives the WXML template, and each method is called by user events or lifecycle callbacks.
*/
Page({
data: {
data: Object.assign(theme.pageThemeData(getApp().globalData.shopTheme), {
isLoggedIn: false,
loading: false,
needSetPassword: false,
@@ -24,7 +25,7 @@ Page({
wishlistCount: 0,
unreadMessageCount: 0,
defaultAvatar: DEFAULT_AVATAR
},
}),
/**
* `onShow` page method. Use this from WXML event bindings or lifecycle hooks.
+1 -1
View File
@@ -1,4 +1,4 @@
<view class="profile-page-root">
<view class="profile-page-root" style="{{themeVars}}">
<navigation-bar title="个人中心" showBack="{{false}}" isTabPage="{{true}}" color="#ffffff" background="transparent" safeAreaMode="overlay"></navigation-bar>
<view class="profile-bg"></view>
+11 -9
View File
@@ -1,14 +1,16 @@
.profile-page-root {
min-height: 100vh;
background: var(--theme-page-bg);
}
.profile-scroll {
min-height: 100%;
background: var(--theme-page-bg);
}
.profile-page {
min-height: 100%;
background: linear-gradient(180deg, #d66c90 0%, #fff8fa 220rpx, #fffdfc 100%);
background: var(--theme-page-bg);
}
.profile-bg {
@@ -17,7 +19,7 @@
left: 0;
right: 0;
height: 228rpx;
background: linear-gradient(135deg, #d66c90 0%, #9a4f6d 100%);
background: var(--theme-gradient);
}
.profile-content {
@@ -67,7 +69,7 @@
width: 120rpx;
height: 120rpx;
border-radius: 50%;
background: #f7edf1;
background: var(--theme-primary-soft);
}
.profile-copy {
@@ -100,7 +102,7 @@
margin-top: 26rpx;
padding: 22rpx 24rpx;
border-radius: 24rpx;
background: #fff1f5;
background: var(--theme-primary-soft);
}
.shop-label {
@@ -117,7 +119,7 @@
.shop-link {
font-size: 24rpx;
color: #c6597d;
color: var(--theme-primary);
font-weight: 700;
}
@@ -125,8 +127,8 @@
margin-top: 22rpx;
padding: 20rpx 24rpx;
border-radius: 20rpx;
background: #fff7e8;
color: #9b6900;
background: var(--theme-primary-soft);
color: var(--theme-accent);
font-size: 24rpx;
line-height: 1.7;
}
@@ -167,7 +169,7 @@
height: 36rpx;
padding: 0 10rpx;
border-radius: 18rpx;
background: #ff5c8a;
background: var(--theme-primary);
color: #ffffff;
font-size: 22rpx;
line-height: 36rpx;
@@ -179,7 +181,7 @@
}
.logout-item {
color: #d5536f;
color: var(--theme-accent);
font-weight: 700;
}