You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.7 KiB
41 lines
1.7 KiB
2 years ago
|
<view style="text-align: center" wx:if="{{pageLoading}}">
|
||
|
<t-loading theme="circular" size="40rpx" loading t-class-indicator="t-class-indicator">
|
||
|
<span slot="text" class="loading-text">加载中...</span>
|
||
|
</t-loading>
|
||
|
</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="搜索食物或商家名称" leftIcon="" disabled>
|
||
|
<t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" />
|
||
|
</t-search>
|
||
|
</view>
|
||
|
|
||
|
</view>
|
||
|
<view class="imagesize">
|
||
|
<image src=" /images/logo.jpg" style="width:350px" class="in-select2" mode="widthFix">
|
||
|
</image>
|
||
|
</view>
|
||
|
<view>
|
||
|
<navigator url="/pages/preferchoice/preferchoice" class="imagesize">
|
||
|
<image src="/images/perfer.jpg" style="width:440px" class="in-select" mode="widthFix"></image>
|
||
|
</navigator>
|
||
|
<navigator url="/pages/turntable/turntable" class="imagesize">
|
||
|
<image src="/images/zhuanpang.jpg" style="width:440px" class="in-select" mode="widthFix"></image>
|
||
|
</navigator>
|
||
|
</view>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<view class="home-page-container">
|
||
|
<t-tabs t-class="t-tabs" t-class-active="tabs-external__active" t-class-item="tabs-external__item" t-class-track="tabs-external__track" defaultValue="{{0}}" bind:change="tabChangeHandle">
|
||
|
<t-tab-panel wx:for="{{tabList}}" wx:for-index="index" wx:key="index" label="{{item.text}}" value="{{item.key}}" />
|
||
|
</t-tabs>
|
||
|
|
||
|
|
||
|
<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" />
|
||
|
<t-toast id="t-toast" />
|
||
|
</view>
|