diff --git a/packages/advertising/index/index.css b/packages/advertising/index/index.css index c45833b0..816552bc 100644 --- a/packages/advertising/index/index.css +++ b/packages/advertising/index/index.css @@ -185,11 +185,11 @@ /* 购物车按钮 */ .shop_car { - width: 140rpx; - height: 140rpx; - position: fixed; - right: 33rpx; - bottom: 80rpx; + width: 100rpx; + height: 100rpx; + position: absolute; + bottom: 100rpx; + right: 10rpx; z-index: 10; } @@ -200,8 +200,9 @@ .u-badge { position: absolute; - right: 0; - top: -10rpx; + right: 10rpx; + top: 3rpx; + z-index: 11; } /* 规格标签样式 */ diff --git a/packages/shop/groupPurchase/index.css b/packages/shop/groupPurchase/index.css index dd423923..e8d9f124 100644 --- a/packages/shop/groupPurchase/index.css +++ b/packages/shop/groupPurchase/index.css @@ -206,11 +206,11 @@ /* 购物车按钮 */ .shop_car { - width: 140rpx; - height: 140rpx; - position: fixed; - right: 33rpx; - bottom: 80rpx; + width: 100rpx; + height: 100rpx; + position: absolute; + bottom: 100rpx; + right: 10rpx; z-index: 10; } @@ -221,8 +221,9 @@ .u-badge { position: absolute; - right: 0; - top: -10rpx; + right: 10rpx; + top: 3rpx; + z-index: 11; } /* 规格标签样式 */ diff --git a/packages/shop/index/index.css b/packages/shop/index/index.css index 7ed9c50f..e41fcca6 100644 --- a/packages/shop/index/index.css +++ b/packages/shop/index/index.css @@ -577,8 +577,8 @@ page { } .shop_car { - width: 140rpx; - height: 140rpx; + width: 100rpx; + height: 100rpx; position: absolute; bottom: 100rpx; right: 10rpx; @@ -592,9 +592,8 @@ page { .u-badge { position: absolute; - right: 70rpx; - /* 调整角标位置,使其在隐藏状态下也能看到 */ - top: -10rpx; + right: 10rpx; + top: 3rpx; z-index: 11; }