- 将支付流程统一至礼品支付页面,禁止从阅读页面进行支付,以优化用户体验。 - 更新了礼物支付详情页面,为发起人和朋友展示了不同的用户界面元素,包括为发起人提供的分享按钮和为朋友提供的支付按钮。 - 增强了后端逻辑,以确保在支付处理过程中正确将收益归因于发起人。 - 增加了每日章节更新,并改进了章节页面的加载状态,以提升用户交互体验。 - 更新了文档,以反映新的支付流程和相关变更。
265 lines
4.6 KiB
Plaintext
265 lines
4.6 KiB
Plaintext
/* Soul创业派对 - 代付详情页 */
|
|
.page {
|
|
min-height: 100vh;
|
|
background: linear-gradient(180deg, #0a0a0a 0%, #000 40%, #000 100%);
|
|
}
|
|
|
|
.nav-bar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
background: rgba(0, 0, 0, 0.92);
|
|
backdrop-filter: blur(20rpx);
|
|
-webkit-backdrop-filter: blur(20rpx);
|
|
border-bottom: 1rpx solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.nav-content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 24rpx;
|
|
height: 88rpx;
|
|
}
|
|
|
|
.nav-back {
|
|
width: 72rpx;
|
|
height: 72rpx;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.nav-back:active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.back-arrow {
|
|
font-size: 36rpx;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.nav-title {
|
|
font-size: 34rpx;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
letter-spacing: 0.5rpx;
|
|
}
|
|
|
|
.content {
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.loading-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 120rpx 0;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
border: 4rpx solid rgba(0, 206, 209, 0.2);
|
|
border-top-color: #00CED1;
|
|
border-radius: 50%;
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.loading-text {
|
|
margin-top: 24rpx;
|
|
font-size: 28rpx;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
/* 营销:章节标题+内容预览,与订单卡片统一风格 */
|
|
.article-preview {
|
|
background: linear-gradient(145deg, #1a1a1c 0%, #141416 100%);
|
|
border-radius: 24rpx;
|
|
padding: 24rpx;
|
|
margin-bottom: 16rpx;
|
|
border: 1rpx solid rgba(0, 206, 209, 0.1);
|
|
}
|
|
|
|
.article-title {
|
|
display: block;
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
line-height: 1.5;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.article-content {
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
line-height: 1.65;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
/* 订单卡片:与文章预览统一圆角、边距 */
|
|
.card {
|
|
background: linear-gradient(145deg, #1a1a1c 0%, #141416 100%);
|
|
border-radius: 24rpx;
|
|
overflow: hidden;
|
|
margin-bottom: 24rpx;
|
|
border: 1rpx solid rgba(0, 206, 209, 0.1);
|
|
}
|
|
|
|
.card-header {
|
|
padding: 24rpx;
|
|
}
|
|
|
|
.card-badge {
|
|
display: inline-block;
|
|
font-size: 22rpx;
|
|
color: rgba(0, 206, 209, 0.9);
|
|
background: rgba(0, 206, 209, 0.08);
|
|
padding: 6rpx 14rpx;
|
|
border-radius: 8rpx;
|
|
margin-bottom: 12rpx;
|
|
letter-spacing: 0.5rpx;
|
|
}
|
|
|
|
.initiator {
|
|
display: block;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #fff;
|
|
line-height: 1.4;
|
|
letter-spacing: 0.3rpx;
|
|
}
|
|
|
|
.card-divider {
|
|
height: 1rpx;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
|
|
margin: 0 24rpx;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 20rpx 24rpx 24rpx;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.label {
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
flex-shrink: 0;
|
|
width: 80rpx;
|
|
}
|
|
|
|
.product-row .value {
|
|
flex: 1;
|
|
text-align: right;
|
|
font-size: 28rpx;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
line-height: 1.5;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.product-desc {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.amount-row {
|
|
align-items: center;
|
|
}
|
|
|
|
.amount-row .amount {
|
|
font-size: 44rpx;
|
|
font-weight: 700;
|
|
color: #00CED1;
|
|
letter-spacing: 1rpx;
|
|
text-shadow: 0 0 24rpx rgba(0, 206, 209, 0.3);
|
|
}
|
|
|
|
/* 提示文案 */
|
|
.tips {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10rpx;
|
|
padding: 0 4rpx 24rpx;
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.tips-icon {
|
|
flex-shrink: 0;
|
|
font-size: 28rpx;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* 主按钮 */
|
|
.pay-btn {
|
|
width: 100%;
|
|
height: 96rpx;
|
|
line-height: 96rpx;
|
|
background: linear-gradient(135deg, #00CED1 0%, #18a8a8 50%, #20B2AA 100%);
|
|
color: #fff;
|
|
font-size: 34rpx;
|
|
font-weight: 600;
|
|
border-radius: 50rpx;
|
|
border: none;
|
|
box-shadow: 0 8rpx 24rpx rgba(0, 206, 209, 0.35);
|
|
transition: opacity 0.2s, transform 0.1s;
|
|
}
|
|
|
|
.pay-btn:active {
|
|
opacity: 0.92;
|
|
transform: scale(0.99);
|
|
}
|
|
|
|
.pay-btn[disabled] {
|
|
opacity: 0.6;
|
|
transform: none;
|
|
}
|
|
|
|
.share-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.btn-icon-img {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
filter: brightness(0) invert(1);
|
|
}
|
|
|
|
.empty {
|
|
text-align: center;
|
|
padding: 120rpx 0;
|
|
font-size: 28rpx;
|
|
color: rgba(255, 255, 255, 0.45);
|
|
}
|