杂务:整理文档并收口 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
@@ -3,6 +3,7 @@ const cartApi = require('../../api/cart')
const actionGuard = require('../../utils/action-guard')
const auth = require('../../utils/auth')
const navigation = require('../../utils/navigation')
const theme = require('../../utils/theme')
const { buildProductCard } = require('../../utils/product')
const { runWithLoading } = require('../../utils/loading')
@@ -11,11 +12,11 @@ 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), {
loading: false,
isLoggedIn: false,
wishlist: []
},
}),
/**
* `onShow` page method. Use this from WXML event bindings or lifecycle hooks.
+2 -2
View File
@@ -1,6 +1,6 @@
<navigation-bar title="我的收藏" showBack="{{true}}" fallbackPath="/pages/profile/index" color="#2d2430" background="#fff7f8"></navigation-bar>
<navigation-bar title="我的收藏" showBack="{{true}}" fallbackPath="/pages/profile/index" color="#2d2430" background="{{navThemeBackground || '#FFF7F9'}}"></navigation-bar>
<view class="page-shell wishlist-page">
<view class="page-shell wishlist-page" style="{{themeVars}}">
<view class="page-content">
<view wx:if="{{!isLoggedIn}}" class="page-card empty-card">
<text class="empty-title">登录后查看收藏</text>
+4 -4
View File
@@ -19,13 +19,13 @@
height: 74rpx;
flex: 1;
border-radius: 20rpx;
background: #fff1f5;
color: #c6597d;
background: var(--theme-primary-soft);
color: var(--theme-primary);
font-size: 26rpx;
font-weight: 600;
}
.wishlist-action--secondary {
background: #fff1f5;
color: #c6597d;
background: var(--theme-primary-soft);
color: var(--theme-accent);
}