index.wxml 1.06 KB
<view class="homelife-box">
    <glsx-image webp src="home/homelife_bg.png" class="homelife-img"></glsx-image>
    <block wx:if="{{recreationMenu.length}}">
        <view class="title-box">
            <main-title title="娱乐推荐"></main-title>
        </view>
        <menu-box menuList="{{recreationMenu}}"></menu-box>
    </block>
    <block wx:if="{{foodMenu.length}}">
        <view class="title-box">
            <main-title title="美食推荐"></main-title>
        </view>
        <menu-box menuList="{{foodMenu}}"></menu-box>
    </block>
    <!-- <view class="title-box classify-title-box">
        <view class="{{titleActive === index? 'classify-title-active':'classify-title'}}" wx:for="{{classifyTitleList}}" data-index="{{index}}" bind:tap="switchTitle">
            {{item}}
        </view>
    </view>
    <goods-swiper goodsList="{{goodsList.length ? goodsList : classifyGoodsList1}}"></goods-swiper> -->
</view>
<block wx:if="{{strategyList.length}}">
    <money-saving-tips list="{{strategyList}}"  bind:selectStrategy="selectStrategy"></money-saving-tips>
</block>