<view class="product-item" wx:for="{{list}}" wx:key="sa_project_itemsid">
    <navigator class="product" url="#">
        <view class="mian">
            <view class="img" data-file="{{item.attinfos}}" catchtap="viewImage">
                <van-image width="100%" height="100%" src="{{item.cover}}" use-loading-slot use-error-slot lazy-load>
                    <van-loading slot="loading" type="spinner" size="20" vertical />
                    <text slot="error" style="font-size: 24rpx;">暂无图片</text>
                </van-image>
            </view>
            <view class="dec">
                <view class="title line-1">
                    {{item.itemname}}
                </view>
                <view class="subfield">
                    编号:{{item.itemno}}
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">品牌:{{item.brandName}}</text>
                    <text class="line-1">产品类别:{{item.className}}</text>
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">规格:{{item.spec||' --'}}</text>
                    <text class="line-1">型号:{{item.model||' --'}}</text>
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">牌价:{{item.marketprice||' --'}}</text>
                    <view class="money line-1">
                        总金额：<text>{{item.amount}}</text>
                    </view>
                </view>
                <view class="delete" wx:if="{{disabled}}" data-item="{{item}}" catchtap="deleteProduct">
                    <text class="iconfont icon-guanlian-shanchu" />
                </view>
            </view>
        </view>
    </navigator>
    <view class="bot">
        <view class="row">
            <view style="margin-right: 40rpx;">
                <view class="label">数量({{item.unitname}})：</view>
                <input class="input" style="width: 180rpx;" type="digit" disabled="{{!disabled}}" value="{{item.qty}}" data-name="qty" data-index="{{index}}" bindblur="onBlur" />
            </view>
            <view>
                <view class="label">单价（元）：</view>
                <input class="input" style="width: 180rpx;" type="digit" disabled="{{!disabled}}" value="{{item.price}}" data-name="price" data-index="{{index}}" bindblur="onBlur" />
            </view>
        </view>
    </view>
</view>
<My_empty wx:if="{{list.length==0}}" />