|
@@ -16,36 +16,36 @@
|
|
|
<view class="template-box">
|
|
|
<block v-for="(item, index) in homeTemplate" :key="item.id">
|
|
|
<!-- 轮播 -->
|
|
|
- <sh-banner v-if="item.type === 'banner' && index !== 0" :Px="item.content.x" :Py="item.content.y"
|
|
|
+ <!-- <sh-banner v-if="item.type === 'banner' && index !== 0" :Px="item.content.x" :Py="item.content.y"
|
|
|
:borderRadius="item.content.radius" :height="item.content.height" :list="item.content.list">
|
|
|
- </sh-banner>
|
|
|
+ </sh-banner> -->
|
|
|
|
|
|
<!-- 搜索 -->
|
|
|
- <sh-search v-if="item.type === 'search'"></sh-search>
|
|
|
+ <!-- <sh-search v-if="item.type === 'search'"></sh-search> -->
|
|
|
|
|
|
<!-- 滑动宫格 -->
|
|
|
<sh-grid-swiper v-if="item.type === 'menu'" :list="item.content.list"
|
|
|
:oneRowNum="item.content.style"></sh-grid-swiper>
|
|
|
|
|
|
<!-- 推荐商品 -->
|
|
|
- <sh-hot-goods v-if="item.type === 'goods-list' || item.type === 'goods-group'"
|
|
|
- :detail="item.content"></sh-hot-goods>
|
|
|
+ <!-- <sh-hot-goods v-if="item.type === 'goods-list' || item.type === 'goods-group'"
|
|
|
+ :detail="item.content"></sh-hot-goods> -->
|
|
|
<!-- 广告魔方 -->
|
|
|
- <sh-adv v-if="item.type === 'adv'" :detail="item.content"></sh-adv>
|
|
|
+ <!-- <sh-adv v-if="item.type === 'adv'" :detail="item.content"></sh-adv> -->
|
|
|
<!-- 优惠券 -->
|
|
|
- <sh-coupon v-if="item.type === 'coupons'" :detail="item.content"></sh-coupon>
|
|
|
+ <!-- <sh-coupon v-if="item.type === 'coupons'" :detail="item.content"></sh-coupon> -->
|
|
|
<!-- 秒杀-->
|
|
|
- <sh-seckill v-if="item.type === 'seckill'" :detail="item.content"></sh-seckill>
|
|
|
+ <!-- <sh-seckill v-if="item.type === 'seckill'" :detail="item.content"></sh-seckill> -->
|
|
|
<!-- 拼团 -->
|
|
|
- <sh-groupon v-if="item.type === 'groupon'" :detail="item.content"></sh-groupon>
|
|
|
+ <!-- <sh-groupon v-if="item.type === 'groupon'" :detail="item.content"></sh-groupon> -->
|
|
|
<!-- 富文本 -->
|
|
|
- <sh-richtext v-if="item.type === 'rich-text'" :richId="item.content.id"></sh-richtext>
|
|
|
+ <!-- <sh-richtext v-if="item.type === 'rich-text'" :richId="item.content.id"></sh-richtext> -->
|
|
|
<!-- 功能标题 -->
|
|
|
- <sh-title-card v-if="item.type === 'title-block'" :title="item.content.name"
|
|
|
- :bgImage="item.content.image" :titleColor="item.content.color"></sh-title-card>
|
|
|
+ <!-- <sh-title-card v-if="item.type === 'title-block'" :title="item.content.name"
|
|
|
+ :bgImage="item.content.image" :titleColor="item.content.color"></sh-title-card> -->
|
|
|
<!-- 直播 -->
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
- <sh-live v-if="item.type === 'live' && HAS_LIVE" :detail="item.content"></sh-live>
|
|
|
+ <!-- <sh-live v-if="item.type === 'live' && HAS_LIVE" :detail="item.content"></sh-live> -->
|
|
|
<!-- #endif -->
|
|
|
</block>
|
|
|
</view>
|
|
@@ -58,7 +58,7 @@
|
|
|
<!-- 登录提示 -->
|
|
|
<shopro-auth-modal></shopro-auth-modal>
|
|
|
<!-- 悬浮按钮 -->
|
|
|
- <shopro-float-btn></shopro-float-btn>
|
|
|
+ <!-- <shopro-float-btn></shopro-float-btn> -->
|
|
|
<!-- 连续弹窗提醒 -->
|
|
|
<shopro-notice-modal v-if="!showPrivacy && isLogin"></shopro-notice-modal>
|
|
|
<!-- 隐私协议 -->
|