<!-- 欢乐城模板 -->
<view>
  <view class="container1">
    <!-- 会员信息 -->

    <view class="color_box1">
      <view>
        <!-- navigationBarHeight -->
        <!-- <view style="height:{{navigationBarHeight}};overflow: hidden;" class="goSqunar1" bindtap="goSquareList">
          <image class="squareLogo"  src="../assets/imgData/squareLogo.png" style="top: {{navImgHeight}};" ></image>
          
          <view class="title1" style="line-height:{{navLineHeight}}">{{marketName}}</view>
          <view tt:if="{{isShowSqare}}" style="height:{{navLineHeight}};position:relative;margin-right: 80rpx">
            <image  src="{{huanlechengImgurl}}home_ic_xialajt.png"  class="xia">
            </image>
          </view>
        </view> -->
      </view>

      <!-- 距离信息的广场列表 -->
      <view class="pickerMall" tt:if="{{shopList.length>1 && shopList[0].distanceName}}">
        <picker mode="selector" bindchange="bindPickerChange" value="{{index}}" range="{{shopList}}" range-key="name"
          disabled="{{false}}">
          <view>
            <view>
              <image src="../assets/images/location.png" class="location"></image>
              <text class="mallName">{{ shopList[index].name }}</text>
              <!-- <text tt:if="{{shopList[index].distance_str}}" class="distance_str">距您{{
                shopList[index].distance_str}}</text> -->
              <image src="../assets/itemImg/arrow-right-l.png" class="right"></image>
            </view>
          </view>
        </picker>
      </view>

      <!-- 仅广场列表不包括距离信息 -->
      <view class="pickerMall" tt:if="{{shopList.length>1 && !shopList[0].distanceName}}">
        <picker mode="selector" bindchange="bindPickerChange" value="{{index}}" range="{{shopList}}" range-key="name"
          disabled="{{false}}">
          <view>
            <view>
              <image src="../assets/images/location.png" class="location"></image>
              <text class="mallName">{{ shopList[index].name }}</text>
              <text tt:if="{{shopList[index].distance_str}}" class="distance_str">距您{{
                shopList[index].distance_str}}</text>
              <image src="../assets/itemImg/arrow-right-l.png" class="right"></image>
            </view>
          </view>
        </picker>
      </view>

      <!-- banner -->
      <c-banner tt:key="unique" list="{{list}}" />
      <!-- 频道 -->
      <view class="channelBox" tt:if="{{ifStoreApp!=1&&moduleList.length>0}}" style="{{typeLsit.sy_mbg.styleClass}}">
        <view class='kjBox1' bindtap='goPage' data-obj="{{item}}" tt:for="{{moduleList}}" tt:key="{{index}}">
          <image src='{{item.icon}}' mode='aspectFill'></image>
          <view class="text">{{item.name}}</view>
        </view>
      </view>
      <!-- 频道 -->
      <view class='channelBox' tt:if="{{ifStoreApp==1}}" style="width:525rpx;">
        <view class='kjBox' bindtap='gotoBargain'>
          <image src='{{kanjia}}' mode='aspectFill'></image>
          <text>砍价</text>
        </view>
        <view class='kjBox' bindtap='gotoSpellGroup'>
          <image src='{{pintuan}}' mode='aspectFill'></image>
          <text>拼团</text>
        </view>
        <view class='kjBox' bindtap='gotoRushBuy'>
          <image src='{{xiaofeika}}' mode='aspectFill'></image>
          <text>限时抢购</text>
        </view>
      </view>
    </view>


    <!-- 限时抢购 -->
    <!-- <c-mould tt:if="{{topicObj2}}" obj="{{topicObj2}}" isShowCount
      titleImgUrl="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_txt_xsqw.png" /> -->
    <!-- 砍价 -->
    <!-- <c-mould tt:if="{{topicObj3}}" obj="{{topicObj3}}"
      titleImgUrl="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_txt_kj.png" /> -->
    <!-- 拼团 -->
    <!-- <c-mould tt:if="{{topicObj4}}" obj="{{topicObj4}}"
      titleImgUrl="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_txt_pt.png" /> -->
    <!-- 专题 -->
    <!-- <c-mould tt:if="{{specialLsit.length>0}}" tt:for="{{specialLsit}}" tt:key="{{index}}" obj="{{item}}" special /> -->
    <!-- 消费卡 -->
    <!-- <c-mould tt:if="{{topicObj5}}" obj="{{topicObj5}}"
      titleImgUrl="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_txt_xfk.png" /> -->
    <!-- 积分商城 -->

    <!-- <c-mould tt:if="{{topicObj6}}" obj="{{topicObj6}}"
      titleImgUrl="https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_txt_jfsc.png" /> -->

    <optimization tt:if="{{businessList.length>0}}" businessList="{{businessList}}" businessData="{{businessData}}"
      bind:businessid="getBusineData" />


    <!-- <c-coupons id="lists" bind:myevent="onGetCode" class="business" loadingtext="{{loadingtext}}" loading="{{loading}}" /> -->

    <!-- 广告蒙层 -->
    <!-- <c-advertisement id="advertisement" tt:if="{{showGg&&!played&&!havePlayEd1}}" ggdata="{{ggdata}}" /> -->
  </view>
  <!-- 顶部签到成长值 -->
  <view class='signin' tt:if="{{fistLogin}}" animation="{{alphaData}}">
    <open-data class="open" type="userAvatarUrl"></open-data>
    <text class='text'>您今日签到成功,获得{{fistLogin}}成长值</text>
  </view>
  <view class="integralBox1" tt:if="{{businessSwitch}}">
    <!--是未授权微信且未授权手机号   -->
    <navigator url="/pages/getuserinfo/index" open-type="navigate" tt:if="{{accreditFlag==1}}">
      <image src='{{huanlechengImgurl}}home_icon_wgjf.png' mode='widthFix' style="width: 100%;height: 100%;"></image>
    </navigator>
    <!-- 授权了微信 没授权手机号 -->
    <navigator url="/pages/getuserinfo/index" open-type="navigate" tt:if="{{accreditFlag==2}}">
      <image src='{{huanlechengImgurl}}home_icon_wgjf.png' mode='widthFix' style="width: 100%;height: 100%;"></image>
    </navigator>
  </view>
</view>
<tabbar />
<s-title />