From f80615211619cfbe628707dfb6b912bde27062c5 Mon Sep 17 00:00:00 2001 From: kele <1184860403@qq.com> Date: Sat, 18 Mar 2023 18:53:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheep/components/s-live-card/s-live-card.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/sheep/components/s-live-card/s-live-card.vue b/sheep/components/s-live-card/s-live-card.vue index 7f7a760f..caf9c7dc 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 {