Files
soul-yongping/miniprogram/pages/gift-pay/redemption-detail.wxss

235 lines
3.8 KiB
Plaintext

/* 卡若创业派对 - 代付领取详情 */
.page {
min-height: 100vh;
background: #050505;
}
.nav-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
background: rgba(5, 5, 5, 0.6);
backdrop-filter: blur(40rpx);
-webkit-backdrop-filter: blur(40rpx);
border-bottom: 1rpx solid rgba(255, 255, 255, 0.05);
}
.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;
}
.nav-back:active {
opacity: 0.7;
}
.back-arrow {
font-size: 36rpx;
color: rgba(255, 255, 255, 0.9);
}
.nav-title {
font-size: 28rpx;
font-weight: 700;
color: rgba(255, 255, 255, 0.5);
letter-spacing: 0.2em;
text-transform: uppercase;
}
.content {
padding: 24rpx 24rpx 80rpx;
}
.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(20, 184, 166, 0.2);
border-top-color: #14b8a6;
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);
}
.empty {
text-align: center;
padding: 80rpx 0;
font-size: 28rpx;
color: rgba(255, 255, 255, 0.4);
}
/* 文章信息卡片 */
.article-card {
background: rgba(24, 24, 27, 0.8);
border: 1rpx solid rgba(255, 255, 255, 0.1);
border-radius: 24rpx;
padding: 32rpx;
margin-bottom: 24rpx;
}
.article-title {
display: block;
font-size: 32rpx;
font-weight: 600;
color: #fff;
line-height: 1.4;
margin-bottom: 16rpx;
}
.article-preview {
font-size: 26rpx;
color: rgba(255, 255, 255, 0.6);
line-height: 1.5;
margin-bottom: 24rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.article-meta {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12rpx 0;
font-size: 28rpx;
}
.meta-label {
color: rgba(255, 255, 255, 0.5);
}
.meta-value {
color: rgba(255, 255, 255, 0.9);
}
.meta-value.highlight {
color: #14b8a6;
font-weight: 600;
}
.article-actions {
display: flex;
gap: 24rpx;
margin-top: 24rpx;
padding-top: 24rpx;
border-top: 1rpx solid rgba(255, 255, 255, 0.06);
}
.btn-link {
padding: 16rpx 32rpx;
background: rgba(20, 184, 166, 0.15);
border-radius: 12rpx;
font-size: 28rpx;
color: #14b8a6;
}
.btn-link:active {
opacity: 0.8;
}
/* 领取记录 */
.redeem-section {
background: rgba(24, 24, 27, 0.8);
border: 1rpx solid rgba(255, 255, 255, 0.1);
border-radius: 24rpx;
padding: 32rpx;
}
.section-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20rpx;
}
.section-title {
font-size: 28rpx;
font-weight: 600;
color: rgba(255, 255, 255, 0.9);
}
.section-count {
font-size: 24rpx;
color: rgba(255, 255, 255, 0.5);
}
.redeem-list {
max-height: 400rpx;
overflow-y: auto;
}
.redeem-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16rpx 0;
border-bottom: 1rpx solid rgba(255, 255, 255, 0.06);
font-size: 28rpx;
}
.redeem-item:last-child {
border-bottom: none;
}
.redeem-user {
display: flex;
align-items: center;
gap: 16rpx;
}
.redeem-avatar {
width: 56rpx;
height: 56rpx;
border-radius: 50%;
background: rgba(255, 255, 255, 0.08);
}
.redeem-nickname {
color: rgba(255, 255, 255, 0.9);
}
.redeem-time {
color: rgba(255, 255, 255, 0.5);
font-size: 24rpx;
}
.redeem-empty {
padding: 40rpx 0;
text-align: center;
font-size: 26rpx;
color: rgba(255, 255, 255, 0.4);
}