| | |
| | | <!-- Tab布局 --> |
| | | <scroll-view scroll-x="{{true}}" class="scroll-x"> |
| | | <view class="navBox"> |
| | | <view |
| | | class="titleBox" |
| | | wx:for="{{tabList}}" |
| | | bindtap="tabsOn" |
| | | data-idx="{{item.index}}" |
| | | > |
| | | <view class="titleBox" wx:for="{{tabList}}" bindtap="tabsOn" wx:key="index" wx:for-item="item" wx:for-index="index" data-idx="{{item.index}}"> |
| | | <view class="tabIndexBox"> |
| | | <text class="{{item.index == tabsId ? 'fontColorBox' : ''}}" |
| | | >{{item.title}} ({{item.bookTotal}}) |
| | |
| | | > |
| | | <view |
| | | class="listItem flex" |
| | | data-item="{{item}}" |
| | | data-book="{{item}}" |
| | | bind:tap="underConstruction" |
| | | > |
| | | <view class="specialSubject-img-box"> |
| | | <image src="{{item.icon}}" mode="aspectFill" /> |
| | | <image src="{{item.icon}}" mode="aspectFit" class="img"/> |
| | | </view> |
| | | <view class="body-info"> |
| | | <view class="name">{{item.name}}</view> |
| | |
| | | wx:for-item="item" |
| | | wx:for-index="index" |
| | | data-item="{{item}}" |
| | | bind:tap="underConstruction" |
| | | bind:tap="goTextBookDetail" |
| | | > |
| | | <view class="imageBox"> |
| | | <image src="{{item.icon}}" mode="" /> |
| | | <image src="{{item.icon}}" mode="aspectFit" mode="" /> |
| | | </view> |
| | | <view class="bookDataNmae"> {{item.name}} </view> |
| | | <view class="bookDataAuthor">{{item.author}}</view> |
| | |
| | | wx:key="index" |
| | | class="listItemBox" |
| | | data-item="{{item}}" |
| | | bind:tap="underConstruction" |
| | | bind:tap="goSubjectDetail" |
| | | > |
| | | <view |
| | | class="listItem" |
| | |
| | | bindtap="onBookExhibitionDetails" |
| | | data-item="{{item}}" |
| | | > |
| | | <image |
| | | class="bookFairImage" |
| | | wx:if="{{item.icon}}" |
| | | src="{{item.icon}}" |
| | | mode="" |
| | | /> |
| | | <image |
| | | class="bookFairImage" |
| | | wx:else="" |
| | | src="/static/images/bookExhibitionList/banner.png" |
| | | mode="" |
| | | /> |
| | | <image class="bookFairImage" wx:if="{{item.icon}}" src="{{item.icon}}" mode=""/> |
| | | <image class="bookFairImage" wx:else src="/static/images/bookExhibitionList/banner.png" mode="" /> |
| | | <view class="textBox" title="{{item.name}}"> |
| | | <text>{{item.subtitleName}}</text> |
| | | </view> |