2025-06-09 10:32:07 +08:00

1 line
6.0 KiB
Plaintext

<view class="page_count data-v-2f44d5cc"><block wx:if="{{$root.g0}}"><view class="bg-img data-v-2f44d5cc"><block wx:for="{{imgUrls}}" wx:for-item="i" wx:for-index="index"><image class="{{['data-v-2f44d5cc',(index==swiperCur)?'active':'']}}" src="{{i.img}}"></image></block></view></block><view class="bag-gradient data-v-2f44d5cc" style="{{$root.s0}}"></view><view class="my-main data-v-2f44d5cc"><view class="mp-header data-v-2f44d5cc" style="{{$root.s1}}" id="home"><block wx:if="{{!special}}"><view class="sys-head data-v-2f44d5cc" style="{{'height:'+(statusBarHeight+'px')+';'}}"></view></block><view class="serch-box data-v-2f44d5cc"><view class="{{['serch-wrapper','flex','data-v-2f44d5cc',special?'on':'']}}"><block wx:if="{{searchBox==0}}"><view class="title skeleton-rect data-v-2f44d5cc" style="{{$root.s2}}">{{titleConfig}}</view></block><block wx:if="{{searchBox==1}}"><view class="logo skeleton-rect data-v-2f44d5cc"><image src="{{logoUpImg}}" mode="heightFix" class="data-v-2f44d5cc"></image></view></block><block wx:if="{{$root.g1}}"><navigator class="{{['skeleton-rect','data-v-2f44d5cc',logoConfig?'input':'uninput']}}" style="{{$root.s3}}" url="{{'/pages/goods/goods_search/index?searchVal='+searchVal}}" hover-class="none"><view class="swiperTxt data-v-2f44d5cc"><swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" vertical="true" circular="true" data-event-opts="{{[['change',[['textChange',['$event']]]]]}}" bindchange="__e" class="data-v-2f44d5cc"><block wx:for="{{hotWords}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-2f44d5cc"><swiper-item catchtouchmove="catchTouchMove" class="data-v-2f44d5cc"><view class="acea-row row-between-wrapper data-v-2f44d5cc"><view class="text acea-row row-between-wrapper data-v-2f44d5cc"><view class="newsTitle line1 data-v-2f44d5cc">{{item.val}}</view></view></view></swiper-item></block></block></swiper></view><text class="iconfont icon-ic_search data-v-2f44d5cc"></text></navigator></block><block wx:else><navigator class="skeleton-rect input data-v-2f44d5cc" style="{{$root.s4}}" url="/pages/goods/goods_search/index" hover-class="none">{{''+dataConfig.inputConfig.value+''}}<text class="iconfont icon-ic_search data-v-2f44d5cc"></text></navigator></block></view></view></view><block wx:if="{{!special&&searchShow}}"><view style="{{('height:'+(statusBarHeight+43)+'px')}}" class="data-v-2f44d5cc"></view></block><block wx:if="{{!dataConfig.classConfig.tabVal}}"><view class="navTabBox tabNav data-v-2f44d5cc"><view class="longTab data-v-2f44d5cc" style="{{'width:'+(mainWidth+'px')+';'}}"><scroll-view scroll-x="true" scroll-with-animation="{{true}}" scroll-left="{{tabLeft}}" show-scrollbar="true" class="data-v-2f44d5cc"><block wx:for="{{tabListConfig}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['longItem','data-v-2f44d5cc',(index==tabClick)?'click':'']}}" id="{{'id'+index}}" data-index="{{index}}" data-event-opts="{{[['tap',[['changeTab',['$0',index],[[['tabListConfig','',index]]]]]]]}}" bindtap="__e">{{''+item.text.val+''}}</view></block></scroll-view></view><view data-event-opts="{{[['tap',[['showCategory',['$event']]]]]}}" class="category data-v-2f44d5cc" bindtap="__e"><text class="iconfont icon-a-ic_Imageandtextsorting data-v-2f44d5cc" style="{{('color:'+(isScrolled?txtColor:'#fff'))}}"></text></view></view></block><block wx:if="{{isCategory}}"><view class="category_count data-v-2f44d5cc"><block wx:if="{{!special}}"><view class="sys-head tui-skeleton data-v-2f44d5cc" style="{{'height:'+(statusBarHeight+'px')+';'}}"></view></block><view class="fs-28 data-v-2f44d5cc">精选类目</view><view class="cate_count grid-column-4 grid-gap-16rpx mt-32 data-v-2f44d5cc"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="category_item data-v-2f44d5cc" style="{{item.s5}}" id="{{'ids'+index}}" data-event-opts="{{[['tap',[['changeTab',['$0',index],[[['tabListConfig','',index]]]]]]]}}" bindtap="__e">{{''+item.$orig.text.val+''}}</view></block></view></view></block></view><view class="swiperBg data-v-2f44d5cc" style="{{'padding-bottom:'+(isMenu?'20rpx':'20rpx')+';'}}"><block wx:if="{{$root.g2}}"><view class="swiper page_swiper data-v-2f44d5cc"><swiper autoplay="{{true}}" circular="{{circular}}" interval="{{intervals}}" duration="{{duration}}" current="{{swiperCur}}" previous-margin="{{swiperMargin}}" next-margin="{{swiperMargin}}" data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" bindchange="__e" class="data-v-2f44d5cc"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-2f44d5cc"><swiper-item class="{{['data-v-2f44d5cc',(index==swiperCur)?'active':'',(isScale)?'scalex':'']}}"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['imgUrls','',index]]]]]]]}}" class="slide-navigator acea-row row-between-wrapper data-v-2f44d5cc" bindtap="__e"><image class="slide-image data-v-2f44d5cc" style="{{item.s6}}" src="{{item.$orig.img}}" mode="aspectFill"></image></view></swiper-item></block></block></swiper><view class="{{['dots','acea-row','data-v-2f44d5cc',(dataConfig.docPosition.tabVal==1)?'row-center':'',(dataConfig.docPosition.tabVal==2)?'row-right':'']}}"><block wx:if="{{dataConfig.docConfig.tabVal==2}}"><view class="dot3 data-v-2f44d5cc"><view class="dot data-v-2f44d5cc" style="{{$root.s7}}"><view class="active data-v-2f44d5cc" style="{{$root.s8}}"></view></view></view></block><block wx:else><view class="{{['acea-row','data-v-2f44d5cc',(dataConfig.docConfig.tabVal==0)?'dot1':'',(dataConfig.docConfig.tabVal==1)?'dot2':'',(dataConfig.docConfig.tabVal==3)?'dot4':'']}}"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['dot','data-v-2f44d5cc',(index==swiperCur)?'active':'']}}" style="{{item.s9}}"></view></block></view></block></view></view></block></view><block wx:if="{{isCategory}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="mask data-v-2f44d5cc" bindtap="__e"></view></block></view>