| | |
| | | <view class="listBox1"> |
| | | <view wx:if="{{courseList.length>0}}"> |
| | | <view wx:for="{{courseList}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="listItemBox"> |
| | | <view class="listItem flex" data-book="{{item}}" bindtap="goCourseDetail"> |
| | | <view class="specialSubject-img"> |
| | | <view class="listItem flex"> |
| | | <view class="specialSubject-img" data-book="{{item}}" bindtap="goCourseDetail"> |
| | | <image src="{{item.icon}}" mode="aspectFill" class="img" /> |
| | | </view> |
| | | <view class="body-info"> |
| | | <view class="name">{{item.name}}</view> |
| | | <view class="name" data-book="{{item}}" bindtap="goCourseDetail">{{item.name}}</view> |
| | | <view class="flex jc-sb"> |
| | | <text class="author">{{item.courseLeader}}</text> |
| | | <text class="classHours">{{item.classHours}}课时</text> |
| | |
| | | <view class="listBox3"> |
| | | <view wx:if="{{textbookList.length > 0}}"> |
| | | <view wx:for="{{textbookList}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="textbooksItemBox"> |
| | | <view class="listItem flex" bind:tap="goTextBookDetail" data-book="{{item}}"> |
| | | <view class="specialSubject-img"> |
| | | <view class="listItem flex"> |
| | | <view class="specialSubject-img" bind:tap="goTextBookDetail" data-book="{{item}}"> |
| | | <image src="{{item.icon}}" mode="aspectFit" class="img" /> |
| | | </view> |
| | | <view class="body-info"> |
| | | <view class="name">{{item.name}}</view> |
| | | <view class="introduction">{{item.description}}</view> |
| | | <view class="name" bind:tap="goTextBookDetail" data-book="{{item}}">{{item.name}}</view> |
| | | <view class="introduction" bind:tap="goTextBookDetail" data-book="{{item}}">{{item.description}}</view> |
| | | <view class="author">{{item.author}}</view> |
| | | <view class="priceBox flex jc-sb"> |
| | | <text class="price" wx:if="{{item.price == 0}}">免费</text> |
| | |
| | | </view> |
| | | <view class="rankingList"> |
| | | <scroll-view class="srcolbox" scroll-x scroll-with-animation='true'> |
| | | <view wx:for="{{rankingList}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="booksListItemBox"> |
| | | <view class="listItem" bind:tap="goDetail" data-book="{{item}}"> |
| | | <view class="specialSubject-img"> |
| | | <image src="{{item.icon}}" mode="aspectFit" class="img" wx:if="{{item.icon}}" /> |
| | | <image src="/static/images/default-book-img.png" mode="aspectFit" class="img" wx:else /> |
| | | </view> |
| | | <view class="body-info"> |
| | | <view class="name">{{item.name}}</view> |
| | | <!-- <view class="author">{{item.author}}</view> --> |
| | | <view class="booksListBox"> |
| | | <view wx:for="{{rankingList}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="booksListItemBox"> |
| | | <view class="listItem" bind:tap="goDetail" data-book="{{item}}"> |
| | | <view class="specialSubject-img"> |
| | | <image src="{{item.icon}}" mode="aspectFit" class="img" wx:if="{{item.icon}}" /> |
| | | <image src="/static/images/default-book-img.png" mode="aspectFit" class="img" wx:else /> |
| | | </view> |
| | | <view class="body-info"> |
| | | <view class="name">{{item.name}}</view> |
| | | <!-- <view class="author">{{item.author}}</view> --> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |