<!--没有装修数据默认页面-->
<view wx:if="{{!isDesigner&&defaultdata}}">
  <navigator url="/packageB/member/category/search_v2/search_v2" hover-class="other-navigator-hover" class="search-box">
    <view class="main">
      <icon type="search" size="12" />
      <text class="input1">{{language.home['输入关键词搜索']}}</text>
    </view>
  </navigator>
  <view class="banner" wx:if="{{readyshow && bannerData.length>0}}">
    <swiper indicator-dots="{{indicatorDots}}" vertical="{{vertical}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">
      <block wx:for="{{bannerData}}" wx:key="index">
        <swiper-item catchtap="clickADTo">
          <image src="{{item.thumb}}" class="slide-image" />
          <!-- mode="top aspectFit" -->
        </swiper-item>
      </block>
    </swiper>
  </view>
  <view class="menu">
    <swiper vertical="{{vertical}}" style="background: #fff;" interval="{{interval}}" duration="{{duration}}" class="{{menuHeightClass}}" indicator-dots indicator-color="#d3d3d3" indicator-active-color="#f05152">
      <block wx:for="{{memuData}}" wx:key="index">
        <swiper-item>
          <view>
            <view wx:for="{{item}}" wx:for-index="cidx" wx:key="cidx" class="li" bindtap="goGoodsList" data-id="{{item.id}}" data-level="{{item.level}}">
              <image src="{{item.thumb || 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/image.png'}}" class="image" />
              <text class="text">{{item.name}}</text>
            </view>
          </view>
          <!-- mode="top aspectFit" -->
        </swiper-item>
      </block>
    </swiper>
  </view>
  <!-- 广告位 -->
  <view id="goods-image" wx:if="{{defaultdata.advs.length>0}}">
    <view class="top">
      <view class="left" wx:if="{{defaultdata.advs[0] && defaultdata.advs[0].img}}">
        <view class="li" bindtap="clickADPlaceTo" data-link="{{defaultdata.advs[0].small_link}}">
          <image src="{{defaultdata.advs[0]? defaultdata.advs[0].img: 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/loading.jpg'}}" alt="" style="width:100%;height:100%;" />
        </view>
      </view>
      <view class="right" wx:if="{{(defaultdata.advs[1] && defaultdata.advs[1].img) || (defaultdata.advs[2] && defaultdata.advs[2].img)}}">
        <view wx:if="{{defaultdata.advs[1] && defaultdata.advs[1].img}}" class="li" bindtap="clickADPlaceTo" data-link="{{defaultdata.advs[1].small_link}}">
          <image src="{{defaultdata.advs[1]? defaultdata.advs[1].img: 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/loading.jpg'}}" alt="" style="width:100%;height:100%;" />
        </view>

        <view wx:if="{{defaultdata.advs[2] && defaultdata.advs[2].img}}" class="li" bindtap="clickADPlaceTo" data-link="{{defaultdata.advs[2].small_link}}">
          <image src="{{defaultdata.advs[2]? defaultdata.advs[2].img: 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/loading.jpg'}}" alt="" style="width:100%;height:100%;" />
        </view>
      </view>
    </view>
    <view class="bottom_img">
      <view class="ul">
        <view wx:if="{{defaultdata.advs[3] && defaultdata.advs[3].img}}" class="li" bindtap="clickADPlaceTo" data-link="{{defaultdata.advs[3].small_link}}">
          <image src="{{defaultdata.advs[3]? defaultdata.advs[3].img: 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/loading.jpg'}}" alt="" style="width:100%;height:100%;" />
        </view>

        <view wx:if="{{defaultdata.advs[4] && defaultdata.advs[4].img}}" class="li" bindtap="clickADPlaceTo" data-link="{{defaultdata.advs[4].small_link}}">
          <image src="{{defaultdata.advs[4]? defaultdata.advs[4].img: 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/loading.jpg'}}" alt="" style="width:100%;height:100%;" />
        </view>

        <view wx:if="{{defaultdata.advs[5] && defaultdata.advs[5].img}}" class="li" bindtap="clickADPlaceTo" data-link="{{defaultdata.advs[5].small_link}}">
          <image src="{{defaultdata.advs[5]? defaultdata.advs[5].img: 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/loading.jpg'}}" alt="" style="width:100%;height:100%;" />
        </view>

      </view>
    </view>
  </view>

  <view id="brand-box" wx:if="{{defaultdata.brand.length>0}}">
    <view class="title">
      <i class="iconfont icon-fontclass-xingpinle"></i>
      <view class="title-text">品牌优选</view>
      <view class="more" bindtap="gotoBrandV2">更多</view>
      <i class="fa fa-angle-right"></i>
    </view>
    <view class="ul">
      <block wx:for="{{defaultdata.brand}}">
        <view class="li" wx:key="{{index}}" wx:if="{{index<8}}" data-item="{{item}}" bindtap="gotoBrand">
          <view class="img">
            <image src="{{item.logo}}" />
          </view>
          <text class="span text-overHide">{{ item.name }}</text>
        </view>
      </block>
    </view>
  </view>

  <view id="limit-time" wx:if="{{defaultdata.time_goods.length>0}}">
    <view class="title-box">
      <i class="iconfont icon-fontclass-xianshi"></i>
      <view class="title-text">限时优惠</view>
      <view class="more" bindtap="gotoLimitedTimeGoods">更多</view>
      <i class="fa fa-angle-right"></i>

    </view>
    <view class="goods-box">
      <view class="adv_img" wx:if="{{defaultdata.advs[6] && defaultdata.advs[6].img}}" bindtap="clickADPlaceTo" data-link="{{defaultdata.advs[6].small_link}}">
        <image src="{{defaultdata.advs[6]? defaultdata.advs[6].img: 'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/loading.jpg'}}" style="width:100%;height:100%;" />
      </view>
      <view class="goods" wx:for="{{defaultdata.time_goods}}" wx:key="{{index}}" data-item="{{item}}" bindtap="gotoTimeGood">
        <view class="goods-cover">
          <image src="{{item.thumb}}" style="width: 100%; height: 100%;" />
          <view class="goods-time">
            <van-count-down time="{{ tool.getTimeDifference(item.has_one_goods_limit_buy.end_time) }}" format="DD天HH:mm:ss" />
          </view>
        </view>
        <view class="goods-name text-overHide">{{ item.title }}</view>
        <view class="goods-price">￥{{
          item.vip_level_status && item.vip_level_status.status == 1
          ? item.vip_level_status.word
          : item.price
          }}</view>
      </view>
    </view>
  </view>


  <!-- <view class="b-br"></view> -->
  <view class="b-goodsList">
    <view class="title">
      <i class="iconfont icon-fontclass-tuijian1"></i>
      <view class="title-text">{{language.home['人气推荐']}}</view>
      <!-- <view class="x">
        <text class="span">{{language.home['人气推荐']}}</text>
      </view> -->
    </view>
    <view class="goodsList" wx:if="{{defaultdata && defaultdata.goods}}">
      <cGoodsList classifyBol="{{true}}" goods="{{defaultdata.goods.data}}" bg_color="#ffffff" text="{{language.home['推荐商品']}}"></cGoodsList>
      <view class="loadMore" wx:if="{{isLoadMore}}">{{language['加载更多']}}</view>
      <view class="loadMore" wx:if="{{!isLoadMore}}">{{language['没有更多了']}}~~</view>
    </view>
  </view>
