diff --git a/components/goods_list/goods_list.wxss b/components/goods_list/goods_list.wxss index 9adcbbe..15429bb 100644 --- a/components/goods_list/goods_list.wxss +++ b/components/goods_list/goods_list.wxss @@ -151,6 +151,6 @@ color: #b9b9b9; } .line_th{ text-decoration: line-through} -.card_bg {display: flex; width: 106rpx;height: 28rpx; align-items: center; border-radius: 26rpx; font-size: 19rpx; +.card_bg {display: flex; width: 108rpx;height: 28rpx; align-items: center; border-radius: 26rpx; font-size: 19rpx; background: #333; color: #fff; justify-content: center; margin-left: 2rpx;} .card_bg image{ width: 19rpx; height: 19rpx; margin-right: 1rpx;} \ No newline at end of file diff --git a/pages/goods/goodsList/goodsList.wxss b/pages/goods/goodsList/goodsList.wxss index 0db3679..7f58d8a 100644 --- a/pages/goods/goodsList/goodsList.wxss +++ b/pages/goods/goodsList/goodsList.wxss @@ -155,6 +155,6 @@ width: 300rpx; } -.card_bg {display: flex; width: 106rpx;height: 28rpx; align-items: center; border-radius: 26rpx; font-size: 19rpx; -background: #333; color: #fff; justify-content: center; margin-left: 4rpx;} +.card_bg {display: flex; width: 108rpx;height: 28rpx; align-items: center; border-radius: 26rpx; font-size: 19rpx; +background: #333; color: #fff; justify-content: center; margin-left: 4rpx;margin-top:8rpx } .card_bg image{ width: 19rpx; height: 19rpx; margin-right: 1rpx;} diff --git a/pages/goods/search/search.wxss b/pages/goods/search/search.wxss index 0176b95..c280f8e 100644 --- a/pages/goods/search/search.wxss +++ b/pages/goods/search/search.wxss @@ -226,6 +226,6 @@ margin-left: 15rpx; } -.card_bg {display: flex; width: 106rpx;height: 28rpx; align-items: center; border-radius: 26rpx; font-size: 19rpx; -background: #333; color: #fff; justify-content: center; margin-left: 2rpx;} +.card_bg {display: flex; width: 108rpx;height: 28rpx; align-items: center; border-radius: 26rpx; font-size: 19rpx; +background: #333; color: #fff; justify-content: center; margin-left: 2rpx; margin-top:8rpx } .card_bg image{ width: 19rpx; height: 19rpx; margin-right: 1rpx;}