1234567891011121314151617181920212223242526272829303132333435363738 |
- <!--president/pages/apply_bookform/apply_bookform.wxml-->
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <view class='wrapper'>
- <view class='list'>
- <view class='li'>
- <view class="uploadImg" bindtap='uploadImgCtl'>
- <image class='{{bookImg ? "li-imageTip" : "li-image"}}' src='{{bookImg ? baseImgUrl + bookImg : "../../../assets/cameare.png"}}'></image>
- <view class="upload-text" wx:if='{{!bookImg}}'>上传封面</view>
- <view class="upload-Model" wx:if='{{bookImg}}'>
- <view class="upload-refrehtext">更换封面</view>
- </view>
- </view>
- <view class='li-delete' bindtap='deleteImg'>清除封面</view>
- </view>
- <view class='li'>
- <view class='li-label'>书名<text class='li-main-active'>*</text></view>
- <input class='li-input' type='text' placeholder='请输入书名' placeholder-class='input-placeholder' value='{{title}}' bindinput='inputCtl' data-type='title'></input>
- </view>
- <view class='li'>
- <view class='li-label'>出版社</view>
- <input class='li-input' type='text' placeholder='请输入出版社' placeholder-class='input-placeholder' value='{{publisher}}' bindinput='inputCtl' data-type='publisher'></input>
- </view>
- <view class='li'>
- <view class='li-label'>作者</view>
- <input class='li-input' type='text' placeholder='请输入作者' placeholder-class='input-placeholder' value='{{author}}' bindinput='inputCtl' data-type='author'></input>
- </view>
- <view class='li'>
- <view class='li-label'>申请原因<text class='li-main-active'>*</text></view>
- <textarea placeholder='请输入申请原因' class='li-input' bindinput='inputCtl' data-type='applyReason' value='{{applyReason}}' auto-height />
- </view>
- </view>
- <view class='footer-box'>
- <view class='footer-box-item' wx:for='{{footerArray}}' wx:key='{{index}}' data-type='{{item.type}}' bindtap='submitCtl'>{{item.text}}</view>
- </view>
- </view>
- </view>
|