apply_bookform.wxml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!--president/pages/apply_bookform/apply_bookform.wxml-->
  2. <import src="../../../templates/loading/loading.wxml" />
  3. <view class='container'>
  4. <view class='wrapper'>
  5. <view class='list'>
  6. <view class='li'>
  7. <view class="uploadImg" bindtap='uploadImgCtl'>
  8. <image class='{{bookImg ? "li-imageTip" : "li-image"}}' src='{{bookImg ? baseImgUrl + bookImg : "../../../assets/cameare.png"}}'></image>
  9. <view class="upload-text" wx:if='{{!bookImg}}'>上传封面</view>
  10. <view class="upload-Model" wx:if='{{bookImg}}'>
  11. <view class="upload-refrehtext">更换封面</view>
  12. </view>
  13. </view>
  14. <view class='li-delete' bindtap='deleteImg'>清除封面</view>
  15. </view>
  16. <view class='li'>
  17. <view class='li-label'>书名<text class='li-main-active'>*</text></view>
  18. <input class='li-input' type='text' placeholder='请输入书名' placeholder-class='input-placeholder' value='{{title}}' bindinput='inputCtl' data-type='title'></input>
  19. </view>
  20. <view class='li'>
  21. <view class='li-label'>出版社<text class='li-main-active'>*</text></view>
  22. <input class='li-input' type='text' placeholder='请输入出版社' placeholder-class='input-placeholder' value='{{publish}}' bindinput='inputCtl' data-type='publish'></input>
  23. </view>
  24. <view class='li'>
  25. <view class='li-label'>期待配送到馆时间</view>
  26. <picker mode="date" value="{{paiDate}}" data-type='paiDate' start="{{startTime}}" end="3000-09-01" bindchange="inputCtl">
  27. <view class="li-picker">
  28. {{paiDate}}
  29. </view>
  30. </picker>
  31. </view>
  32. <view class='li'>
  33. <view class='li-label'>书目来源<text class='li-main-active'>*</text></view>
  34. <textarea placeholder='请输入' class='li-input' bindinput='inputCtl' data-type='bookSrc' value='{{bookSrc}}' auto-height placeholder="" />
  35. </view>
  36. </view>
  37. <view class='footer-box'>
  38. <view class='footer-box-item' wx:for='{{footerArray}}' wx:key='index' data-type='{{item.type}}' bindtap='submitCtl'>{{item.text}}</view>
  39. </view>
  40. </view>
  41. </view>