Refactor(首页):改版重构-接口对接
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
class="mark-img"
|
||||
/>
|
||||
<image
|
||||
v-if="item.isOldBrand"
|
||||
v-if="item.isLandmarkGoods"
|
||||
:src="webUrl + '/home/mark-land.png'"
|
||||
class="mark-img"
|
||||
/>
|
||||
@@ -25,12 +25,12 @@
|
||||
<view class="name more-t">
|
||||
{{ item.storeName }}
|
||||
</view>
|
||||
<view class="desc">
|
||||
{{ item.desc || '古法熬制·甄选原料' }}
|
||||
<view v-if="item.bestContent" class="desc one-t">
|
||||
{{ item.bestContent }}
|
||||
</view>
|
||||
<view class="coupon">
|
||||
<view v-if="item.couponName" class="coupon">
|
||||
<view class="tag">券</view>
|
||||
<view class="tag">5元无门槛</view>
|
||||
<view class="tag">{{ item.couponName }}</view>
|
||||
</view>
|
||||
<view class="price-wrap">
|
||||
<view class="price">
|
||||
@@ -86,8 +86,8 @@ export default {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
display: block;
|
||||
width: 344rpx;
|
||||
height: 344rpx;
|
||||
width: 345rpx;
|
||||
height: 345rpx;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.mark-img {
|
||||
@@ -108,12 +108,13 @@ export default {
|
||||
color: #333;
|
||||
}
|
||||
.desc {
|
||||
padding: 10rpx 0;
|
||||
padding: 10rpx 0 0 0;
|
||||
color: #FFC543;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.coupon {
|
||||
display: flex;
|
||||
padding: 10rpx 0 0 0;
|
||||
.tag + .tag {
|
||||
margin: 0 0 0 -1rpx;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user