重构项目文件夹目录
This commit is contained in:
@@ -0,0 +1,325 @@
|
||||
.detail-page {
|
||||
padding-bottom: calc(env(safe-area-inset-bottom) + 160rpx);
|
||||
background: var(--theme-page-bg);
|
||||
}
|
||||
|
||||
.media-box {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-radius: 0 0 40rpx 40rpx;
|
||||
background: var(--theme-primary-soft);
|
||||
}
|
||||
|
||||
.media-swiper,
|
||||
.media-image {
|
||||
width: 100%;
|
||||
height: 640rpx;
|
||||
}
|
||||
|
||||
.media-mask {
|
||||
position: absolute;
|
||||
left: 24rpx;
|
||||
right: 24rpx;
|
||||
bottom: 28rpx;
|
||||
}
|
||||
|
||||
.media-badges {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12rpx;
|
||||
}
|
||||
|
||||
.detail-content {
|
||||
margin-top: -48rpx;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
padding: 32rpx 30rpx;
|
||||
}
|
||||
|
||||
.detail-head {
|
||||
padding-bottom: 10rpx;
|
||||
}
|
||||
|
||||
.product-title {
|
||||
margin-top: 16rpx;
|
||||
font-size: 42rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.4;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.product-price {
|
||||
margin-top: 12rpx;
|
||||
font-size: 38rpx;
|
||||
font-weight: 700;
|
||||
color: var(--theme-accent);
|
||||
}
|
||||
|
||||
.product-brief {
|
||||
margin-top: 14rpx;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.8;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.detail-summary {
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
|
||||
.detail-summary-value {
|
||||
font-size: 26rpx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.shop-box {
|
||||
margin-top: 28rpx;
|
||||
padding: 24rpx;
|
||||
border-radius: 24rpx;
|
||||
background: var(--theme-gradient-soft);
|
||||
}
|
||||
|
||||
.shop-box-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16rpx;
|
||||
}
|
||||
|
||||
.shop-name {
|
||||
font-size: 30rpx;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.shop-link {
|
||||
font-size: 24rpx;
|
||||
color: var(--theme-primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.shop-meta {
|
||||
margin-top: 10rpx;
|
||||
font-size: 24rpx;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.actions-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 16rpx;
|
||||
margin-top: 28rpx;
|
||||
}
|
||||
|
||||
.action-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 180rpx;
|
||||
height: 68rpx;
|
||||
padding: 0 24rpx;
|
||||
border-radius: 999rpx;
|
||||
background: var(--theme-primary-soft);
|
||||
color: var(--theme-accent);
|
||||
font-size: 24rpx;
|
||||
font-weight: 600;
|
||||
border: 0;
|
||||
line-height: 68rpx;
|
||||
}
|
||||
|
||||
.share-pill::after {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.action-pill.active {
|
||||
background: var(--theme-primary-soft);
|
||||
color: var(--theme-primary);
|
||||
}
|
||||
|
||||
.tags-wrap {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12rpx;
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
|
||||
.tag-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 10rpx 18rpx;
|
||||
border-radius: 999rpx;
|
||||
background: var(--theme-primary-soft);
|
||||
color: var(--theme-primary);
|
||||
font-size: 22rpx;
|
||||
}
|
||||
|
||||
.desc-block {
|
||||
margin-top: 28rpx;
|
||||
}
|
||||
|
||||
.desc-text {
|
||||
margin-top: 16rpx;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.8;
|
||||
color: #5d4b55;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.guidance-grid {
|
||||
display: grid;
|
||||
gap: 18rpx;
|
||||
margin-top: 22rpx;
|
||||
}
|
||||
|
||||
.guidance-block {
|
||||
padding: 22rpx;
|
||||
border-radius: 22rpx;
|
||||
background: var(--theme-primary-soft);
|
||||
}
|
||||
|
||||
.comment-card {
|
||||
margin-top: 24rpx;
|
||||
padding: 30rpx;
|
||||
}
|
||||
|
||||
.comment-head,
|
||||
.comment-main,
|
||||
.comment-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16rpx;
|
||||
}
|
||||
|
||||
.comment-count,
|
||||
.comment-time {
|
||||
font-size: 22rpx;
|
||||
color: #9b8d94;
|
||||
}
|
||||
|
||||
.comment-editor {
|
||||
margin-top: 20rpx;
|
||||
padding: 20rpx;
|
||||
border-radius: 20rpx;
|
||||
background: var(--theme-primary-soft);
|
||||
}
|
||||
|
||||
.comment-input {
|
||||
width: 100%;
|
||||
min-height: 120rpx;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.7;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.comment-actions {
|
||||
margin-top: 16rpx;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.comment-cancel,
|
||||
.comment-submit,
|
||||
.comment-reply-btn {
|
||||
font-size: 24rpx;
|
||||
color: var(--theme-primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.comment-submit {
|
||||
min-width: 116rpx;
|
||||
height: 56rpx;
|
||||
line-height: 56rpx;
|
||||
text-align: center;
|
||||
border-radius: 999rpx;
|
||||
color: #ffffff;
|
||||
background: var(--theme-primary);
|
||||
}
|
||||
|
||||
.comment-empty {
|
||||
padding: 28rpx 0 8rpx;
|
||||
font-size: 24rpx;
|
||||
color: #9b8d94;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.comment-item {
|
||||
padding: 24rpx 0;
|
||||
border-bottom: 1rpx solid #f2e7eb;
|
||||
}
|
||||
|
||||
.comment-item:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.comment-name {
|
||||
font-size: 26rpx;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.comment-text {
|
||||
margin-top: 12rpx;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.8;
|
||||
color: #5d4b55;
|
||||
}
|
||||
|
||||
.comment-reply-btn {
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.reply-list {
|
||||
margin-top: 14rpx;
|
||||
padding: 16rpx;
|
||||
border-radius: 18rpx;
|
||||
background: var(--theme-primary-soft);
|
||||
}
|
||||
|
||||
.reply-item {
|
||||
padding: 6rpx 0;
|
||||
font-size: 24rpx;
|
||||
line-height: 1.7;
|
||||
color: #5d4b55;
|
||||
}
|
||||
|
||||
.reply-name {
|
||||
color: var(--text-primary);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.footer-bar {
|
||||
position: fixed;
|
||||
left: 24rpx;
|
||||
right: 24rpx;
|
||||
bottom: calc(env(safe-area-inset-bottom) + 20rpx);
|
||||
z-index: 20;
|
||||
display: flex;
|
||||
gap: 16rpx;
|
||||
padding: 18rpx;
|
||||
border-radius: 30rpx;
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
box-shadow: 0 18rpx 50rpx rgba(122, 67, 88, 0.12);
|
||||
}
|
||||
|
||||
.footer-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 1;
|
||||
height: 88rpx;
|
||||
border-radius: 999rpx;
|
||||
font-size: 28rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.footer-btn.secondary {
|
||||
background: var(--theme-primary-soft);
|
||||
color: var(--theme-accent);
|
||||
}
|
||||
|
||||
.footer-btn.primary {
|
||||
background: var(--theme-gradient);
|
||||
color: #ffffff;
|
||||
}
|
||||
Reference in New Issue
Block a user