<navigator class="product" bindtap="toDetail" data-item="{{item}}" url="#" wx:for="{{list}}" wx:key="index">
	<view class="image-box">
		<van-image width="100%" wx:if="{{item.attinfos[0]||item.cover}}" height="100%" fit="cover" src="{{item.attinfos[0].subfiles[0].url||item.attinfos[0].url||item.cover}}" use-loading-slot use-error-slot lazy-load>
			<van-loading slot="loading" type="spinner" size="20" vertical />
			<text slot="error">加载失败</text>
		</van-image>
		<van-image wx:else width="100%" height="100%" fit="cover" src="https://nb32663.obs.cn-east-2.myhuaweicloud.com:443/202302271677472008916B382a8d8b.jpg" use-loading-slot use-error-slot lazy-load>
			<van-loading slot="loading" type="spinner" size="20" vertical />
			<text slot="error">加载失败</text>
		</van-image>
	</view>
	<view class="right-box">
		<view class="title line-1">{{item.groupname||'--'}}</view>
		<view class="type line-1">{{item.groupnum||'--'}}</view>
		<view class="tags">
			<view style="background: #FA8C16;">
				{{item.brandname}}
			</view>
			<view wx:if="{{item.tradefield}}" style="background: #FF3B30;">
				{{item.tradefield}}
			</view>
		</view>
		<view class="price">
			<view>
				￥ {{item.minprice}}~{{item.maxprice}}
			</view>
			<text>× {{item.unitname}}</text>
		</view>
	</view>
</navigator>
<Yl_Empty wx:if="{{list.length === 0}}" />