页面显示优化
This commit is contained in:
@@ -112,6 +112,28 @@
|
||||
line-height: 44rpx;
|
||||
}
|
||||
|
||||
/* "购买"引导按钮:圆形加号图标,沉底右对齐 */
|
||||
.goods-card__buy {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
align-self: flex-end;
|
||||
margin-left: auto;
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
flex-shrink: 0;
|
||||
color: var(--text-inverse);
|
||||
background: var(--brand-gradient);
|
||||
border-radius: var(--radius-round);
|
||||
box-shadow: 0 4rpx 12rpx rgba(255, 95, 21, 0.28);
|
||||
transition: transform 0.16s ease, box-shadow 0.16s ease;
|
||||
}
|
||||
|
||||
.goods-card__buy--hover {
|
||||
transform: scale(0.9);
|
||||
box-shadow: 0 2rpx 6rpx rgba(255, 95, 21, 0.2);
|
||||
}
|
||||
|
||||
.goods-card__origin-price {
|
||||
order: 2;
|
||||
margin: 0 0 0 12rpx;
|
||||
|
||||
Reference in New Issue
Block a user