<!--packageE/newDiy/newDiy.wxml-->
<view>
  <template name="top_navigation">
    <top_navigation datas="{{top_info}}" btnFlag="{{btnFlag}}" page_id="{{page_id}}"></top_navigation>
  </template>
  <template name="U_foot">
    <U_foot datas="{{bottom_info}}" isDiy="{{true}}" foot_type="{{foot_type}}"></U_foot>
  </template>
  <template name="selfpick">
    <selfpick datas="{{remote_data}}"  component_id="{{id}}"></selfpick>
  </template>
  <template name="article">
    <article datas="{{remote_data}}"  component_id="{{id}}"></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="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 datas="{{remote_data}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}"></goods>
  </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}}"></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}}" 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="integral">
    <integral datas="{{remote_data}}" btnFlag="{{btnFlag}}" component_id="{{id}}" page_id="{{page_id}}" index="{{index}}" bottomShowBolIndex="{{bottomShowBolIndex}}" bottomShowBol="{{bottomShowBol}}" ></integral>
  </template>

  <view wx:if="{{isWatch}}">
    <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}}" />
        <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_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_goodsgroup'}}" is="goodsgroup" data="{{...item,page_id,bottomShowBolIndex,bottomShowBol,index}}" />
        <template wx:if="{{item.component_key =='U_goodsrush'}}" is="goodsrush" data="{{...item,page_id,bottomShowBolIndex,bottomShowBol,index}}" />
        <template wx:if="{{item.component_key =='U_goodsnearby'}}" is="goodsnearby" data="{{...item,page_id,bottomShowBolIndex,bottomShowBol,index}}" />
        <template wx:if="{{item.component_key =='U_goodstores'}}" is="goodstores" data="{{...item,page_id,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}}" />
        <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,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_moretabcontrol'}}" is="multistageTab" data="{{...item,page_id,btnFlag,bottomShowBolIndex,bottomShowBol,index}}"></template>
        <template wx:if="{{item.component_key =='U_selfpick'}}" is="selfpick" data="{{...item}}"/>
        <template wx:if="{{item.component_key =='U_integral'}}" is="integral" data="{{...item}}"/>
      </block>

      <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>
  </view>

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

  <template is="U_foot" data="{{bottom_info,foot_type}}" wx:if="{{foot_type}}" />

</view>
