459 lines
7.1 KiB
Plaintext
459 lines
7.1 KiB
Plaintext
/* pages/index/index.wxss */
|
|
|
|
.container {
|
|
min-height: 100vh;
|
|
background: #000000;
|
|
padding-bottom: 120rpx;
|
|
}
|
|
|
|
/* 顶部标签 */
|
|
.top-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
padding: 12rpx 24rpx;
|
|
background: rgba(48, 209, 88, 0.1);
|
|
border: 2rpx solid rgba(48, 209, 88, 0.3);
|
|
border-radius: 40rpx;
|
|
margin: 40rpx 0 0 32rpx;
|
|
}
|
|
|
|
.tag-icon {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.tag-text {
|
|
font-size: 24rpx;
|
|
color: #30D158;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 标题区 */
|
|
.header-section {
|
|
padding: 60rpx 48rpx 40rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.main-title {
|
|
font-size: 56rpx;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.sub-title {
|
|
font-size: 64rpx;
|
|
font-weight: 800;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.gradient-text {
|
|
background: linear-gradient(135deg, #30D158 0%, #00E5FF 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.tagline {
|
|
font-size: 28rpx;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.quote-line {
|
|
font-size: 24rpx;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* 数据统计卡片 */
|
|
.stats-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
padding: 32rpx;
|
|
margin: 32rpx 32rpx;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1rpx solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 24rpx;
|
|
}
|
|
|
|
.stat-item {
|
|
text-align: center;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 48rpx;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.brand-color {
|
|
color: #30D158;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 24rpx;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.stat-divider {
|
|
width: 2rpx;
|
|
height: 60rpx;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
/* 作者信息栏 */
|
|
.author-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 24rpx 32rpx;
|
|
margin: 0 32rpx 32rpx;
|
|
}
|
|
|
|
.author-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.author-avatar {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
background: rgba(48, 209, 88, 0.2);
|
|
color: #30D158;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 36rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.author-label {
|
|
font-size: 22rpx;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
margin-bottom: 4rpx;
|
|
}
|
|
|
|
.author-name {
|
|
font-size: 28rpx;
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.live-info {
|
|
text-align: right;
|
|
}
|
|
|
|
.live-label {
|
|
font-size: 22rpx;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
margin-bottom: 4rpx;
|
|
}
|
|
|
|
.live-time {
|
|
font-size: 28rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 主按钮 */
|
|
.main-btn {
|
|
width: 686rpx;
|
|
height: 96rpx;
|
|
line-height: 96rpx;
|
|
margin: 0 32rpx 16rpx;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn-tip {
|
|
text-align: center;
|
|
font-size: 22rpx;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
/* 寄语卡片 */
|
|
.quote-card {
|
|
margin: 32rpx;
|
|
padding: 40rpx 32rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.quote-icon {
|
|
font-size: 80rpx;
|
|
color: rgba(48, 209, 88, 0.2);
|
|
line-height: 1;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.quote-content {
|
|
font-size: 28rpx;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
line-height: 1.8;
|
|
margin-bottom: 32rpx;
|
|
}
|
|
|
|
.quote-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.footer-avatar {
|
|
width: 64rpx;
|
|
height: 64rpx;
|
|
background: rgba(48, 209, 88, 0.2);
|
|
color: #30D158;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.footer-name {
|
|
font-size: 26rpx;
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
margin-bottom: 4rpx;
|
|
}
|
|
|
|
.footer-desc {
|
|
font-size: 22rpx;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
/* 三个数据展示 */
|
|
.highlights-grid {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding: 32rpx;
|
|
margin: 0 32rpx 32rpx;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1rpx solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 24rpx;
|
|
}
|
|
|
|
.highlight-item {
|
|
text-align: center;
|
|
}
|
|
|
|
.h-value {
|
|
font-size: 48rpx;
|
|
font-weight: 700;
|
|
color: #30D158;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.h-label {
|
|
font-size: 24rpx;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
/* 章节列表 */
|
|
.chapters-section {
|
|
margin: 32rpx;
|
|
padding: 32rpx;
|
|
}
|
|
|
|
.section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.title-text {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.chapter-count {
|
|
font-size: 24rpx;
|
|
color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.chapter-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.chapter-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20rpx;
|
|
padding: 24rpx;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 16rpx;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.chapter-item:active {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.chapter-number {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
background: rgba(48, 209, 88, 0.2);
|
|
color: #30D158;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 24rpx;
|
|
font-weight: 600;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.chapter-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.chapter-title {
|
|
font-size: 28rpx;
|
|
color: #ffffff;
|
|
margin-bottom: 8rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.chapter-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16rpx;
|
|
font-size: 22rpx;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.chapter-arrow {
|
|
font-size: 32rpx;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 购买区域 */
|
|
.purchase-section {
|
|
margin: 32rpx;
|
|
padding: 40rpx 32rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.purchase-title {
|
|
font-size: 36rpx;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.purchase-desc {
|
|
font-size: 26rpx;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.price-info {
|
|
margin-bottom: 32rpx;
|
|
}
|
|
|
|
.price-current {
|
|
font-size: 56rpx;
|
|
font-weight: 700;
|
|
color: #30D158;
|
|
}
|
|
|
|
.price-tip {
|
|
font-size: 24rpx;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
margin-left: 8rpx;
|
|
}
|
|
|
|
.purchase-btn {
|
|
width: 100%;
|
|
height: 88rpx;
|
|
line-height: 88rpx;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
/* 推广横幅 */
|
|
.referral-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 32rpx;
|
|
margin: 32rpx;
|
|
background: linear-gradient(135deg, rgba(48, 209, 88, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%);
|
|
border: 1rpx solid rgba(48, 209, 88, 0.3);
|
|
}
|
|
|
|
.referral-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.referral-title {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #ffffff;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.referral-desc {
|
|
font-size: 24rpx;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.referral-icon {
|
|
font-size: 64rpx;
|
|
}
|
|
|
|
/* 通用卡片样式 */
|
|
.card {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1rpx solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 24rpx;
|
|
backdrop-filter: blur(20rpx);
|
|
}
|
|
|
|
/* 底部留白 */
|
|
.bottom-space {
|
|
height: 40rpx;
|
|
}
|
|
|
|
/* 动画 */
|
|
.page-transition {
|
|
animation: fadeIn 0.3s ease-in-out;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20rpx);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #30D158 0%, #00E5FF 100%);
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 48rpx;
|
|
font-weight: 600;
|
|
box-shadow: 0 8rpx 24rpx rgba(48, 209, 88, 0.3);
|
|
}
|
|
|
|
.btn-primary:active {
|
|
opacity: 0.8;
|
|
transform: scale(0.98);
|
|
}
|