<navigator class="item" wx:for="{{list}}" version='develop' wx:key="sonum" target='miniProgram' app-id='wxc1b6ae925ac1d06a' path="{{'/packageA/orderForm/detail'+'?auth='+auth+'&userMsg='+userMsg+'&site='+site+'&templetList='+templetList+'$languagecode='+languagecode+'&id='+item.sa_orderid}}" url="/packageA/orderForm/detail" open-type="navigate">
    <view class="top">
        <view class="tags">
            <text wx:if="{{item.type}}">{{language[item.type]||item.type}}</text>
            <text wx:if="{{language[item.brandName]||item.brandName}}">{{language[item.brandname]||item.brandname}}</text>
            <text wx:if="{{item.tradefield}}">{{language[item.tradefield]||item.tradefield}}</text>
        </view>
        <view class="statu" style="color: {{sColors[item.status]}};">
            {{language[item.status]||item.status}}
        </view>
    </view>
    <view class="content">
        <view class="num">
            {{language['订单号']||'订单号'}}：{{item.sonum}}
        </view>
        <view class="exp">
            {{language['业务员']||'业务员'}}：{{item.salername || ' --'}}
        </view>
        <view class="exp">
            {{language['单据时间']||'单据时间'}}：{{item.billdate}}
        </view>
        <view class="exp">
            {{language['共计']||'共计'}}{{item.qty}}{{language['件商品']||'件商品'}}
        </view>
        <view class="amount">
            {{language['实付款']||'实付款'}}:{{item.amount}}
        </view>
    </view>
    <view wx:if="{{item.contacts.length||item.contactsname}}" class="bottom line-1">
        <text style="margin-right: 10rpx;">{{item.contacts[0].name||item.contactsname}}</text>
        <text style="margin-right: 10rpx;">{{item.contacts[0].phonenumber||item.contactsphonenumber}}</text>
        <text style="margin-right: 10rpx;">{{item.contacts[0].address||item.address}}</text>
    </view>

    <view wx:else class="bottom">
        {{language['暂无收货人']||'暂无收货人'}}
    </view>
</navigator>

<My_empty wx:if="{{list.length==0}}" />