3 changed files with 397 additions and 7 deletions
@ -1,5 +1,6 @@ |
|||||||
export default { |
export default definePageConfig({ |
||||||
navigationBarTitleText: '商品消费', |
navigationBarTitleText: '商品消费', |
||||||
navigationBarBackgroundColor: '#FFFFFF', |
navigationBarBackgroundColor: '#fff', |
||||||
navigationBarTextStyle: 'black', |
navigationBarTextStyle: 'black', |
||||||
} |
backgroundColor: '#F2F3F5', |
||||||
|
}) |
||||||
|
|||||||
@ -1,5 +1,166 @@ |
|||||||
.goods-cons-page { |
.goods-cons-page { |
||||||
min-height: 100vh; |
min-height: 100vh; |
||||||
background-color: #F2F3F5; |
background-color: #F2F3F5; |
||||||
padding: 30px; |
|
||||||
|
// 状态 Tab:未支付/已支付/退款 |
||||||
|
.status-tab-container { |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
background-color: none; |
||||||
|
padding: 0 30px; |
||||||
|
position: relative; |
||||||
|
|
||||||
|
.status-tabs { |
||||||
|
flex: 1; |
||||||
|
.taroify-tabs__wrap{ |
||||||
|
.taroify-tabs__wrap__scroll{ |
||||||
|
background: none !important; |
||||||
|
|
||||||
|
.wx-scroll-view{ |
||||||
|
.wx-scroll-view{ |
||||||
|
.taroify-tabs__nav{ |
||||||
|
background: none !important; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
:global { |
||||||
|
// 未选中 Tab |
||||||
|
.taroify-tabs__tab { |
||||||
|
font-size: 30px !important; |
||||||
|
color: #8B8B8B !important; |
||||||
|
} |
||||||
|
|
||||||
|
// 选中 Tab |
||||||
|
.taroify-tabs__tab--active { |
||||||
|
color: #03C175 !important; |
||||||
|
} |
||||||
|
|
||||||
|
// 选中指示线 |
||||||
|
.taroify-tabs__line { |
||||||
|
background-color: #03C175 !important; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// 筛选按钮 |
||||||
|
.filter-btn { |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
gap: 5px; |
||||||
|
padding: 10px 0; |
||||||
|
|
||||||
|
.filter-text { |
||||||
|
font-size: 30px; |
||||||
|
color: #8B8B8B; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// 订单列表 |
||||||
|
.order-list { |
||||||
|
padding: 30px; |
||||||
|
|
||||||
|
// 订单卡片 |
||||||
|
.order-card { |
||||||
|
background-color: #FFFFFF; |
||||||
|
border-radius: 12px; |
||||||
|
padding: 30px; |
||||||
|
margin-bottom: 30px; |
||||||
|
|
||||||
|
// 标题行:时间 + 状态 |
||||||
|
.card-header { |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
justify-content: space-between; |
||||||
|
margin-bottom: 30px; |
||||||
|
|
||||||
|
.time { |
||||||
|
font-size: 33px; |
||||||
|
color: #000000; |
||||||
|
font-weight: 500; |
||||||
|
} |
||||||
|
|
||||||
|
.status-with-arrow { |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
gap: 5px; |
||||||
|
|
||||||
|
.status { |
||||||
|
font-size: 33px; |
||||||
|
|
||||||
|
&.unpaid { |
||||||
|
color: #FF3B30; |
||||||
|
} |
||||||
|
|
||||||
|
&.paid { |
||||||
|
color: #8B8B8B; |
||||||
|
} |
||||||
|
|
||||||
|
&.refund { |
||||||
|
color: #8B8B8B; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// 订单信息 |
||||||
|
.card-info { |
||||||
|
display: flex; |
||||||
|
flex-direction: column; |
||||||
|
gap: 20px; |
||||||
|
margin-bottom: 30px; |
||||||
|
|
||||||
|
.info-row { |
||||||
|
display: flex; |
||||||
|
align-items: flex-start; |
||||||
|
justify-content: space-between; |
||||||
|
|
||||||
|
.info-label { |
||||||
|
font-size: 30px; |
||||||
|
color: #333333; |
||||||
|
flex-shrink: 0; |
||||||
|
} |
||||||
|
|
||||||
|
.info-value { |
||||||
|
font-size: 30px; |
||||||
|
color: #595959; |
||||||
|
text-align: right; |
||||||
|
word-break: break-all; |
||||||
|
flex: 1; |
||||||
|
margin-left: 20px; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// 立即支付按钮 |
||||||
|
.pay-btn { |
||||||
|
width: 100%; |
||||||
|
height: 88px; |
||||||
|
background: #03C175; |
||||||
|
border-radius: 12px; |
||||||
|
border: none; |
||||||
|
font-weight: 400; |
||||||
|
font-size: 31px; |
||||||
|
color: #FFFFFF; |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
justify-content: center; |
||||||
|
margin-top: 30px; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
// 到底了提示 |
||||||
|
.list-end { |
||||||
|
text-align: center; |
||||||
|
padding: 40px 0; |
||||||
|
|
||||||
|
.end-text { |
||||||
|
font-size: 25px; |
||||||
|
color: #999999; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
} |
} |
||||||
|
|||||||
Loading…
Reference in new issue