@@ -106,7 +106,10 @@ | |||||
float: left; | float: left; | ||||
} | } | ||||
.price{ | .price{ | ||||
width: 210rpx; | |||||
width: 128rpx; | |||||
overflow: hidden; | |||||
text-overflow:ellipsis; | |||||
white-space:nowrap; | |||||
font-size: 22rpx; | font-size: 22rpx; | ||||
text-decoration:line-through; | text-decoration:line-through; | ||||
float: left; | float: left; | ||||
@@ -117,10 +120,14 @@ | |||||
float: left; | float: left; | ||||
} | } | ||||
.sale{ | .sale{ | ||||
width: 210rpx; | |||||
font-size: 32rpx; | font-size: 32rpx; | ||||
float: left; | float: left; | ||||
margin-top: -8rpx; | margin-top: -8rpx; | ||||
width: 128rpx; | |||||
overflow: hidden; | |||||
text-overflow:ellipsis; | |||||
white-space:nowrap; | |||||
} | } | ||||
.sale text{ | .sale text{ | ||||
font-size: 20rpx!important; | font-size: 20rpx!important; | ||||
@@ -21,6 +21,7 @@ Page({ | |||||
id: 0 | id: 0 | ||||
} | } | ||||
], | ], | ||||
noCoupon: imgurl.noCoupon.url, | |||||
couponUrl: imgurl.coupon.url, | couponUrl: imgurl.coupon.url, | ||||
loadingUrl: imgurl.loading.url, | loadingUrl: imgurl.loading.url, | ||||
wmhome: imgurl.wmhome.url, | wmhome: imgurl.wmhome.url, | ||||
@@ -10,7 +10,7 @@ | |||||
</view> | </view> | ||||
<view class='cards clearfix'> | <view class='cards clearfix'> | ||||
<view class="nocoupon" wx:if="{{list.length==0}}"> | <view class="nocoupon" wx:if="{{list.length==0}}"> | ||||
<image src="{{couponUrl}}" mode="aspectFill" lazy-load="true" /> | |||||
<image src="{{noCoupon}}" mode="aspectFill" lazy-load="true" /> | |||||
<text class="txt001">请您敬请期待</text> | <text class="txt001">请您敬请期待</text> | ||||
<text class='txt002'>我们正在筹备一大波优惠活动</text> | <text class='txt002'>我们正在筹备一大波优惠活动</text> | ||||
<navigator class='nav' url="/pages/main/index" open-type="switchTab" hover-class="other-navigator-hover"> | <navigator class='nav' url="/pages/main/index" open-type="switchTab" hover-class="other-navigator-hover"> | ||||
@@ -454,5 +454,5 @@ button::after{ border: none; } | |||||
.frHr{ | .frHr{ | ||||
float: left; | float: left; | ||||
margin-left: 12rpx; | margin-left: 12rpx; | ||||
margin-top: 22rpx; | |||||
margin-top:18rpx; | |||||
} | } |