miniprogram: 用永平版本替换(含超级个体、会员详情、提现等)
- 来源: 一场soul的创业实验-永平/soul/miniprogram - 新增: addresses/agreement/privacy/withdraw-records 等页面 - 新增: components/icon, utils/chapterAccessManager, readingTracker - 删除: 上传脚本、部署说明等冗余文件 - 同步永平最新结构和功能 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
height: 88rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: flex-start;
|
||||
padding: 0 32rpx;
|
||||
}
|
||||
|
||||
.nav-title {
|
||||
@@ -33,6 +34,11 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.nav-title-left {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.brand-color {
|
||||
color: #00CED1;
|
||||
}
|
||||
@@ -54,6 +60,40 @@
|
||||
margin: 32rpx;
|
||||
padding: 32rpx;
|
||||
}
|
||||
.margin-partner-badge{
|
||||
}
|
||||
/* 创业伙伴按钮 - inline 布局 */
|
||||
.partner-badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6rpx;
|
||||
padding: 10rpx 18rpx;
|
||||
background: rgba(0, 206, 209, 0.15);
|
||||
border: 1rpx solid rgba(0, 206, 209, 0.3);
|
||||
border-radius: 20rpx;
|
||||
flex-shrink: 0;
|
||||
transition: all 0.2s;
|
||||
margin-top:-20px;
|
||||
}
|
||||
|
||||
.partner-badge:active {
|
||||
background: rgba(0, 206, 209, 0.3);
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.partner-icon {
|
||||
font-size: 18rpx;
|
||||
color: #00CED1;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.partner-text {
|
||||
font-size: 20rpx;
|
||||
font-weight: 500;
|
||||
color: #00CED1;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.card-gradient {
|
||||
background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
|
||||
@@ -65,7 +105,7 @@
|
||||
.user-header-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 24rpx;
|
||||
gap: 20rpx;
|
||||
margin-bottom: 32rpx;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -81,7 +121,7 @@
|
||||
/* 头像按钮样式 - 简化版 */
|
||||
.avatar-btn-simple {
|
||||
flex-shrink: 0;
|
||||
width: 120rpx;
|
||||
width: 60rpx!important;
|
||||
height: 120rpx;
|
||||
min-width: 120rpx;
|
||||
min-height: 120rpx;
|
||||
@@ -98,17 +138,6 @@
|
||||
}
|
||||
.avatar-btn-simple::after { border: none; }
|
||||
|
||||
/* 用户名样式 */
|
||||
.user-name {
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
max-width: 300rpx;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.edit-icon-small {
|
||||
font-size: 24rpx;
|
||||
color: rgba(255,255,255,0.5);
|
||||
@@ -119,18 +148,20 @@
|
||||
width: 120rpx;
|
||||
height: 120rpx;
|
||||
border-radius: 50%;
|
||||
border: 4rpx solid #00CED1;
|
||||
border: 3rpx solid #00CED1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, rgba(0, 206, 209, 0.2) 0%, transparent 100%);
|
||||
overflow: hidden;
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.avatar-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.avatar-edit-hint {
|
||||
@@ -163,9 +194,10 @@
|
||||
}
|
||||
|
||||
.avatar-text {
|
||||
font-size: 44rpx;
|
||||
font-size: 48rpx;
|
||||
font-weight: 700;
|
||||
color: #00CED1;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.user-info-block {
|
||||
@@ -173,27 +205,26 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 10rpx;
|
||||
gap: 12rpx;
|
||||
min-width: 0;
|
||||
padding-top: 4rpx;
|
||||
}
|
||||
|
||||
.user-name-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10rpx;
|
||||
line-height: 1.2;
|
||||
gap: 8rpx;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.user-name {
|
||||
font-size: 36rpx;
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
max-width: 320rpx;
|
||||
line-height: 1.3;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.edit-name-icon {
|
||||
@@ -206,11 +237,23 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8rpx;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.user-id {
|
||||
font-size: 24rpx;
|
||||
color: rgba(255, 255, 255, 0.4);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.copy-icon {
|
||||
font-size: 22rpx;
|
||||
opacity: 0.5;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.user-wechat {
|
||||
@@ -237,11 +280,6 @@
|
||||
color: #00CED1;
|
||||
}
|
||||
|
||||
.user-id {
|
||||
font-size: 24rpx;
|
||||
color: rgba(255, 255, 255, 0.35);
|
||||
}
|
||||
|
||||
/* 兼容旧样式 */
|
||||
.user-header {
|
||||
display: flex;
|
||||
@@ -267,67 +305,24 @@
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
|
||||
/* ===== 登录卡片样式 ===== */
|
||||
.login-card {
|
||||
min-height: 400rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* ===== 未登录假资料样式 ===== */
|
||||
.avatar-placeholder {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.login-prompt {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 40rpx 0;
|
||||
width: 100%;
|
||||
.user-id-guest {
|
||||
color: rgba(255, 255, 255, 0.35) !important;
|
||||
}
|
||||
|
||||
.login-icon-large {
|
||||
font-size: 80rpx;
|
||||
margin-bottom: 32rpx;
|
||||
}
|
||||
|
||||
.login-title {
|
||||
font-size: 36rpx;
|
||||
.btn-login-inline {
|
||||
flex-shrink: 0;
|
||||
margin-left: 16rpx;
|
||||
padding: 10rpx 24rpx;
|
||||
background: linear-gradient(135deg, #00CED1 0%, #20B2AA 100%);
|
||||
color: #000;
|
||||
font-size: 24rpx;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
.login-desc {
|
||||
font-size: 26rpx;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
margin-bottom: 48rpx;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.btn-wechat-large {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 16rpx;
|
||||
width: 80%;
|
||||
padding: 28rpx 0;
|
||||
background: linear-gradient(135deg, #07C160 0%, #06AD56 100%);
|
||||
border-radius: 48rpx;
|
||||
border: none;
|
||||
color: #ffffff;
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn-wechat-large .btn-icon {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
border-radius: 24rpx;
|
||||
}
|
||||
|
||||
.user-name {
|
||||
@@ -368,14 +363,12 @@
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 16rpx;
|
||||
padding-top: 32rpx;
|
||||
border-top: 2rpx solid rgba(255, 255, 255, 0.1);
|
||||
border-top: 2rpx solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
text-align: center;
|
||||
padding: 16rpx;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 16rpx;
|
||||
padding: 16rpx 8rpx;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
@@ -389,7 +382,7 @@
|
||||
color: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
/* ===== 收益卡片 ===== */
|
||||
/* ===== 收益卡片 - 艺术化设计 ===== */
|
||||
.earnings-card {
|
||||
margin: 32rpx;
|
||||
padding: 32rpx;
|
||||
@@ -398,63 +391,117 @@
|
||||
border: 2rpx solid rgba(0, 206, 209, 0.2);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 16rpx 32rpx rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.earnings-bg {
|
||||
/* 背景装饰圆 */
|
||||
.bg-decoration {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.bg-decoration-gold {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 256rpx;
|
||||
height: 256rpx;
|
||||
background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
|
||||
border-radius: 50%;
|
||||
transform: translate(50%, -50%);
|
||||
}
|
||||
|
||||
.bg-decoration-brand {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 192rpx;
|
||||
height: 192rpx;
|
||||
background: linear-gradient(45deg, rgba(0, 206, 209, 0.1) 0%, transparent 100%);
|
||||
transform: translate(-50%, 50%);
|
||||
}
|
||||
|
||||
.earnings-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* 标题行 */
|
||||
.earnings-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 32rpx;
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
|
||||
.earnings-title-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
}
|
||||
|
||||
.earnings-icon {
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.earnings-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16rpx;
|
||||
}
|
||||
|
||||
.title-icon {
|
||||
font-size: 36rpx;
|
||||
}
|
||||
|
||||
.title-text {
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.earnings-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8rpx;
|
||||
gap: 6rpx;
|
||||
padding: 8rpx 16rpx;
|
||||
background: rgba(0, 206, 209, 0.1);
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
|
||||
.earnings-link:active {
|
||||
background: rgba(0, 206, 209, 0.2);
|
||||
}
|
||||
|
||||
.link-text {
|
||||
font-size: 24rpx;
|
||||
color: #00CED1;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.link-arrow {
|
||||
font-size: 24rpx;
|
||||
font-size: 20rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* 我的收益 - 刷新图标 */
|
||||
.earnings-refresh-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 64rpx;
|
||||
height: 64rpx;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 206, 209, 0.15);
|
||||
}
|
||||
|
||||
.earnings-refresh-wrap:active {
|
||||
background: rgba(0, 206, 209, 0.3);
|
||||
}
|
||||
|
||||
.earnings-refresh-icon {
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
color: #00CED1;
|
||||
}
|
||||
|
||||
.earnings-refresh-spin {
|
||||
animation: earnings-spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes earnings-spin {
|
||||
from { transform: rotate(0deg); }
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* 收益数据 */
|
||||
.earnings-data {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
@@ -462,48 +509,79 @@
|
||||
margin-bottom: 32rpx;
|
||||
}
|
||||
|
||||
.data-item {
|
||||
.earnings-main,
|
||||
.earnings-secondary {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8rpx;
|
||||
}
|
||||
|
||||
.data-label {
|
||||
font-size: 22rpx;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
margin-bottom: 8rpx;
|
||||
.earnings-main {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.data-value {
|
||||
font-size: 40rpx;
|
||||
.earnings-secondary {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.earnings-label {
|
||||
font-size: 24rpx;
|
||||
font-weight: 500;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
letter-spacing: 0.5rpx;
|
||||
}
|
||||
|
||||
.earnings-amount-large {
|
||||
font-size: 64rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.earnings-amount-medium {
|
||||
font-size: 48rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* 渐变文字效果 */
|
||||
.gold-gradient {
|
||||
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
|
||||
background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
font-size: 56rpx;
|
||||
color: transparent;
|
||||
}
|
||||
|
||||
.earnings-btn {
|
||||
/* 操作按钮 */
|
||||
.earnings-action {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 16rpx;
|
||||
padding: 24rpx;
|
||||
background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 165, 0, 0.8) 100%);
|
||||
background: linear-gradient(90deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 165, 0, 0.9) 100%);
|
||||
border-radius: 24rpx;
|
||||
font-weight: 600;
|
||||
font-weight: 700;
|
||||
box-shadow: 0 4rpx 12rpx rgba(255, 215, 0, 0.3);
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.btn-icon {
|
||||
font-size: 28rpx;
|
||||
.earnings-action:active {
|
||||
opacity: 0.85;
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.btn-text {
|
||||
font-size: 28rpx;
|
||||
.action-icon {
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.action-text {
|
||||
font-size: 30rpx;
|
||||
font-weight: 700;
|
||||
color: #000000;
|
||||
letter-spacing: 1rpx;
|
||||
}
|
||||
|
||||
/* ===== 推广入口 ===== */
|
||||
@@ -643,20 +721,33 @@
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 24rpx;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
font-size: 32rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* 有背景的图标样式 */
|
||||
.icon-brand,
|
||||
.icon-gold,
|
||||
.icon-gray {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
font-size: 20rpx;
|
||||
}
|
||||
|
||||
.icon-brand {
|
||||
background: linear-gradient(135deg, #00CED1 0%, #20B2AA 100%);
|
||||
}
|
||||
|
||||
.icon-gold {
|
||||
background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
|
||||
}
|
||||
|
||||
.icon-gray {
|
||||
background: rgba(128, 128, 128, 0.2);
|
||||
}
|
||||
@@ -708,6 +799,11 @@
|
||||
gap: 24rpx;
|
||||
}
|
||||
|
||||
/* 两列布局(当找伙伴功能关闭时) */
|
||||
.stats-row-two-cols {
|
||||
grid-template-columns: repeat(2, 1fr) !important;
|
||||
}
|
||||
|
||||
.stat-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -919,12 +1015,52 @@
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.login-notice {
|
||||
display: block;
|
||||
/* 登录弹窗内取消按钮 */
|
||||
.login-modal-cancel {
|
||||
margin-top: 24rpx;
|
||||
padding: 24rpx;
|
||||
font-size: 28rpx;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* 协议勾选行(审核:用户须主动勾选,协议可点击查看) */
|
||||
.login-agree-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: 32rpx;
|
||||
font-size: 22rpx;
|
||||
color: rgba(255, 255, 255, 0.3);
|
||||
text-align: center;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.agree-checkbox {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
border: 2rpx solid rgba(255, 255, 255, 0.5);
|
||||
border-radius: 6rpx;
|
||||
margin-right: 12rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 22rpx;
|
||||
color: #fff;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.agree-checked {
|
||||
background: #00CED1;
|
||||
border-color: #00CED1;
|
||||
}
|
||||
.agree-text {
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
.agree-link {
|
||||
color: #00CED1;
|
||||
text-decoration: underline;
|
||||
padding: 0 4rpx;
|
||||
}
|
||||
.btn-wechat-disabled {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
/* ===== 底部留白 ===== */
|
||||
@@ -995,141 +1131,243 @@
|
||||
color: #FFD700;
|
||||
}
|
||||
|
||||
/* 账号设置 */
|
||||
.settings-card {
|
||||
margin-top: 24rpx;
|
||||
/* ===== 修改昵称弹窗 ===== */
|
||||
.nickname-modal {
|
||||
width: 600rpx;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
.settings-list {
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
.settings-item {
|
||||
.modal-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 28rpx 0;
|
||||
border-bottom: 1rpx solid rgba(255, 255, 255, 0.06);
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
|
||||
.settings-item:last-child {
|
||||
border-bottom: none;
|
||||
.modal-icon {
|
||||
font-size: 60rpx;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
.settings-label {
|
||||
font-size: 28rpx;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.settings-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12rpx;
|
||||
}
|
||||
|
||||
.settings-value {
|
||||
font-size: 26rpx;
|
||||
color: rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
.logout-item {
|
||||
justify-content: center;
|
||||
margin-top: 16rpx;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.logout-text {
|
||||
color: #ff4d4f;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
|
||||
/* === VIP 头像标识 === */
|
||||
.avatar-normal {
|
||||
border: 4rpx solid rgba(255,255,255,0.2);
|
||||
}
|
||||
.avatar-vip {
|
||||
border: 4rpx solid #FFD700;
|
||||
box-shadow: 0 0 16rpx rgba(255,215,0,0.5);
|
||||
position: relative;
|
||||
}
|
||||
.vip-badge {
|
||||
position: absolute;
|
||||
bottom: -4rpx;
|
||||
right: -4rpx;
|
||||
background: linear-gradient(135deg, #FFD700, #FFA500);
|
||||
color: #000;
|
||||
font-size: 18rpx;
|
||||
font-weight: bold;
|
||||
padding: 2rpx 10rpx;
|
||||
border-radius: 12rpx;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.vip-tag {
|
||||
background: linear-gradient(135deg, #FFD700, #FFA500);
|
||||
color: #000;
|
||||
font-size: 20rpx;
|
||||
.modal-title {
|
||||
font-size: 32rpx;
|
||||
color: #ffffff;
|
||||
font-weight: 600;
|
||||
padding: 4rpx 14rpx;
|
||||
border-radius: 16rpx;
|
||||
margin-left: 12rpx;
|
||||
}
|
||||
|
||||
/* === VIP入口卡片 === */
|
||||
.vip-card {
|
||||
margin: 16rpx 24rpx;
|
||||
border-radius: 20rpx;
|
||||
overflow: hidden;
|
||||
.nickname-input-wrap {
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
.vip-card-inner {
|
||||
|
||||
.nickname-input {
|
||||
width: 100%;
|
||||
height: 88rpx;
|
||||
padding: 0 24rpx;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 2rpx solid rgba(56, 189, 172, 0.3);
|
||||
border-radius: 12rpx;
|
||||
font-size: 28rpx;
|
||||
color: #ffffff;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.nickname-placeholder {
|
||||
color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.input-tip {
|
||||
display: block;
|
||||
margin-top: 12rpx;
|
||||
font-size: 22rpx;
|
||||
color: rgba(56, 189, 172, 0.6);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.modal-actions {
|
||||
display: flex;
|
||||
gap: 20rpx;
|
||||
}
|
||||
|
||||
.modal-btn {
|
||||
flex: 1;
|
||||
height: 80rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
border-radius: 12rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.modal-btn-cancel {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
border: 2rpx solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.modal-btn-confirm {
|
||||
background: linear-gradient(135deg, #38bdac 0%, #2da396 100%);
|
||||
color: #ffffff;
|
||||
box-shadow: 0 8rpx 24rpx rgba(56, 189, 172, 0.3);
|
||||
}
|
||||
|
||||
/* 待确认收款 */
|
||||
.pending-confirm-card {
|
||||
margin: 32rpx;
|
||||
padding: 28rpx 32rpx;
|
||||
background: rgba(76, 175, 80, 0.08);
|
||||
border: 2rpx solid rgba(76, 175, 80, 0.25);
|
||||
border-radius: 24rpx;
|
||||
}
|
||||
.pending-confirm-header { margin-bottom: 20rpx; }
|
||||
.pending-confirm-title { font-size: 28rpx; font-weight: 600; color: #fff; display: block; }
|
||||
.pending-confirm-desc { font-size: 24rpx; color: rgba(255,255,255,0.6); margin-top: 8rpx; display: block; }
|
||||
.pending-confirm-list { display: flex; flex-direction: column; gap: 16rpx; }
|
||||
.pending-confirm-item {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
padding: 20rpx 24rpx; background: rgba(28,28,30,0.6); border-radius: 16rpx;
|
||||
}
|
||||
.pending-confirm-info { display: flex; flex-direction: column; gap: 4rpx; }
|
||||
.pending-confirm-amount { font-size: 32rpx; font-weight: 600; color: #4CAF50; }
|
||||
.pending-confirm-time { font-size: 22rpx; color: rgba(255,255,255,0.5); }
|
||||
.pending-confirm-btn {
|
||||
padding: 16rpx 32rpx;
|
||||
background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
|
||||
color: #fff; font-size: 26rpx; font-weight: 500; border-radius: 20rpx;
|
||||
}
|
||||
|
||||
/* ===== 收益面板(内嵌) ===== */
|
||||
.earnings-inline {
|
||||
margin: 0 32rpx 24rpx;
|
||||
padding: 24rpx 28rpx;
|
||||
background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,165,0,0.08));
|
||||
border: 1rpx solid rgba(255,215,0,0.25);
|
||||
border-radius: 20rpx;
|
||||
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
||||
border-radius: 24rpx;
|
||||
border: 2rpx solid rgba(0, 206, 209, 0.15);
|
||||
}
|
||||
.vip-card-inner.vip-active {
|
||||
background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,165,0,0.12));
|
||||
border-color: rgba(255,215,0,0.4);
|
||||
}
|
||||
.vip-card-left {
|
||||
.earnings-inline-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16rpx;
|
||||
}
|
||||
.vip-card-icon {
|
||||
font-size: 44rpx;
|
||||
}
|
||||
.vip-card-info {
|
||||
.earnings-inline-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4rpx;
|
||||
flex: 1;
|
||||
}
|
||||
.vip-card-title {
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
color: rgba(255,255,255,0.95);
|
||||
}
|
||||
.vip-card-desc {
|
||||
.earnings-inline-label {
|
||||
font-size: 22rpx;
|
||||
color: rgba(255,255,255,0.5);
|
||||
margin-top: 4rpx;
|
||||
}
|
||||
.vip-card-price {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
}
|
||||
.vip-price-num {
|
||||
.earnings-inline-val {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #FFD700;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
}
|
||||
.vip-price-unit {
|
||||
font-size: 22rpx;
|
||||
color: rgba(255,215,0,0.7);
|
||||
margin-left: 4rpx;
|
||||
.earnings-inline-divider {
|
||||
width: 2rpx;
|
||||
height: 48rpx;
|
||||
background: rgba(255,255,255,0.1);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.vip-manage-btn {
|
||||
.earnings-inline-btn {
|
||||
padding: 12rpx 28rpx;
|
||||
background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
|
||||
border-radius: 20rpx;
|
||||
font-size: 26rpx;
|
||||
color: #FFD700;
|
||||
font-weight: 600;
|
||||
color: #000;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.earnings-inline-refresh {
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 28rpx;
|
||||
color: #00CED1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.pending-inline {
|
||||
margin-top: 16rpx;
|
||||
padding-top: 16rpx;
|
||||
border-top: 1rpx solid rgba(255,255,255,0.08);
|
||||
}
|
||||
.pending-inline-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 8rpx 0;
|
||||
}
|
||||
.pending-inline-text {
|
||||
font-size: 24rpx;
|
||||
color: #4CAF50;
|
||||
}
|
||||
.pending-inline-btn {
|
||||
padding: 8rpx 20rpx;
|
||||
background: #4CAF50;
|
||||
color: #fff;
|
||||
font-size: 22rpx;
|
||||
border-radius: 12rpx;
|
||||
}
|
||||
|
||||
/* VIP头像标识 */
|
||||
.avatar-wrap { position: relative; }
|
||||
.avatar-vip { border: 4rpx solid #FFD700 !important; box-shadow: 0 0 20rpx rgba(255,215,0,0.4); }
|
||||
.vip-badge { position: absolute; bottom: -4rpx; right: -4rpx; background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; font-size: 16rpx; font-weight: bold; padding: 2rpx 8rpx; border-radius: 10rpx; line-height: 1.4; }
|
||||
.vip-badge-gray { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.5); }
|
||||
|
||||
/* 会员权益小标签 */
|
||||
.vip-tags-row {
|
||||
display: flex;
|
||||
gap: 6rpx;
|
||||
margin-left: 8rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.vip-tag-mini {
|
||||
padding: 2rpx 10rpx;
|
||||
font-size: 18rpx;
|
||||
border-radius: 8rpx;
|
||||
background: rgba(255,255,255,0.08);
|
||||
color: rgba(255,255,255,0.3);
|
||||
border: 1rpx solid rgba(255,255,255,0.1);
|
||||
}
|
||||
.vip-tag-active {
|
||||
background: rgba(255,215,0,0.15);
|
||||
color: #FFD700;
|
||||
border-color: rgba(255,215,0,0.3);
|
||||
}
|
||||
|
||||
/* 阅读统计 */
|
||||
.stats-card { padding: 24rpx 28rpx; }
|
||||
.stats-row { display: flex; gap: 16rpx; margin-top: 16rpx; }
|
||||
.stat-box {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 6rpx;
|
||||
padding: 20rpx 12rpx;
|
||||
border-radius: 16rpx;
|
||||
background: rgba(139,92,246,0.06);
|
||||
}
|
||||
.stat-icon { font-size: 32rpx; }
|
||||
.stat-num { font-size: 36rpx; font-weight: bold; color: #fff; }
|
||||
.stat-text { font-size: 22rpx; color: rgba(255,255,255,0.5); }
|
||||
.pink-color { color: #ec4899; }
|
||||
|
||||
/* 成为会员小按钮 */
|
||||
.become-vip-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4rpx;
|
||||
padding: 4rpx 14rpx;
|
||||
border-radius: 20rpx;
|
||||
background: linear-gradient(135deg, rgba(245,166,35,.15), rgba(245,166,35,.08));
|
||||
border: 1rpx solid rgba(245,166,35,.3);
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
.chip-star { font-size: 18rpx; }
|
||||
.chip-text { font-size: 20rpx; color: #f5a623; font-weight: 600; white-space: nowrap; }
|
||||
|
||||
Reference in New Issue
Block a user