杂务:整理文档并收口 YumiNail 修复
This commit is contained in:
@@ -6,6 +6,7 @@ const cartApi = require('../../api/cart')
|
||||
const actionGuard = require('../../utils/action-guard')
|
||||
const { buildProductCards } = require('../../utils/product')
|
||||
const navigation = require('../../utils/navigation')
|
||||
const theme = require('../../utils/theme')
|
||||
const { runWithLoading } = require('../../utils/loading')
|
||||
const { CACHE_TTL } = require('../../utils/config')
|
||||
const {
|
||||
@@ -28,7 +29,7 @@ const CART_BUSY_MESSAGE = '\u8d2d\u7269\u8f66\u5904\u7406\u4e2d\uff0c\u8bf7\u52f
|
||||
Page({
|
||||
data: Object.assign(createKeyboardSafeData({
|
||||
cursorSpacing: 96
|
||||
}), {
|
||||
}), theme.pageThemeData(getApp().globalData.shopTheme), {
|
||||
initialized: false,
|
||||
loading: false,
|
||||
loadingMore: false,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<navigation-bar title="作品库" showBack="{{false}}" isTabPage="{{true}}" color="#2d2430" background="#fff7f8"></navigation-bar>
|
||||
<navigation-bar title="作品库" showBack="{{false}}" isTabPage="{{true}}" color="#2d2430" background="{{navThemeBackground || '#FFF7F9'}}"></navigation-bar>
|
||||
|
||||
<view class="page-shell product-page {{keyboardVisible ? 'keyboard-active' : ''}}">
|
||||
<view class="page-shell product-page {{keyboardVisible ? 'keyboard-active' : ''}}" style="{{themeVars}}">
|
||||
<view class="page-content product-page-content" style="{{keyboardVisible ? 'padding-bottom: ' + keyboardInsetRpx + 'rpx;' : ''}}">
|
||||
<view class="sticky-filter-bar">
|
||||
<view class="filter-surface">
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
.product-page {
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(255, 207, 220, 0.35), transparent 34%),
|
||||
linear-gradient(180deg, #fff8fa 0%, #fffdfc 100%);
|
||||
background: var(--theme-page-bg);
|
||||
}
|
||||
|
||||
.product-page-content {
|
||||
@@ -13,15 +11,14 @@
|
||||
top: 0;
|
||||
z-index: 12;
|
||||
padding: 6rpx 0 16rpx;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 248, 250, 0.98) 0%, rgba(255, 252, 251, 0.94) 76%, rgba(255, 252, 251, 0) 100%);
|
||||
background: var(--theme-page-bg);
|
||||
}
|
||||
|
||||
.filter-surface {
|
||||
padding: 16rpx 16rpx 14rpx;
|
||||
border-radius: 24rpx;
|
||||
border: 1rpx solid rgba(239, 216, 224, 0.86);
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
border: 1rpx solid var(--theme-border);
|
||||
background: var(--theme-card-bg);
|
||||
box-shadow: 0 18rpx 40rpx rgba(122, 67, 88, 0.08);
|
||||
}
|
||||
|
||||
@@ -36,7 +33,7 @@
|
||||
height: 68rpx;
|
||||
padding: 0 22rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #fbf5f7;
|
||||
background: var(--theme-primary-soft);
|
||||
color: #2d2430;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
@@ -49,7 +46,7 @@
|
||||
height: 68rpx;
|
||||
padding: 0 28rpx;
|
||||
border-radius: 999rpx;
|
||||
background: linear-gradient(135deg, #ff8cb0 0%, #c6597d 100%);
|
||||
background: var(--theme-gradient);
|
||||
color: #ffffff;
|
||||
font-size: 24rpx;
|
||||
font-weight: 700;
|
||||
@@ -80,15 +77,15 @@
|
||||
height: 50rpx;
|
||||
padding: 0 20rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #f7edf1;
|
||||
background: var(--theme-primary-soft);
|
||||
color: #8d7a84;
|
||||
font-size: 22rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.category-item.active {
|
||||
background: #fde8ef;
|
||||
color: #c6597d;
|
||||
background: var(--theme-primary-soft);
|
||||
color: var(--theme-primary);
|
||||
}
|
||||
|
||||
.results-head {
|
||||
@@ -121,8 +118,8 @@
|
||||
height: 46rpx;
|
||||
padding: 0 18rpx;
|
||||
border-radius: 999rpx;
|
||||
background: #fdeff4;
|
||||
color: #c6597d;
|
||||
background: var(--theme-primary-soft);
|
||||
color: var(--theme-primary);
|
||||
font-size: 22rpx;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user