Commit 7df29860d2ca43c866287cce93d9712c5802de00
1 parent
fc5a1f85
展示的图片的优化
Showing
1 changed file
with
2 additions
and
3 deletions
pages/index/index/index.wxml
| ... | ... | @@ -112,13 +112,12 @@ |
| 112 | 112 | </view> |
| 113 | 113 | </view> |
| 114 | 114 | |
| 115 | - | |
| 116 | - | |
| 117 | 115 | <!-- 大分类 --> |
| 118 | 116 | <view class="flex-center-around"> |
| 119 | 117 | <view wx:for="{{gd_category}}" bindtap="go_cate2" data-cid="{{item.id}}" data-pid="0"> |
| 120 | 118 | <view class="circle xc-class-frame t-c"> |
| 121 | - <image class="xc-class-img" src="{{item.icoimg==null||item.icoimg==''?(item.icon?url+item.icon:''):item.icoimg}}" binderror="bind_bnerr_icon" data-err="gd_category[{{index}}].icon"></image> | |
| 119 | + <image class="xc-class-img" src="{{item.icoimg==null||item.icoimg==''?(item.image?url+item.image:url+'/miniapp/images/no_cate_def.png'):item.icoimg}}" | |
| 120 | + binderror="bind_bnerr_icon" data-err="gd_category[{{index}}].icon"></image> | |
| 122 | 121 | <view class="fs24 gonju ellipsis-1">{{item.name}}</view> |
| 123 | 122 | </view> |
| 124 | 123 | </view> | ... | ... |