fix:调整间距

pull/8/head
kele 2023-03-18 18:53:12 +08:00
parent 0acf53b3bb
commit f806152116
1 changed files with 12 additions and 6 deletions

View File

@ -11,7 +11,7 @@
<view class="md-goods-title ss-line-1" :style="[{ color: titleColor }]"> <view class="md-goods-title ss-line-1" :style="[{ color: titleColor }]">
{{ data.name }} {{ data.name }}
</view> </view>
<view class="md-goods-subtitle ss-m-t-20 ss-line-1" :style="[{ color: subTitleColor }]"> <view class="md-goods-subtitle ss-m-t-14 ss-line-1" :style="[{ color: subTitleColor }]">
主播{{ data.anchor_name }} 主播{{ data.anchor_name }}
</view> </view>
</view> </view>
@ -27,7 +27,7 @@
<view class="sl-goods-title ss-line-1" :style="[{ color: titleColor }]"> <view class="sl-goods-title ss-line-1" :style="[{ color: titleColor }]">
{{ data.name }} {{ data.name }}
</view> </view>
<view class="sl-goods-subtitle ss-m-t-20 ss-line-1" :style="[{ color: subTitleColor }]"> <view class="sl-goods-subtitle ss-m-t-14 ss-line-1" :style="[{ color: subTitleColor }]">
主播{{ data.anchor_name }} 主播{{ data.anchor_name }}
</view> </view>
</view> </view>
@ -153,8 +153,11 @@
} }
.md-goods-content { .md-goods-content {
position: absolute; position: absolute;
left: 20rpx; left: 0;
bottom: 20rpx; 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 { .md-img-box {
@ -202,8 +205,11 @@
} }
.sl-goods-content { .sl-goods-content {
position: absolute; position: absolute;
left: 20rpx; left: 0;
bottom: 20rpx; 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 { .sl-img-box {