diff --git a/sheep/components/s-live-card/s-live-card.vue b/sheep/components/s-live-card/s-live-card.vue index 7f7a760..caf9c7d 100644 --- a/sheep/components/s-live-card/s-live-card.vue +++ b/sheep/components/s-live-card/s-live-card.vue @@ -11,7 +11,7 @@ {{ data.name }} - + 主播:{{ data.anchor_name }} @@ -27,7 +27,7 @@ {{ data.name }} - + 主播:{{ data.anchor_name }} @@ -153,8 +153,11 @@ } .md-goods-content { position: absolute; - left: 20rpx; - bottom: 20rpx; + left: 0; + bottom: 0; + padding: 20rpx; + width: 100%; + background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.02) 100%); } .md-img-box { @@ -202,8 +205,11 @@ } .sl-goods-content { position: absolute; - left: 20rpx; - bottom: 20rpx; + left: 0; + bottom: 0; + padding: 20rpx; + width: 100%; + background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.02) 100%); } .sl-img-box {