123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <!--parents//pages/borrow_car/borrow_car.wxml-->
- <import src="../../../templates/footer/footer.wxml" />
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <view class='li'>
- <view class='list-items' wx:if='{{!isDetail}}'>
- <view class='list-items-title'>{{options.library.league_name}}</view>
- <view class='list-item' wx:for='{{list}}' wx:key='index'>
- <view class='list-item-img'>
- <image src='{{item.img?baseImgUrl+item.img:"../../../assets/banner1.png"}}' class='list-item-img-items'></image>
- </view>
- <view class='list-item-content'>
- <view>{{item.title}}</view>
- <view class='list-item-content-tips'>{{item.summary}}</view>
- <view class='list-items-del' data-index='{{index}}' bindtap='sureDelete'>
- <image src='../../../assets/delete_white.png' class='list-items-del-img'></image>
- <view class='list-items-del-text'>删除</view>
- </view>
- </view>
- </view>
- </view>
- <view class='list-down' wx:if='{{!isDetail}}'>
- <view class='list-down-tips' bindtap='showModel'>
- <image src='../../../assets/gan_tan.png' class='list-down-tips-img'></image>
- <text>借阅规则说明</text>
- </view>
- <view class='list-down-footer'>
- <view>
- <view class='list-down-footer-all'>共计{{list.length}}本</view>
- <view class='list-down-footer-num'>还可借{{borromNum}}本</view>
- </view>
- <view>
- <view class='list-down-footer-sao' bindtap='scanCtl'>继续扫书</view>
- <view class='list-down-footer-sure' bindtap='submitCtl'>确定借阅</view>
- </view>
- </view>
- </view>
- <view class='list-sure' wx:if='{{isDetail}}'>
- <view class='list-sure-yes'>
- <image src='../../../assets/shape.png' class='list-sure-yes-img'></image>
- </view>
- <view>借阅成功</view>
- </view>
- <view class='list-detail' wx:if='{{isDetail}}' >
- <view class='list-detail-head'>
- <view>借阅详情</view>
- <view>{{borrowTime}}</view>
- </view>
- <view class='list-dedail-item' wx:for='{{borrowList}}' wx:key='index' wx:if='{{borrowList.length>0}}'>
- <view class='list-item'>
- <view class='list-item-img'>
- <image src='{{item.localImage?baseImgUrl+item.localImage:"../../../assets/banner1.png"}}'class='list-item-img-items'></image>
- </view>
- <view class='list-item-content'>
- <view class='list-item-content-title'>{{item.title}}</view>
- <view class='list-item-content-tips' wx:if='{{item.summary}}'>{{item.summary}}</view>
- </view>
- </view>
- <view class='list-dedail-date'>
- <text>借阅期限:</text>
- <text> {{item.borrowedTime}}-{{item.backBookTime}}</text>
- </view>
- </view>
- </view>
- </view>
- <!-- 借阅弹幕 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenModel}}'></view>
- <view class='model' wx:if='{{hiddenModel}}' style='margin:0 130rpx;top:15%'>
- <view class='model-list'>
- <view class='model-list-title'>借阅规则说明</view>
- <view>每个孩子一次最多借两本书,每次借书的期限是7天,7天内还书之后就可以再进行下一次借书了,所以是一个月无限次数借书的。</view>
- <view style='padding:40rpx 0;'>如在每月排行榜评选出月度前三名,可获得为期一个月的每次借阅数量调整权限:</view>
- <view>第一名:5本;</view>
- <view>第二名:4本;</view>
- <view>第三名:3本;</view>
- <view>第四名以下:2本</view>
- </view>
- <view class='model-list-del'>
- <image src='../../../assets/guan_bi.png' class='model-list-img' bindtap='allShowModel'></image>
- </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'>确定删除该书籍吗?</view>
- </view>
- <view class='model-list-footer'>
- <view class='model-list-footer-cancel' bindtap='allShowModel'>取消</view>
- <view class='model-list-footer-sure' bindtap='delBookCtl'>确定删除</view>
- </view>
-
- </view>
- </view>
- <template is='footer' data='{{...footerData}}'></template>
- </view>
|