<My_empty wx:if="{{list.length==0}}" />
<navigator class="offer-list" url="/packageA/contract/detail?id={{item.sa_contractid}}" wx:for="{{list}}" wx:key="billno">
    <view class="title">
        <text class="line-1">{{item.title}}</text>
        <view class="status" style="background-color: {{sColors[item.status]}};">{{language[item.status]||item.status}}</view>
    </view>
    <view class="tag-box">
        <view class="systemtag" wx:for="{{item.tags.systemtag}}" wx:key="item">{{language[item]||item}}</view>
        <view class="datatag" wx:for="{{item.tags.datatag}}" wx:key="item">{{language[item]||item}}</view>
    </view>
    <view class="exp line-1">{{language['合同编号']||'合同编号'}}：<text>{{item.billno}}</text></view>
    <view class="exp line-1">{{language['合同类型']||'合同类型'}}：<text>{{item.typemx?(language[item.typemx+'项目协议']||item.typemx+'项目协议'):(language[handle.getType(item.type)]||handle.getType(item.type))}}</text></view>
    <view class="exp line-1">{{language['有效期']||'有效期'}}：<text>{{item.begdate}} {{language['至']||'至'}} {{item.enddate}}</text></view>
</navigator>

<wxs module="handle" src='../type.wxs' />