删除不再使用的文件,包括开放 API 鉴权规范文档、数据库迁移脚本和旧版图标组件,优化项目结构和资源管理。更新小程序代码以支持代付功能,增加代付分享弹窗和支付逻辑,提升用户体验。
This commit is contained in:
@@ -600,6 +600,10 @@
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.modal-overlay-center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
width: 100%;
|
||||
max-width: 750rpx;
|
||||
@@ -610,11 +614,25 @@
|
||||
animation: slideUp 0.3s ease;
|
||||
}
|
||||
|
||||
.modal-content-center {
|
||||
width: 640rpx;
|
||||
max-width: calc(100vw - 80rpx);
|
||||
border-radius: 32rpx;
|
||||
padding: 40rpx;
|
||||
padding-bottom: 40rpx;
|
||||
animation: popIn 0.18s ease-out;
|
||||
}
|
||||
|
||||
@keyframes slideUp {
|
||||
from { transform: translateY(100%); }
|
||||
to { transform: translateY(0); }
|
||||
}
|
||||
|
||||
@keyframes popIn {
|
||||
from { transform: scale(0.94); opacity: 0.6; }
|
||||
to { transform: scale(1); opacity: 1; }
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -706,6 +724,117 @@
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* 阅读页内代付弹窗(v2:档位按钮 + 价格计算 + 支付后分享) */
|
||||
.gift-modal-v2 {
|
||||
padding: 40rpx;
|
||||
}
|
||||
.gift-article-card {
|
||||
padding: 28rpx;
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
border: 1rpx solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 24rpx;
|
||||
margin-bottom: 32rpx;
|
||||
}
|
||||
.gift-article-title {
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
display: block;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.gift-article-desc {
|
||||
font-size: 24rpx;
|
||||
color: rgba(255, 255, 255, 0.55);
|
||||
display: block;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.gift-spots-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 18rpx;
|
||||
margin-bottom: 28rpx;
|
||||
}
|
||||
.gift-spot-btn {
|
||||
text-align: center;
|
||||
padding: 22rpx 0;
|
||||
border-radius: 20rpx;
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
border: 1rpx solid rgba(255, 255, 255, 0.1);
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
font-weight: 600;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.gift-spot-active {
|
||||
border-color: rgba(0, 206, 209, 0.9);
|
||||
color: #00CED1;
|
||||
background: rgba(0, 206, 209, 0.12);
|
||||
}
|
||||
.gift-price-box {
|
||||
padding: 26rpx;
|
||||
border-radius: 24rpx;
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
border: 1rpx solid rgba(255, 255, 255, 0.08);
|
||||
margin-bottom: 28rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.gift-price-label {
|
||||
font-size: 22rpx;
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
display: block;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
.gift-price-row {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: center;
|
||||
gap: 14rpx;
|
||||
}
|
||||
.gift-price-formula {
|
||||
font-size: 24rpx;
|
||||
color: rgba(0, 206, 209, 0.8);
|
||||
}
|
||||
.gift-price-total {
|
||||
font-size: 44rpx;
|
||||
font-weight: 800;
|
||||
color: #00CED1;
|
||||
}
|
||||
.gift-pay-btn {
|
||||
width: 100%;
|
||||
border-radius: 999rpx;
|
||||
background: #00CED1;
|
||||
color: #000;
|
||||
font-weight: 800;
|
||||
font-size: 32rpx;
|
||||
padding: 26rpx 0;
|
||||
}
|
||||
.gift-cancel-text {
|
||||
text-align: center;
|
||||
margin-top: 18rpx;
|
||||
font-size: 26rpx;
|
||||
color: rgba(255, 255, 255, 0.45);
|
||||
}
|
||||
.gift-paid-wrap {
|
||||
padding-top: 8rpx;
|
||||
}
|
||||
.gift-paid-tip {
|
||||
display: block;
|
||||
font-size: 26rpx;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
line-height: 1.6;
|
||||
margin-bottom: 24rpx;
|
||||
}
|
||||
.gift-share-btn {
|
||||
width: 100%;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(0, 206, 209, 0.12);
|
||||
border: 1rpx solid rgba(0, 206, 209, 0.45);
|
||||
color: #00CED1;
|
||||
font-weight: 800;
|
||||
font-size: 32rpx;
|
||||
padding: 26rpx 0;
|
||||
}
|
||||
|
||||
.share-modal-desc {
|
||||
font-size: 28rpx;
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
|
||||
Reference in New Issue
Block a user