<view style="text-align: center; color: #b9b9b9" wx:if="{{pageLoading}}">
|
<t-loading theme="circular" size="40rpx" text="加载中..." inherit-color />
|
</view>
|
<view class="home-page-header">
|
<view class="search">
|
<t-search t-class-input="t-search__input" t-class-input-container="t-search__input-container" placeholder="请输入关键词/书名/ISBN/作者" leftIcon="">
|
<t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" bind:tap="navToSearchPage" />
|
</t-search>
|
</view>
|
<view class="swiper-wrap">
|
<t-swiper wx:if="{{bannerList.length > 0}}" list="{{bannerList}}" current="{{current}}" autoplay="{{autoplay}}" duration="{{duration}}" interval="{{interval}}" navigation="{{navigation}}" bind:click="navToActivityDetail" />
|
</view>
|
</view>
|
<view class="home-page-menu">
|
<t-grid class="t-grid-block" theme="card" border="{{border}}" column="{{5}}">
|
<t-grid-item wx:for="{{tabList}}" wx:for-index="index" wx:key="index" text="{{item.text}}" image="{{item.icon}}" data-info="{{item}}" bindtap="toPages" />
|
</t-grid>
|
</view>
|
<view class="home-page-container">
|
<view class="home-page-list">
|
<view class="tabCardPublic">
|
<view class="icon">
|
<t-image src="/static/images/home/zhuantitaolun.png" mode="heightFix" class="iconImage" />
|
</view>
|
<view bindtap="onMoreGuide">
|
<text class="more">更多</text>
|
</view>
|
</view>
|
<view>
|
<view wx:for="{{specialSubjectList}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="toList" data-info="{{item}}">
|
<view class="specialSubject-img">
|
<t-image src="{{item.icon}}" mode="aspectFill" width="50" height="50" />
|
</view>
|
<view class="body-info">
|
<view>{{item.name}}</view>
|
</view>
|
</view>
|
</view>
|
|
|
</view>
|
<load-more list-is-empty="{{!goodsList.length}}" status="{{goodsListLoadStatus}}" bind:retry="onReTry" />
|
<t-toast id="t-toast" />
|
</view>
|