feat(ui): 紫色主题完善、抢单端去自动刷新、我的页下拉刷新

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-06-29 02:08:33 +08:00
parent c03d22776f
commit 96adf54c80
66 changed files with 511 additions and 397 deletions

View File

@@ -2,6 +2,15 @@
/* ========== CSS 变量 ========== */
page {
/* 星阙紫色主题 */
--theme-primary: #9333ea;
--theme-primary-light: #a855f7;
--theme-primary-lighter: #c4b5fd;
--theme-primary-lightest: #ede9fe;
--theme-bg-tint: #f5f3ff;
--theme-gradient: linear-gradient(180deg, #c4b5fd, #a78bfa);
--theme-gradient-bg: linear-gradient(180deg, #c4b5fd 0%, #fff 28%, #f5f3ff 100%);
--color-price: #ff4444;
--color-text-main: #333;
--color-text-gray: #999;
@@ -458,7 +467,7 @@ page {
.tag-warning {
background: rgba(250, 173, 20, 0.1);
color: #faad14;
color: #a855f7;
}
.tag-danger {
@@ -468,7 +477,7 @@ page {
.tag-gold {
background: rgba(201, 169, 98, 0.1);
color: #C9A962;
color: #9333ea;
}
/* ========== 页面容器 ========== */
@@ -515,8 +524,8 @@ page {
}
.btn-primary--gold {
background: linear-gradient(135deg, #C9A962, #D4B56A);
box-shadow: 0 8rpx 20rpx rgba(201, 169, 98, 0.3);
background: linear-gradient(135deg, #9333ea, #a855f7);
box-shadow: 0 8rpx 20rpx rgba(147, 51, 234, 0.3);
}
.btn-primary--green {
@@ -530,8 +539,8 @@ page {
}
.btn-primary--orange {
background: linear-gradient(135deg, #ffb347, #ff8c1a);
box-shadow: 0 8rpx 20rpx rgba(255, 140, 26, 0.3);
background: linear-gradient(135deg, #a855f7, #7c3aed);
box-shadow: 0 8rpx 20rpx rgba(124, 58, 237, 0.3);
}
.btn-primary--purple {
@@ -565,8 +574,8 @@ page {
}
.btn-sm--gold {
background: linear-gradient(135deg, #ffcc00, #ffaa00);
box-shadow: 0 6rpx 16rpx rgba(255, 170, 0, 0.3);
background: linear-gradient(135deg, #c4b5fd, #9333ea);
box-shadow: 0 6rpx 16rpx rgba(147, 51, 234, 0.3);
}
.btn-sm--green {
@@ -604,8 +613,8 @@ page {
}
.btn-ghost--gold {
color: #C9A962;
border-color: #C9A962;
color: #9333ea;
border-color: #9333ea;
}
/* 禁用状态 */
@@ -854,8 +863,8 @@ page {
}
.status-tag--warning {
background: #fffbe6;
color: #faad14;
background: #faf5ff;
color: #a855f7;
}
.status-tag--info {
@@ -962,8 +971,8 @@ page {
}
@keyframes crownFloat {
0%, 100% { transform: translateY(0) rotate(5deg) scale(1); filter: drop-shadow(0 0 10rpx rgba(255, 215, 0, 0.8)); }
50% { transform: translateY(-15rpx) rotate(10deg) scale(1.1); filter: drop-shadow(0 0 25rpx rgba(255, 215, 0, 1)); }
0%, 100% { transform: translateY(0) rotate(5deg) scale(1); filter: drop-shadow(0 0 10rpx rgba(196, 181, 253, 0.8)); }
50% { transform: translateY(-15rpx) rotate(10deg) scale(1.1); filter: drop-shadow(0 0 25rpx rgba(196, 181, 253, 1)); }
}
@keyframes haloRotate {
@@ -1103,14 +1112,14 @@ page {
}
.chat-order-bubble {
background: #fff7e0;
background: #f5f3ff;
padding: 12rpx;
border-radius: 8rpx;
}
.chat-order-label {
font-size: 24rpx;
color: #e6a23c;
color: #a855f7;
font-weight: 600;
}
@@ -1605,7 +1614,7 @@ page {
.rank-card--1 .rank-podium-base { height: 80rpx; }
.rank-podium-gold { background: linear-gradient(180deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.1) 100%); border: 1rpx solid rgba(255, 215, 0, 0.4); }
.rank-podium-gold { background: linear-gradient(180deg, rgba(196, 181, 253, 0.3) 0%, rgba(196, 181, 253, 0.1) 100%); border: 1rpx solid rgba(196, 181, 253, 0.4); }
.rank-podium-silver { background: linear-gradient(180deg, rgba(192, 192, 192, 0.3) 0%, rgba(192, 192, 192, 0.1) 100%); border: 1rpx solid rgba(192, 192, 192, 0.4); }
.rank-podium-bronze { background: linear-gradient(180deg, rgba(205, 127, 50, 0.3) 0%, rgba(205, 127, 50, 0.1) 100%); border: 1rpx solid rgba(205, 127, 50, 0.4); }
@@ -1633,7 +1642,7 @@ page {
font-size: 85rpx;
position: relative;
z-index: 2;
filter: drop-shadow(0 0 10rpx rgba(255, 215, 0, 0.8));
filter: drop-shadow(0 0 10rpx rgba(196, 181, 253, 0.8));
animation: crownFloat 3s ease-in-out infinite;
transform: rotate(5deg);
}
@@ -1645,7 +1654,7 @@ page {
transform: translate(-50%, -50%);
width: 200rpx;
height: 200rpx;
background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.1) 40%, transparent 70%);
background: radial-gradient(circle, rgba(196, 181, 253, 0.3) 0%, rgba(196, 181, 253, 0.1) 40%, transparent 70%);
z-index: 0;
animation: glowPulse 2s ease-in-out infinite;
}
@@ -1677,7 +1686,7 @@ page {
.rank-card--1 .rank-avatar-container { border-width: 6rpx; }
.rank-frame-gold .rank-avatar-container { border-color: rgba(255, 215, 0, 0.3); filter: drop-shadow(0 0 30rpx rgba(255, 215, 0, 0.5)); }
.rank-frame-gold .rank-avatar-container { border-color: rgba(196, 181, 253, 0.3); filter: drop-shadow(0 0 30rpx rgba(196, 181, 253, 0.5)); }
.rank-frame-silver .rank-avatar-container { border-color: rgba(192, 192, 192, 0.3); filter: drop-shadow(0 0 25rpx rgba(192, 192, 192, 0.5)); }
.rank-frame-bronze .rank-avatar-container { border-color: rgba(205, 127, 50, 0.3); filter: drop-shadow(0 0 25rpx rgba(205, 127, 50, 0.5)); }
@@ -1701,7 +1710,7 @@ page {
animation: haloRotate 10s linear infinite;
}
.rank-halo-gold { width: 220rpx; height: 220rpx; background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0.2) 30%, transparent 70%); }
.rank-halo-gold { width: 220rpx; height: 220rpx; background: radial-gradient(circle, rgba(196, 181, 253, 0.4) 0%, rgba(196, 181, 253, 0.2) 30%, transparent 70%); }
.rank-card--1 .rank-halo-gold { width: 260rpx; height: 260rpx; }
.rank-halo-silver { width: 200rpx; height: 200rpx; background: radial-gradient(circle, rgba(192, 192, 192, 0.4) 0%, rgba(192, 192, 192, 0.2) 30%, transparent 70%); }
.rank-halo-bronze { width: 200rpx; height: 200rpx; background: radial-gradient(circle, rgba(205, 127, 50, 0.4) 0%, rgba(205, 127, 50, 0.2) 30%, transparent 70%); }
@@ -1739,7 +1748,7 @@ page {
.rank-card--1 .rank-badge { width: 70rpx; height: 70rpx; font-size: 32rpx; bottom: -15rpx; right: -15rpx; }
.rank-badge-gold { background: linear-gradient(135deg, #ffd700, #ff9800); }
.rank-badge-gold { background: linear-gradient(135deg, #c4b5fd, #9333ea); }
.rank-badge-silver { background: linear-gradient(135deg, #c0c0c0, #808080); }
.rank-badge-bronze { background: linear-gradient(135deg, #cd7f32, #a0522d); }
@@ -1754,7 +1763,7 @@ page {
overflow: hidden;
}
.rank-card--1 .rank-user-info-card { border-color: rgba(255, 215, 0, 0.3); background: rgba(20, 15, 5, 0.95); }
.rank-card--1 .rank-user-info-card { border-color: rgba(196, 181, 253, 0.3); background: rgba(20, 15, 5, 0.95); }
.rank-card--2 .rank-user-info-card { border-color: rgba(192, 192, 192, 0.3); background: rgba(25, 25, 35, 0.95); }
.rank-card--3 .rank-user-info-card { border-color: rgba(205, 127, 50, 0.3); background: rgba(30, 20, 10, 0.95); }
@@ -1769,7 +1778,7 @@ page {
text-align: center;
}
.rank-card--1 .rank-user-name { color: #ffd700; text-shadow: 0 0 15rpx rgba(255, 215, 0, 0.7); font-size: 34rpx; }
.rank-card--1 .rank-user-name { color: #c4b5fd; text-shadow: 0 0 15rpx rgba(196, 181, 253, 0.7); font-size: 34rpx; }
.rank-card--2 .rank-user-name { color: #c0c0c0; text-shadow: 0 0 10rpx rgba(192, 192, 192, 0.7); }
.rank-card--3 .rank-user-name { color: #cd7f32; text-shadow: 0 0 10rpx rgba(205, 127, 50, 0.7); }
@@ -1807,7 +1816,7 @@ page {
margin-right: 4rpx;
}
.rank-card--1 .rank-currency { color: #ffd700; }
.rank-card--1 .rank-currency { color: #c4b5fd; }
.rank-card--2 .rank-currency { color: #c0c0c0; }
.rank-card--3 .rank-currency { color: #cd7f32; }
@@ -1818,7 +1827,7 @@ page {
text-shadow: 0 0 10rpx rgba(74, 222, 128, 0.5);
}
.rank-card--1 .rank-amount { color: #ffd700; text-shadow: 0 0 15rpx rgba(255, 215, 0, 0.7); }
.rank-card--1 .rank-amount { color: #c4b5fd; text-shadow: 0 0 15rpx rgba(196, 181, 253, 0.7); }
.rank-card--2 .rank-amount { color: #c0c0c0; text-shadow: 0 0 10rpx rgba(192, 192, 192, 0.7); }
.rank-card--3 .rank-amount { color: #cd7f32; text-shadow: 0 0 10rpx rgba(205, 127, 50, 0.7); }

View File

@@ -38,8 +38,8 @@ Component({
} else if (cfg.bg_color) {
bgStyle = `background: ${cfg.bg_color};`;
} else {
// 默认金橙渐变
bgStyle = `background: linear-gradient(135deg, #FFD700, #FF8C00);`;
// 默认紫色渐变
bgStyle = `background: linear-gradient(135deg, #c4b5fd, #9333ea);`;
}
// 3. 形状(后端传入 shape 字段,默认 liubianxing
@@ -66,7 +66,7 @@ Component({
this.setData({ imageUrl: '' });
// 如果 bgStyle 为空,给个默认背景
if (!this.data.bgStyle) {
this.setData({ bgStyle: 'background: linear-gradient(135deg, #FFD700, #FF8C00);' });
this.setData({ bgStyle: 'background: linear-gradient(135deg, #c4b5fd, #9333ea);' });
}
}
}

View File

@@ -85,6 +85,6 @@
animation: glow-anim 2s ease-in-out infinite;
}
@keyframes glow-anim {
0%, 100% { box-shadow: 0 0 8rpx rgba(255, 215, 0, 0.4); }
50% { box-shadow: 0 0 20rpx rgba(255, 215, 0, 0.8), 0 0 40rpx rgba(255, 215, 0, 0.4); }
0%, 100% { box-shadow: 0 0 8rpx rgba(196, 181, 253, 0.4); }
50% { box-shadow: 0 0 20rpx rgba(196, 181, 253, 0.8), 0 0 40rpx rgba(196, 181, 253, 0.4); }
}

View File

@@ -15,7 +15,7 @@
.card-id { font-size: 24rpx; color: #999; margin-left: 15rpx; }
.cross-tag {
margin-left: auto;
background: #ff9900;
background: #8b5cf6;
color: #fff;
font-size: 20rpx;
padding: 2rpx 12rpx;

View File

@@ -138,7 +138,7 @@
.countdown-tip {
text-align: center;
font-size: 28rpx;
color: #ff6600;
color: #9333ea;
margin-bottom: 20rpx;
}
@@ -223,7 +223,7 @@
height: 120rpx;
border-radius: 50%;
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.3);
border: 2rpx solid rgba(255, 215, 0, 0.6);
border: 2rpx solid rgba(196, 181, 253, 0.6);
background: #f0f0f0;
display: block;
transform: translateZ(0);

View File

@@ -70,13 +70,13 @@ Page({
this.syncShopBannerFromGlobal();
this.registerNotificationComponent();
this.loadGlobalStatus();
if (wx.getStorageSync('uid')) {
reconnectForRole('dashou');
if (app.startImWhenReady) app.startImWhenReady();
this.refreshDashouProfileSilent();
}
if (this.data.xuanzhongLeixingId) {
this.loadDingdanList(true);
// IM 延后连接,避免切 Tab 时卡顿;订单列表不自动刷新,由用户下拉刷新
setTimeout(() => {
reconnectForRole('dashou');
if (app.startImWhenReady) app.startImWhenReady();
}, 600);
}
},
@@ -588,6 +588,7 @@ Page({
});
if (this.data.xuanzhongLeixingId) {
this.refreshDashouProfileSilent();
this.loadDingdanList(true);
} else {
this.setData({ scrollViewRefreshing: false });

View File

@@ -1,10 +1,10 @@
{
"navigationBarTitleText": "抢单大厅",
"navigationBarBackgroundColor": "#f7dc51",
"navigationBarBackgroundColor": "#c4b5fd",
"navigationBarTextStyle": "black",
"enablePullDownRefresh": false,
"backgroundTextStyle": "dark",
"backgroundColor": "#fff8e1",
"backgroundColor": "#f5f3ff",
"usingComponents": {
"chenghao-tag": "/components/chenghao-tag/chenghao-tag",
"global-notification": "/components/global-notification/global-notification"

View File

@@ -18,7 +18,7 @@
refresher-default-style="black"
refresher-background="#fff8e1"
refresher-background="#f5f3ff"
refresher-triggered="{{scrollViewRefreshing}}"
@@ -50,7 +50,7 @@
indicator-color="rgba(255,255,255,0.6)"
indicator-active-color="#ffd061"
indicator-active-color="#9333ea"
autoplay="{{lunboList.length > 1}}"

View File

@@ -486,7 +486,7 @@
background: rgba(0, 0, 0, 0.3);
padding: 8rpx 20rpx;
border-radius: 60rpx;
border: 1rpx solid rgba(255, 215, 0, 0.3);
border: 1rpx solid rgba(196, 181, 253, 0.3);
}
/* 分佣图标占位符,用户可替换为自己图标 */
@@ -504,10 +504,10 @@
.fenyong-price {
font-size: 44rpx;
color: #ffd700;
color: #c4b5fd;
font-weight: 800;
margin-right: 4rpx;
text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
text-shadow: 0 0 20px rgba(196, 181, 253, 0.8);
}
.fenyong-unit {

View File

@@ -132,7 +132,7 @@ page {
border-radius: 20rpx;
font-weight: 500;
}
.status-0 { background: #FFF3E0; color: #EF6C00; }
.status-0 { background: #F3E8FF; color: #9333ea; }
.status-1 { background: #E8F5E9; color: #2E7D32; }
.status-2 { background: #FFEBEE; color: #C62828; }
.status-3 { background: #E3F2FD; color: #1565C0; }

View File

@@ -60,13 +60,13 @@
.search-btn {
margin-left: 20rpx;
box-shadow: 0 6rpx 20rpx rgba(255, 170, 0, 0.3);
box-shadow: 0 6rpx 20rpx rgba(147, 51, 234, 0.3);
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.search-btn:active {
transform: scale(0.95);
box-shadow: 0 4rpx 15rpx rgba(255, 170, 0, 0.4);
box-shadow: 0 4rpx 15rpx rgba(147, 51, 234, 0.4);
}
.search-btn-text {
@@ -127,7 +127,7 @@
transform: translate(-50%, -50%);
width: 300rpx;
height: 300rpx;
background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
z-index: -1;
}
@@ -167,8 +167,8 @@
.leixing-active .leixing-image-box {
transform: scale(1.12);
box-shadow:
0 18rpx 40rpx rgba(255, 204, 0, 0.3),
0 8rpx 16rpx rgba(255, 170, 0, 0.2);
0 18rpx 40rpx rgba(168, 85, 247, 0.3),
0 8rpx 16rpx rgba(147, 51, 234, 0.2);
}
.leixing-image {
@@ -185,7 +185,7 @@
right: -3rpx;
bottom: -3rpx;
border-radius: 50%;
background: linear-gradient(135deg, #ffcc00, #ffaa00, #ff8800);
background: linear-gradient(135deg, #c4b5fd, #9333ea, #7c3aed);
opacity: 0;
transition: opacity 0.4s;
z-index: -1;
@@ -223,10 +223,10 @@
}
.leixing-active .leixing-text {
color: #ff9900;
color: #8b5cf6;
font-weight: 600;
transform: translateY(-2rpx);
text-shadow: 0 2rpx 4rpx rgba(255, 153, 0, 0.2);
text-shadow: 0 2rpx 4rpx rgba(168, 85, 247, 0.2);
}
.leixing-active-bar {
@@ -234,12 +234,12 @@
bottom: -4rpx;
width: 44rpx;
height: 4rpx;
background: linear-gradient(90deg, #ffcc00, #ffaa00);
background: linear-gradient(90deg, #c4b5fd, #9333ea);
border-radius: 2rpx;
opacity: 0;
transform: scaleX(0);
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
box-shadow: 0 2rpx 8rpx rgba(255, 170, 0, 0.4);
box-shadow: 0 2rpx 8rpx rgba(147, 51, 234, 0.4);
}
.leixing-active-bar-show {
@@ -261,7 +261,7 @@
.border-effect-active {
opacity: 1;
border-color: rgba(255, 204, 0, 0.5);
border-color: rgba(168, 85, 247, 0.5);
animation: borderGlow 2s infinite;
}
@@ -295,7 +295,7 @@
}
.zhuanqu-item:active {
background: rgba(255, 204, 0, 0.05);
background: rgba(168, 85, 247, 0.05);
}
.zhuanqu-item-content {
@@ -320,9 +320,9 @@
}
.zhuanqu-active .zhuanqu-name {
color: #ff9900;
color: #8b5cf6;
font-weight: 600;
text-shadow: 0 2rpx 4rpx rgba(255, 153, 0, 0.2);
text-shadow: 0 2rpx 4rpx rgba(168, 85, 247, 0.2);
}
.zhuanqu-count {
@@ -332,7 +332,7 @@
}
.zhuanqu-active .zhuanqu-count {
color: #ffaa00;
color: #9333ea;
font-weight: 500;
}
@@ -343,7 +343,7 @@
transform: translateY(-50%);
width: 6rpx;
height: 44rpx;
background: linear-gradient(180deg, #ffcc00, #ffaa00);
background: linear-gradient(180deg, #a855f7, #9333ea);
border-radius: 3rpx 0 0 3rpx;
opacity: 0;
transition: all 0.3s;
@@ -353,7 +353,7 @@
.zhuanqu-indicator-glow {
opacity: 1;
animation: indicatorGlow 2s infinite;
box-shadow: 0 0 20rpx rgba(255, 204, 0, 0.5);
box-shadow: 0 0 20rpx rgba(168, 85, 247, 0.5);
}
.indicator-sparkle {
@@ -372,7 +372,7 @@
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.05), transparent);
background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.05), transparent);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
@@ -389,7 +389,7 @@
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 204, 0, 0.1);
background: rgba(168, 85, 247, 0.1);
transform: translate(-50%, -50%);
opacity: 0;
pointer-events: none;
@@ -463,7 +463,7 @@
right: -4rpx;
bottom: -4rpx;
border-radius: 18rpx;
background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), transparent);
background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), transparent);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
@@ -479,7 +479,7 @@
right: 0;
width: 20rpx;
height: 20rpx;
background: linear-gradient(135deg, #ffcc00, transparent 70%);
background: linear-gradient(135deg, #a855f7, transparent 70%);
border-radius: 0 14rpx 0 0;
}
@@ -514,7 +514,7 @@
left: 0;
width: 0;
height: 2rpx;
background: linear-gradient(90deg, #ffcc00, #ffaa00);
background: linear-gradient(90deg, #c4b5fd, #9333ea);
transition: width 0.3s;
}
@@ -537,20 +537,20 @@
.price-icon {
font-size: 24rpx;
color: #ff6600;
color: #9333ea;
font-weight: 500;
}
.price-integer {
font-size: 36rpx; /* 适当调整大小 */
color: #ff6600;
color: #9333ea;
font-weight: 600;
margin-left: 2rpx;
}
.price-decimal {
font-size: 24rpx;
color: #ff6600;
color: #9333ea;
font-weight: 500;
}
@@ -573,11 +573,11 @@
.detail-btn {
position: relative;
padding: 12rpx 28rpx;
background: linear-gradient(135deg, #ffcc00, #ffaa00);
background: linear-gradient(135deg, #c4b5fd, #9333ea);
border-radius: 40rpx;
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
overflow: hidden;
box-shadow: 0 6rpx 20rpx rgba(255, 170, 0, 0.2);
box-shadow: 0 6rpx 20rpx rgba(147, 51, 234, 0.2);
display: flex;
align-items: center;
justify-content: center;
@@ -586,7 +586,7 @@
.detail-btn:active {
transform: scale(0.95);
box-shadow: 0 4rpx 15rpx rgba(255, 170, 0, 0.4);
box-shadow: 0 4rpx 15rpx rgba(147, 51, 234, 0.4);
}
.detail-btn-text {
@@ -659,7 +659,7 @@
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, transparent, rgba(255, 204, 0, 0.03), transparent);
background: linear-gradient(135deg, transparent, rgba(168, 85, 247, 0.03), transparent);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
@@ -676,7 +676,7 @@
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 204, 0, 0.1);
background: rgba(168, 85, 247, 0.1);
transform: translate(-50%, -50%);
opacity: 0;
pointer-events: none;
@@ -707,19 +707,19 @@
}
.shangpin-empty-btn {
background: linear-gradient(135deg, #ffcc00, #ffaa00);
background: linear-gradient(135deg, #c4b5fd, #9333ea);
color: white;
font-size: 26rpx;
font-weight: 500;
padding: 16rpx 44rpx;
border-radius: 40rpx;
box-shadow: 0 8rpx 24rpx rgba(255, 170, 0, 0.3);
box-shadow: 0 8rpx 24rpx rgba(147, 51, 234, 0.3);
transition: all 0.3s;
}
.shangpin-empty-btn:active {
transform: scale(0.95);
box-shadow: 0 4rpx 16rpx rgba(255, 170, 0, 0.4);
box-shadow: 0 4rpx 16rpx rgba(147, 51, 234, 0.4);
}
.load-more-line {
@@ -859,7 +859,7 @@
right: -4rpx;
bottom: -4rpx;
border-radius: 20rpx;
background: linear-gradient(135deg, rgba(255, 204, 0, 0.2), transparent);
background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), transparent);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
@@ -896,7 +896,7 @@
.info-tag {
padding: 6rpx 12rpx;
background: rgba(255, 204, 0, 0.1);
background: rgba(168, 85, 247, 0.1);
border-radius: 6rpx;
}
@@ -921,7 +921,7 @@
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, transparent, rgba(255, 204, 0, 0.05), transparent);
background: linear-gradient(135deg, transparent, rgba(168, 85, 247, 0.05), transparent);
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
@@ -977,7 +977,7 @@
width: 100%;
height: 100%;
border: 4rpx solid transparent;
border-top-color: #ffcc00;
border-top-color: #a855f7;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@@ -1028,7 +1028,7 @@
left: 50%;
width: 12rpx;
height: 12rpx;
background: #ffcc00;
background: #a855f7;
border-radius: 50%;
transform: translateX(-50%);
animation: spin 1s linear infinite;
@@ -1045,7 +1045,7 @@
left: 50%;
width: 200rpx;
height: 200rpx;
background: radial-gradient(circle, rgba(255, 204, 0, 0.2) 0%, transparent 70%);
background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
transform: translate(-50%, -50%);
z-index: -1;
}
@@ -1076,19 +1076,19 @@
@keyframes borderGlow {
0%, 100% {
border-color: rgba(255, 204, 0, 0.3);
border-color: rgba(168, 85, 247, 0.3);
}
50% {
border-color: rgba(255, 204, 0, 0.8);
border-color: rgba(168, 85, 247, 0.8);
}
}
@keyframes indicatorGlow {
0%, 100% {
box-shadow: 0 0 20rpx rgba(255, 204, 0, 0.3);
box-shadow: 0 0 20rpx rgba(168, 85, 247, 0.3);
}
50% {
box-shadow: 0 0 30rpx rgba(255, 204, 0, 0.8);
box-shadow: 0 0 30rpx rgba(168, 85, 247, 0.8);
}
}

View File

@@ -24,7 +24,7 @@
<view class="chat-order-info">
<text>订单号:{{item.payload.dingdan_id || '无'}}</text>
<text>服务:{{item.payload.jieshao || ''}}</text>
<text style="color:#e6a23c;font-weight:bold">¥{{item.payload.jine}}</text>
<text style="color:#a855f7;font-weight:bold">¥{{item.payload.jine}}</text>
</view>
<button class="chat-copy-btn" catchtap="showOrderDetailPopup" data-order="{{item.payload}}" size="mini">查看详情</button>
</view>

View File

@@ -1,6 +1,6 @@
/* pages/edit/edit.wxss */
page {
background: linear-gradient(135deg, #fffaf0 0%, #f0f8ff 100%);
background: linear-gradient(135deg, #faf5ff 0%, #f0f8ff 100%);
min-height: 100vh;
}

View File

@@ -289,7 +289,7 @@ page {
}
.filter-switch.active {
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
}
@@ -323,7 +323,7 @@ page {
.copy-link-btn {
padding: 8rpx 20rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
border-radius: 15rpx;
font-size: 22rpx;
@@ -337,7 +337,7 @@ page {
.load-more-btn {
display: inline-block;
padding: 15rpx 40rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
border-radius: 30rpx;
color: #492f00;
font-size: 26rpx;
@@ -373,7 +373,7 @@ page {
.generate-modal-grid-btn,
.copy-modal-grid-btn,
.edit-modal-grid-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
}
@@ -484,7 +484,7 @@ page {
}
.confirm-add-grid-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
}
@@ -538,7 +538,7 @@ page {
}
.confirm-new-link-grid-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
}
@@ -569,7 +569,7 @@ page {
width: 90rpx;
height: 90rpx;
border: 8rpx solid #eee;
border-top: 8rpx solid #ffd061;
border-top: 8rpx solid #9333ea;
border-radius: 50%;
animation: spin 1.2s linear infinite;
margin-bottom: 35rpx;

View File

@@ -1,7 +1,7 @@
/* 页面容器 */
.container {
min-height: 100vh;
background: linear-gradient(135deg, #fffacd 0%, #e6f7ff 100%);
background: linear-gradient(135deg, #f5f3ff 0%, #e6f7ff 100%);
padding: 20rpx;
box-sizing: border-box;
}
@@ -27,7 +27,7 @@
height: 180rpx;
border-radius: 50%;
border: 6rpx solid #ffffff;
box-shadow: 0 0 30rpx rgba(255, 215, 0, 0.4);
box-shadow: 0 0 30rpx rgba(196, 181, 253, 0.4);
z-index: 2;
position: relative;
background-color: #f5f5f5;
@@ -38,7 +38,7 @@
width: 220rpx;
height: 220rpx;
border-radius: 50%;
background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
background: radial-gradient(circle, rgba(196, 181, 253, 0.2) 0%, transparent 70%);
z-index: 1;
animation: halo-pulse 2s infinite ease-in-out;
}

View File

@@ -296,9 +296,9 @@
}
.zhuangtai-shensuzhong {
background: rgba(255, 165, 0, 0.2);
border-color: #FFA500;
box-shadow: 0 0 8rpx rgba(255, 165, 0, 0.2);
background: rgba(147, 51, 234, 0.2);
border-color: #9333ea;
box-shadow: 0 0 8rpx rgba(147, 51, 234, 0.2);
}
.zhuangtai-weizhi {
@@ -657,9 +657,9 @@
}
.cbtn-shensu {
background: rgba(255, 165, 0, 0.1);
border-color: #FFA500;
box-shadow: 0 0 12rpx rgba(255, 165, 0, 0.2);
background: rgba(147, 51, 234, 0.1);
border-color: #9333ea;
box-shadow: 0 0 12rpx rgba(147, 51, 234, 0.2);
}
.cbtn-shensu-disabled {

View File

@@ -30,8 +30,8 @@ Page({
laoban_id: ''
},
zhuangtaiYanseMap: {
1: '#E8F5E9', 2: '#E3F2FD', 3: '#F3E5F5', 4: '#FFF3E0',
5: '#FFEBEE', 6: '#EFEBE9', 7: '#E0F7FA', 8: '#FFF8E1'
1: '#E8F5E9', 2: '#E3F2FD', 3: '#F3E5F5', 4: '#F3E8FF',
5: '#FFEBEE', 6: '#EFEBE9', 7: '#E0F7FA', 8: '#F5F3FF'
},
zhuangtaiWenziMap: {
1: '已下单', 2: '进行中', 3: '已完成', 4: '退款中',

View File

@@ -179,7 +179,7 @@
<text class="item-label">申请状态:</text>
<text
class="item-value"
style="color: {{xiangxiShuju.chufa_zhuangtai == 0 ? '#FF9800' : (xiangxiShuju.chufa_zhuangtai == 1 ? '#4CAF50' : '#FF4444')}}"
style="color: {{xiangxiShuju.chufa_zhuangtai == 0 ? '#9333ea' : (xiangxiShuju.chufa_zhuangtai == 1 ? '#4CAF50' : '#FF4444')}}"
>
{{xiangxiShuju.chufa_zhuangtai == 0 ? '审核中' : (xiangxiShuju.chufa_zhuangtai == 1 ? '处罚成功' : '处罚驳回')}}
</text>

View File

@@ -432,9 +432,9 @@
/* 🆕 新增:联系老板按钮 */
.boss-btn {
background-color: #ff9800;
background-color: #9333ea;
color: #ffffff;
box-shadow: 0 4rpx 15rpx rgba(255, 152, 0, 0.3);
box-shadow: 0 4rpx 15rpx rgba(147, 51, 234, 0.3);
}
/* 🆕 新增:修改按钮(黑色) */

View File

@@ -19,7 +19,7 @@ Page(createPage({
statusList: [
{ name: '全部', key: 'all', zhuangtaiList: [], color: '#333333' },
{ name: '进行中', key: 'jinxingzhong', zhuangtaiList: [2], color: '#2196F3' },
{ name: '退款中', key: 'tuikuanzhong', zhuangtaiList: [4], color: '#FF9800' },
{ name: '退款中', key: 'tuikuanzhong', zhuangtaiList: [4], color: '#9333ea' },
{ name: '已退款', key: 'yituikuan', zhuangtaiList: [5], color: '#9E9E9E' },
{ name: '退款失败', key: 'tuikuanshibai', zhuangtaiList: [6], color: '#F44336' },
{ name: '已完成', key: 'yiwancheng', zhuangtaiList: [3], color: '#4CAF50' },

View File

@@ -156,7 +156,7 @@
.tag-time {
display: block;
font-size: 20rpx;
color: #ffd166;
color: #c4b5fd;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -235,7 +235,7 @@
.amount-symbol {
font-size: 28rpx;
color: #ffd166;
color: #c4b5fd;
margin-right: 6rpx;
}
@@ -379,7 +379,7 @@
.status-text {
font-size: 22rpx;
color: #ff9d66;
color: #a855f7;
}
.status-text.full {
@@ -462,7 +462,7 @@
.btn-energy .energy-dot {
width: 6rpx;
height: 6rpx;
background: #ffd166;
background: #c4b5fd;
border-radius: 50%;
animation: energyPulse 1s infinite;
}
@@ -667,7 +667,7 @@
position: absolute;
top: 25rpx;
right: 25rpx;
background: linear-gradient(135deg, #ff6b9d, #ff8e53);
background: linear-gradient(135deg, #a855f7, #7c3aed);
padding: 5rpx 14rpx;
border-radius: 20rpx;
font-size: 20rpx;
@@ -704,15 +704,15 @@
.price-symbol {
font-size: 26rpx;
color: #ffd166;
color: #c4b5fd;
margin-right: 5rpx;
}
.price-number {
font-size: 50rpx;
font-weight: bold;
color: #ffd166;
text-shadow: 0 0 15rpx rgba(255, 209, 102, 0.6);
color: #c4b5fd;
text-shadow: 0 0 15rpx rgba(196, 181, 253, 0.6);
}
.price-unit {
@@ -876,7 +876,7 @@
.trial-hint {
margin-top: 6rpx;
color: #ffb347;
color: #a855f7;
}
.buy-info {
@@ -899,8 +899,8 @@
.price-value {
font-size: 32rpx;
font-weight: bold;
color: #ffd166;
text-shadow: 0 0 10rpx rgba(255, 209, 102, 0.4);
color: #c4b5fd;
text-shadow: 0 0 10rpx rgba(196, 181, 253, 0.4);
}
.buy-desc {
@@ -911,7 +911,7 @@
/* 🔥 新增:到期日期文字加大 */
.expire-date {
font-size: 26rpx;
color: #ffd166;
color: #c4b5fd;
font-weight: bold;
}
@@ -947,8 +947,8 @@
}
.tech-buy-btn.trial-buy-btn .buy-btn-bg {
background: linear-gradient(135deg, rgba(255, 179, 71, 0.35), rgba(255, 120, 80, 0.45));
border: 1px solid rgba(255, 179, 71, 0.6);
background: linear-gradient(135deg, rgba(167, 139, 250, 0.35), rgba(124, 58, 237, 0.45));
border: 1px solid rgba(167, 139, 250, 0.6);
}
.tech-buy-btn.renew .buy-btn-bg {
@@ -993,7 +993,7 @@
.buy-btn-energy .energy-dot {
width: 5rpx;
height: 5rpx;
background: #ffd166;
background: #c4b5fd;
border-radius: 50%;
animation: energyPulse 1s infinite;
}
@@ -1160,7 +1160,7 @@
.input-prefix {
font-size: 40rpx;
color: #ffd166;
color: #c4b5fd;
margin-right: 20rpx;
font-weight: bold;
}
@@ -1380,7 +1380,7 @@
.balance-amount {
font-size: 24rpx;
color: #ffd166;
color: #c4b5fd;
}
.balance-arrow {
@@ -1417,7 +1417,7 @@
.detail-value {
flex: 1;
font-size: 30rpx;
color: #ffd166;
color: #c4b5fd;
font-weight: bold;
}
@@ -1481,7 +1481,7 @@
}
.spinner-ring.ring-3 {
border-bottom-color: #ffd166;
border-bottom-color: #c4b5fd;
animation-delay: 1s;
}

View File

@@ -58,6 +58,7 @@ Page(createPage({
tongguoZongshu: 0,
pendingShenheCount: 0,
layoutSparse: false,
scrollRefreshing: false,
rankBoardList: [
{ type: 'dashou', name: '接单员榜', sub: '接单成交', icon: '', shapeClass: 'rank-shape-left', themeClass: 'rank-theme-blue' },
{ type: 'guanshi', name: '管事榜', sub: '邀请收入', icon: '', shapeClass: 'rank-shape-right', themeClass: 'rank-theme-gold' },
@@ -196,15 +197,14 @@ Page(createPage({
this.registerNotificationComponent();
this.checkRoleStatuses();
this.applyCachedProfileFromGlobal();
if (isCenterPageActive(this, 'isDashou', 'dashoustatus')) {
if (!this.data.isDashou) this.setData({ isDashou: true });
ensureRoleOnCenterPage(this, 'dashou');
setTimeout(() => this.refreshAllInfo(false), 300);
} else if (isRoleStatusActive(wx.getStorageSync('guanshistatus')) ||
isRoleStatusActive(wx.getStorageSync('zuzhangstatus')) ||
isRoleStatusActive(wx.getStorageSync('kaoheguanstatus'))) {
ensureRoleOnCenterPage(this, 'dashou');
setTimeout(() => this.refreshAllInfo(false), 300);
}
const pages = getCurrentPages();
const currentPage = pages[pages.length - 1];
@@ -304,6 +304,54 @@ Page(createPage({
});
},
applyCachedProfileFromGlobal() {
const app = getApp();
const g = app.globalData;
const guanshi = g.guanshi || {};
const patch = {
dashouNicheng: g.dashouNicheng || this.data.dashouNicheng || '',
zhanghaoStatus: g.zhanghaoStatus ?? this.data.zhanghaoStatus,
yongjin: g.yongjin || this.data.yongjin || '0.00',
zonge: g.zonge || this.data.zonge || '0.00',
yajin: g.yajin || this.data.yajin || '0.00',
chenghao: g.chenghao || this.data.chenghao || '',
jinfen: g.jinfen || this.data.jinfen || '0',
clumber: g.clumber || this.data.clumber || [],
chengjiaoliang: g.chengjiaoliang || this.data.chengjiaoliang || '0',
zaixianZhuangtai: g.zaixianZhuangtai ?? this.data.zaixianZhuangtai ?? 0,
dashouzhuangtai: g.dashouzhuangtai ?? this.data.dashouzhuangtai,
gszhstatus: guanshi.gszhstatus || this.data.gszhstatus || '',
yaoqingzongshu: guanshi.yaoqingzongshu ?? this.data.yaoqingzongshu ?? 0,
fenyongzonge: guanshi.fenyongzonge || this.data.fenyongzonge || '0.00',
fenyongtixian: guanshi.fenyongtixian || this.data.fenyongtixian || '0.00',
};
this.setData(patch, () => this._updateTotalAssets());
},
async onPullDownRefresh() {
if (this._pullRefreshing) return;
this._pullRefreshing = true;
this.setData({ scrollRefreshing: true });
try {
this.checkRoleStatuses();
await Promise.allSettled([
this._fetchDashouInfoSilent(),
this.fetchChenghaoList(),
this._fetchGuanshiInfoSilent(),
this.fetchGuanshiChenghaoList(),
this._fetchZuzhangInfoSilent(),
this._fetchKaoheguanInfoSilent(),
]);
this.checkRoleStatuses();
wx.showToast({ title: '已更新', icon: 'success', duration: 1200 });
} catch (e) {
wx.showToast({ title: '刷新失败', icon: 'none' });
} finally {
this._pullRefreshing = false;
this.setData({ scrollRefreshing: false });
}
},
async refreshAllInfo(showToast = true) {
this.throttledRefresh(async () => {
this.setData({ isLoading: true });

View File

@@ -5,7 +5,7 @@
"tab-bar": "/tab-bar/index"
},
"navigationStyle": "custom",
"backgroundColor": "#fff8e1",
"backgroundColor": "#f5f3ff",
"backgroundTextStyle": "dark",
"enablePullDownRefresh": false,
"onReachBottomDistance": 50

View File

@@ -33,7 +33,18 @@
<image class="refresh-float-ico" src="{{imgUrls.iconRefresh}}" mode="aspectFit"/>
</view>
<scroll-view class="content" scroll-y enhanced show-scrollbar="{{false}}">
<scroll-view
class="content"
scroll-y
enhanced
show-scrollbar="{{false}}"
refresher-enabled="{{true}}"
refresher-threshold="80"
refresher-default-style="black"
refresher-background="#f5f3ff"
refresher-triggered="{{scrollRefreshing}}"
bindrefresherrefresh="onPullDownRefresh"
>
<!-- 用户信息 -->
<view class="user-info flexb">
<view class="flex">

View File

@@ -1,7 +1,7 @@
/* 打手端个人中心 - 逍遥梦 UI逻辑不变 */
page {
background: #fff8e1;
background: #f5f3ff;
color: #333;
}
@@ -16,7 +16,7 @@ page {
flex-direction: column;
overflow: hidden;
box-sizing: border-box;
background: linear-gradient(180deg, #f7dc51 0%, #fff 28%, #fff8e1 100%);
background: linear-gradient(180deg, #c4b5fd 0%, #fff 28%, #f5f3ff 100%);
position: relative;
}
@@ -112,7 +112,7 @@ page {
font-size: 20rpx;
padding: 2rpx 12rpx;
border-radius: 8rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
}
@@ -169,7 +169,7 @@ page {
margin: 15rpx 30rpx 0;
padding: 24rpx 20rpx;
border-radius: 26rpx;
background: #fef6d4;
background: #ede9fe;
align-items: center;
}
@@ -210,7 +210,7 @@ page {
font-weight: 700;
border: 2rpx solid #fff;
border-radius: 60rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
white-space: nowrap;
}
@@ -237,7 +237,7 @@ page {
margin: 16rpx 30rpx 0;
padding: 20rpx 10rpx;
border-radius: 15rpx;
background: #fef6d4;
background: #ede9fe;
}
.freeze-col {
@@ -259,7 +259,7 @@ page {
}
.btn-bg {
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
border-radius: 30px;
color: #492f00;
}
@@ -405,7 +405,7 @@ page {
}
.func-tag-done {
color: #c9a962;
color: #9333ea;
}
.rank-hub-tip {
@@ -484,7 +484,7 @@ page {
}
.rank-theme-gold {
background: linear-gradient(135deg, #a8842a 0%, #f5d563 100%);
background: linear-gradient(135deg, #a8842a 0%, #c4b5fd 100%);
}
.rank-theme-gold .rank-tile-name,
@@ -498,7 +498,7 @@ page {
}
.rank-theme-orange {
background: linear-gradient(135deg, #d4652a 0%, #f5a962 100%);
background: linear-gradient(135deg, #7c3aed 0%, #c4b5fd 100%);
}
/* 未注册 */
@@ -576,7 +576,7 @@ page {
width: 60rpx;
height: 60rpx;
border: 4rpx solid rgba(0, 0, 0, 0.08);
border-top-color: #ffd061;
border-top-color: #9333ea;
border-radius: 50%;
animation: fighterSpin 0.8s linear infinite;
}

View File

@@ -69,20 +69,20 @@ page {
/* 火苗图标燃烧动画 */
.fire-icon {
animation: fireBurn 0.8s infinite alternate ease-in-out;
filter: drop-shadow(0 0 10rpx #ffaa00);
filter: drop-shadow(0 0 10rpx #9333ea);
}
@keyframes fireBurn {
0% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 10rpx #ffaa00); }
25% { transform: scale(1.1) rotate(2deg); filter: drop-shadow(0 0 20rpx #ff5500); }
50% { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 0 30rpx #ffaa00); }
75% { transform: scale(1.15) rotate(3deg); filter: drop-shadow(0 0 40rpx #ffaa00); }
100% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 10rpx #ffaa00); }
0% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 10rpx #9333ea); }
25% { transform: scale(1.1) rotate(2deg); filter: drop-shadow(0 0 20rpx #9333ea); }
50% { transform: scale(1.05) rotate(-2deg); filter: drop-shadow(0 0 30rpx #9333ea); }
75% { transform: scale(1.15) rotate(3deg); filter: drop-shadow(0 0 40rpx #9333ea); }
100% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 10rpx #9333ea); }
}
.jinpai-title {
font-size: 40rpx;
font-weight: bold;
color: #ffaa00;
text-shadow: 0 0 30rpx #ffaa00, 0 0 60rpx #ffaa00;
color: #9333ea;
text-shadow: 0 0 30rpx #9333ea, 0 0 60rpx #9333ea;
letter-spacing: 2rpx;
}
.refresh-btn {
@@ -255,7 +255,7 @@ page {
display: flex;
align-items: center;
background: rgba(255,255,255,0.1);
border: 2rpx solid #ffaa00;
border: 2rpx solid #9333ea;
clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
padding: 15rpx 30rpx;
position: relative;
@@ -269,7 +269,7 @@ page {
.withdraw-text {
font-size: 32rpx;
font-weight: bold;
color: #ffaa00;
color: #9333ea;
}
.withdraw-glow {
position: absolute;
@@ -491,7 +491,7 @@ page {
content: '';
width: 100rpx;
height: 100rpx;
border: 4rpx solid #ffaa00;
border: 4rpx solid #9333ea;
border-radius: 50%;
border-bottom-color: transparent;
animation: spin 1.5s reverse infinite;

View File

@@ -18,7 +18,7 @@
class="lunbo-swiper"
indicator-dots="{{lunboList.length > 1}}"
indicator-color="rgba(255,255,255,0.6)"
indicator-active-color="#ffcc00"
indicator-active-color="#a855f7"
autoplay="{{lunboList.length > 1}}"
interval="3000"
circular

View File

@@ -12,7 +12,7 @@
border-radius: 40rpx;
background: linear-gradient(135deg,
rgba(220, 255, 220, 0.85) 0%,
rgba(255, 255, 200, 0.85) 100%);
rgba(237, 233, 254, 0.85) 100%);
backdrop-filter: blur(10px);
display: flex;
align-items: center;
@@ -120,7 +120,7 @@
position: absolute;
width: 12rpx;
height: 12rpx;
background: #ffcc00;
background: #a855f7;
border-radius: 50%;
top: 15rpx;
right: 15rpx;
@@ -195,8 +195,8 @@
}
.leixing-active .leixing-glow {
border-color: #ffcc00;
box-shadow: 0 0 20rpx rgba(255, 204, 0, 0.5);
border-color: #a855f7;
box-shadow: 0 0 20rpx rgba(168, 85, 247, 0.5);
}
.leixing-active .leixing-image-box {
@@ -239,7 +239,7 @@
.zhuanqu-icon-image {
width: 100%;
height: 100%;
filter: drop-shadow(0 2rpx 4rpx rgba(255, 204, 0, 0.3));
filter: drop-shadow(0 2rpx 4rpx rgba(168, 85, 247, 0.3));
}
.zhuanqu-sparkle {
@@ -249,11 +249,11 @@
@keyframes sparkle {
0%, 100% {
transform: scale(1) rotate(0deg);
filter: drop-shadow(0 2rpx 4rpx rgba(255, 204, 0, 0.3));
filter: drop-shadow(0 2rpx 4rpx rgba(168, 85, 247, 0.3));
}
50% {
transform: scale(1.1) rotate(10deg);
filter: drop-shadow(0 4rpx 8rpx rgba(255, 204, 0, 0.6));
filter: drop-shadow(0 4rpx 8rpx rgba(168, 85, 247, 0.6));
}
}
@@ -271,7 +271,7 @@
bottom: -8rpx;
width: 60rpx;
height: 4rpx;
background: linear-gradient(90deg, #ffcc00, transparent);
background: linear-gradient(90deg, #a855f7, transparent);
border-radius: 2rpx;
}

View File

@@ -270,7 +270,7 @@ Page({
// 绘制邀请语
ctx.setFontSize(18);
ctx.setFillStyle('#ffaa00'); // 金黄色,呼应组长主题
ctx.setFillStyle('#9333ea'); // 金黄色,呼应组长主题
ctx.setTextAlign('left');
const slogan = '加入我的团队 ✦';
const sloganX = avatarX;

View File

@@ -15,8 +15,8 @@ page {
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(255, 200, 0, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 200, 0, 0.05) 1px, transparent 1px);
linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
background-size: 50rpx 50rpx;
pointer-events: none;
z-index: 0;
@@ -41,14 +41,14 @@ page {
left: 0;
width: 100%;
height: 2rpx;
background: linear-gradient(90deg, transparent, #ffaa00, transparent);
background: linear-gradient(90deg, transparent, #9333ea, transparent);
}
.line-v {
right: 50rpx;
top: 100rpx;
width: 2rpx;
height: 300rpx;
background: linear-gradient(180deg, transparent, #ffaa00, transparent);
background: linear-gradient(180deg, transparent, #9333ea, transparent);
}
.content {
@@ -71,14 +71,14 @@ page {
font-size: 44rpx;
font-weight: bold;
color: #fff;
text-shadow: 0 0 30rpx #ffaa00;
text-shadow: 0 0 30rpx #9333ea;
letter-spacing: 2rpx;
display: block;
margin-bottom: 20rpx;
}
.subtitle {
font-size: 28rpx;
color: #ffd966;
color: #c4b5fd;
opacity: 0.9;
letter-spacing: 1rpx;
}
@@ -96,11 +96,11 @@ page {
width: 400rpx;
height: 400rpx;
background: rgba(20, 20, 20, 0.8);
border: 4rpx solid #ffaa00;
border: 4rpx solid #9333ea;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 80rpx rgba(255, 170, 0, 0.4);
box-shadow: 0 0 80rpx rgba(147, 51, 234, 0.4);
animation: qrcodePulse 2s infinite alternate;
}
.qrcode-img {
@@ -114,14 +114,14 @@ page {
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 30% 30%, rgba(255, 170, 0, 0.2), transparent 70%);
background: radial-gradient(circle at 30% 30%, rgba(147, 51, 234, 0.2), transparent 70%);
pointer-events: none;
}
.empty-qrcode {
width: 400rpx;
height: 400rpx;
background: rgba(20, 20, 20, 0.8);
border: 4rpx dashed #ffaa00;
border: 4rpx dashed #9333ea;
display: flex;
flex-direction: column;
align-items: center;
@@ -129,13 +129,13 @@ page {
}
.empty-icon {
font-size: 80rpx;
color: #ffaa00;
color: #9333ea;
margin-bottom: 20rpx;
opacity: 0.5;
}
.empty-text {
font-size: 26rpx;
color: #ffd966;
color: #c4b5fd;
text-align: center;
padding: 0 40rpx;
}
@@ -148,14 +148,14 @@ page {
background: rgba(0, 0, 0, 0.5);
padding: 20rpx 30rpx;
border-radius: 60rpx;
border: 2rpx solid #ffaa00;
border: 2rpx solid #9333ea;
margin-bottom: 30rpx;
width: 90%;
box-sizing: border-box;
}
.code-label {
font-size: 28rpx;
color: #ffd966;
color: #c4b5fd;
margin-right: 10rpx;
}
.code-value {
@@ -169,23 +169,23 @@ page {
.copy-btn {
display: flex;
align-items: center;
background: rgba(255, 170, 0, 0.2);
background: rgba(147, 51, 234, 0.2);
padding: 10rpx 20rpx;
border-radius: 40rpx;
margin-left: 20rpx;
border: 2rpx solid #ffaa00;
border: 2rpx solid #9333ea;
}
.copy-icon {
font-size: 28rpx;
color: #ffaa00;
color: #9333ea;
margin-right: 6rpx;
}
.copy-text {
font-size: 24rpx;
color: #ffaa00;
color: #9333ea;
}
.copy-btn:active {
background: rgba(255, 170, 0, 0.4);
background: rgba(147, 51, 234, 0.4);
transform: scale(0.96);
}
@@ -206,7 +206,7 @@ page {
width: 220rpx;
height: 80rpx;
background: rgba(20, 20, 20, 0.8);
border: 2rpx solid #ffaa00;
border: 2rpx solid #9333ea;
border-right: none;
border-bottom: none;
clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
@@ -219,22 +219,22 @@ page {
}
.btn:active {
transform: scale(0.96);
box-shadow: 0 0 40rpx #ffaa00;
box-shadow: 0 0 40rpx #9333ea;
}
.save-btn {
border-color: #ffaa00;
border-color: #9333ea;
}
.refresh-btn {
border-color: #ffaa00;
border-color: #9333ea;
}
.refresh-btn .btn-icon {
color: #ffaa00;
color: #9333ea;
}
.poster-btn {
border-color: #ffaa00;
border-color: #9333ea;
}
.poster-btn .btn-icon {
color: #ffaa00;
color: #9333ea;
}
.loading-btn {
opacity: 0.7;
@@ -254,7 +254,7 @@ page {
width: 30rpx;
height: 30rpx;
border: 4rpx solid rgba(255,255,255,0.2);
border-top: 4rpx solid #ffaa00;
border-top: 4rpx solid #9333ea;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-right: 10rpx;
@@ -272,8 +272,8 @@ page {
width: 600rpx;
height: 900rpx;
background: #1a1f2e;
border: 4rpx solid #ffaa00;
box-shadow: 0 0 60rpx #ffaa00;
border: 4rpx solid #9333ea;
box-shadow: 0 0 60rpx #9333ea;
}
.poster-actions {
display: flex;
@@ -282,12 +282,12 @@ page {
justify-content: center;
}
.save-poster-btn {
background: linear-gradient(45deg, #cc8400, #ffaa00);
border-color: #ffaa00;
background: linear-gradient(45deg, #6d28d9, #9333ea);
border-color: #9333ea;
}
.back-btn {
background: rgba(20, 20, 20, 0.8);
border-color: #ffaa00;
border-color: #9333ea;
}
/* 使用说明 */
@@ -295,19 +295,19 @@ page {
margin-top: 30rpx;
padding: 20rpx 40rpx;
background: rgba(20, 20, 20, 0.5);
border-left: 4rpx solid #ffaa00;
border-left: 4rpx solid #9333ea;
clip-path: polygon(0 0, 100% 0, 98% 100%, 0 100%);
}
.instruction-text {
font-size: 24rpx;
color: #ffd966;
color: #c4b5fd;
line-height: 1.6;
}
/* 动画 */
@keyframes qrcodePulse {
0% { box-shadow: 0 0 40rpx rgba(255, 170, 0, 0.3); }
100% { box-shadow: 0 0 100rpx rgba(255, 170, 0, 0.6); }
0% { box-shadow: 0 0 40rpx rgba(147, 51, 234, 0.3); }
100% { box-shadow: 0 0 100rpx rgba(147, 51, 234, 0.6); }
}
@keyframes spin {
0% { transform: rotate(0deg); }

View File

@@ -144,7 +144,7 @@
<text class="field-optional">选填</text>
</view>
<view class="switch-row">
<switch checked="{{commissionEnabled}}" bindchange="onCommissionToggle" color="#ffd061"/>
<switch checked="{{commissionEnabled}}" bindchange="onCommissionToggle" color="#9333ea"/>
<text class="switch-label">{{commissionEnabled ? '已开启' : '未开启'}}</text>
</view>
<input

View File

@@ -1,7 +1,7 @@
@import '../../styles/shangjia-xym-common.wxss';
page {
background: #fff8e1;
background: #f5f3ff;
}
.sj-page--home {
@@ -85,7 +85,7 @@ page {
.dot.active {
width: 16rpx;
border-radius: 8rpx;
background: #ffd061;
background: #9333ea;
}
.sj-notice-bar {
@@ -311,7 +311,7 @@ page {
.staff-banner {
margin-top: 16rpx;
padding: 16rpx 24rpx;
background: #fff8e8;
background: #f5f3ff;
border-radius: 12rpx;
border: 1rpx solid #f0d89a;
}

View File

@@ -95,7 +95,7 @@
padding: 16rpx 32rpx;
min-height: 64rpx;
border-radius: 10rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
font-size: 28rpx;
font-weight: 700;
@@ -108,8 +108,8 @@
}
.tips-bar {
background: #fff7e6;
border: 1rpx solid #ffd591;
background: #f5f3ff;
border: 1rpx solid #c4b5fd;
border-radius: 12rpx;
padding: 18rpx 20rpx;
font-size: 26rpx;

View File

@@ -57,7 +57,7 @@
}
.quota-label { font-size: 24rpx; color: #888; }
.quota-val { font-size: 30rpx; color: #C9A962; font-weight: 600; }
.quota-val { font-size: 30rpx; color: #9333ea; font-weight: 600; }
.kefu-av {
width: 88rpx;
@@ -81,7 +81,7 @@
color: #fff;
}
.badge-chief { background: #ffb508; }
.badge-chief { background: #9333ea; }
.badge-finance { background: #1b6ef3; }
.badge-self { background: #9e9e9e; }

View File

@@ -292,9 +292,9 @@
}
.zhuangtai-shensuzhong {
background: rgba(255, 165, 0, 0.2);
border-color: #FFA500;
box-shadow: 0 0 8rpx rgba(255, 165, 0, 0.2);
background: rgba(147, 51, 234, 0.2);
border-color: #9333ea;
box-shadow: 0 0 8rpx rgba(147, 51, 234, 0.2);
}
.zhuangtai-weizhi {

View File

@@ -20,8 +20,8 @@ Page({
fenhongLilv: 0,
xinDingdanId: '',
zhuangtaiYanseMap: {
1: '#E8F5E9', 2: '#E3F2FD', 3: '#F3E5F5', 4: '#FFF3E0',
5: '#FFEBEE', 6: '#EFEBE9', 7: '#E0F7FA', 8: '#FFF8E1'
1: '#E8F5E9', 2: '#E3F2FD', 3: '#F3E5F5', 4: '#F3E8FF',
5: '#FFEBEE', 6: '#EFEBE9', 7: '#E0F7FA', 8: '#F5F3FF'
},
zhuangtaiWenziMap: {
1: '已下单', 2: '进行中', 3: '已完成', 4: '退款中',

View File

@@ -82,7 +82,7 @@ page { background: #f5f7fa; }
.star-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20rpx; }
.stars { display: flex; }
.star { font-size: 48rpx; color: #ccc; margin-left: 8rpx; transition: all 0.2s; }
.star-active { color: #ffc107; transform: scale(1.1); }
.star-active { color: #a855f7; transform: scale(1.1); }
/* 留言输入框 */
.liuyan-input { width: 100%; height: 120rpx; background: #f9f9f9; border-radius: 12rpx; padding: 16rpx; font-size: 28rpx; margin-bottom: 20rpx; }
/* 结算按钮 */
@@ -93,7 +93,7 @@ page { background: #f5f7fa; }
.bottom-btn-group { display: flex; gap: 16rpx; }
.btn-outline { flex: 1; text-align: center; padding: 18rpx 0; border-radius: 44rpx; font-size: 28rpx; font-weight: 500; border: 2rpx solid #1976D2; color: #1976D2; background: #fff; }
.btn-primary { background: #2196F3; color: #fff; flex: 1; text-align: center; padding: 18rpx 0; border-radius: 44rpx; font-weight: 600; font-size: 28rpx; }
.btn-warn { background: #ff9800; color: #fff; flex: 1; text-align: center; padding: 18rpx 0; border-radius: 44rpx; font-weight: 600; font-size: 28rpx; }
.btn-warn { background: #9333ea; color: #fff; flex: 1; text-align: center; padding: 18rpx 0; border-radius: 44rpx; font-weight: 600; font-size: 28rpx; }
.btn-danger { background: #f44336; color: #fff; flex: 1; text-align: center; padding: 18rpx 0; border-radius: 44rpx; font-weight: 600; font-size: 28rpx; }
/* 弹窗通用样式 */
@@ -111,7 +111,7 @@ page { background: #f5f7fa; }
.toggle-on { background: #4caf50; }
.toggle-knob { width: 42rpx; height: 42rpx; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.toggle-on .toggle-knob { transform: translateX(50rpx); }
.fenhong-tip { text-align: center; font-size: 28rpx; color: #ff9800; margin: 16rpx 0 0; }
.fenhong-tip { text-align: center; font-size: 28rpx; color: #9333ea; margin: 16rpx 0 0; }
.modal-btns { display: flex; border-top: 1rpx solid #f0f0f0; }
.modal-btn { flex: 1; text-align: center; padding: 28rpx; font-size: 30rpx; font-weight: 500; }
.modal-btn.cancel { color: #888; background: #f5f5f5; }
@@ -141,7 +141,7 @@ page { background: #f5f7fa; }
color: #fff;
}
.action-cancel {
background: #ff9800;
background: #9333ea;
color: #fff;
}
.action-resubmit {
@@ -166,7 +166,7 @@ page { background: #f5f7fa; }
z-index: 10001;
box-shadow: -8rpx 0 20rpx rgba(0,0,0,0.3);
transition: right 0.3s ease-out;
border: 2rpx solid rgba(255,215,0,0.5);
border: 2rpx solid rgba(196, 181, 253,0.5);
border-right: none;
}
.tutorial-btn-text {

View File

@@ -19,7 +19,7 @@ Page(createPage({
statusList: [
{ name: '全部', key: 'all', zhuangtaiList: [1, 2, 3, 4, 5, 6, 7, 8], color: '#333333' },
{ name: '进行中', key: 'jinxingzhong', zhuangtaiList: [2], color: '#2196F3' },
{ name: '退款中', key: 'tuikuanzhong', zhuangtaiList: [4], color: '#FF9800' },
{ name: '退款中', key: 'tuikuanzhong', zhuangtaiList: [4], color: '#9333ea' },
{ name: '已退款', key: 'yituikuan', zhuangtaiList: [5], color: '#9E9E9E' },
{ name: '退款失败', key: 'tuikuanshibai', zhuangtaiList: [6], color: '#F44336' },
{ name: '已完成', key: 'yiwancheng', zhuangtaiList: [3], color: '#4CAF50' },

View File

@@ -105,18 +105,18 @@ page {
.sj-pending-tip {
margin: 20rpx 24rpx;
padding: 16rpx 24rpx;
background: linear-gradient(145deg, #ffe8cc, #ffdbb5);
border-left: 8rpx solid #ffaa00;
background: linear-gradient(145deg, #ede9fe, #ddd6fe);
border-left: 8rpx solid #9333ea;
border-radius: 16rpx;
display: flex;
align-items: center;
gap: 16rpx;
box-shadow: 0 8rpx 20rpx rgba(255,170,0,0.3);
box-shadow: 0 8rpx 20rpx rgba(147, 51, 234,0.3);
flex-shrink: 0;
}
.sj-pending-icon {
font-size: 36rpx;
color: #ffaa00;
color: #9333ea;
}
.sj-pending-text {
font-size: 28rpx;
@@ -320,7 +320,7 @@ page {
.sj-status-jiesuan {
background: linear-gradient(145deg, #ff4d4f, #d10000) !important;
color: #fff !important;
border-color: #ffaa00;
border-color: #9333ea;
box-shadow: 0 0 15rpx #ff4d4f;
}
.card-price {
@@ -330,7 +330,7 @@ page {
}
.price-symbol {
font-size: 28rpx;
color: #ffaa00;
color: #9333ea;
font-weight: 700;
margin-right: 4rpx;
}

View File

@@ -10,7 +10,7 @@
--primary-light: #4dfbff; /* 亮科技蓝 */
--primary-dark: #00a0b0; /* 暗科技蓝 */
--secondary-color: #ff2a6d; /* 科技粉红 */
--accent-color: #ffd700; /* 科技金 */
--accent-color: #c4b5fd; /* 科技金 */
--accent-purple: #9d4edd; /* 科技紫 */
--dark-bg: #0a0e17; /* 深色背景 */
--medium-bg: #13182b; /* 中色背景 */
@@ -184,8 +184,8 @@
color: var(--accent-color) !important; /* 使用金色,确保可见 */
margin-right: 8rpx;
text-shadow:
0 0 20rpx rgba(255, 215, 0, 0.7),
0 0 40rpx rgba(255, 215, 0, 0.4);
0 0 20rpx rgba(196, 181, 253, 0.7),
0 0 40rpx rgba(196, 181, 253, 0.4);
display: inline-block;
vertical-align: middle;
line-height: 1;
@@ -491,7 +491,7 @@
font-size: 42rpx;
font-weight: 800;
color: var(--accent-color) !important;
text-shadow: 0 0 10rpx rgba(255, 215, 0, 0.5);
text-shadow: 0 0 10rpx rgba(196, 181, 253, 0.5);
z-index: 10;
padding-left: 10rpx;
}
@@ -847,8 +847,8 @@ page {
.currency {
font-size: 42rpx !important;
color: #ffd700 !important; /* 使用更亮的金色 */
text-shadow: 0 0 20rpx rgba(255, 215, 0, 0.8) !important;
color: #c4b5fd !important; /* 使用更亮的金色 */
text-shadow: 0 0 20rpx rgba(196, 181, 253, 0.8) !important;
}
.amount {
@@ -913,8 +913,8 @@ page {
.input-label {
font-size: 40rpx !important;
color: #ffd700 !important; /* 使用金色 */
text-shadow: 0 0 15rpx rgba(255, 215, 0, 0.6) !important;
color: #c4b5fd !important; /* 使用金色 */
text-shadow: 0 0 15rpx rgba(196, 181, 253, 0.6) !important;
top: 50% !important;
transform: translateY(-50%) !important;
}

View File

@@ -2,16 +2,16 @@
.head-tip { font-size: 24rpx; color: #888; margin-bottom: 16rpx; line-height: 1.5; }
.tabs { display: flex; margin-bottom: 24rpx; }
.tab { flex: 1; text-align: center; padding: 20rpx; background: #fff; margin-right: 8rpx; border-radius: 8rpx; font-size: 28rpx; }
.tab.on { background: #C9A962; color: #fff; }
.tab.on { background: #9333ea; color: #fff; }
.summary { font-size: 24rpx; color: #666; margin-bottom: 16rpx; }
.item { background: #fff; padding: 24rpx; margin-bottom: 16rpx; border-radius: 12rpx; }
.item-hd { margin-bottom: 12rpx; }
.act { font-size: 30rpx; color: #333; font-weight: 600; }
.amount { font-size: 28rpx; color: #C9A962; }
.amount { font-size: 28rpx; color: #9333ea; }
.operator { display: flex; align-items: center; flex-wrap: wrap; gap: 12rpx; margin-bottom: 8rpx; }
.tag { font-size: 22rpx; padding: 4rpx 12rpx; border-radius: 6rpx; }
.tag-staff { background: #e8f4ff; color: #1976d2; }
.tag-owner { background: #fff3e0; color: #e65100; }
.tag-owner { background: #f3e8ff; color: #7c3aed; }
.name { font-size: 26rpx; color: #333; }
.uid { font-size: 22rpx; color: #999; }
.meta { display: block; font-size: 24rpx; color: #999; margin-top: 6rpx; }
@@ -20,6 +20,6 @@
.rank { font-weight: 600; font-size: 28rpx; display: block; }
.load-tip { text-align: center; color: #999; padding: 24rpx; font-size: 24rpx; }
.empty { text-align: center; color: #999; padding: 80rpx; }
.item-link { border-left: 6rpx solid #C9A962; }
.jump-tip { display: block; font-size: 24rpx; color: #C9A962; margin-top: 8rpx; }
.item-link { border-left: 6rpx solid #9333ea; }
.jump-tip { display: block; font-size: 24rpx; color: #9333ea; margin-top: 8rpx; }
.flexb { display: flex; justify-content: space-between; align-items: center; }

View File

@@ -2,7 +2,7 @@
.role-page {
min-height: 100vh;
background: linear-gradient(180deg, #f7dc51 0%, #fff 28%, #fff8e1 100%);
background: linear-gradient(180deg, #c4b5fd 0%, #fff 28%, #f5f3ff 100%);
box-sizing: border-box;
}
@@ -26,7 +26,7 @@
width: 60rpx;
text-align: right;
font-size: 28rpx;
color: #c9a962;
color: #9333ea;
}
.role-scroll {
@@ -130,7 +130,7 @@
}
.perm-row.perm-on {
background: #fffbf0;
background: #faf5ff;
}
.perm-text {
@@ -158,7 +158,7 @@
line-height: 48rpx;
text-align: center;
font-size: 32rpx;
color: #c9a962;
color: #9333ea;
font-weight: 700;
border: 2rpx solid #ddd;
border-radius: 8rpx;
@@ -166,8 +166,8 @@
}
.perm-on .perm-check {
border-color: #c9a962;
background: #c9a962;
border-color: #9333ea;
background: #9333ea;
color: #fff;
}
@@ -212,7 +212,7 @@
}
.panel-btn.ok {
background: #c9a962;
background: #9333ea;
color: #fff;
}

View File

@@ -66,6 +66,7 @@ Page(createPage({
inviteCode: '',
pendingCount: 0,
punishPending: 0,
scrollRefreshing: false,
statusBar: 20,
navBar: 44,
},
@@ -120,22 +121,12 @@ Page(createPage({
const isOwner = Number(wx.getStorageSync('shangjiastatus')) === 1;
if (token && !isOwner) {
await restoreStaffContextAfterAuth();
} else if (isStaffMode()) {
await refreshStaffContext(request);
}
this.checkRoleStatus();
syncStaffUi(this);
if (this.data.isShangjia) {
ensureRoleOnCenterPage(this, 'shangjia');
if (isStaffMode()) {
await this.loadStaffProfile();
} else {
this.refreshShangjiaInfo();
}
this.loadPendingCount();
if (!isStaffMode()) {
this.loadPunishPending();
}
this.applyCachedShangjiaFromGlobal();
}
} catch (err) {
console.error('商家个人中心 onShow', err);
@@ -143,6 +134,49 @@ Page(createPage({
}
},
applyCachedShangjiaFromGlobal() {
const cached = app.globalData.shangjia || {};
const ctx = getStaffContext();
if (isStaffMode() && ctx) {
syncStaffUi(this);
return;
}
if (!cached.nicheng && !cached.sjyue) return;
this.setData({
nicheng: cached.nicheng || this.data.nicheng || '',
sjyue: cached.sjyue || this.data.sjyue || '0.00',
fabu: cached.fadanzong ?? this.data.fabu ?? 0,
tuikuan: cached.tuikuanzong ?? this.data.tuikuan ?? 0,
jinriliushui: cached.riliushui || this.data.jinriliushui || '0.00',
jinyueliushui: cached.yueliushui || this.data.jinyueliushui || '0.00',
jinridingdan: cached.jinripaidan ?? this.data.jinridingdan ?? 0,
jinrituikuan: cached.jinrituikuan ?? this.data.jinrituikuan ?? 0,
chenghaoList: cached.chenghao_list || this.data.chenghaoList || [],
});
},
async onPullDownRefresh() {
if (this._pullRefreshing) return;
this._pullRefreshing = true;
this.setData({ scrollRefreshing: true });
try {
if (isStaffMode()) {
await refreshStaffContext(request);
await this.loadStaffProfile();
} else {
await this.getShangjiaInfo();
await Promise.allSettled([this.loadPendingCount(), this.loadPunishPending()]);
}
syncStaffUi(this);
wx.showToast({ title: '已更新', icon: 'success', duration: 1200 });
} catch (e) {
wx.showToast({ title: '刷新失败', icon: 'none' });
} finally {
this._pullRefreshing = false;
this.setData({ scrollRefreshing: false });
}
},
// 图片路径初始化
setupImageUrls() {
const ossBase = app.globalData.ossImageUrl || '';
@@ -269,7 +303,7 @@ Page(createPage({
if (isStaffMode() || Number(wx.getStorageSync('staffstatus')) === 1) {
return this.loadStaffProfile();
}
await this.loadData({
return this.loadData({
url: '/yonghu/shangjiaxinxi',
method: 'POST',
successCode: 200,

View File

@@ -6,7 +6,7 @@
"chenghao-tag": "/components/chenghao-tag/chenghao-tag"
},
"navigationStyle": "custom",
"backgroundColor": "#fff8e1",
"backgroundColor": "#f5f3ff",
"backgroundTextStyle": "dark",
"enablePullDownRefresh": false
}

View File

@@ -47,7 +47,18 @@
<image class="refresh-float-ico" src="{{imgUrls.iconRefresh}}" mode="aspectFit"/>
</view>
<scroll-view class="content" scroll-y enhanced show-scrollbar="{{false}}">
<scroll-view
class="content"
scroll-y
enhanced
show-scrollbar="{{false}}"
refresher-enabled="{{true}}"
refresher-threshold="80"
refresher-default-style="black"
refresher-background="#f5f3ff"
refresher-triggered="{{scrollRefreshing}}"
bindrefresherrefresh="onPullDownRefresh"
>
<view class="user-info flexb">
<view class="flex">
<image class="avatar" src="{{avatarUrl || imgUrls.iconService}}" mode="aspectFill" bindtap="previewAvatar"/>

View File

@@ -1,7 +1,7 @@
@import '../../styles/shangjia-xym-common.wxss';
page {
background: #fff8e1;
background: #f5f3ff;
}
.user-page {
@@ -108,7 +108,7 @@ page {
margin: 16rpx 30rpx 0;
padding: 20rpx 10rpx;
border-radius: 15rpx;
background: #fef6d4;
background: #ede9fe;
}
.freeze-col {
@@ -230,7 +230,7 @@ page {
width: 60rpx;
height: 60rpx;
border: 4rpx solid rgba(0, 0, 0, 0.08);
border-top-color: #ffd061;
border-top-color: #9333ea;
border-radius: 50%;
animation: sjSpin 0.8s linear infinite;
}

View File

@@ -74,7 +74,7 @@ Page(createPage({
if (ds === 1 && (!tx || tx === 'a_long/morentouxiang.jpg')) {
wx.showModal({
title: '提示', content: '请先设置头像',
confirmText: '去设置', confirmColor: '#C9A962',
confirmText: '去设置', confirmColor: '#9333ea',
success: r => r.confirm && wx.navigateTo({ url: '/pages/edit/edit' })
})
}

View File

@@ -18,7 +18,7 @@ page {
position: fixed;
top: 0; left: 0;
width: 100vw; height: 100vh;
background: linear-gradient(180deg, #fef6d4 0%, #f5f5f5 40%, #f5f5f5 100%);
background: linear-gradient(180deg, #ede9fe 0%, #f5f5f5 40%, #f5f5f5 100%);
z-index: 0;
pointer-events: none;
}
@@ -48,7 +48,7 @@ page {
height: 48rpx;
}
.icon-bg {
background: #fef6d4;
background: #ede9fe;
border-radius: 22rpx;
display: flex;
align-items: center;
@@ -124,7 +124,7 @@ page {
line-height: 1.2;
}
.gradient-bg {
background: linear-gradient(to right, rgba(255, 208, 97, 0.05), rgba(255, 208, 97, 0.15));
background: linear-gradient(to right, rgba(147, 51, 234, 0.05), rgba(147, 51, 234, 0.15));
}
.title-text {
font-size: 34rpx;
@@ -216,7 +216,7 @@ page {
margin-top: 4rpx;
}
.auth-tag-done {
color: #C9A962;
color: #9333ea;
font-weight: 500;
}
@@ -257,6 +257,6 @@ page {
background: none;
}
.coop {
color: #C9A962;
color: #9333ea;
font-weight: 500;
}

View File

@@ -25,7 +25,7 @@
class="xym-lunbo-swiper"
indicator-dots="{{lunboList.length > 1}}"
indicator-color="rgba(255,255,255,0.6)"
indicator-active-color="#ffd061"
indicator-active-color="#9333ea"
autoplay="{{lunboList.length > 1}}"
interval="4000"
circular
@@ -75,7 +75,7 @@
refresher-enabled="{{xuanzhongLeixingId != null}}"
refresher-threshold="80"
refresher-default-style="black"
refresher-background="#f5f5f5"
refresher-background="#f5f3ff"
refresher-triggered="{{scrollViewRefreshing}}"
bindrefresherrefresh="onPullDownRefresh"
bindscrolltolower="onReachBottom"

View File

@@ -64,7 +64,7 @@
width: 72rpx;
height: 52rpx;
margin-bottom: 30rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
border-radius: 10rpx;
box-shadow: 0 8rpx 24rpx rgba(180, 130, 20, 0.25);
}
@@ -77,7 +77,7 @@
transform: translateX(-50%);
width: 44rpx;
height: 36rpx;
border: 8rpx solid #ffd061;
border: 8rpx solid #9333ea;
border-bottom: none;
border-radius: 22rpx 22rpx 0 0;
box-sizing: border-box;
@@ -96,10 +96,10 @@
.message {
font-size: 32rpx;
color: #ffaa00;
color: #9333ea;
margin-bottom: 16rpx;
font-weight: 600;
text-shadow: 0 0 10rpx #ffaa00;
text-shadow: 0 0 10rpx #9333ea;
}
.description {

View File

@@ -14,7 +14,7 @@ page { background: #f5f5f5; }
.tag { font-size: 20rpx; padding: 2rpx 14rpx; border-radius: 16rpx; display: inline-block; }
/* 状态标签颜色(与积分组件完全相同) */
.zhuangtai-daijiaona { background: #FFF3E0; color: #E65100; } /* 待缴纳 */
.zhuangtai-daijiaona { background: #F3E8FF; color: #7c3aed; } /* 待缴纳 */
.zhuangtai-yijiaona { background: #E8F5E9; color: #2E7D32; } /* 已缴纳 */
.zhuangtai-shensuzhong { background: #E3F2FD; color: #1565C0; } /* 申诉中 */
.zhuangtai-yibohui { background: #F3E5F5; color: #7B1FA2; } /* 申诉成功 */

View File

@@ -16,7 +16,7 @@ page { background: #f5f5f5; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12rpx; }
.time { font-size: 24rpx; color: #999; }
.tag { font-size: 20rpx; padding: 2rpx 14rpx; border-radius: 16rpx; display: inline-block; }
.zhuangtai-daichuli { background: #fff3e0; color: #e65100; }
.zhuangtai-daichuli { background: #f3e8ff; color: #7c3aed; }
.zhuangtai-yichufa { background: #e8f5e9; color: #2e7d32; }
.zhuangtai-yibohui { background: #f3e5f5; color: #7b1fa2; }
.zhuangtai-shensuzhong { background: #e3f2fd; color: #1565c0; }

View File

@@ -26,7 +26,7 @@ page { background: #f7f8fa; font-family: -apple-system, BlinkMacSystemFont, sans
font-weight: 700;
}
.green { color: #2E7D32; }
.orange { color: #E67E22; }
.orange { color: #9333ea; }
.num-label {
font-size: 24rpx;
color: #888;

View File

@@ -205,7 +205,7 @@ Page({
ctx.fillText(nameText, textX, textY);
ctx.setFontSize(18);
ctx.setFillStyle('#ffaa00');
ctx.setFillStyle('#9333ea');
ctx.setTextAlign('left');
const slogan = '快来加入我们 ✦';
const sloganX = avatarX;

View File

@@ -161,10 +161,10 @@ page {
box-shadow: 0 0 40rpx #00a6ff;
}
.pbtn-save { border-color: #00a6ff; }
.pbtn-refresh { border-color: #ffaa00; }
.pbtn-refresh .pbtn-icon { color: #ffaa00; }
.pbtn-poster { border-color: #ffaa00; }
.pbtn-poster .pbtn-icon { color: #ffaa00; }
.pbtn-refresh { border-color: #9333ea; }
.pbtn-refresh .pbtn-icon { color: #9333ea; }
.pbtn-poster { border-color: #9333ea; }
.pbtn-poster .pbtn-icon { color: #9333ea; }
.pbtn-loading {
opacity: 0.7;
pointer-events: none;

View File

@@ -472,7 +472,7 @@ page {
.cuowu-btn {
padding: 20rpx 50rpx;
background: linear-gradient(90deg, #ff5555 0%, #ff8800 100%);
background: linear-gradient(90deg, #a855f7 0%, #7c3aed 100%);
color: #fff;
border-radius: 50rpx;
font-size: 28rpx;

View File

@@ -3,6 +3,6 @@
.title { display: block; font-size: 36rpx; font-weight: 600; color: #333; margin-bottom: 16rpx; }
.desc { display: block; font-size: 26rpx; color: #666; line-height: 1.6; margin-bottom: 32rpx; }
.input { border: 1px solid #ddd; border-radius: 12rpx; padding: 24rpx; font-size: 30rpx; margin-bottom: 32rpx; }
.btn { background: #C9A962; color: #fff; border-radius: 12rpx; }
.btn { background: #9333ea; color: #fff; border-radius: 12rpx; }
.tips { margin-top: 32rpx; font-size: 24rpx; color: #999; line-height: 2; }
.tips text { display: block; }

View File

@@ -47,7 +47,7 @@ page {
width: 100%;
height: 96rpx;
line-height: 96rpx;
background: linear-gradient(135deg, #C9A962, #D4B56A);
background: linear-gradient(135deg, #9333ea, #a855f7);
color: #fff;
font-size: 34rpx;
font-weight: 600;
@@ -58,7 +58,7 @@ page {
.kefu-link {
margin-top: 30rpx;
font-size: 28rpx;
color: #C9A962;
color: #9333ea;
text-decoration: underline;
}
@@ -69,7 +69,7 @@ page {
.done-icon {
font-size: 80rpx;
color: #C9A962;
color: #9333ea;
margin-bottom: 30rpx;
font-weight: bold;
}
@@ -86,7 +86,7 @@ page {
}
.highlight {
color: #C9A962;
color: #9333ea;
font-weight: 700;
font-size: 36rpx;
}

View File

@@ -17,22 +17,22 @@
box-shadow: 0 10rpx 28rpx rgba(0, 0, 0, 0.09);
}
/* 平台订单 */
/* 平台订单 - 紫色主题 */
.xym-pingtai-order {
padding-bottom: 5rpx;
background: #927a46;
background: #7c3aed;
}
.xym-pingtai-head {
height: 72rpx;
padding: 0 24rpx;
background: linear-gradient(50deg, #957c48, #5c4a28);
background: linear-gradient(50deg, #6d28d9, #9333ea);
border-radius: 30rpx 30rpx 0 0;
}
.xym-head-time {
font-size: 24rpx;
color: #fcd270;
color: #e9d5ff;
}
.xym-head-tag {
@@ -40,21 +40,21 @@
padding: 4rpx 16rpx;
border-radius: 8rpx;
font-weight: 600;
background: rgba(252, 210, 112, 0.22);
color: #fcd270;
border: 1rpx solid rgba(252, 210, 112, 0.4);
background: rgba(196, 181, 253, 0.28);
color: #f5f3ff;
border: 1rpx solid rgba(196, 181, 253, 0.55);
}
.xym-pingtai-body {
border-radius: 40rpx 10rpx 30rpx 30rpx;
padding: 0 20rpx 24rpx;
background: linear-gradient(to bottom, #3a3220, #cec180);
background: linear-gradient(to bottom, #5b21b6, #c4b5fd);
}
/* 商家订单 */
.xym-shangjia-order {
padding-bottom: 5rpx;
background: linear-gradient(to bottom, #fff8e1, #ffe0b2);
background: linear-gradient(to bottom, #f5f3ff, #ddd6fe);
overflow: hidden;
}
@@ -74,7 +74,7 @@
.xym-shangjia-head .xym-head-tag {
background: rgba(255, 255, 255, 0.65);
color: #492f00;
border-color: rgba(255, 208, 97, 0.5);
border-color: rgba(147, 51, 234, 0.5);
}
.order-con {
@@ -181,7 +181,7 @@
}
.xym-pingtai-body .zhiding-strip .zhiding-name {
color: #f5e6b8;
color: #ede9fe;
}
.reward-badge {
@@ -198,13 +198,13 @@
}
.reward-badge.normal-reward {
color: #492f00;
background: linear-gradient(to bottom, #fae04d, #ffc0a3);
color: #4c1d95;
background: linear-gradient(to bottom, #c4b5fd, #a78bfa);
}
.reward-badge.platform-reward {
color: #fff;
background: linear-gradient(to right, #dabd83, #704029);
background: linear-gradient(to right, #9333ea, #c4b5fd);
}
.xym-shangjia-body .reward-badge:not(.member-tip) {
@@ -253,8 +253,8 @@
.remark-block.gold {
color: #fff;
border-color: #ffd700;
background: rgba(255, 215, 0, 0.12);
border-color: #c4b5fd;
background: rgba(196, 181, 253, 0.12);
}
.remark-block.dark {
@@ -268,7 +268,7 @@
}
.remark-block.gold .remark-label {
color: #ffd700;
color: #c4b5fd;
}
.remark-block.dark .remark-label {
@@ -303,17 +303,17 @@
}
.o-amt.light {
color: #f5e6b8;
color: #ede9fe;
}
.btn-bg {
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
border-radius: 60rpx;
color: #492f00;
}
.qiangdan {
color: #492f00;
color: #4c1d95;
width: 180rpx;
min-width: 100rpx;
padding: 15rpx 10rpx;
@@ -325,8 +325,8 @@
}
.qiangdan.btn-qiang-brown {
background: linear-gradient(to right, #7a4a2d 0%, #e4ce94 100%) !important;
color: #000 !important;
background: linear-gradient(to right, #7c3aed 0%, #c4b5fd 100%) !important;
color: #fff !important;
}
.view-more-inline {

View File

@@ -13,8 +13,8 @@
}
.leixing-item.leixing-active {
background: linear-gradient(180deg, #fff0c2, #f5d563) !important;
box-shadow: 0 4rpx 12rpx rgba(255, 208, 97, 0.35) !important;
background: linear-gradient(180deg, #ede9fe, #c4b5fd) !important;
box-shadow: 0 4rpx 12rpx rgba(147, 51, 234, 0.35) !important;
}
.leixing-active .leixing-name {
@@ -32,14 +32,14 @@
}
.type-btn.type-active {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
color: #492f00 !important;
box-shadow: 0 2rpx 8rpx rgba(180, 130, 20, 0.2) !important;
}
.search-box {
background: #fff !important;
border: 1rpx solid rgba(255, 208, 97, 0.3) !important;
border: 1rpx solid rgba(147, 51, 234, 0.3) !important;
}
.left-status {
@@ -48,7 +48,7 @@
}
.status-item.status-active {
background: #fff8e1 !important;
background: #f5f3ff !important;
}
.status-active .status-name {
@@ -56,7 +56,7 @@
}
.status-dot {
background: #ffd061 !important;
background: #9333ea !important;
}
.right-list {
@@ -74,11 +74,11 @@
.loading-spinner,
.mini-spinner {
border-top-color: #ffd061 !important;
border-top-color: #9333ea !important;
}
.load-more-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
color: #492f00 !important;
border: 2rpx solid #fff !important;
}

View File

@@ -24,13 +24,13 @@ page {
.role-chip {
background: rgba(255, 255, 255, 0.8) !important;
color: #666 !important;
border: 2rpx solid rgba(255, 208, 97, 0.25) !important;
border: 2rpx solid rgba(147, 51, 234, 0.25) !important;
}
.role-chip.on {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
color: #492f00 !important;
border-color: #ffd061 !important;
border-color: #9333ea !important;
font-weight: 700 !important;
}
@@ -40,7 +40,7 @@ page {
}
.date-chip.on {
background: #fef6d4 !important;
background: #ede9fe !important;
color: #492f00 !important;
font-weight: 700 !important;
}
@@ -76,7 +76,7 @@ page {
}
.my-rank-bar {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
}
.my-rank-bar text {
@@ -88,5 +88,5 @@ page {
}
.loader {
border-top-color: #ffd061 !important;
border-top-color: #9333ea !important;
}

View File

@@ -1,7 +1,7 @@
/* 打手充值页 - 逍遥梦风格视觉覆盖(不改 wxml/逻辑) */
.page-container {
background: linear-gradient(180deg, #f7dc51 0%, #fff 22%, #fff8e1 100%) !important;
background: linear-gradient(180deg, #c4b5fd 0%, #fff 22%, #f5f3ff 100%) !important;
}
.page-container::before {
@@ -19,18 +19,18 @@
.dec-line,
.dec-diamond {
background: #ffd061 !important;
background: #9333ea !important;
}
.vip-card {
background: #fdfcfa !important;
border: 2rpx solid rgba(255, 208, 97, 0.5) !important;
border: 2rpx solid rgba(147, 51, 234, 0.5) !important;
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.08) !important;
}
.vip-card.active {
border-color: #ffd061 !important;
box-shadow: 0 8rpx 28rpx rgba(255, 208, 97, 0.35) !important;
border-color: #9333ea !important;
box-shadow: 0 8rpx 28rpx rgba(147, 51, 234, 0.35) !important;
}
.card-frame,
@@ -69,7 +69,7 @@
.tech-buy-btn,
.tech-btn,
.modal-btn.confirm-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
border: 2rpx solid #fff !important;
border-radius: 44rpx !important;
box-shadow: 0 4rpx 12rpx rgba(180, 130, 20, 0.25) !important;
@@ -122,8 +122,8 @@
.huiyuan-tag,
.tech-tag {
background: #fef6d4 !important;
border: 1rpx solid rgba(255, 208, 97, 0.4) !important;
background: #ede9fe !important;
border: 1rpx solid rgba(147, 51, 234, 0.4) !important;
}
.tag-name {
@@ -135,7 +135,7 @@
}
.tech-line {
background: linear-gradient(90deg, transparent, #ffd061, transparent) !important;
background: linear-gradient(90deg, transparent, #9333ea, transparent) !important;
}
.tech-modal .modal-container {
@@ -168,13 +168,13 @@
}
.quick-btn {
background: #fef6d4 !important;
border: 2rpx solid rgba(255, 208, 97, 0.4) !important;
background: #ede9fe !important;
border: 2rpx solid rgba(147, 51, 234, 0.4) !important;
}
.quick-btn.active {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
border-color: #ffd061 !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
border-color: #9333ea !important;
}
.quick-text {
@@ -182,7 +182,7 @@
}
.pay-method-item {
background: #fef6d4 !important;
background: #ede9fe !important;
border-radius: 16rpx !important;
}
@@ -204,8 +204,8 @@
}
.spinner-ring {
border-color: rgba(255, 208, 97, 0.3) !important;
border-top-color: #ffd061 !important;
border-color: rgba(147, 51, 234, 0.3) !important;
border-top-color: #9333ea !important;
}
.tech-footer .footer-text {

View File

@@ -19,7 +19,7 @@
}
.qiangdan-page {
background: linear-gradient(180deg, #f7dc51 0%, #fff 28%, #fff8e1 100%) !important;
background: linear-gradient(180deg, #c4b5fd 0%, #fff 28%, #f5f3ff 100%) !important;
}
.qiangdan-page::before {
@@ -52,8 +52,8 @@
}
.leixing-active .leixing-tupian {
border: 3rpx solid #ffd061 !important;
box-shadow: 0 6rpx 16rpx rgba(255, 208, 97, 0.45) !important;
border: 3rpx solid #9333ea !important;
box-shadow: 0 6rpx 16rpx rgba(147, 51, 234, 0.45) !important;
}
.leixing-jieshao {
@@ -64,12 +64,12 @@
}
.leixing-active .leixing-jieshao {
color: #492f00 !important;
color: #6d28d9 !important;
font-weight: 700 !important;
}
.guangyun-effect {
background: radial-gradient(circle, rgba(255, 208, 97, 0.35) 0%, transparent 70%) !important;
background: radial-gradient(circle, rgba(147, 51, 234, 0.35) 0%, transparent 70%) !important;
}
.biaoqian-quyu {
@@ -79,16 +79,16 @@
.biaoqian-item {
background: rgba(255, 255, 255, 0.65) !important;
border: 2rpx solid rgba(201, 162, 39, 0.25) !important;
border: 2rpx solid rgba(147, 51, 234, 0.25) !important;
}
.biaoqian-active {
background: linear-gradient(180deg, #fff0c2, #f5d563) !important;
border-color: rgba(180, 130, 20, 0.85) !important;
background: linear-gradient(180deg, #ede9fe, #c4b5fd) !important;
border-color: rgba(124, 58, 237, 0.85) !important;
}
.fenge-xian {
background: linear-gradient(90deg, transparent, #ffd061, transparent) !important;
background: linear-gradient(90deg, transparent, #9333ea, transparent) !important;
opacity: 0.6 !important;
margin: 6rpx 30rpx 0 !important;
}
@@ -100,7 +100,7 @@
.refreshing-text,
.pull-down-text {
color: #6b5420 !important;
color: #7c3aed !important;
text-shadow: none !important;
}
@@ -120,7 +120,7 @@
}
.pingtai-card {
background: linear-gradient(to bottom, #927a46, #cec180) !important;
background: linear-gradient(to bottom, #7c3aed, #c4b5fd) !important;
padding: 0 0 16rpx !important;
}
@@ -131,7 +131,7 @@
.pingtai-card .card-top,
.shangjia-card .card-top {
background: linear-gradient(50deg, #957c48, #5c4a28) !important;
background: linear-gradient(50deg, #6d28d9, #9333ea) !important;
border-radius: 28rpx 28rpx 0 0 !important;
margin: -28rpx -24rpx 16rpx !important;
padding: 16rpx 24rpx !important;
@@ -139,11 +139,11 @@
.pingtai-tag,
.creat-time {
color: #fcd270 !important;
color: #ede9fe !important;
}
.shangjia-card {
background: linear-gradient(to bottom, #fff8e1, #ffe0b2) !important;
background: linear-gradient(to bottom, #f5f3ff, #ddd6fe) !important;
}
.card-content,
@@ -167,26 +167,26 @@
}
.fenyong-box {
background: linear-gradient(to bottom, #fae04d, #ffc0a3) !important;
background: linear-gradient(to bottom, #c4b5fd, #a78bfa) !important;
border-radius: 30rpx !important;
}
.fenyong-text,
.fenyong-price,
.fenyong-unit {
color: #492f00 !important;
color: #4c1d95 !important;
}
.qiangdan-btn,
.mecha-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
border: 2rpx solid #fff !important;
box-shadow: 0 4rpx 12rpx rgba(180, 130, 20, 0.25) !important;
box-shadow: 0 4rpx 12rpx rgba(124, 58, 237, 0.25) !important;
}
.qiangdan-btn .btn-text,
.mecha-btn .btn-text {
color: #492f00 !important;
color: #4c1d95 !important;
}
.btn-shine,
@@ -196,7 +196,7 @@
}
.loading-mask {
background: rgba(255, 248, 225, 0.85) !important;
background: rgba(245, 243, 255, 0.85) !important;
}
.loading-mask-text,
@@ -206,7 +206,7 @@
}
.unauthorized-container {
background: linear-gradient(180deg, #f7dc51, #fff 50%) !important;
background: linear-gradient(180deg, #c4b5fd, #fff 50%) !important;
}
.unauthorized-card {
@@ -225,12 +225,12 @@
}
.btn-register {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
border-radius: 44rpx !important;
}
.btn-register .btn-text {
color: #492f00 !important;
color: #4c1d95 !important;
}
.card-glow {
@@ -246,15 +246,15 @@
}
.tag-platform {
background: rgba(252, 210, 112, 0.22);
color: #fcd270;
border: 1rpx solid rgba(252, 210, 112, 0.45);
background: rgba(196, 181, 253, 0.28);
color: #ede9fe;
border: 1rpx solid rgba(196, 181, 253, 0.55);
}
.tag-merchant {
background: rgba(255, 255, 255, 0.45);
color: #492f00;
border: 1rpx solid rgba(255, 208, 97, 0.55);
color: #6d28d9;
border: 1rpx solid rgba(147, 51, 234, 0.55);
}
.fenyong-mark {
@@ -264,7 +264,7 @@
text-align: center;
font-size: 22rpx;
font-weight: 700;
color: #492f00;
color: #4c1d95;
background: rgba(255, 255, 255, 0.72);
border-radius: 50%;
margin-right: 8rpx;

View File

@@ -10,7 +10,7 @@
min-height: 100vh;
display: flex;
flex-direction: column;
background: linear-gradient(180deg, #f7dc51 0%, #fff 28%, #fff8e1 100%);
background: linear-gradient(180deg, #c4b5fd 0%, #fff 28%, #f5f3ff 100%);
box-sizing: border-box;
overflow: hidden;
}
@@ -49,13 +49,13 @@
font-weight: 700;
border: 2rpx solid #fff;
border-radius: 60rpx;
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
color: #492f00;
white-space: nowrap;
}
.sj-btn-bg {
background: linear-gradient(180deg, #fae04d, #ffc0a3);
background: linear-gradient(180deg, #c4b5fd, #a78bfa);
border-radius: 60rpx;
color: #492f00;
font-weight: 700;
@@ -66,7 +66,7 @@
font-size: 20rpx;
padding: 4rpx 12rpx;
border-radius: 8rpx;
background: #ff9900;
background: #8b5cf6;
color: #fff;
}
@@ -74,7 +74,7 @@
margin: 0 30rpx;
padding: 24rpx 20rpx;
border-radius: 26rpx;
background: #fef6d4;
background: #ede9fe;
}
.sj-w-label {
@@ -129,11 +129,11 @@
}
.sj-fadan-btn--regular {
background: linear-gradient(135deg, #fff8e1, #ffe0b2);
background: linear-gradient(135deg, #f5f3ff, #ddd6fe);
}
.sj-fadan-btn--custom {
background: linear-gradient(135deg, #fef6d4, #f5d563);
background: linear-gradient(135deg, #ede9fe, #c4b5fd);
}
.sj-fadan-title {
@@ -219,7 +219,7 @@
text-align: center;
padding: 16rpx 8rpx;
border-radius: 12rpx;
background: linear-gradient(180deg, #fff8e1, #fef6d4);
background: linear-gradient(180deg, #f5f3ff, #ede9fe);
font-size: 24rpx;
color: #492f00;
font-weight: 600;

View File

@@ -7,11 +7,11 @@
padding: 24rpx;
padding-bottom: 160rpx;
box-sizing: border-box;
background: linear-gradient(180deg, #f7dc51 0%, #f5f5f5 18%, #f5f5f5 100%);
background: linear-gradient(180deg, #c4b5fd 0%, #f5f5f5 18%, #f5f5f5 100%);
}
.sj-form-theme .balance-card {
background: #fef6d4 !important;
background: #ede9fe !important;
border-radius: 26rpx !important;
padding: 28rpx 24rpx !important;
margin-bottom: 20rpx !important;
@@ -76,7 +76,7 @@
}
.sj-form-theme .card-dot {
background: #ffd061 !important;
background: #9333ea !important;
}
.sj-form-theme .card-title,
@@ -108,12 +108,12 @@
.sj-form-theme .type-chip--active,
.sj-form-theme .type-active {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
color: #492f00 !important;
font-weight: 700 !important;
border: none !important;
transform: none !important;
box-shadow: 0 4rpx 12rpx rgba(255, 208, 97, 0.35) !important;
box-shadow: 0 4rpx 12rpx rgba(147, 51, 234, 0.35) !important;
}
.sj-form-theme .type-text {
@@ -161,11 +161,11 @@
}
.sj-form-theme .submit-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
color: #492f00 !important;
border-radius: 44rpx !important;
font-weight: 700 !important;
box-shadow: 0 6rpx 16rpx rgba(255, 208, 97, 0.35) !important;
box-shadow: 0 6rpx 16rpx rgba(147, 51, 234, 0.35) !important;
}
.sj-form-theme .submit-bar {
@@ -174,7 +174,7 @@
}
.sj-form-theme switch {
color: #ffd061 !important;
color: #9333ea !important;
}
.sj-form-theme .search-section {
@@ -197,7 +197,7 @@
}
.sj-form-theme .search-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
box-shadow: none !important;
}
@@ -233,7 +233,7 @@
.sj-form-theme .generate-grid-btn,
.sj-form-theme .copy-grid-btn,
.sj-form-theme .action-grid-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
color: #492f00 !important;
border: 2rpx solid #fff !important;
box-shadow: none !important;
@@ -250,7 +250,7 @@
}
.sj-form-theme .tutorial-btn {
background: linear-gradient(180deg, #fae04d, #ffc0a3) !important;
background: linear-gradient(180deg, #c4b5fd, #a78bfa) !important;
color: #492f00 !important;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1) !important;
}

View File

@@ -47,7 +47,7 @@
}
.c-tab-txt-on {
color: #ffd061;
color: #9333ea;
font-weight: 600;
}