123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <!--parents/pages/book_detail/book_detail.wxml-->
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper pb' wx:else>
- <view class='header-one-imgs'>
- <view class='header-one-imgs-big'></view>
- <image src='{{bookImg ? baseImgUrl + bookImg: "../../../assets/default_headicon.png"}}' class='header-one-imgs-big-items'></image>
- <image src='{{bookImg ? baseImgUrl + bookImg: "../../../assets/default_headicon.png"}}' class='header-one-imgs-small'></image>
- </view>
- <view class='header'>
- <view class='header-one'>
- <view class='header-one-name'>{{title}}</view>
- <view class='header-one-info'>
- <view class='header-one-info-left' wx:if='{{theme}}'>{{theme}}</view>
- <view class='header-one-info-right' wx:if='{{grade}}'>推荐{{grade}}</view>
- </view>
- </view>
- <view class='detail' wx:if='{{summary}}'>
- <view class='detail-title'>内容简介</view>
- <view>{{summary}}</view>
- </view>
-
- <view class='list-items' wx:if='{{sameList.length>0}}'>
- <view class='list-items-title'>同类推荐</view>
- <view class='list-item' wx:for='{{sameList}}' wx:key='index' data-url='parents/pages/book_detail/book_detail' data-zindex='3' data-paras='{{({bookInfoId: item.bookInfoId})}}' bindtap='navigateTo'>
- <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>{{item.title}}</view>
- <view class='list-item-content-tips'>{{item.summary}}</view>
- <view class='list-item-content-label'>
- <view class='list-item-content-label-one' wx:if='{{item.themeName}}'>{{item.themeName}}</view>
- <view class='list-item-content-label-two' wx:if='{{item.grade}}'>推荐{{item.grade}}</view>
- </view>
- <view>
- <image src='../../../assets/fire.png' class='list-item-content-fire' wx:for="{{item.heat}}" wx:key='index'></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
|