bhq@iemsoft.cn
2018-11-27 e2b48dac099e43f4b3243cdf19a7522e4b5eccbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
{if $best_goods}
<section class="index_floor">
  <h4><span>{$lang.best_goods}</span><i><a href="../search.php?intro=best">更多</a></i></h4>
 
    <div id="scroll_best" class="scroll_hot">
      <div class="bd">
        <ul>
          {foreach from=$best_goods item=goods name=best_goods}
          <li >
             <div class="index_pro"> 
              <div class="products_kuang">
                {if $goods.is_exclusive} <div class="best_phone">手机专享</div>{/if}
               <a href="{$goods.url}" title="{$goods.name|escape:html}">  <img src="{$option.static_path}{$goods.thumb}"></a></div>
              <div class="goods_name"> <a href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.name}</a></div>
              <div class="price">
                         <a href="javascript:addToCart({$goods.id})" class="btns">
                    <img src="themesmobile/68ecshopcom_mobile/images/index_flow.png">
                </a>
                <span>{$goods.final_price}</span><em>{if $goods.promote_price}{$goods.shop_price}{else}{$goods.market_price}{/if}</em>
              </div>
              </div>
          </li>
 
          <!--{if $smarty.foreach.best_goods.iteration%3 eq 0 && $smarty.foreach.best_goods.iteration neq $smarty.foreach.best_goods.total}--> </ul>
        <ul>
          <!--{/if}-->{/foreach}</div>
        <div class="hd">
          <ul></ul>
        </div>
      </div>
  </section>
 
  <script type="text/javascript">
    TouchSlide({ 
      slideCell:"#scroll_best",
      titCell:".hd ul", //开启自动分页 autoPage:true ,此时设置 titCell 为导航元素包裹层
      effect:"leftLoop", 
      autoPage:true, //自动分页
      //switchLoad:"_src" //切换加载,真实图片路径为"_src" 
    });
  </script>
{/if}