小程序产品页面优化,及添加忽略文件

This commit is contained in:
Dev
2026-09-21 16:27:14 +08:00
parent 8591e5e99f
commit bd24456aa3
24 changed files with 513 additions and 768 deletions
@@ -1,112 +1,31 @@
.footer-cont {
display: flex;
align-items: center;
padding: 16rpx 24rpx;
background-color: var(--bg-card);
padding: 16rpx;
box-shadow: 0 -4rpx 20rpx rgba(29, 33, 41, 0.04);
}
.icon-warp {
width: 110rpx;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.operate-wrap {
position: relative;
}
.bottom-operate-left {
width: 100%;
}
.bottom-operate-left .icon-warp {
width: 50%;
}
.tag-cart-num {
display: inline-block;
position: absolute;
left: 50rpx;
right: auto;
top: 6rpx;
color: var(--text-inverse);
line-height: 24rpx;
text-align: center;
z-index: 99;
white-space: nowrap;
min-width: 28rpx;
border-radius: 14rpx;
background-color: var(--error) !important;
font-size: 20rpx;
font-weight: 400;
padding: 2rpx 6rpx;
}
.operate-text {
color: var(--text-secondary);
font-size: 20rpx;
}
.soldout {
height: 80rpx;
background: var(--text-disabled);
width: 100%;
color: var(--text-inverse);
border-radius: var(--radius-round);
}
.addCart-disabled,
.bar-addCart-disabled {
background: var(--bg-grey) !important;
color: var(--text-disabled) !important;
font-size: 28rpx;
}
.buyNow-disabled,
.bar-buyNow-disabled {
background: var(--bg-grey) !important;
color: var(--text-disabled) !important;
font-size: 28rpx;
}
.bar-separately,
.bar-buy {
width: 254rpx;
height: 80rpx;
color: var(--text-inverse);
display: flex;
align-items: center;
justify-content: center;
font-size: 28rpx;
font-weight: 500;
}
.bar-separately {
background: var(--brand-light-2);
color: var(--brand);
border-radius: 40rpx 0 0 40rpx;
}
.bar-buy {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
height: 88rpx;
font-size: 30rpx;
font-weight: 600;
color: var(--text-inverse);
background: var(--brand-gradient);
border-radius: 0rpx 40rpx 40rpx 0rpx;
border-radius: var(--radius-round);
box-shadow: var(--shadow-brand);
transition: opacity 0.16s ease;
}
.flex {
display: flex;
display: -webkit-flex;
.bar-buy--hover {
opacity: 0.88;
}
.flex-center {
justify-content: center;
-webkit-justify-content: center;
align-items: center;
-webkit-align-items: center;
}
.flex-between {
justify-content: space-between;
-webkit-justify-content: space-between;
.bar-buy-disabled {
color: var(--text-disabled) !important;
background: var(--bg-grey) !important;
box-shadow: none;
}