</view>

<!-- 会员等级有权限浏览装修页 -->
<view wx:if="{{isWatch && showPage}}" style="overflow: hidden;">
  <template name="selfpick">
    <selfpick datas="{{remote_data}}" component_id="{{id}}"></selfpick>
  </template>
  <template name="top_navigation">
    <top_navigation datas="{{top_info}}" btnFlag="{{btnFlag}}" page_id="{{page_id}}"></top_navigation>
  </template>

  <template name="article">
    <article datas="{{remote_data}}" component_id="{{id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}"></article>
  </template>
  <template name="backup">
    <backup datas="{{remote_data}}" component_id="{{id}}"></backup>
  </template>
  <template name="blank">
    <blank datas="{{remote_data}}" component_id="{{id}}"></blank>
  </template>
  <template name="buttons">
    <buttons datas="{{remote_data}}" component_id="{{id}}"></buttons>
  </template>
  <template name="community">
    <community datas="{{remote_data}}" component_id="{{id}}" index="{{index}}" btnFlag="{{btnFlag}}" bottomShowBolIndex="{{bottomShowBolIndex}}"></community>
  </template>
  <template name="coupons">
    <coupons datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}"></coupons>
  </template>
  <template name="cpssearch">
    <cpssearch datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}"></cpssearch>
  </template>
  <template name="cube">
    <cube datas="{{remote_data}}" component_id="{{id}}"></cube>
  </template>
  <template name="deposit">
    <deposit datas="{{remote_data}}" component_id="{{id}}"></deposit>
  </template>
  <template name="form">
    <form datas="{{remote_data}}" component_id="{{id}}"></form>
  </template>
  <template name="goods">
    <goods bindcomponentGoodShare="componentGoodShares" datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></goods>
  </template>
  <template name="goodscps">
    <goodscps datas="{{remote_data}}" btnFlag="{{btnFlag}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></goodscps>
  </template>
  <template name="goodsgroup">
    <goodsgroup datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></goodsgroup>
  </template>
  <template name="goodsrush">
    <goodsrush datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></goodsrush>
  </template>
  <template name="goodsnearby">
    <goodsnearby datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></goodsnearby>
  </template>
  <template name="goodstores">
    <goodstores datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></goodstores>
  </template>
  <template name="headline">
    <headline datas="{{remote_data}}" component_id="{{id}}"></headline>
  </template>
  <template name="homedata">
    <homedata datas="{{remote_data}}" component_id="{{id}}"></homedata>
  </template>
  <template name="line">
    <line datas="{{remote_data}}" component_id="{{id}}"></line>
  </template>
  <template name="livestreaming">
    <livestreaming datas="{{remote_data}}" component_id="{{id}}"></livestreaming>
  </template>
  <template name="location">
    <location datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}"></location>
  </template>
  <template name="lottery">
    <lottery datas="{{remote_data}}" component_id="{{id}}"></lottery>
  </template>
  <template name="maps">
    <maps datas="{{remote_data}}" component_id="{{id}}"></maps>
  </template>
  <template name="notice">
    <notice datas="{{remote_data}}" component_id="{{id}}"></notice>
  </template>
  <template name="richtext">
    <richtext datas="{{remote_data}}" component_id="{{id}}"></richtext>
  </template>
  <template name="search">
    <search datas="{{remote_data}}" component_id="{{id}}"></search>
  </template>
  <template name="staff">
    <staff datas="{{remote_data}}" component_id="{{id}}"></staff>
  </template>
  <template name="shopfor">
    <shopfor datas="{{remote_data}}" component_id="{{id}}" mailInfo="{{mailInfo}}"></shopfor>
  </template>
  <template name="shortvideo">
    <shortvideo datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}"></shortvideo>
  </template>
  <template name="signin">
    <signin datas="{{remote_data}}" component_id="{{id}}"></signin>
  </template>
  <template name="simplegraph">
    <simplegraph datas="{{remote_data}}" component_id="{{id}}"></simplegraph>
  </template>
  <template name="slideshow">
    <slideshow datas="{{remote_data}}" component_id="{{id}}"></slideshow>
  </template>
  <template name="stores">
    <stores datas="{{remote_data}}" component_id="{{id}}" index="{{index}}" btnFlag="{{btnFlag}}" bottomShowBolIndex="{{bottomShowBolIndex}}"></stores>
  </template>
  <template name="storesranking">
    <storesranking datas="{{remote_data}}" component_id="{{id}}" index="{{index}}" btnFlag="{{btnFlag}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></storesranking>
  </template>
  <template name="suspendbutton">
    <suspendbutton datas="{{remote_data}}" component_id="{{id}}"></suspendbutton>
  </template>
  <template name="title">
    <title datas="{{remote_data}}" component_id="{{id}}"></title>
  </template>
  <template name="tabcontrol">
    <tabcontrol datas="{{remote_data}}" btnFlag="{{btnFlag}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></tabcontrol>
  </template>
  <template name="stargroup">
    <stargroup datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></stargroup>
  </template>
  <template name="videos">
    <videos datas="{{remote_data}}" component_id="{{id}}"></videos>
  </template>
  <template name="multistageTab">
    <multistageTab datas="{{remote_data}}" btnFlag="{{btnFlag}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></multistageTab>
  </template>
  <template name="bonusPools">
    <bonusPoolsShow datas="{{remote_data}}" component_id="{{id}}"></bonusPoolsShow>
  </template>

  <view wx:if="{{isDesigner}}">
    <template is="top_navigation" data="{{top_info,btnFlag,page_id}}" wx:if="{{top_info.group_title}}" />
    <block wx:for="{{components}}" wx:key="index">
      <template wx:if="{{item.component_key =='U_article'}}" is="article" data="{{...item,bottomShowBolIndex,index}}" />
      <template wx:if="{{item.component_key =='U_backup' &&  btnFlag}}" is="backup" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_blank'}}" is="blank" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_button'}}" is="buttons" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_community'}}" is="community" data="{{...item,bottomShowBolIndex,btnFlag,index}}" />
      <template wx:if="{{item.component_key =='U_coupons'}}" is="coupons" data="{{...item,page_id}}" />
      <template wx:if="{{item.component_key =='U_cpssearch'}}" is="cpssearch" data="{{...item,page_id}}" />
      <template wx:if="{{item.component_key =='U_cube'}}" is="cube" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_deposit'}}" is="deposit" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_form'}}" is="form" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_goods'}}" is="goods" data="{{...item,page_id,bottomShowBolIndex,bottomShowBol,index}}" />
      <template wx:if="{{item.component_key =='U_goodscps'}}" is="goodscps" data="{{...item,page_id,btnFlag,bottomShowBolIndex,bottomShowBol,index}}" />
      <template wx:if="{{item.component_key =='U_goodsgroup'}}" is="goodsgroup" data="{{...item,page_id,bottomShowBolIndex,bottomShowBol,index}}" />
      <template wx:if="{{item.component_key =='U_goodsrush'}}" is="goodsrush" data="{{...item,page_id,btnFlag,bottomShowBolIndex,bottomShowBol,index}}" />
      <template wx:if="{{item.component_key =='U_goodsnearby'}}" is="goodsnearby" data="{{...item,page_id,btnFlag,bottomShowBolIndex,bottomShowBol,index}}" />
      <template wx:if="{{item.component_key =='U_goodstores'}}" is="goodstores" data="{{...item,page_id,btnFlag,bottomShowBolIndex,bottomShowBol,index}}" />
      <template wx:if="{{item.component_key =='U_headline'}}" is="headline" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_homedata'}}" is="homedata" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_line'}}" is="line" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_livestreaming'}}" is="livestreaming" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_location'}}" is="location" data="{{...item,page_id}}" />
      <template wx:if="{{item.component_key =='U_lottery'}}" is="lottery" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_maps'}}" is="maps" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_notice'}}" is="notice" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_richtext'}}" is="richtext" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_search'}}" is="search" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_staff'}}" is="staff" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_shopfor'}}" is="shopfor" data="{{...item,mailInfo}}" />
      <template wx:if="{{item.component_key =='U_shortvideo'}}" is="shortvideo" data="{{...item,page_id,bottomShowBolIndex,index}}" />
      <template wx:if="{{item.component_key =='U_signin'}}" is="signin" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_simplegraph'}}" is="simplegraph" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_slideshow'}}" is="slideshow" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_stores'}}" is="stores" data="{{...item,bottomShowBolIndex,btnFlag,index}}" />
      <template wx:if="{{item.component_key =='U_storesranking'}}" is="storesranking" data="{{...item,bottomShowBolIndex,index,btnFlag,bottomShowBol}}" />
      <template wx:if="{{item.component_key =='U_suspendbutton'}}" is="suspendbutton" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_title'}}" is="title" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_tabcontrol'}}" is="tabcontrol" data="{{...item,page_id,btnFlag,bottomShowBolIndex,bottomShowBol,index}}" />
      <template wx:if="{{item.component_key =='U_stargroup'}}" is="stargroup" data="{{...item,page_id,bottomShowBolIndex,bottomShowBol,index}}" />
      <template wx:if="{{item.component_key =='U_video'}}" is="videos" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_selfpick'}}" is="selfpick" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_bonuspool'}}" is="bonusPools" data="{{...item}}" />
      <template wx:if="{{item.component_key =='U_moretabcontrol'}}" is="multistageTab" data="{{...item,page_id,btnFlag,bottomShowBolIndex,bottomShowBol,index}}"></template>
    </block>
  </view>
  <van-share-sheet show="{{ showShare }}" title="立即分享给好友" options="{{ shareOptions }}" bind:select="onSelect" bind:close="onClose" />
  <!--弹窗广告-->
  <view class="cover">
    <view wx:if="{{fullShow}}" class="fullScreen">
      <view class="full-image" catchtap="turnFullTo">
        <image src="{{full_screen.image}}"></image>
      </view>
      <view class="close span" catchtap="closeFull">
        <text class="skip span">跳过</text>{{full_screen.show_time}}
      </view>
    </view>
    <view class="mask" wx:if="{{advertising.is_default === 1 && popShow}}">
      <view class="modal-mask" wx:if="{{advertising.datas && advertising.datas.background_over && popShow}}" style="background-color: rgba(0, 0, 0, {{advertising.datas.background_over/100}})"></view>
      <view class="mask-blank">
        <view class="pop" wx:if="{{popShow}}">
          <image src="{{advertising.image}}" alt="" mode="widthFix" catchtap="turnTo" />
          <view class="icon_close">
            <icon class="iconfont icon-close11" catchtap="closePop"></icon>
          </view>
        </view>
      </view>
    </view>
  </view>
  <!--弹窗广告end-->
