<view>
  <form bindsubmit="fromsumb">
    <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}}" type="text"></input>
      </view>
      <view class="inputbox">
        <text class="fontW">企业入园方式</text>
        <input name='address' disabled="true" value="{{address}}" hidden="true"></input>
        <!--
        <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 == addressIndex ? 'da' : 'da1'}}" bindtap='addressRadio' data-idx='{{index}}'
          wx:for='{{addressList}}' 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" type="text"></input>
      </view>
      <view class="inputbox">
        <text class="fontWs">所需办公面积（m²）<text style="color: red;margin-left:10rpx">*</text></text>
        <input name='needArea' value="{{list.needArea}}" type="number"></input>
      </view>
      <view class="inputbox">
        <text class="fontW">首批入驻人数（人）<text style="color: red;margin-left:10rpx">*</text></text>
        <input name='persons' value="{{list.persons}}" type="number"></input>
      </view>
      <view class="inputbox">
        <text class="fontW">申请入驻时间<text style="color: red;margin-left:10rpx">*</text></text>
        <picker mode="date" value="{{date}}" start="{{time}}" bindchange="bindDateChange">
          <text class="picker-txt">{{date}}</text>
        </picker>
        <!--
        <image src="https://aabbcc.thinkine.com/upload/image/weixin_images/icon/r.png" mode="widthFix"
          style="width:28rpx;height:28rpx;margin-top:14rpx;" class="floR"></image>-->
      </view>
      <view class="inputbox">
        <text class="fontW">联系人姓名<text style="color: red;margin-left:10rpx">*</text></text>
        <input name='userName' value="{{list.userName}}" type="text"></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">邮箱<text style="color: red;margin-left:10rpx">*</text></text>
        <input name='email' value="{{list.email}}" type="text"></input>
      </view>
      <view class="inputbox">
        <text class="fontW">资料上传</text>
        <view style="color:#AAAAAA;font-size: 24rpx;">可上传内容：企业简介、个人简介、营业执照副本等相关资料，格式不限</view>
        <view class='uploFile' bindtap="uploFile">上传({{applySettleFileList.length}}/9)</view>
        <view>
          <view class="fileBox" wx:for="{{applySettleFileList}}" 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>