consumer模块完成度95%,优化安卓端界面和小程序测试

This commit is contained in:
cyh666666
2026-03-11 17:17:32 +08:00
parent 5517c93666
commit 77f9968d18
622 changed files with 3100 additions and 1995 deletions

View File

@@ -145,6 +145,8 @@
</view>
</view>
</view>
<!-- 底部占位符:确保内容不被原生 TabBar 遮挡 -->
<view class="tabbar-safe-area"></view>
</scroll-view>
<!-- 底部结算栏 - 已移除,移动到内容区域 -->
@@ -966,7 +968,89 @@ const goToCheckout = () => {
/* 必须设置 height: 0 或 overflow: hidden 可以在 flex 容器中正确收缩 */
height: 0px;
width: 100%;
padding-bottom: 60px; /* 为底部结算栏留出空间 */
padding-bottom: 20px; /* 减小内边距,因为结算栏已在内容流中 */
}
/* 购物车操作栏 (移至推荐商品上方) */
.cart-action-bar {
background-color: white;
margin: 10px;
border-radius: 12px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
z-index: 10;
}
.action-bar-content {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 12px 15px;
}
.action-left {
display: flex;
flex-direction: row;
align-items: center;
}
.action-right {
display: flex;
flex-direction: row;
align-items: center;
}
.select-all {
display: flex;
flex-direction: row;
align-items: center;
}
.select-all-text {
font-size: 14px;
color: #333;
margin-left: 8px;
}
.total-info {
display: flex;
flex-direction: row;
align-items: baseline;
margin-right: 15px;
}
.total-text {
font-size: 14px;
color: #666;
}
.total-price {
font-size: 18px;
color: #ff5000;
font-weight: bold;
margin-left: 4px;
}
.checkout-btn {
background-color: #ff5000;
color: white;
border: none;
border-radius: 20px;
padding: 8px 15px;
font-size: 14px;
font-weight: bold;
min-width: 100px;
}
.delete-btn {
background-color: #fff;
color: #ff5000;
border: 1px solid #ff5000;
border-radius: 20px;
padding: 8px 15px;
font-size: 14px;
font-weight: bold;
min-width: 100px;
}
/* 空购物车 */
@@ -1672,5 +1756,11 @@ const goToCheckout = () => {
width: 1400px; /* max-width -> width */
}
}
.tabbar-safe-area {
height: 100px;
width: 100%;
background-color: transparent;
}
</style>