Browse Source

图片范围

xiaohaizhao 2 years ago
parent
commit
f78e06bf69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      select/activity/index.wxml

+ 1 - 1
select/activity/index.wxml

@@ -8,7 +8,7 @@
 	<navigator class="product" url="#" wx:for="{{list}}" wx:key="index" data-id="{{item[idname]}}" bindtap="changeResult">
 		<van-checkbox wx:if="{{!radio}}" value="{{ handle.isCheck(item[idname],result) }}" shape="square" icon-size='28rpx' />
 		<view class="image-box">
-			<van-image width="100%" wx:if="{{item.attinfos[0]}}" height="100%" fit="cover" src="{{item.attinfos[0].subfiles[0].url}}" use-loading-slot use-error-slot lazy-load>
+			<van-image width="100%" wx:if="{{item.attinfos[0]}}" height="100%" fit="cover" src="{{item.attinfos[0].subfiles[0].url||item.attinfos[0].url}}" use-loading-slot use-error-slot lazy-load>
 				<van-loading slot="loading" type="spinner" size="20" vertical />
 				<text slot="error">加载失败</text>
 			</van-image>