<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;">{{language['暂无图片']||'暂无图片'}}</text>
                </van-image>
            </view>
            <view class="dec">
                <view class="title line-1">
                    {{item.itemname}}
                </view>
                <view class="subfield">
                    {{language['编号']||'编号'}}:{{item.itemno}}
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">{{language['品牌']||'品牌'}}:{{language[item.brandName]||item.brandName}}</text>
                    <text class="line-1">{{language['产品类别']||'产品类别'}}:{{language[item.className]||item.className}}</text>
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">{{language['规格']||'规格'}}:{{language[item.spec]||item.spec||' --'}}</text>
                    <text class="line-1">{{language['型号']||'型号'}}:{{language[item.model]||item.model||' --'}}</text>
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">{{language['牌价']||'牌价'}}:{{item.marketprice||' --'}}</text>
                    <view class="money line-1">
                        {{language['总金额']||'总金额'}}：<text>￥{{item.outamount}}</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">{{language['数量']||'数量'}}({{language[item.unitname]||item.unitname}})：</view>
                <input class="input" style="width: 180rpx;" type="digit" disabled="{{!disabled}}" value="{{item.outqty}}" data-name="outqty" data-index="{{index}}" bindblur="onBlur" />
            </view>
            <view>
                <view class="label">{{language['单价(元)']||'单价(元)'}}：</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}}" />