</view>

<!-- 会员等级浏览无权限时 -->
<view wx:if="{{!isWatch}}">
  <view class="noPowerShow">
    <view class="warnTestBox">暂无浏览权限！</view>
  </view>
</view>
<!-- 会员等级浏览无权限时end -->

<!--底部导航-->
<block wx:if="{{footshow}}">
  <U_foot datas="{{bottom_info}}" isDiy="{{true}}" foot_type="{{foot_type}}" bindshowcarrfoot="showcarrfoot" bindshowcarrfoot_ipx="showcarrfoot_ipx"></U_foot>
</block>
<!--底部导航end-->

<!-- 新人奖弹窗 四个样式弹窗 -->
<van-popup show="{{ showNewcomerAward }}" custom-style="background-color:transparent;">
  <view id="newcomer_award">
    <view class="newcomer_award_templet newcomer_award_templet1" wx:if="{{new_member_prize.type == 0}}">
      <view class="title">{{new_member_prize.title}}</view>
      <view class="cupcon_list">
        <view class="cupcon_child" wx:for="{{new_member_prize.awardlist}}" wx:key="index" wx:for-item="itemName">
          <block wx:if="{{itemName.has_one_coupon && itemName.prize_type == 1}}">
            <view class="c_left_1">
              <block wx:if="{{itemName.has_one_coupon.coupon_method == 1}}">
                <view class="currency">{{language['money']}}</view>
                <view class="price">{{itemName.has_one_coupon.deduct}}</view>
              </block>
              <block wx:if="{{itemName.has_one_coupon.coupon_method == 2}}">
                <view class="price">{{itemName.has_one_coupon.discount}}</view>
                <view style="font-size:36rpx;">折</view>
              </block>
            </view>
            <view class="c_right_1">
              <view class="c_name_1">{{itemName.has_one_coupon.name}}</view>
              <view class="c_condition_1">满{{itemName.has_one_coupon.enough}}可用</view>
            </view>
          </block>
          <block wx:if="{{itemName.prize_type != 1}}">
            <view class="c_left_1">
              <view class="price">
                {{itemName.prize_type==2?itemName.point:(itemName.prize_type==3?itemName.love:itemName.amount)}}
              </view>
            </view>
            <view class="c_right_1">
              <view class="c_name_1">{{itemName.name}}</view>
            </view>
          </block>
        </view>
      </view>
      <view class="liqun_btn" catchtap="closeBtn">立即领取
      </view>
      <view class="close_btn" catchtap="closeBtn">
        <i class="iconfont icon-adsystem_icon_cancle"></i>
      </view>
    </view>
    <view class="newcomer_award_templet newcomer_award_templet2" wx:if="{{new_member_prize.type == 1}}">
      <view class="title">{{new_member_prize.title}}</view>
      <view class="cupcon_list">
        <view class="cupcon_child" wx:for="{{new_member_prize.awardlist}}" wx:key="index">
          <block wx:if="{{item.has_one_coupon && item.prize_type == 1}}">
            <view class="c_left_1">
              <block wx:if="{{item.has_one_coupon.coupon_method == 1}}">
                <view class="currency">{{language['money']}}</view>
                <view class="price">{{item.has_one_coupon.deduct}}</view>
              </block>
              <block wx:if="{{item.has_one_coupon.coupon_method == 2}}">
                <view class="price">{{item.has_one_coupon.discount}}</view>
                <view style="font-size:36rpx;">折</view>
              </block>
            </view>
            <view class="c_right_1">
              <view class="c_name_1">{{item.has_one_coupon.name}}</view>
              <view class="c_condition_1">满{{item.has_one_coupon.enough}}可用</view>
            </view>
          </block>

          <block wx:if="{{item.prize_type != 1}}">
            <view class="c_left_1">
              <view class="price">{{item.prize_type==2?item.point:(item.prize_type==3?item.love:item.amount)}}</view>
            </view>
            <view class="c_right_1">
              <view class="c_name_1">{{item.name}}</view>
            </view>
          </block>
        </view>
      </view>
      <view class="liqun_btn" catchtap="closeBtn">立即领取
      </view>
      <view class="close_btn" catchtap="closeBtn">
        <i class="iconfont icon-guanbi"></i>
      </view>
    </view>
    <view class="newcomer_award_templet newcomer_award_templet3" wx:if="{{new_member_prize.type == 2}}">
      <view class="title">{{new_member_prize.title}}</view>
      <view class="cupcon_list">
        <view class="cupcon_child" wx:for="{{new_member_prize.awardlist}}" wx:key="index">
          <block wx:if="{{item.has_one_coupon &&item.prize_type == 1}}">
            <view class="border_box">
              <view class="c_left_1">
                <block wx:if="{{item.has_one_coupon.coupon_method == 1}}">
                  <view class="currency">{{language['money']}}</view>
                  <view class="price">{{item.has_one_coupon.deduct}}</view>
                </block>
                <block wx:if="{{item.has_one_coupon.coupon_method == 2}}">
                  <view class="price">{{item.has_one_coupon.discount}}</view>
                  <view style="font-size:36rpx;">折</view>
                </block>
              </view>
              <view class="c_right_1">
                <view class="c_name_1">{{item.has_one_coupon.name}}</view>
                <view class="c_condition_1">满{{item.has_one_coupon.enough}}可用</view>
              </view>
            </view>
          </block>

          <block wx:if="{{item.prize_type != 1}}">
            <view class="border_box">
              <view class="c_left_1">
                <view class="price">{{item.prize_type==2?item.point:(item.prize_type==3?item.love:item.amount)}}</view>
              </view>
              <view class="c_right_1">
                <view class="c_name_1">{{item.name}}</view>
              </view>
            </view>
          </block>
        </view>
      </view>
      <view class="liqun_btn" catchtap="closeBtn">立即领取
      </view>
      <view class="close_btn" catchtap="closeBtn">
        <i class="iconfont icon-adsystem_icon_cancle"></i>
      </view>
    </view>
    <view class="newcomer_award_templet newcomer_award_templet4" wx:if="{{new_member_prize.type == 3}}">
      <view class="title">{{new_member_prize.title}}</view>
      <view class="cupcon_list">
        <view class="cupcon_child" wx:for="{{new_member_prize.awardlist}}" wx:key="index">
          <block wx:if="{{item.has_one_coupon &&item.prize_type == 1}}">
            <view class="c_right_1">
              <view class="c_name_1">{{item.has_one_coupon.name}}</view>
              <view class="c_condition_1">满{{item.has_one_coupon.enough}}可用</view>
            </view>
            <view class="c_left_1">
              <block wx:if="{{item.has_one_coupon.coupon_method == 1}}">
                <view class="currency">{{language['money']}}</view>
                <view class="price">{{item.has_one_coupon.deduct}}</view>
              </block>
              <block wx:if="{{item.has_one_coupon.coupon_method == 2}}">
                <view class="price">{{item.has_one_coupon.discount}}</view>
                <view style="font-size:36rpx;color:#fff;">折</view>
              </block>
            </view>
          </block>

          <block wx:if="{{item.prize_type != 1}}">
            <view class="c_right_1">
              <view class="c_name_1">{{item.name}}</view>
            </view>
            <view class="c_left_1">
              <view class="price">{{item.prize_type==2?item.point:(item.prize_type==3?item.love:item.amount)}}</view>
            </view>
          </block>
        </view>
      </view>
      <view class="liqun_btn" catchtap="closeBtn">立即领取
      </view>
      <view class="close_btn" catchtap="closeBtn">
        <i class="iconfont icon-guanbi"></i>
      </view>
    </view>
  </view>
