修改购物车图标样式

This commit is contained in:
赵毅 2025-11-18 15:52:01 +08:00
parent 3a19012532
commit 29a85527ef
3 changed files with 20 additions and 19 deletions

View File

@ -185,11 +185,11 @@
/* 购物车按钮 */ /* 购物车按钮 */
.shop_car { .shop_car {
width: 140rpx; width: 100rpx;
height: 140rpx; height: 100rpx;
position: fixed; position: absolute;
right: 33rpx; bottom: 100rpx;
bottom: 80rpx; right: 10rpx;
z-index: 10; z-index: 10;
} }
@ -200,8 +200,9 @@
.u-badge { .u-badge {
position: absolute; position: absolute;
right: 0; right: 10rpx;
top: -10rpx; top: 3rpx;
z-index: 11;
} }
/* 规格标签样式 */ /* 规格标签样式 */

View File

@ -206,11 +206,11 @@
/* 购物车按钮 */ /* 购物车按钮 */
.shop_car { .shop_car {
width: 140rpx; width: 100rpx;
height: 140rpx; height: 100rpx;
position: fixed; position: absolute;
right: 33rpx; bottom: 100rpx;
bottom: 80rpx; right: 10rpx;
z-index: 10; z-index: 10;
} }
@ -221,8 +221,9 @@
.u-badge { .u-badge {
position: absolute; position: absolute;
right: 0; right: 10rpx;
top: -10rpx; top: 3rpx;
z-index: 11;
} }
/* 规格标签样式 */ /* 规格标签样式 */

View File

@ -577,8 +577,8 @@ page {
} }
.shop_car { .shop_car {
width: 140rpx; width: 100rpx;
height: 140rpx; height: 100rpx;
position: absolute; position: absolute;
bottom: 100rpx; bottom: 100rpx;
right: 10rpx; right: 10rpx;
@ -592,9 +592,8 @@ page {
.u-badge { .u-badge {
position: absolute; position: absolute;
right: 70rpx; right: 10rpx;
/* 调整角标位置,使其在隐藏状态下也能看到 */ top: 3rpx;
top: -10rpx;
z-index: 11; z-index: 11;
} }