1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- {extend name="default/base/base_home" /}
- {block name="mall_main"}
- {notpresent name='editable_page'}
- <link rel="stylesheet" href="{$Think.HOME_SITE_ROOT}/css/home_activity.css">
- <div class="dsh-activity">
- <div class="activity_detail" style="background-image: url({:ds_get_pic(ATTACH_ACTIVITY,$activity.activity_banner)})">
- <div class="p_info">
- <p class="p_name">{$activity.activity_title}</p>
- <p class="p_time">{$activity.activity_startdate|date='Y-m-d'} {$Think.lang.activity_to} {$activity.activity_enddate|date='Y-m-d'}</p>
- <p class="p_desc">{$activity.activity_desc}</p>
- </div>
- </div>
- <div class="activity_show" id="sale">
- {notempty name="activitydetail_list"}
- <ul class="list_pic">
- {foreach name="activitydetail_list" item="v"}
- <li>
- <dl>
- <dt><a href="{:url('Goods/index',['goods_id'=>$v.goods_id])}" target="_blank"><img src="{:goods_thumb($v, 240);}"/></a></dt>
- <dd class="p_name"><a href="{:url('Goods/index',['goods_id'=>$v.goods_id])}" target="_blank" title="{$v.goods_name}">{$v.goods_name}</a></dd>
- <dd class="p_info">
- <span class="p_price">{:ds_price_format_forlist($v['goods_price'])}</span>
- <a class="p_buy" href="{:url('Goods/index',['goods_id'=>$v.goods_id])}" target="_blank">{$Think.lang.activity_buy_now}</a>
- </dd>
- </dl>
- </li>
- {/foreach}
- </ul>
- {$show_page|raw}
- {/notempty}
- </div>
- </div>
- {else}
- <script src="{$Think.PLUGINS_SITE_ROOT}/jquery.SuperSlide.2.1.1.js"></script>
- <link rel="stylesheet" href="{$Think.HOME_SITE_ROOT}/css/editable_page.css">
- {foreach name='config_list' item='item' key='key'}
- <div data-type="html" data-id="{$key+1}">{$item.html|raw}</div>
- {/foreach}
- <script>
- {foreach name='config_list' item='item' key='key'}
- if(typeof(window['loadHtml{$item.val.editable_page_model_id}'])!='undefined'){
- window['loadHtml{$item.val.editable_page_model_id}']($('*[data-type="html"][data-id={$key+1}]'))
- }
- {/foreach}
- </script>
- {/notpresent}
- {/block}
|