31 lines
1.8 KiB
Plaintext
31 lines
1.8 KiB
Plaintext
<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" bind:tap="navToSearchPage">
|
|
<t-search t-class-input="t-search__input" t-class-input-container="t-search__input-container" placeholder="iphone 13 火热发售中" leftIcon="" disabled>
|
|
<t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" />
|
|
</t-search>
|
|
</view>
|
|
<view class="swiper-wrap">
|
|
<t-swiper wx:if="{{imgSrcs.length > 0}}" current="{{current}}" autoplay="{{autoplay}}" duration="{{duration}}" interval="{{interval}}" navigation="{{navigation}}" imageProps="{{swiperImageProps}}" list="{{imgSrcs}}" />
|
|
<!-- bind:click="navToActivityDetail" -->
|
|
</view>
|
|
</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>
|
|
<view class="notice-container ">
|
|
<view wx:for="{{noticeList}}">
|
|
<t-notice-bar class="notice-bar" visible="{{item.visible}}" prefixIcon="null" marquee="{{marquee}}" content="{{item.noticeContent}}">
|
|
<view slot="prefix-icon" class="notice-title">{{item.noticeTitle}}</view>
|
|
</t-notice-bar>
|
|
</view>
|
|
</view>
|
|
<goods-list wr-class="goods-list-container" goodsList="{{goodsList}}" bind:click="goodListClickHandle" bind:addcart="goodListAddCartHandle" />
|
|
<load-more list-is-empty="{{!goodsList.length}}" status="{{goodsListLoadStatus}}" bind:retry="onReTry" />
|
|
</view>
|
|
<t-toast id="t-toast" /> |