12345678910111213141516171819202122232425262728 |
- {include file="public/header" /}
- <div class="data-search">
- <input value="{$Request.param.keyword}" />
- <span class="iconfont" onclick="goSearch()"></span>
- </div>
- <div class="data-list">
- {notempty name="store_list"}
- {foreach name="store_list" item="v"}
- <div class="data-item" onclick="{if $Request.param.callback}{$Request.param.callback}({$v.store_id}){else}setLink('{$Request.param.path}?id={$v.store_id}'){/if}">{$v.store_name}</div>
- {/foreach}
- {else /}
- <div class="no-data">{$Think.lang.ds_no_record}</div>
- {/notempty}
- </div>
- {$show_page|raw}
- <script>
- $(function(){
- $('.pagination a').each(function(){
- $(this).data('url',$(this).attr('href')).attr('href','javascript:void(0)')
- $(this).click(function(){
- $('#load_html').load($(this).data('url'));
- })
- })
- })
- function goSearch(){
- $('#load_html').load(ADMINSITEURL+'/Dashboard/h5_store?path={$Request.param.path}&callback={$Request.param.callback}&keyword='+$('.data-search input').val());
- }
- </script>
|