<Yl_Headline title='基本信息' bind:callBack='onChange' />
<Yl_field id='Form' form='{{form}}' showAll='{{!showAll}}' bind:onConfirm='onConfirm' bind:interrupt="interrupt" />
<view style="height: 140rpx;" />
<view class="new-footer">
    <van-button custom-class='new-submit query' disabled='{{countDown ||disabled|| loading}}' bindclick='queryRepetition'>{{countDown?countDown+'S':language['查重']||"查重"}}</van-button>
    <van-button custom-class='new-submit' disabled='{{disabled}}' bindclick='submit'>{{language['提交']||'提交'}}</van-button>
</view>

<!-- 查重 -->
<van-popup show="{{ repetitionShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;" bind:close="repClose">
    <view class="title">
        {{language['查重']||"查重"}}
        <van-icon custom-class='icon' size='40rpx' name="cross" bindtap="repClose" />
    </view>
    <navigator url="#" class="enterprise" wx:for="{{repetitionList}}" wx:key="sa_projectid">
        <view class="enterprise_title"><text wx:for="{{item.projectname}}" wx:key="i" wx:for-item="it" wx:for-index="i" style="color: {{it.color}};">{{it.text}}</text></view>
        <view class="tag-box">
            <van-tag custom-class='tag' wx:for="{{item.tag_sys}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
            <van-tag custom-class='tag' wx:for="{{item.tag}}" wx:key="index" wx:for-item='tag' color='#FA8C16' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
        </view>
        <view class="exp" style="color: {{item.chars['status'] ? 'red' : '#666666'}}">{{language['项目状态']||"项目状态"}}:{{item.status ||' --'}}</view>
        <view class="exp" style="color: {{item.chars['projectnum'] ? 'red' : '#666666'}}">{{language['项目编号']||"项目编号"}}:{{item.projectnum ||' --'}}</view>
        <view class="exp" style="color: {{item.chars['address'] ? 'red' : '#666666'}}">{{language['项目地址']||"项目地址"}}:{{item.province + item.city + item.county + item.address}}</view>
        <view class="exp" style="color: {{item.chars['projecttype'] ? 'red' : '#666666'}}">{{language['项目类型']||"项目类型"}}:{{item.projecttype ||' --'}}</view>
        <view class="exp" style="color: {{item.chars['tradefield'] ? 'red' : '#666666'}}">{{language['领域']||"领域"}}:{{item.tradefield||' --'}}</view>
        <view class="exp" style="color: {{item.chars['brandname'] ? 'red' : '#666666'}}">{{language['品牌']||"品牌"}}:{{item.brandname||' --'}}</view>
        <view class="exp" style="color: {{item.chars['leader'] ? 'red' : '#666666'}}">{{language['负责人']||"负责人"}}:{{item.leader[0].name||' --'}}</view>
        <view class="exp" style="color: {{item.chars['phonenumber'] ? 'red' : '#666666'}}">{{language['手机号']||"手机号"}}:{{item.phonenumber||" --"}}</view>
    </navigator>
</van-popup>
<projectname id="projectname" siteid='{{siteid}}' />