index.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.live_apply}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <div class="fixed-empty"></div>
  13. <form method="get" name="formSearch" id="formSearch">
  14. <div class="ds-search-form">
  15. <dl>
  16. <dt>{$Think.lang.live_apply_state}</dt>
  17. <dd>
  18. <select name="live_apply_state">
  19. <option value="">{$Think.lang.ds_please_choose}...</option>
  20. {foreach name="Think.lang.live_apply_state_text" item="val" key="key" }
  21. <option value="{$key}" {if isset($search['live_apply_state']) && $search['live_apply_state'] == $key }selected{/if}>{$val}</option>
  22. {/foreach}
  23. </select>
  24. </dd>
  25. </dl>
  26. <div class="btn_group">
  27. <a href="javascript:$('#formSearch').submit();" id="dssubmit" class="btn " title="{$Think.lang.ds_query}">{$Think.lang.ds_query}</a>
  28. <a href="{:url('live_apply/index')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  29. </div>
  30. </div>
  31. </form>
  32. <table class="ds-default-table">
  33. <thead>
  34. <tr class="thead">
  35. <th class="w24">{$Think.lang.live_apply_id}</th>
  36. <th class="w200 align-center" >{$Think.lang.live_apply_cover}</th>
  37. <th>{$Think.lang.live_apply_name}</th>
  38. <th class="w200 align-center" >{$Think.lang.live_apply_play_time}</th>
  39. <th class="w200 align-center">{$Think.lang.ds_store}</th>
  40. <th class="w72 align-center">{$Think.lang.live_apply_state}</th>
  41. <th class="w72 align-center">{$Think.lang.live_apply_push_state}</th>
  42. <th class="w200 align-center" >{$Think.lang.live_apply_add_time}</th>
  43. <th class="w200 align-center" >{$Think.lang.ds_handle}</th>
  44. </tr>
  45. </thead>
  46. <tbody>
  47. {if $Think.config.ds_config.live_type==1}
  48. {notempty name="minipro_live_list"}
  49. {foreach name="minipro_live_list" item="v"}
  50. <tr class="hover edit" id="ds_row_{$v.minipro_live_id}">
  51. <td>{$v.minipro_live_id}</td>
  52. <td>
  53. <img width="100" height="100" src="{$v.minipro_live_image_url}" />
  54. </td>
  55. <td>{$v.minipro_live_name}</td>
  56. <td>{$v.minipro_live_start_time|date='Y-m-d H:i'}</td>
  57. <td>{$v.store_name}</td>
  58. <td>{$Think.lang.live_apply_state_text[1]}</td>
  59. <td>{if $v.minipro_live_end_time>TIMESTAMP}{if $v.minipro_live_start_time>TIMESTAMP}{$Think.lang.live_apply_push_state_text[0]}{else}{$Think.lang.live_apply_push_state_text[1]}{/if}{else}{$Think.lang.live_end}{/if}</td>
  60. <td>{$v.minipro_live_add_time|date='Y-m-d H:i'}</td>
  61. <td class="align-center">
  62. <a href="javascript:dsLayerOpen('{:url('live_apply/view',['minipro_live_id'=>$v.minipro_live_id])}')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
  63. </td>
  64. </tr>
  65. <tr style="display:none;">
  66. <td colspan="20"><div class="dssc-goods-sku ps-container"></div></td>
  67. </tr>
  68. {/foreach}
  69. {else /}
  70. <tr class="no_data">
  71. <td colspan="15">{$Think.lang.ds_no_record}</td>
  72. </tr>
  73. {/notempty}
  74. {else}
  75. {notempty name="live_apply_list"}
  76. {foreach name="live_apply_list" item="v"}
  77. <tr class="hover edit" id="ds_row_{$v.live_apply_id}">
  78. <td>{$v.live_apply_id}</td>
  79. <td>
  80. {if $v.live_apply_cover_video}
  81. <video width="100" height="100" src="{$v.live_apply_cover_video_url}" />
  82. {else}
  83. <img width="100" height="100" src="{$v.live_apply_cover_image_url}" />
  84. {/if}
  85. </td>
  86. <td>{$v.live_apply_name}</td>
  87. <td>{$v.live_apply_play_time|date='Y-m-d H:i'}</td>
  88. <td>{$v.live_apply_user_name}</td>
  89. <td>{$Think.lang.live_apply_state_text[$v['live_apply_state']]}</td>
  90. <td>{if $v.live_apply_state==1}{if $v.live_apply_end_time>TIMESTAMP}{$Think.lang.live_apply_push_state_text[$v['live_apply_push_state']]}{else}{$Think.lang.live_end}{/if}{/if}</td>
  91. <td>{$v.live_apply_add_time|date='Y-m-d H:i'}</td>
  92. <td class="align-center">
  93. <a href="javascript:dsLayerOpen('{:url('live_apply/view',['live_apply_id'=>$v.live_apply_id])}')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
  94. {if $v.live_apply_state==2}
  95. <a href="javascript:dsLayerConfirm('{:url('live_apply/del',['live_apply_id'=>$v.live_apply_id])}','{$Think.lang.ds_ensure_del}',{$v.live_apply_id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  96. {/if}
  97. </td>
  98. </tr>
  99. <tr style="display:none;">
  100. <td colspan="20"><div class="dssc-goods-sku ps-container"></div></td>
  101. </tr>
  102. {/foreach}
  103. {else /}
  104. <tr class="no_data">
  105. <td colspan="15">{$Think.lang.ds_no_record}</td>
  106. </tr>
  107. {/notempty}
  108. {/if}
  109. </tbody>
  110. </table>
  111. {$show_page|raw}
  112. </div>
  113. {include file="public/footer" /}