123456789101112131415161718192021222324252627282930 |
- <!--parents/pages/growth/growth.wxml-->
- <import src="../../../templates/nodata/nodata.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' wx:if='{{list.length > 0}}'>
- <block wx:for='{{list}}' wx:key='{{index}}'>
- <view class='li-label'>{{item.key}}</view>
- <view class='li' wx:for='{{item.valueList}}' wx:for-item='val' wx:for-index='key' wx:key='{{key}}' data-url='book_detail' data-zindex='3' data-paras='{{({isbn13: val.isbn13})}}' bindtap='navigateTo'>
- <view class='book-container'>
- <view class='book-wrapper'>
- <view class='book-images'>
- <image class='book-image' mode='aspectFill' src='{{val.local_image ? baseImgUrl + val.local_image : "../../../assets/default_headicon.png"}}'></image>
- <view class='book-tip'>{{val.days}}</view>
- </view>
- <view class='book-content'>
- <view class='book-title'>{{val.title}}</view>
- <view class='book-text'>作者:{{val.author}}</view>
- <view class='book-context'>{{val.summary}}</view>
- </view>
- </view>
- </view>
- </view>
- </block>
- </view>
- <template is='nodata' data='{{...nodataArray}}' wx:else></template>
- </view>
- </view>
|