1 line
3.2 KiB
Plaintext
1 line
3.2 KiB
Plaintext
<block wx:if="{{!ifLoading}}"><view class="pad-b150 data-v-6b1f4146"><status-nav vue-id="f8c7e56e-1" ifReturn="{{false}}" navBarTitle="{{indexTitle}}" marginBottom="{{0}}" class="data-v-6b1f4146" bind:__l="__l"></status-nav><view class="search-bg data-v-6b1f4146"><view class="search flex data-v-6b1f4146"><image class="search-img data-v-6b1f4146" src="/static/public/icon-search.png" mode="widthFix"></image><input class="search-input data-v-6b1f4146" type="text" placeholder="请输入关键词" placeholder-style="color: #666666" data-event-opts="{{[['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindinput="__e"/><view class="search-line data-v-6b1f4146"></view><view data-event-opts="{{[['tap',[['toSearch',['$event']]]]]}}" class="search-btn flex data-v-6b1f4146" bindtap="__e">搜索</view></view></view><view class="banner data-v-6b1f4146"><swiper-pu vue-id="f8c7e56e-2" newRadius="0" bannerList="{{bannerList}}" newHeight="372rpx" newBottom="20rpx" isplay="{{isplay}}" class="data-v-6b1f4146" bind:__l="__l"></swiper-pu></view><view class="flag-list flex data-v-6b1f4146"><block wx:for="{{recommendList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toLink',['$0'],[[['recommendList','',index,'url']]]]]]]}}" class="flag-item data-v-6b1f4146" bindtap="__e"><view class="flag-img data-v-6b1f4146"><image class="search-img data-v-6b1f4146" src="{{item.src}}" mode="widthFix"></image></view><view class="flag-txt clips1 data-v-6b1f4146">{{item.title}}</view></view></block></view><block wx:for="{{productList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="index-product-list data-v-6b1f4146"><view class="product-list-title flex data-v-6b1f4146"><view class="txt data-v-6b1f4146"><text class="data-v-6b1f4146">{{item.title}}</text><view class="line data-v-6b1f4146"></view></view><view data-event-opts="{{[['tap',[['toMore',['$event']]]]]}}" class="more data-v-6b1f4146" bindtap="__e"><image src="/static/public/icon-more.png" mode="widthFix" class="data-v-6b1f4146"></image></view></view><product-list vue-id="{{'f8c7e56e-3-'+index}}" list="{{item.goods}}" newWidth="{{item.goods.length*460-490+'rpx'}}" data-event-opts="{{[['^toDetail',[['toShopDetail']]]]}}" bind:toDetail="__e" class="data-v-6b1f4146" bind:__l="__l"></product-list></view></block><view class="index-news data-v-6b1f4146"><nav-tab vue-id="f8c7e56e-4" list="{{navTabList}}" maxNum="{{1}}" data-event-opts="{{[['^chooseEv',[['chooseEv']]]]}}" bind:chooseEv="__e" class="data-v-6b1f4146" bind:__l="__l"></nav-tab><block wx:if="{{isLoading&&showIndex==0}}"><pull-list vue-id="f8c7e56e-5" list="{{askList}}" data-event-opts="{{[['^toDetail',[['toArticleDetail']]]]}}" bind:toDetail="__e" class="data-v-6b1f4146" bind:__l="__l"></pull-list></block><block wx:if="{{isLoading&&showIndex==1}}"><pull-list vue-id="f8c7e56e-6" list="{{articleList}}" data-event-opts="{{[['^toDetail',[['toArticleDetail']]]]}}" bind:toDetail="__e" class="data-v-6b1f4146" bind:__l="__l"></pull-list></block></view><enter-cart vue-id="f8c7e56e-7" class="data-v-6b1f4146" bind:__l="__l"></enter-cart><foot-tab vue-id="f8c7e56e-8" class="data-v-6b1f4146" bind:__l="__l"></foot-tab></view></block> |