| | |
| | | <t-loading theme="circular" size="40rpx" text="加载中..." inherit-color /> |
| | | </view> |
| | | <view class="home-page-header"> |
| | | <view class="search" bind:tap="navToSearchPage"> |
| | | <t-search t-class-input="t-search__input" t-class-input-container="t-search__input-container" placeholder="请输入关键词/书名/ISBN/作者" leftIcon="" disabled> |
| | | <t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" /> |
| | | <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" |
| | | /> |
| | | <t-swiper wx:if="{{bannerList.length > 0}}" list="{{bannerList}}" current="{{current}}" autoplay="{{autoplay}}" duration="{{duration}}" interval="{{interval}}" navigation="{{navigation}}" bind:click="navToActivityDetail" /> |
| | | </view> |
| | | <view class="headerList"> |
| | | |
| | | </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-tabs"> |
| | | <t-tabs t-class="t-tabs" t-class-active="tabs-external__active" t-class-item="tabs-external__item" defaultValue="{{0}}" space-evenly="{{false}}" bind:change="tabChangeHandle"> |
| | | <t-tab-panel wx:for="{{tabList}}" wx:for-index="index" wx:key="index" label="{{item.text}}" value="{{item.key}}" /> |
| | | </t-tabs> |
| | | <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> |
| | | |
| | | <goods-list wr-class="goods-list-container" goodsList="{{goodsList}}" bind:click="goodListClickHandle" bind:addcart="goodListAddCartHandle" /> |
| | | |
| | | </view> |
| | | <load-more list-is-empty="{{!goodsList.length}}" status="{{goodsListLoadStatus}}" bind:retry="onReTry" /> |
| | | <t-toast id="t-toast" /> |
| | | </view> |