<Yl_Headline title='基本信息' type='switch' switchLabel='仅显示必填信息' switch='{{showAll}}' bind:callBack='onChange' />
<Yl_field id='Form' form='{{form}}' showAll='{{!showAll}}' bind:onConfirm='onConfirm' bind:interrupt='interrupt' />
<view style="height: 112rpx;" />
<view class="new-footer" style="padding-bottom: 12rpx;">
    <van-button custom-class='new-submit query' disabled='{{countDown ||disabled|| loading}}' bindclick='queryRepetition'>{{countDown?countDown+'S':"查重"}}</van-button>
    <van-button custom-class='new-submit' disabled='{{disabled || loading}}' loading='{{loading}}' bindclick='submit'>提交</van-button>
</view>
<!-- 查重 -->
<van-popup show="{{ repetitionShow }}" custom-class='popup' round position="bottom" custom-style="height: 100%;" bind:close="repClose">
    <view class="title">
        查重
        <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">{{item.projectname}}</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>{{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>{{tag}}</van-tag>
        </view>
        <view class="exp">项目状态:{{item.status ||' --'}}</view>
        <view class="exp">项目编号:{{item.projectnum ||' --'}}</view>
        <view class="exp">项目地址:{{item.address ||' --'}}</view>
        <view class="exp">项目类型:{{item.projecttype ||' --'}}</view>
        <view class="exp">领域:{{item.tradefield||' --'}}</view>
        <view class="exp">品牌:{{item.brandname||' --'}}</view>
        <view class="exp">负责人:{{item.leader[0].name||' --'}}</view>
        <view class="exp">手机号:{{item.phonenumber||" --"}}</view>
    </navigator>
</van-popup>