商品以及商品详情
This commit is contained in:
+61
-78
@@ -80,8 +80,8 @@
|
||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
/* ========== 统一板块 ========== */
|
||||
.main-tabs-section {
|
||||
/* ========== 推荐商家 section ========== */
|
||||
.recommended-shops-section {
|
||||
margin: 0 24px 20px;
|
||||
background: #fff;
|
||||
border-radius: 16px;
|
||||
@@ -89,92 +89,72 @@
|
||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
/* 校园商城内容 */
|
||||
.mall-content {
|
||||
padding: 16px 20px 24px;
|
||||
}
|
||||
|
||||
/* 分类标签 */
|
||||
.category-scroll {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.category-tabs {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
white-space: nowrap;
|
||||
|
||||
.category-tab {
|
||||
flex-shrink: 0;
|
||||
padding: 10px 24px;
|
||||
border-radius: 32px;
|
||||
background: #f7f8fa;
|
||||
font-size: 26px;
|
||||
color: #646566;
|
||||
transition: all 0.2s;
|
||||
|
||||
&.active {
|
||||
background: #1989fa;
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 商品双列网格 */
|
||||
.product-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 16px;
|
||||
margin-bottom: 20px;
|
||||
|
||||
.empty-grid {
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
padding: 40px 0;
|
||||
font-size: 28px;
|
||||
color: #c8c9cc;
|
||||
}
|
||||
}
|
||||
|
||||
/* 商家入驻入口 */
|
||||
.merchant-join-card {
|
||||
.section-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 20px 24px;
|
||||
background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
|
||||
border: 1px dashed #1989fa;
|
||||
border-radius: 12px;
|
||||
padding: 24px 24px 12px;
|
||||
|
||||
.join-content {
|
||||
.section-title-wrap {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.section-emoji {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.section-subtitle {
|
||||
font-size: 22px;
|
||||
color: #969799;
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.section-more {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
.join-icon { font-size: 48px; }
|
||||
.section-more-text {
|
||||
font-size: 24px;
|
||||
color: #1989fa;
|
||||
}
|
||||
|
||||
.join-text-wrap {
|
||||
.join-title {
|
||||
display: block;
|
||||
font-size: 30px;
|
||||
font-weight: 500;
|
||||
color: #1a1a1a;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.section-more-arrow {
|
||||
font-size: 28px;
|
||||
color: #1989fa;
|
||||
margin-left: 2px;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.join-desc {
|
||||
font-size: 24px;
|
||||
color: #969799;
|
||||
}
|
||||
.recommended-shops-list {
|
||||
/* 卡片之间用 1px 顶边线分割 */
|
||||
.shop-card {
|
||||
padding: 20px 20px;
|
||||
|
||||
.shop-image-wrap {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.join-arrow {
|
||||
font-size: 36px;
|
||||
color: #1989fa;
|
||||
font-weight: 300;
|
||||
}
|
||||
/* ========== 统一板块 ========== */
|
||||
.main-tabs-section {
|
||||
margin: 0 24px 20px;
|
||||
background: #fff;
|
||||
border-radius: 16px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
|
||||
/* 文章列表内容 */
|
||||
@@ -224,8 +204,11 @@
|
||||
}
|
||||
|
||||
.meta-read {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
.meta-comment {
|
||||
margin-left: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user