Commit 02e677ecbee2eb5e5cde82c78a633e348349971a
1 parent
a69e6055
小程序的有效天数,图片显示
Showing
1 changed file
with
3 additions
and
3 deletions
packageA/pages/cardList/cardList.wxml
@@ -10,13 +10,13 @@ | @@ -10,13 +10,13 @@ | ||
10 | <view class="flex bg-white "> | 10 | <view class="flex bg-white "> |
11 | <view> | 11 | <view> |
12 | <image class="image" src="{{imghost}}{{item.imgUrl && item.imgUrl!=''?item.imgUrl:'/miniapp/images/default_g_img.gif'}}" | 12 | <image class="image" src="{{imghost}}{{item.imgUrl && item.imgUrl!=''?item.imgUrl:'/miniapp/images/default_g_img.gif'}}" |
13 | - lazy-load="true" binderror="bind_bnerr" data-errorimg="list.pageData[{{index}}].imgUrl" | 13 | + lazy-load="true" binderror="bind_bnerr" data-errorimg="list.pageData[{{index}}].imgUrl" |
14 | /> | 14 | /> |
15 | </view> | 15 | </view> |
16 | <view class="flex fdc space-bt f1 pdl20"> | 16 | <view class="flex fdc space-bt f1 pdl20"> |
17 | <view> | 17 | <view> |
18 | <view class="pdv20 fs28"><text class="ellipsis-2">{{item.serviceName}}</text></view> | 18 | <view class="pdv20 fs28"><text class="ellipsis-2">{{item.serviceName}}</text></view> |
19 | - <view class="fs24 c7b">有效天数:{{item.validDays?item.validDays:0}}</view> | 19 | + <view class="fs24 c7b">有效天数:{{item.validDays?item.validDays:'不限'}}</view> |
20 | </view> | 20 | </view> |
21 | <view class="flex space-bt ali-c"> | 21 | <view class="flex space-bt ali-c"> |
22 | <view class="price">{{item.money}}</view> | 22 | <view class="price">{{item.money}}</view> |
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | style="margin-bottom: 20rpx;"> | 36 | style="margin-bottom: 20rpx;"> |
37 | <view style="width: 100%;"> | 37 | <view style="width: 100%;"> |
38 | <image style="width: 100%;" lazy-load="true" binderror="bind_bnerr" data-errorimg="list.pageData[{{index}}].imgUrl" | 38 | <image style="width: 100%;" lazy-load="true" binderror="bind_bnerr" data-errorimg="list.pageData[{{index}}].imgUrl" |
39 | - src="{{imghost}}{{item.imgUrl && item.imgUrl!=''?item.imgUrl:'/miniapp/images/default_g_img.gif'}}" mode="aspectFill"/></view> | 39 | + src="{{imghost}}{{item.imgUrl && item.imgUrl!=''?item.imgUrl:'/miniapp/images/default_g_img.gif'}}" mode="{{object.column=='1'?'widthFix':'aspectFit'}}"/></view> |
40 | <view class="flex fdc space-bt f1 pdl20"> | 40 | <view class="flex fdc space-bt f1 pdl20"> |
41 | <view> | 41 | <view> |
42 | <view class="pdv20 fs28"><text class="ellipsis-2">{{item.serviceName}}</text></view> | 42 | <view class="pdv20 fs28"><text class="ellipsis-2">{{item.serviceName}}</text></view> |