<script src="<!--{$skinpath}-->js/store.js"></script>
<div id="store_data">
  <!--{if isset($store)}-->
  <div class="oe_home_shangbox" id="store_detail_box">
    <div class="wrap">
      <div class="content">
        <div class="close"  f="but_store_close"><span></span></div>
        <div class="hd">
          <label class="logo"><img src="<!--{$store.logourl}-->" alt="" /></label>
          <h3><!--{$store.storename}--></h3>
        </div>
        <div class="hdd">
          <ul>
            <!--{if !empty($store.address)}-->
            <li class="li_1"><i class="iconfont icon-location"></i><!--{$store.address}-->  <span><img src="<!--{$skinpath}-->images/svg/map.svg" alt="" /></span></li>
            <!--{/if}-->
            <!--{if $store.type == '1'}-->
            <li class="li_2"><i class="iconfont icon-shijian2"></i>营业：<!--{if !empty($store.worktime)}--><!--{$store.worktime}--><!--{else}-->--<!--{/if}-->  <a href="tel:<!--{$store.sitetel}-->"><span class="iconfont icon-dianhua"></span>电话</a></li>
            <!--{else}-->
            <li class="li_2"><a href="tel:<!--{$store.sitetel}-->"><i class="iconfont icon-dianhua"></i>电话：<!--{$store.sitetel}--></a></li>
            <!--{/if}-->
          </ul>
        </div>
        <!--{if !empty($store.gallerylist)}-->
        <div class="img">
          <ul>
            <!--{foreach $store.gallerylist as $volist}-->
            <!--{if !empty($volist.imgurl)}-->
            <li><img src="<!--{$volist.imgurl}-->" data-preview-src="<!--{$home.drawimg}-->" data-preview-group="store_<!--{$storeid}-->" alt="" /></li>
            <!--{/if}-->
            <!--{/foreach}-->
          </ul>
        </div>
        <!--{/if}-->
        <div class="text">
          <!--{$store.intro}-->
        </div>
        <div class="bd">
          <!--{if $store.users}-->
          <div class="user">
            <!--{assign var="userlist" value=vo_list("mod={listuser} where={v.storeid='<!--{$storeid}-->' AND v.avatar='1'} num={4}")}-->
            <!--{if empty($userlist)}-->
            <!--{assign var="userlist" value=vo_list("mod={listuser} where={v.storeid='<!--{$storeid}-->'} num={4}")}-->
            <!--{/if}-->
            <!--{foreach $userlist as $val}-->
            <span><img src="<!--{$val.headimg}-->" /></span>
            <!--{/foreach}-->
            <label>有<b><!--{$store.users}--></b>位会员，爱上了这里</label>
          </div>
          <!--{/if}-->
          
          <!--{if $login.status == '1'}-->
          <div class="btn">
            <!--{if $store.isfollow == '1'}-->
            <span class="current cursor" f="but_submit_follow" id="but_submit_follow" data-id="<!--{$store.storeid}-->">取消关注</span>
            <!--{else}-->
            <span class="cursor" f="but_submit_follow" id="but_submit_follow" data-id="<!--{$store.storeid}-->">单身请关注</span>
            <!--{/if}-->
          </div>
          <!--{else}-->
          <div class="btn">
             <a f="but_gourl" href="<!--{$oefile}-->&c=passport&a=login"><span>单身请关注</span></a>
          </div>
          <!--{/if}-->
          <p>与TA，悄悄地来一场偶遇吧</p>
        </div>
      </div>
    </div>
  </div>
  <!--{/if}-->

</div>