<!--pages/contract/list/add.wxml-->
<view class="ns" style="height:{{isIPX?'88px':'64px'}};">
    <image src="../../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back" referrer="no-referrer|origin|unsafe-url"></image>
    <text style="top:{{isIPX?'54px':'30px'}};">新增合同信息</text>
</view>

<view class="main-box" style="margin-top:{{isIPX?'100px':'75px'}};">
  <van-field required type="textarea" autosize label="合同名称" value="{{ name }}" placeholder="请输入合同名称" border="{{ false }}" bind:change="onChange" input-align="right" data-formname="name"/>
  <van-field required label="开始时间" value="{{buildingTime}}" border="{{ false }}" input-align="right">
    <picker slot="input" mode="date" value="{{buildingTime}}" data-value="buildingTime" bindchange="bindDateChange">
      <view class="picker" style="color: {{buildingTime == null ? '#CACBCC' : '#000'}};">
        {{buildingTime == null ? '请选择开始时间' : buildingTime}}
      </view>
    </picker>
  </van-field>
  <van-field label="备注" type="textarea" autosize value="{{ remark }}" placeholder="请输入备注" border="{{ false }}" bind:change="onChange" input-align="right" data-formname="remark"/>
</view>

<view class="bottom">
  <view class="btn2" data-type="2" bindtap="goKeep">保存</view>
</view>
