101 lines
4.2 KiB
Plaintext
101 lines
4.2 KiB
Plaintext
<!--pages/o2oHome/o2oHome.wxml-->
|
|
<view class="all">
|
|
<view class="search_box">
|
|
<view class="ul search">
|
|
<view class="li left" catchtap="tolocation">
|
|
<icon class="iconfont icon-order_locate"></icon>
|
|
<text class="span">{{address || '全国'}}</text>
|
|
<icon class="iconfont icon-member-bottom"></icon>
|
|
</view>
|
|
<view class="li right" catchtap="tosearch">
|
|
<icon class="iconfont icon-sousuo"></icon>
|
|
<input type="text" title="搜索" disabled placeholder="附近商家商品" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="c_swipe">
|
|
<block wx:if="{{carousels.length>0}}">
|
|
<swiper style='height:{{Height}}' interval="{{4000}}" indicator-dots="{{false}}" autoplay="{{true}}"
|
|
circular="{{true}}" indicator-active-color="#f15353">
|
|
<block wx:for="{{carousels}}" wx:for-item="slide" wx:for-index="index" wx:key="index">
|
|
<swiper-item>
|
|
<view style="margin: 16rpx">
|
|
<image catchtap="bannerClick" data-item="{{slide}}" src="{{slide.thumb}}" mode='widthFix'
|
|
bindload='imgHeight' />
|
|
</view>
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
</block>
|
|
</view>
|
|
<view class="ment" wx:if="{{category && category.length>0}}">
|
|
<cMent datas="{{category_10}}" cityData="{{city}}" pointData="{{point}}"></cMent>
|
|
</view>
|
|
<view class="oads-img" wx:if="{{bannerData.img}}">
|
|
<image catchtap="bannerClick" data-item="{{bannerData}}" wx:if="{{bannerData}}" src="{{bannerData.img}}"
|
|
mode='widthFix' />
|
|
</view>
|
|
<view class="oads" wx:if="{{ads}}">
|
|
<view class="oads-right">
|
|
<block wx:for="{{ads}}" wx:key="index">
|
|
<image catchtap="bannerClick" data-item="{{item}}" wx:if="{{item.img}}" src="{{item.img}}" mode='widthFix' />
|
|
</block>
|
|
</view>
|
|
</view>
|
|
<!-- 门店聚合页 门店拼团卡片组件 -->
|
|
<view id="o2o_group_cart" wx:if="{{hot_arrondi.is_open_store == '1' || hot_arrondi.is_open_store == 1}}">
|
|
<view class="main" wx:if="{{hot_arrondi.list.length > 0}}">
|
|
<view class="boxTop">
|
|
<view class="boxIcon">
|
|
<image class="text-img-src" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/popular_group.png" mode="heightFix" alt="" />
|
|
</view>
|
|
<view class="topRight" catchtap="gotoGrouplist">查看更多 <icon class="iconfont icon-member_right"></icon>
|
|
</view>
|
|
</view>
|
|
<view class="boxList">
|
|
<view class="boxlis" wx:for="{{hot_arrondi.list}}" catchtap="toDetail" data-id="{{item.id}}"
|
|
data-storeId="{{item.store_id}}">
|
|
<view class="listT">
|
|
<image src="{{item.has_one_goods ? item.has_one_goods.thumb : ''}}" alt="" />
|
|
</view>
|
|
<view class="listB">
|
|
<view class="listBtitle">{{ item.title }}</view>
|
|
<view class="listBPrice">¥ {{ item.has_many_option_levels[0].group_price }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 门店聚合页 门店拼团卡片组件 end-->
|
|
|
|
<!-- 拓客卡插件start -->
|
|
<view class="toker" wx:if="{{customer.length > 0}}" >
|
|
<view class="tokerTop">
|
|
<text style="font-size: 1.13rem; font-weight: 600;">{{plugin_name}}</text>
|
|
<view class="topRight" bindtap="tokerSetMeal">查看更多 <icon style="display:flex;" class="iconfont icon-member_right"></icon></view>
|
|
</view>
|
|
<view class="tokerList" >
|
|
<view class="tokerlis" wx:for="{{customer}}" wx:key="index" catchtap="tocustomer" data-id="{{item.goodid}}" data-storeId="{{item.store_id}}" >
|
|
<view class="listT">
|
|
<image src="{{item.img}}" ></image>
|
|
</view>
|
|
<view class="listB">
|
|
<view class="listBtitle">{{item.name}}</view>
|
|
<view class="listBPrice">¥{{item.pricenow}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 拓客卡end -->
|
|
|
|
|
|
<view hidden="{{stores.length <= 0 && is_open}}">
|
|
<cStoreList bindchangList="getMoreData" id="storeList" cityData="{{city}}" pointData="{{point}}" stores="{{stores}}"
|
|
is_open="{{is_open}}" loading="{{loading}}" listStyle="{{openTemplate}}" text="附近的店铺" page="{{page}}" totalPage="{{total_page}}"></cStoreList>
|
|
</view>
|
|
<block hidden="{{!shop && !is_open}}">
|
|
<showbusiness shop-point="{{point}}" listStyle="{{openTemplate}}" is_open="{{is_open}}" isStore="{{true}}" id="business" shop-city="{{city}}"
|
|
datas="{{shop}}"></showbusiness>
|
|
</block>
|
|
</view>
|
|
<shopfoot></shopfoot> |