12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <!--parents/pages/information/information.wxml-->
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <!-- 图书录入-书籍详情 -->
- <view class='list'>
- <view class='li' bindtap='uploadImgCtl'>
- <view class="uploadImg">
- <image class='{{bookInfo.localImage ? "li-imageTip" : "li-image"}}' src='{{bookInfo.localImage ? baseImgUrl + bookInfo.localImage : "../../../assets/cameare.png"}}'></image>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>书名</view>
- <input class='li-input' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.title}}' bindinput='inputCtl' data-type='title'></input>
- </view>
- <view class='li'>
- <view class='li-label'>作者</view>
- <input class='li-input' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.author}}' bindinput='inputCtl' data-type='author'></input>
- </view>
- <view class='li'>
- <view class='li-label'>ISBN号码</view>
- <input class='li-input' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.isbn13}}' bindinput='inputCtl' data-type='isbn13'></input>
- </view>
- <view class='li'>
- <view class='li-label'>图书馆</view>
- <input class='li-input' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.libName}}' bindinput='inputCtl' data-type='libName'></input>
- </view>
- <view class='li'>
- <view class='li-label'>正在借阅</view>
- <input class='li-input' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.borrowName}}' bindinput='inputCtl' data-type='borrowName'></input>
- </view>
- <view class='li'>
- <view class='li-label'>主题</view>
- <input class='li-input' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.themeName}}' bindinput='inputCtl' data-type='themeName'></input>
- </view>
- <view class='li'>
- <view class='li-label'>年段</view>
- <input class='li-input' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.grade}}' bindinput='inputCtl' data-type='grade'></input>
- </view>
- <view class='li'>
- <view class='li-label'>价格</view>
- <input class='li-input' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.price}}' bindinput='inputCtl' data-type='price'></input>
- </view>
- <view class='li'>
- <view class='li-label'>简介</view>
- <textarea class='li-input-text' type='text' placeholder='' disabled='true' placeholder-class='input-placeholder' value='{{bookInfo.summary}}' bindinput='inputCtl' data-type='summary'></textarea>
- </view>
- <view class='footer-box'>
- <view class='footer-box-item1' bindtap='sureDelete'>解绑图书</view>
- <view class='footer-box-item2' bindtap='showModel'>归还图书</view>
- </view>
- </view>
- <!-- 解绑图书弹幕 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{deleteModel}}'></view>
- <view class='model-show' wx:if='{{deleteModel}}'>
- <view class='model-list'>
- <view class='model-list-title'>此书正与{{bookInfo.libName}}馆绑定,是否确定解绑?</view>
- </view>
- <view class='model-list-footer'>
- <view class='model-list-footer-cancel' bindtap='allShowModel'>取消</view>
- <view class='model-list-footer-sure' data-type='{{1}}' bindtap='operationCtl'>确定解绑</view>
- </view>
- </view>
- <!-- 归还图书图书弹幕 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenModel}}'></view>
- <view class='model-show' wx:if='{{hiddenModel}}'>
- <view class='model-list'>
- <view class='model-list-title' wx:if='{{bookInfo.borrowName}}' >{{bookInfo.borrowName}}正在借阅此书,确定归还此书吗?</view>
- <view class='model-list-title' wx:if='{{!bookInfo.borrowName}}' >确定归还此书吗?</view>
- </view>
- <view class='model-list-footer'>
- <view class='model-list-footer-cancel' bindtap='allShowModel'>取消</view>
- <view class='model-list-footer-sure' data-type='{{2}}' bindtap='operationCtl'>确定归还</view>
- </view>
- </view>
- </view>
- </view>
|