</van-popup>
<!-- 新人奖弹窗 四个样式弹窗end -->




<!-- 慈善基金海报start -->
<van-popup show="{{charityFundInfo.show}}" bind:click-overlay="closeCharityFundPoster" z-index="200" custom-style="background-color:transparent;display: {{charityFundInfo.show ? 'flex': 'none'}};justify-content: center;flex-direction: column;align-items: center;">
  <view style="height:100vh;display:{{charityFundInfo.show ? 'flex': 'none'}};flex-direction:column;align-items:center;justify-content:center;">
    <view style="width:500rpx;height:800rpx;">
      <image mode='aspectFit' show-menu-by-longpress style="width:100%;height:100%;border-radius:20rpx;" src="{{charityFundInfo.poster}}"></image>
    </view>
    <icon class="iconfont icon-adsystem_icon_cancle" style="color:#fff;font-size: 60rpx;" catchtap="closeCharityFundPoster"></icon>
  </view>
</van-popup>
<!-- 慈善基金海报end-->

<!-- 视频号直播跳转start -->
<channels-live-float></channels-live-float>
<!-- 视频号直播跳转end -->









<wxs module="tool">

function getTimeDifference(str){
  var endTime = getDate(str);
  var current = getDate();
  return endTime.getTime() - current.getTime();
}
module.exports.getTimeDifference = getTimeDifference;

</wxs>