<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>
	</view>
	<view class="right-box">
		<view class="title line-1">{{item.groupname||'--'}}</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="type line-1">
			型号：{{item.item[0].model || ' --'}}
		</view>
		<view class="type line-1">
			规格：{{item.item[0].standards || ' --'}}
		</view>
		<view class="type line-1">
			别名：{{item.item[0].byname||' --'}}
		</view>
		<view class="type line-1">
			包装数量：{{item.item[0].packageqty || '0'}}
		</view>
		<view class="price">
			<view style="display: flex;">
				<view class="view" wx:if="{{item.minprice==item.maxprice}}">
					￥ {{handleHide.verify(item.minprice,'列表价格',privacyFieldC)}}
				</view>
				<view class="view" wx:else>
					￥ {{handleHide.verify((item.minprice+'~'+item.maxprice),'列表价格',privacyFieldC)}}
				</view>
				<view class="punit" wx:if="{{isdisplaysaleqty}}">已售{{((item.item[0].soldbase-0)+(item.item[0].saleqty-0))||0}}{{item.unitname}}</view>
			</view>
			<view wx:if="{{!item.isscheme}}" class="shopping" data-item="{{item}}" data-index="{{index}}" catchtap="buyMore">
				<view hover-class="navigator-hover" wx:if="{{isShowFavorites}}" url="#" data-name="收藏" class="{{item.item[0].iscollection?'cuIcon-favorfill':'cuIcon-favor'}} cuIcon" style="color:{{item.item[0].iscollection?'#FADB14':''}}" />
				<view hover-class="navigator-hover" url="#" data-name="购物车" class="iconfont icon-gouwuche" />
			</view>
		</view>
	</view>
</navigator>
<Yl_Empty wx:if="{{list.length === 0}}" />

<wxs src="/utils/hidePrice.wxs" module="handleHide" />