<!--pages/payee/add/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"></image>
  <text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}重大项目</text>
</view>
<view class="main-box table-box table-boxs" style="margin-top:{{isIPX?'100px':'75px'}};">

    <van-field label="项目名称" value="{{ form.eventName }}" placeholder="项目名称" border="{{ false }}" bind:change="onChange" input-align="right" required data-value="form.eventName"/>
    <view class="section" style="margin-top: -28rpx;">
          <view class="section__title"><text style="color:red;margin-right: 8rpx;">*</text>发生日期</view>
          <picker mode="date" value="{{form.eventTime}}"  bindchange="onConfirmEventTime">
              <view class="picker">
                  {{form.eventTime?form.eventTime:'发生日期'}}
              </view>
          </picker>
      </view>
      <view style="width:100%;">
      <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" bind:insertImage="insertImage" id="hf_editor"/>
    </view>
    
    <view style="margin-bottom: 15px;"></view>

    <van-field label="备注" value="{{ form.remark }}" placeholder="备注" border="{{ false }}" bind:change="onChange" input-align="right" data-value="form.remark"/>
  </view>
  <view class="bottom" wx:if="{{showBtn}}">
    <view class="btn2" bindtap="goSubmit">保存</view>
  </view>