123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530 |
- <view class='index-box pb100 {{showNewCoupon?"preventTouchMove":""}}' wx:if="{{(isDiy==1||loadOver)&&isblack!=1&&isparse_formdata!=1}}">
- <import src="template/pin.wxml"></import>
- <import src="template/pinrow.wxml"></import>
- <import src="template/cube.wxml"></import>
- <import src="template/seckill.wxml"></import>
- <import src="template/video.wxml"></import>
- <import src="template/navlist.wxml"></import>
- <import src="template/presalerow.wxml"></import>
- <import src="coupon.wxml"></import>
- <import src="template/virtualcardrow.wxml"></import>
- <view class="miniAppTip" wx:if="{{isTipShow}}">
- <view bindtap="handleProxy" class="add-myapp">
- <text>添加到「我的小程序」团购更方便</text>
- </view>
- </view>
- <view bindtap="handleHideProxy" class="guide" wx:if="{{isShowGuide}}">
- <image mode="widthFix" src="{{index_lead_image}}"></image>
- </view>
- <!-- 旧版首页 -->
- <block wx:if="{{isDiy==0}}">
- <view class="bg-f">
- <image wx:if="{{shop_info.index_top_img_bg_open==0}}" class="header-bg" src="{{shop_info.common_header_backgroundimage?shop_info.common_header_backgroundimage:'../../images/TOP_background@2x.png'}}"></image>
- <view class="header-content" wx:if="{{hide_top_community==0}}">
- <view class="location" style='color: {{shop_info.index_top_font_color}}' wx:if="{{shop_info.index_communityinfo_showtype!=1}}">
- <view class="location-left" wx:if="{{community&&community.communityName}}">
- <navigator hoverClass="router-hover" url="/lionfish_comshop/pages/position/community" wx:if="{{hide_community_change_btn==0&&open_danhead_model!=1}}">
- <view class="community-title">
- <view class="text-overflow1" style="max-width: 360rpx;">{{community.communityName}}</view>
- <text class='community-change' wx:if="{{hide_community_change_word==0}}">切换</text>
- <text class="iconfont icon-youjiantou"></text>
- </view>
- </navigator>
- <view wx:else>
- <view class="community-title">
- <span>{{community.communityName}}</span>
- </view>
- </view>
- <view class="community-address" bindtap='gotoMap' wx:if="{{index_hide_headdetail_address==0}}">
- <text class="iconfont icon-weizhi-tianchong"></text>{{community.address||community.communityAddress||community.fullAddress}}
- </view>
- </view>
- <view class="location-left" wx:else>
- <navigator hoverClass="router-hover" url="/lionfish_comshop/pages/position/community">
- 您还没有选择{{groupInfo.owner_name}},轻触去选择 <text class="iconfont icon-weizhi-tianchong"></text>
- </navigator>
- </view>
- <view class="location-right">
- <image src='{{community.headImg ? community.headImg: community.disUserHeadImg}}' class='img'></image>
- <text>{{community.disUserName}}</text>
- </view>
- </view>
- <view class="location-theme2" style='color: {{shop_info.index_top_font_color}}' wx:else>
- <block wx:if="{{community&&community.communityName}}">
- <view class="loc-l">
- <image src='{{community.headImg ? community.headImg: community.disUserHeadImg}}' class='img'></image>
- </view>
- <view class="loc-m" wx:if="{{hide_community_change_btn==0&&open_danhead_model!=1}}" bindtap="goLink" data-link="/lionfish_comshop/pages/position/community">
- {{community.communityName}} <text style='font-size:12px;' wx:if="{{hide_community_change_word==0}}">切换</text><text class="iconfont icon-youjiantou" style='font-size:12px;'></text>
- </view>
- <view class="loc-m" wx:else>{{community.communityName}}</view>
- </block>
- <view class="loc-l" wx:else>
- <navigator hoverClass="router-hover" url="/lionfish_comshop/pages/position/community">
- 您还没有选择{{groupInfo.owner_name}},轻触去选择 <text class="iconfont icon-weizhi-tianchong"></text>
- </navigator>
- </view>
- <view class="top-search" bindtap="goLink" data-link="/lionfish_comshop/pages/type/search">
- <text class="iconfont icon-sousuo1"></text>搜索
- </view>
- </view>
- </view>
- <view class='blank10'></view>
- <!-- 幻灯片 -->
- <view class="swipe" wx:if="{{slider_list.length>0}}">
- <swiper indicatorDots class="swiper-content" duration="400" autoplay indicatorActiveColor="{{skin.color}}" indicatorColor="#E7E9E7" interval="5000" circular>
- <swiper-item wx:for="{{slider_list}}" wx:key="id">
- <button class="banner nav-contact" openType="contact" wx:if="{{item.linktype==5}}">
- <i-img iClass="banner-img" loadImage="{{item.image}}"></i-img>
- </button>
- <view class='banner' bindtap='goBannerUrl' data-idx="{{index}}" wx:else>
- <i-img iClass="banner-img" loadImage="{{item.image}}"></i-img>
- </view>
- </swiper-item>
- </swiper>
- </view>
- <!-- 导航列表 -->
- <template is="navlist" data="{{navigat, navigatEmpty, navigatSwiper, skin}}"></template>
- <!-- 弹窗广告 -->
- <advimg pos="0" bind:switchType="goIndexType" />
- <!-- 优惠券 -->
- <template is="coupon" data="{{hasCoupon, quan}}"></template>
- <!-- 公告 -->
- <view style="padding-bottom:20rpx;" wx:if="{{notice_list.length>0}}">
- <view class="top-msg" style="color: {{notice_setting.font_color}};background:{{notice_setting.background_color}};">
- <image wx:if="{{notice_setting.horn}}" src="{{notice_setting.horn}}"></image>
- <text wx:else class="iconfont icon-laba"></text>
- <swiper class='notice-swipe' autoplay interval="3000" vertical circular>
- <block wx:for="{{notice_list}}" wx:key="id">
- <swiper-item class='notice-swipe-item' bindtap='showNoticeTextHandle' data-status="{{true}}" data-idx="{{index}}">
- {{item.content}}
- </swiper-item>
- </block>
- </swiper>
- </view>
- </view>
- <!-- 魔方图 -->
- <template is="cube" data="{{data:cube}}"></template>
- </view>
- <!-- 列表 Start -->
- <view class="list-content">
- <!-- 新人专享 -->
- <i-new-comer bind:openSku="openSku" refresh="{{newComerRefresh}}" wx:if="{{is_show_new_buy==1}}" skin="{{skin}}" />
- <!-- 拼团 -->
- <template is="pin" data="{{pinList:pinList,skin}}"></template>
- <!-- 限时秒杀 -->
- <i-spike bind:openSku="openSku" refresh="{{newComerRefresh}}" wx:if="{{is_show_spike_buy==1}}" skin="{{skin}}" />
- <!-- 多时段限时秒杀 -->
- <template is="seckill" data="{{secRushList:secRushList,skin,scekillTimeList,secKillActiveIdx,secKillGoodsIndex,needAuth,seckill_bg_color}}" wx:if="{{seckill_is_open==1&&seckill_is_show_index==1}}"></template>
- <!-- 专题 -->
- <i-topic refresh="{{couponRefresh}}" bind:openSku="openSku" showPos="0" />
- <!-- 分类专题 -->
- <view class="theme3 bg-f" wx:if="{{typeTopicList.length&&(typeItem.banner||typeItem.list.length)}}" wx:for="{{typeTopicList}}" wx:key="id" wx:for-index="idx" wx:for-item="typeItem">
- <image class='topic-img' src="{{typeItem.banner}}" mode="widthFix" wx:if="{{typeItem.banner}}" bindtap="goLink" data-link="/lionfish_comshop/pages/type/details?id={{typeItem.id}}"></image>
- <view class="theme3-list">
- <i-rush-spu class="item" wx:for="{{typeItem.list}}" wx:if="{{typeItem.list.length}}" wx:for-item="item" wx:key="actId" spuItem="{{item}}" reduction="{{reduction}}" stopClick="{{stopClick}}" bind:openSku="openSku" needAuth="{{needAuth}}" bind:authModal="authModal" bind:changeCartNum="changeNotListCartNum" notNum="{{true}}" is_open_vipcard_buy="{{is_open_vipcard_buy}}" canLevelBuy="{{canLevelBuy}}"></i-rush-spu>
- </view>
- <view class="theme3-more" bindtap="goLink" data-link="/lionfish_comshop/pages/type/details?id={{typeItem.id}}" wx:if="{{typeItem.list.length}}">
- 查看全部 <text class="iconfont icon-youjiantou"></text>
- </view>
- </view>
- <!-- 预售 -->
- <template is="presalerow" data="{{data:presale_index_info,skin}}"></template>
- <!-- 礼品卡 -->
- <template is="virtualcardrow" data="{{data:virtualcard_info,skin}}"></template>
- <!-- 拼团展示2 -->
- <template is="pinrow" data="{{pinList:pinList,skin,goods_sale_unit}}"></template>
- <!-- 视频 -->
- <template is="video" data="{{data:index_video_arr,fmShow,imageSize}}" wx:if="{{index_video_arr&&index_video_arr.enabled==1}}"></template>
-
- <image id='rush-title' wx:if="{{shop_info.index_list_top_image&&shop_info.index_list_top_image_on!=1}}" class="rush-list-title" src="{{shop_info.index_list_top_image}}"></image>
- <!--搜索框begin-->
- <form bindsubmit="goResult" style="display: block;width: 100%;" wx:if="{{index_switch_search==1}}">
- <view class='search-bar'>
- <view class='search-box'>
- <input class='ipt' placeholder="搜索商品" confirm-type="搜索" type="text" name="keyword"></input>
- <view class='search-icon'>
- <text class="iconfont icon-sousuo1"></text>
- </view>
- </view>
- <button class="search-btn" formType="submit" style="color:{{skin.color}}">搜索</button>
- </view>
- </form>
- <!--搜索框end-->
- <!-- 分类导航 Start -->
- <block wx:if="{{ishide_index_goodslist!=1}}">
- <view class='sticky-cate' wx:if="{{index_change_cate_btn==1}}">
- <block wx:if="{{hide_index_type!=1}}">
- <view hidden="{{!isShowClassification||tabIdx!==0}}">
- <i-tabs activeIndex="{{classification.activeIndex}}" bind:activeIndexChange="classificationChange" data-idx="1" fontColor="#000" iClass="category-list" tabs="{{classification.tabs}}" lineBgColor="{{'background:linear-gradient(to right, '+skin.color+', '+skin.light+')'}}"></i-tabs>
- </view>
- <view class="tab-nav-query"></view>
- </block>
- </view>
- <view wx:else class="sticky-content {{isSticky?'sticky-top':''}} {{scrollDirect==='up'&&isSticky?'tab-nav-sticky':''}}">
- <view class="tab-nav tab-nav-query" style='border-color:{{qgtab.bottom_color?qgtab.bottom_color:"#F75451"}}'>
- <view bindtap="tabSwitch" class="tab-nav-item {{tabIdx===0?'active':''}}" data-idx="0">
- <image wx:if="{{tabIdx===0}}" src="{{qgtab.one_select?qgtab.one_select:'../../images/index-tab-left-active.png'}}"></image>
- <image wx:else src="{{qgtab.one_selected?qgtab.one_selected:'../../images/index-tab-left-disabled.png'}}"></image>
- <span>{{index_qgtab_text[0]?index_qgtab_text[0]:'正在抢购'}}</span>
- </view>
- <view bindtap="tabSwitch" class="tab-nav-item {{tabIdx===1?'active':''}}" data-idx="1">
- <image wx:if="{{tabIdx===1}}" src="{{qgtab.two_select?qgtab.two_select:'../../images/index-tab-right-active.png'}}"></image>
- <image wx:else src="{{qgtab.two_selected?qgtab.two_selected:'../../images/index-tab-right-disabled.png'}}"></image>
- <span>{{index_qgtab_text[1]?index_qgtab_text[1]:'即将开抢'}}
- </span>
- </view>
- <view class="count-down-content" wx:if="{{tabIdx===0}}">
- <i-count-down countdownClass="count-down" itemClass="item-time" showDay="true" target="{{rushEndTime}}" wx:if="{{rushEndTime&&!stopNotify&&index_qgtab_counttime!=1}}" clearTimer="{{stopNotify}}">
- <span class="count-down-left-text">仅剩</span>
- </i-count-down>
- </view>
- </view>
- <block wx:if="{{hide_index_type!=1}}">
- <view hidden="{{!isShowClassification||tabIdx!==0}}">
- <i-tabs activeIndex="{{classification.activeIndex}}" bind:activeIndexChange="classificationChange" data-idx="1" fontColor="#000" iClass="category-list" tabs="{{classification.tabs}}" lineBgColor="{{'background:linear-gradient(to right, '+skin.color+', '+skin.light+')'}}"></i-tabs>
- </view>
- <view hidden="{{!isShowCommingClassification||tabIdx!==1}}">
- <i-tabs activeIndex="{{commingClassification.activeIndex}}" bind:activeIndexChange="commingClassificationChange" data-idx="2" fontColor="#000" iClass="category-list" tabs="{{classification.tabs}}" lineBgColor="{{'background:linear-gradient(to right, '+skin.color+', '+skin.light+')'}}"></i-tabs>
- </view>
- </block>
- </view>
- <!-- 分类导航 End -->
- <view class='rush-list-box'>
- <!-- <view wx:if="{{hide_index_type!=1}}" style="height: {{isSticky?'70rpx':'0'}}"></view> -->
- <block wx:if="{{rushList.length>0 && tabIdx===0}}">
- <!-- 样式一 Start -->
- <block wx:for="{{rushList}}" wx:key="idx" wx:for-item="rush" wx:for-index="idx" wx:if="{{rushList.length>0 && theme==0}}">
- <skeleton wx:for="{{rush}}" wx:key="id">
- <view class="active-item">
- <view class="list-item-tag-content" wx:if="{{isShowListTimer==1}}">
- <view class="empty-1"></view>
- <view class="empty-2" wx:if="{{item.spuDescribe}}"></view>
- <view class="empty-3"></view>
- <view class="list-item-count-down" style="color:{{skin.color}}" wx:if="{{item.spuCanBuyNum!=0 && !actEndMap[item.end_time]}}" data-xx="{{item.spuCanBuyNum}}">
- 仅剩
- <em wx:if="{{countDownMap[item.end_time].day>0}}">{{countDownMap[item.end_time].day}}天</em>
- <span class="item-class">{{countDownMap[item.end_time].hour}}</span>:
- <span class="item-class">{{countDownMap[item.end_time].minute}}</span>:
- <span class="item-class">{{countDownMap[item.end_time].second}}</span>
- </view>
- </view>
- <i-new-rush-spu actEnd="{{actEndMap[item.end_time]}}" stopClick="{{stopClick}}" bind:openSku="openSku" spuItem="{{item}}" reduction="{{reduction}}" isShowListCount="{{isShowListCount}}" bind:changeCartNum="changeCartNum" changeCarCount="{{changeCarCount}}" bind:authModal="authModal" needAuth="{{needAuth}}" is_open_vipcard_buy="{{is_open_vipcard_buy}}" canLevelBuy="{{canLevelBuy}}" isShowListTimer="{{isShowListTimer==1}}" showPickTime="{{ishow_index_pickup_time==1}}" bind:vipModal="vipModal" skin="{{skin}}" saleUnit="{{goods_sale_unit}}"></i-new-rush-spu>
- </view>
- </skeleton>
- </block>
- <!-- 样式一 End -->
- <!-- 样式二 Start -->
- <block wx:for="{{rushList}}" wx:key="idx" wx:for-item="rush" wx:for-index="idx" wx:if="{{rushList.length>0&&theme==1}}">
- <skeleton wx:for="{{rush}}" wx:key="id">
- <view class="active-item-two">
- <view class="list-item-tag-content" wx:if="{{isShowListTimer==1}}">
- <view class="list-item-count-down type-two" style="background:{{skin.color}}" wx:if="{{item.spuCanBuyNum!=0 && !actEndMap[item.end_time]}}">
- 仅剩
- <em wx:if="{{countDownMap[item.end_time].day>0}}">{{countDownMap[item.end_time].day}}天</em>
- <span class="item-class">{{countDownMap[item.end_time].hour}}</span>:
- <span class="item-class">{{countDownMap[item.end_time].minute}}</span>:
- <span class="item-class">{{countDownMap[item.end_time].second}}</span>
- </view>
- </view>
- <i-rush-spu-big actEnd="{{actEndMap[item.end_time]}}" stopClick="{{stopClick}}" bind:openSku="openSku" spuItem="{{item}}" reduction="{{reduction}}" isShowListCount="{{isShowListCount}}" bind:changeCartNum="changeCartNum" changeCarCount="{{changeCarCount}}" bind:authModal="authModal" needAuth="{{needAuth}}" is_open_vipcard_buy="{{is_open_vipcard_buy}}" canLevelBuy="{{canLevelBuy}}" showPickTime="{{ishow_index_pickup_time==1}}" bind:vipModal="vipModal" skin="{{skin}}" saleUnit="{{goods_sale_unit}}"></i-rush-spu-big>
- </view>
- </skeleton>
- </block>
- <!-- 样式二 End -->
- <!-- 样式三 Start -->
- <view class="theme3" wx:if="{{rushList.length>0 && theme==2}}">
- <image class='topic-img' src="{{cate_info.banner}}" mode="widthFix" wx:if="{{cate_info.banner}}" bindtap="goLink" data-link="/lionfish_comshop/pages/type/details?id={{classificationId}}"></image>
- <view class="theme3-list">
- <block wx:for="{{rushList}}" wx:key="idx" wx:for-item="rush" wx:for-index="idx">
- <block class="item" wx:for="{{rush}}" wx:key="actId">
- <i-rush-spu spuItem="{{item}}" reduction="{{reduction}}" stopClick="{{stopClick}}" bind:openSku="openSku" needAuth="{{needAuth}}" bind:authModal="authModal" bind:changeCartNum="changeCartNum" changeCarCount="{{changeCarCount}}" is_open_vipcard_buy="{{is_open_vipcard_buy}}" canLevelBuy="{{canLevelBuy}}" bind:vipModal="vipModal" actEnd="{{actEndMap[item.end_time]}}"></i-rush-spu>
- </block>
- </block>
- </view>
- </view>
- <!-- 样式三 End -->
- <!-- 样式4 Start -->
- <view class="comming-list themeTwo" wx:if="{{rushList.length>0&&theme==3}}">
- <block wx:for="{{rushList}}" wx:key="idx" wx:for-item="rush" wx:for-index="idx">
- <skeleton wx:for="{{rush}}" wx:key="id" class="comming-spu-item">
- <i-tworow actEnd="{{actEndMap[item.end_time]}}" stopClick="{{stopClick}}" bind:openSku="openSku" spuItem="{{item}}" reduction="{{reduction}}" isShowListCount="{{isShowListCount}}" bind:changeCartNum="changeCartNum" changeCarCount="{{changeCarCount}}" bind:authModal="authModal" needAuth="{{needAuth}}" is_open_vipcard_buy="{{is_open_vipcard_buy}}" canLevelBuy="{{canLevelBuy}}" isShowListTimer="{{isShowListTimer==1}}" showPickTime="{{ishow_index_pickup_time==1}}" bind:vipModal="vipModal" skin="{{skin}}" saleUnit="{{goods_sale_unit}}"></i-tworow>
- </skeleton>
- </block>
- </view>
- <!-- 样式4 End -->
- <i-load-more iClass="loadMore" loading="{{loadMore}}" tip="{{loadText}}" wx:if="{{loadMore}}"></i-load-more>
- </block>
- <block wx:if="{{tabIdx===1}}">
- <view class="comming-list" wx:if="{{commingList.length}}">
- <i-comming-spu category="{{commingClassification.tabs[commingClassification.activeIndex].name}}" class="comming-spu-item" spuItem="{{item}}" wx:if="{{commingList.length}}" wx:for="{{commingList}}" wx:key="id"></i-comming-spu>
- <i-load-more iClass="loadMore" loading="{{commigLoadMore}}" tip="{{commigTip}}" wx:if="{{commigLoadMore}}"></i-load-more>
- </view>
- <view class="none-rush-list" wx:if="{{showCommingEmpty}}">
- <image class="img-block" src="../../images/icon-index-empty.png"></image>
- <view class="h1">暂时没有商品</view>
- <view class="h2">我们正在为您准备更优惠的商品</view>
- </view>
- <view class="slogan" wx:if="{{!commigLoadMore&&commingList.length}}">
- <image src="{{indexBottomImage?indexBottomImage:'../../images/icon-index-slogan.png'}}"></image>
- </view>
- </block>
- <block wx:if="{{tabIdx===0}}">
- <view class="none-rush-list" wx:if="{{showEmpty}}">
- <image class="img-block" src="../../images/icon-index-empty.png"></image>
- <view class="h1">暂时没有商品</view>
- <view class="h2">我们正在为您准备更优惠的商品</view>
- </view>
- <view class="slogan" wx:if="{{!loadMore&&rushList.length}}">
- <image src="{{indexBottomImage?indexBottomImage:'../../images/icon-index-slogan.png'}}"></image>
- </view>
- </block>
- </view>
- </block>
- <!-- 专题 -->
- <i-topic refresh="{{couponRefresh}}" bind:openSku="openSku" showPos="1" />
- </view>
- <!-- 列表 End -->
- <view class='copytext-btn' bindtap='showCopyTextHandle' data-status="{{true}}" wx:if="{{ishow_index_copy_text==1}}">
- 一键复制拼团信息
- </view>
- <view class="fixed-aside">
- <button class="fixed-service" bindtap='share_handler' wx:if="{{isShowShareBtn==1}}">
- <text class="iconfont icon-fenxiang"></text>
- <view>分享</view>
- </button>
- <button class="fixed-service" openType="contact" wx:if="{{isShowContactBtn==1}}">
- <text class="iconfont icon-kefu"></text>
- <view>客服</view>
- </button>
- <button class="fixed-service" hidden="{{!isSticky}}" bindtap="backTop" wx:if="{{ishow_index_gotop==1}}">
- <text class="iconfont icon-fanhuidingbu"></text>
- <view>顶部</view>
- </button>
- </view>
- </block>
- <!-- diy组件 -->
- <view wx:if="{{isDiy==1&&diyLoaded}}" class="diy-box safebottom" style="background: url({{globalDiyData.bgUrl}}) no-repeat top center {{globalDiyData.bgColor}};background-size: 100%;">
- <import src="communityShow.wxml"></import>
- <import src="richtext.wxml"></import>
- <import src="text.wxml"></import>
- <import src="blank.wxml"></import>
- <import src="banner.wxml"></import>
- <import src="notice.wxml"></import>
- <import src="search.wxml"></import>
- <import src="line.wxml"></import>
- <import src="floatBtn.wxml"></import>
- <import src="cube.wxml"></import>
- <import src="goodsList.wxml"></import>
- <import src="diySeckill.wxml"></import>
- <import src="video.wxml"></import>
- <import src="diySingleImg.wxml"></import>
- <import src="diyCoupon.wxml"></import>
- <block wx:for="{{diyJson}}" wx:key="index">
- <!-- 社区展示 -->
- <template is="communityShow" data="{{item, community, hide_community_change_btn, open_danhead_model, index_hide_headdetail_address, hide_community_change_word}}" wx:if="{{item.controller=='CommunityShow'}}"></template>
- <!-- 导航图标 -->
- <diy-nav list="{{item}}" skin="{{skin}}" wx:if="{{item.controller=='GraphicNav'}}"></diy-nav>
- <!-- 公告 -->
- <template is="notice" data="{{item}}" wx:if="{{item.controller=='Notice'}}"></template>
- <!-- 优惠券 -->
- <template is="diyCoupon" data="{{hasCoupon, quan, item}}" wx:if="{{item.controller=='Coupon'}}"></template>
- <!-- 幻灯片 -->
- <template is="banner" data="{{item}}" wx:if="{{item.controller=='Slider'}}"></template>
- <!-- 搜索框 -->
- <template is="search" data="{{item}}" wx:if="{{item.controller=='Search'}}"></template>
- <!-- 辅助线 -->
- <template is="line" data="{{item}}" wx:if="{{item.controller=='HorzLine'}}"></template>
- <!-- 辅助空白 -->
- <template is="blank" data="{{item}}" wx:if="{{item.controller=='HorzBlank'}}"></template>
- <!-- 富文本 -->
- <template is="richtext" data="{{item}}" wx:if="{{item.controller=='RichText'}}"></template>
- <!-- 文本 -->
- <template is="text" data="{{item}}" wx:if="{{item.controller=='Text'}}"></template>
- <!-- 浮动按钮 -->
- <template is="floatBtn" data="{{item}}" wx:if="{{item.controller=='FloatBtn'}}"></template>
- <!-- 图片魔方 -->
- <template is="cube" data="{{item}}" wx:if="{{item.controller=='RubikCube'}}"></template>
- <!-- 商品列表 -->
- <block wx:if="{{item.controller=='GoodsList'}}">
- <diy-goods-list value="{{item}}" idx="{{index}}" bind:diyGoodsList="getDiyGoodsList">
- <template is="goodsList" data="{{rushList: diyGoodsList[index], value: item, isShowListTimer, actEndMap, countDownMap, stopClick, isShowListCount, needAuth, is_open_vipcard_buy, ishow_index_pickup_time, skin, goods_sale_unit}}" wx:if="{{diyGoodsList.length}}"></template>
- </diy-goods-list>
- </block>
- <!-- 拼团 -->
- <diy-pintuan refresh="{{couponRefresh}}" diyInfo="{{item}}" wx:if="{{item.controller=='Pintuan'}}" skin="{{skin}}" />
- <!-- 多时段限时秒杀 -->
- <template is="diySeckill" wx:if="{{item.controller=='Seckill'}}" data="{{secRushList:secRushList,skin,scekillTimeList,secKillActiveIdx,secKillGoodsIndex,needAuth,diyInfo:item}}"></template>
- <!-- 视频 -->
- <template is="video" data="{{item}}" wx:if="{{item.controller=='Video'}}"></template>
- <!-- 新人专享 -->
- <block wx:if="{{item.controller=='Newcome'}}">
- <i-new-comer bind:openSku="openSku" refresh="{{newComerRefresh}}" diyData="{{item}}" skin="{{skin}}" />
- </block>
- <!-- 专题 -->
- <block wx:if="{{item.controller=='Special'}}">
- <i-topic refresh="{{couponRefresh}}" bind:openSku="openSku" showPos="0" diyInfo="{{item}}" />
- </block>
- <!-- 多商品组 -->
- <block wx:if="{{item.controller=='ManyGoodsList'}}">
- <diy-many-goods-list value="{{item}}" idx="{{index}}" bind:diyGoodsList="getDiyManyGoodsList">
- <template is="goodsList" data="{{rushList: diyManyGoodsList, value: item, isShowListTimer, actEndMap, countDownMap, stopClick, isShowListCount, needAuth, is_open_vipcard_buy, ishow_index_pickup_time, skin, goods_sale_unit}}" wx:if="{{diyManyGoodsList.length}}"></template>
- <view wx:else><i-empty>暂无商品~</i-empty></view>
- </diy-many-goods-list>
- </block>
- <!-- 单图组 -->
- <template is="diySingleImg" data="{{item}}" wx:if="{{item.controller=='SingleImg'}}"></template>
- </block>
- <view style="height:100rpx;"></view>
- </view>
- <i-tabbar currentIdx='0' cartNum='{{cartNum}}' needAuth="{{needAuth}}" tabbarRefresh="{{tabbarRefresh}}" bind:authModal="authModal" />
- <i-order-notify i-class="order-notify" wx:if="{{shop_info.order_notify_switch==1}}" stopNotify="{{stopNotify}}" />
- <i-change-community wx:if="{{showChangeCommunity}}" wx:if="{{showChangeCommunity}}" visible="{{showChangeCommunity}}" changeCommunity="{{changeCommunity}}" community="{{community}}" bind:changeComunity="confrimChangeCommunity" canChange="{{hide_community_change_btn==0}}" groupInfo="{{groupInfo}}"></i-change-community>
- <!-- 弹窗优惠券begin -->
- <view class='new-coupou' wx:if="{{showCouponModal && hasAlertCoupon && !showChangeCommunity}}">
- <view class='new-coupou-content'>
- <view class='new-coupou-body'>
- <view class='new-coupou-body-head'>恭喜你获得{{totalAlertMoney}}元红包券</view>
- <view class='new-coupou-body-scroll'>
- <scroll-view scroll-y style='max-height:580rpx;'>
- <view class='new-coupou-item' wx:for="{{alert_quan_list}}" wx:key="id">
- <view class="m-coupon-l"><view class='m-coupou-price'><text>¥</text>{{item.credit}}</view></view>
- <view class='m-coupou-m'>
- <view class='m-coupou-name'>{{item.voucher_title}}</view>
- <view class='m-coupou-title' wx:if="{{item.limit_money >0}}">满{{item.limit_money}}元可用</view>
- <view class='m-coupou-title' wx:if="{{item.is_limit_goods_buy==0}}">使用范围:所有商品</view>
- <view class='m-coupou-title' wx:elif="{{item.is_limit_goods_buy==1}}">使用范围:指定商品</view>
- <view class='m-coupou-title' wx:elif="{{item.is_limit_goods_buy==2}}">使用范围:指定分类</view>
- </view>
- <view class='m-coupou-r'>
- <view class='new-coupou-use kong' bindtap='goUse' data-idx='{{index}}'>去使用</view>
- </view>
- </view>
- </scroll-view>
- </view>
- <view class='new-coupou-body-foot'>
- <view class='new-coupou-body-btn' bindtap='toggleCoupon' data-auth="true">立即使用</view>
- </view>
- </view>
- <view class='new-coupou-foot'>
- <text class="iconfont icon-guanbi" bindtap='toggleCoupon'></text>
- </view>
- </view>
- </view>
- <!-- 弹窗优惠券end -->
- <!-- 弹窗广告 -->
- <ad-alert pop_page="0" wx:else />
- </view>
- <!-- 禁用界面 -->
- <view class="forbid i-flex-col i-flex-alc" wx:if="{{isblack==1}}">
- <text class="iconfont icon-icon-test1"></text>
- <view class="h1">您已被禁止访问</view>
- <view class="h2">请联系管理员</view>
- </view>
- <!---规格选择begin-->
- <i-sku visible="{{visible}}" skin="{{skin}}" skuList="{{skuList}}" cur_sku_arr="{{cur_sku_arr}}" bind:cancel="closeSku" sku_val="{{sku_val}}" sku="{{sku}}" goodsid="{{addCar_goodsid}}" bind:changeCartNum="changeCartNum" bind:vipModal="vipModal"></i-sku>
- <!---规格选择end-->
- <!-- 会员表单申请 -->
- <form-apply wx:if="{{isparse_formdata==1}}"></form-apply>
- <!-- 分享 -->
- <view class='ui-mask' bindtap='hide_share_handler' hidden='{{is_share_html}}'></view>
- <view class="model-services show" hidden='{{is_share_html}}'>
- <view class="model-services-title">分享</view>
- <view class="model-services-content">
- <view class="service-list">
- <view class="service-item">
- <button open-type="share" class='none_btn' plain="true">
- <text class="iconfont icon-weixin2 service-icon"></text>
- <view class="cube-text">
- <text>好友</text>
- </view>
- </button>
- </view>
- <view class="service-item" bindtap="goLink" data-link='/lionfish_comshop/pages/index/share' data-needauth="{{true}}">
- <text class="iconfont icon-pengyouquan service-icon"></text>
- <view class="cube-text">
- <text>海报</text>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 分享 End -->
- <!-- 文本复制 Begin -->
- <i-modal scrollUp="{{false}}" visible="{{showCopyText}}">
- <view class="copytext">
- <view class="copytext-title" style="background:{{skin.color}}">
- - {{groupInfo.owner_name}}信息 -
- <text class="iconfont icon-guanbi copytext-close" bindtap='showCopyTextHandle' data-status="{{false}}"></text>
- </view>
- <view class="copytext-p">小区:{{community.communityName}}</view>
- <view class="copytext-p">{{groupInfo.owner_name}}:{{community.disUserName}}</view>
- <view class="copytext-p">自提点:{{community.address||community.communityAddress||community.fullAddress}}</view>
- <view class="copytext-h3">今日推荐</view>
- <scroll-view class="copytext-content" scroll-y>
- <view class="copytext-item" wx:for="{{copy_text_arr}}" wx:key="id" wx:if="{{copy_text_arr.length}}">
- {{index+1}}. 【{{item.goods_name}}】 <text>团购价{{item.price}}元</text>
- </view>
- </scroll-view>
- <i-button class="community-content-btn" iClass="btn" bindtap="copyText" style="background:{{skin.color}}">一键复制</i-button>
- </view>
- </i-modal>
- <!-- 文本复制 End -->
- <i-new-auth needAuth="{{needAuth&&showAuthModal}}" bind:authSuccess="authSuccess" bind:cancel="authModal" needPosition="{{needPosition}}"></i-new-auth>
- <i-vip-modal visible="{{showVipModal}}" imgUrl="{{pop_vipmember_buyimage}}" />
- <!-- 公众号关注组件 -->
- <view class="mp-account" wx:if="{{show_index_wechat_oa==1&&!hideMpAccount}}">
- <text class="iconfont icon-guanbi" bindtap="closeMpaccount"></text>
- <official-account binderror="binderror" bindload="bindload"></official-account>
- </view>
- <!-- 公告弹窗 Begin -->
- <i-modal scrollUp="{{false}}" visible="{{showNoticeText}}">
- <view class="copytext">
- <view class="copytext-title" style="background:{{skin.color}}">
- - 公告 -
- <text class="iconfont icon-guanbi copytext-close" bindtap='showNoticeTextHandle' data-status="{{false}}"></text>
- </view>
- <scroll-view class="copytext-content" scroll-y>
- <view class="copytext-item" wx:if="{{noticeIdx>=0}}">
- {{notice_list[noticeIdx].content}}
- </view>
- </scroll-view>
- </view>
- </i-modal>
- <!-- 公告弹窗 End -->
|