微信小程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324
  1. <!--pages/payee/add/add.wxml-->
  2. <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}重大项目</text>
  5. </view>
  6. <view class="main-box table-box table-boxs" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <van-field label="项目名称" value="{{ form.eventName }}" placeholder="项目名称" border="{{ false }}" bind:change="onChange" input-align="right" required data-value="form.eventName"/>
  8. <view class="section" style="margin-top: -28rpx;">
  9. <view class="section__title"><text style="color:red;margin-right: 8rpx;">*</text>发生日期</view>
  10. <picker mode="date" value="{{form.eventTime}}" bindchange="onConfirmEventTime">
  11. <view class="picker">
  12. {{form.eventTime?form.eventTime:'发生日期'}}
  13. </view>
  14. </picker>
  15. </view>
  16. <view style="width:100%;">
  17. <hf_editor style="width:100%" height="600rpx" insertPicture="{{true}}" placeholder="编写文章..." bind:Content="getHtml" bind:insertImage="insertImage" id="hf_editor"/>
  18. </view>
  19. <van-field label="备注" value="{{ form.remark }}" placeholder="备注" border="{{ false }}" bind:change="onChange" input-align="right" data-value="form.remark"/>
  20. </view>
  21. <view class="bottom" wx:if="{{showBtn}}">
  22. <view class="btn2" bindtap="goSubmit">保存</view>
  23. </view>