<view class='page'>
  <view>
    <form bindsubmit="fromsumb">
      <input name='id' value="{{id}}" hidden="true"></input>
      <view style="background:white;padding:40rpx;margin-top:22rpx;">
        <view class="inputbox">
          <text class="fontW">拟入孵项目名称<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='name' value="{{list.name}}"></input>
        </view>
        <view class="inputbox">
          <text class="fontW">项目入园方式</text>
        </view>
        <view>
          <text class="{{index == addressIndex ? 'da' : 'da1'}}" bindtap='addressRadio' data-idx='{{index}}'
            wx:for='{{addressList}}' wx:key='index'>{{item}}</text>
        </view>

        <view class="inputbox">
          <text class="fontW">工商注册情况<text style="color: red;margin-left:10rpx">*</text></text>
          </view>
        <view>
          <text class="{{index == currentIndex ? 'da' : 'da1'}}" bindtap='radioClick' data-idx='{{index}}'
            wx:for='{{radiolist}}' wx:key='index'>{{item}}</text>
        </view>
      </view>


      <view style="background:white;padding:40rpx;margin-top:22rpx;">
        <view class="inputbox">
          <text class="fontW">拟定公司法人代表<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='operName' value="{{list.operName}}" maxlength="11"></input>
        </view>
        <view class="inputbox">
          <text class="fontW">注册资本（万元）<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='registCapi' value="{{list.registCapi}}"></input>
        </view>
       <!--
        <view class="inputbox">
          <text class="fontWs">企业性质<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='econKind' value="{{list.econKind}}"></input>
        </view>
        
        <view class="inputbox">
          <text class="fontWs">国家<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='nation' value="{{list.nation}}"></input>
        </view>  -->
        <view class="inputbox">
          <text class="fontWs">联系人姓名<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='userName' value="{{list.userName}}"></input>
        </view>
        <view class="inputbox">
          <text class="fontWs">联系人职务<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='position' value="{{list.position}}"></input>
        </view>
        <view class="inputbox">
          <text class="fontWs">联系电话<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='phone' value="{{list.phone}}" maxlength="11" type="number"></input>
        </view>
        <!--
        <view class="inputbox">
          <text class="fontWs">联系QQ<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='qq' value="{{list.qq}}"></input>
        </view> -->
        <view class="inputbox">
          <text class="fontWs">邮箱<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='email' value="{{list.email}}"></input>
        </view>
        <!--
        <view class="inputbox">
          <text class="fontWs">网址<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='site' value="{{list.site}}"></input>
        </view>
        <view class="inputbox">
          <text class="fontWs">公司人数<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='persons' value="{{list.persons}}"></input>
        </view>
        -->
        <view class="inputbox">
          <text class="fontW">是否有商业计划书<text style="color: red;margin-left:10rpx">*</text></text>
          <!--
          <image src="https://aabbcc.thinkine.com/upload/image/weixin_images/icon/r.png" mode="widthFix"
            style="width:28rpx;height:28rpx;margin-top:14rpx;margin-left:250rpx;" class="floR"></image>-->
        </view>
        <view>
          <text class="{{index == isComplianceIndex ? 'da' : 'da1'}}" bindtap='isComplianceClick' data-idx='{{index}}'
            wx:for='{{isComplianceList}}' wx:key='index'>{{item}}</text>
        </view> 
        <view class="inputbox">
          <text class="fontWs">预估年产值（万元）<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='preYearValue' value="{{list.preYearValue}}"></input>
        </view>
        <view class="inputbox">
          <text class="fontW">期望入驻时间<text style="color: red;margin-left:10rpx">*</text></text>
          <view style="border-bottom: 1rpx solid #EEEEEE;">
            <picker mode="date" value="{{startDate}}" start="{{time}}" bindchange="startDateChange">
              <text class="picker-txt">{{startDate}}</text>
            </picker>
            ~
            <picker mode="date" value="{{endDate}}" start="{{time}}" bindchange="endDateChange">
              <text class="picker-txt">{{endDate}}</text>
            </picker>
          </view>
          <!--<image src="/images/1.png" mode="widthFix"
            style="width:28rpx;height:28rpx;margin-top:14rpx;" class="floR"></image> -->
        </view>
        <view class="inputbox">
          <text class="fontWs">申请办公面积（㎡）<text style="color: red;margin-left:10rpx">*</text></text>
          <input name='applyArea' value="{{list.applyArea}}"></input>
        </view>
      </view>

      <view style="background:white;padding:40rpx;margin-top:22rpx;">
        <view class="inputbox">
          <text class="fontW">项目简介<text style="color: red;margin-left:10rpx">*</text></text>
        </view>
        <textarea maxlength="200" name='profile' value="{{list.profile}}" adjust-position='false'></textarea>
        <label class="floR">不少于50汉字</label>
      </view>

      <view style="background:white;padding:40rpx;margin-top:22rpx;">
        <view class="inputbox">
          <text class="fontW">主营产品<text style="color: red;margin-left:10rpx">*</text></text>
        </view>
        <textarea maxlength="200" name='scope' value="{{list.scope}}"></textarea>
        <label class="floR">不少于25汉字</label>
      </view>

      <view style="background:white;padding:40rpx;margin-top:22rpx;">
        <view class="inputbox">
          <text class="fontW">产品/企业优势<text style="color: red;margin-left:10rpx">*</text></text>
        </view>
        <textarea maxlength="200" name='advantage' value="{{list.advantage}}"></textarea>
        <label class="floR">不少于50汉字</label>
      </view>
       <view style="background:white;padding:40rpx;margin-top:22rpx;">
        <view class="inputbox">
          <text class="fontW">入驻原因（没有请写无）<text style="color: red;margin-left:10rpx">*</text></text>
        </view>
        <textarea maxlength="200" name='reason' value="{{list.reason}}"></textarea>
        <label class="floR">不少于25汉字</label>
      </view>
      <view style="background:white;padding:40rpx;margin-top:22rpx;">
        <view class="inputbox">
          <text class="fontW">备注</text>
        </view>
        <textarea maxlength="200" name='memo' value="{{list.memo}}"></textarea>
      </view>

      <view style="background:white;padding:40rpx;margin-top:22rpx;">
        <view class="inputbox">
          <text class="fontW">资料上传</text>
          <view style="color:#AAAAAA;font-size: 24rpx;">可上传内容：商业计划书、产品图片、营业执照副本等相关资料，格式不限</view>
          <view class='uploFile' bindtap="uploFile">上传({{applyParkFileList.length}}/9)</view>
          <view>
            <view class="fileBox" wx:for="{{applyParkFileList}}" wx:key='index'>
              <view style="width: 90rpx;display: inline-block">
                <image src="/images/home/{{item.type}}.png" mode="widthFix" style="width: 100%;"></image>
              </view>
              <view style="display: inline-block;margin-left: 30rpx;width: 70%;">
                <view style="width: 100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">
                  {{item.fileName}}
                </view>
                <view style="color:#ADADAD;font-size: 26rpx;padding-top: 14rpx;">{{item.fileSize? item.fileSize:'..'}}</view>
              </view>
              <view class="del" bindtap="delFile" data-index="{{index}}" wx:if="{{!id}}">
                <image src="/images/home/del.png" mode="widthFix" style="width:100%"></image>
              </view>
            </view>
          </view>
        </view>
      </view>
      <view class="wwBox">
        <button class="ww" formType='submit' wx:if="{{!id}}">立即申请</button>
      </view>
    </form>
  </view>
</view>