1234567891011121314151617181920212223242526272829303132333435363738 |
- {include file="public/header" /}
- <div class="data-search">
- <input value="{$Request.param.keyword}" />
- <span class="iconfont" onclick="goSearch()"></span>
- </div>
- <div class="data-list">
- {if $Think.config.ds_config.live_type==1}
- {notempty name="minipro_live_list"}
- {foreach name="minipro_live_list" item="v"}
- <div class="data-item" onclick="setLink('plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id={$v.minipro_live_room_id}')">{$v.minipro_live_name}</div>
- {/foreach}
- {else /}
- <div class="no-data">{$Think.lang.ds_no_record}</div>
- {/notempty}
- {else}
- {notempty name="live_apply_list"}
- {foreach name="live_apply_list" item="v"}
- <div class="data-item" onclick="setLink('/member/live/LiveDetail?live_apply_id={$v.live_apply_id}')">{$v.live_apply_name}</div>
- {/foreach}
- {else /}
- <div class="no-data">{$Think.lang.ds_no_record}</div>
- {/notempty}
- {/if}
- </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_live?keyword='+$('.data-search input').val());
- }
- </script>
|