delivery_channels_list.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <{include file="./admin/header.html"}>
  2. <{include file="./admin/left.html"}>
  3. <{include file="./admin/nav.html"}>
  4. <{include file="get_kindeditor.html"}>
  5. <style>
  6. .set-nav {
  7. margin: 0 auto;
  8. }
  9. .set-nav-hr {
  10. background-color: #ddd;
  11. height: 1px;
  12. position: relative;
  13. }
  14. .form-group label {
  15. font-weight: 600;
  16. }
  17. .checkbox-inline, .radio-inline {
  18. font-weight: 400!important;
  19. }
  20. .rowlabel {
  21. font-weight: 300!important;
  22. }
  23. .music_play_hide {
  24. display:none;
  25. }
  26. .popup {
  27. display: none;
  28. position: absolute;
  29. top: 0;
  30. width: 160px;
  31. z-index: 100;
  32. }
  33. </style>
  34. <div id="activity_container">
  35. <form id="activity_form">
  36. <div class="activity_center">
  37. <{include file="./admin/activity/common_nav.html"}>
  38. <input name="events_id" type="hidden" value="<{$eventData.events.id}>">
  39. <div class="panel panel-default">
  40. <div class="panel-heading"><h3 class="panel-title" id="panel-title">投放渠道</h3></div>
  41. <div class="panel-body">
  42. <p><a href="<{$web_cfg.domain}>/?c=Admin_Activity_DeliveryChannels&a=PageAddDeliveryChannels&events_id=<{$eventData.id}>" class="button button-primary button-small " style="width:150px;"><i class="fa fa-refresh fa-spin" style="display:none;"></i> 添加渠道 </a></p>
  43. <div class="form-group">
  44. <div>
  45. <table class="table table-hover">
  46. <thead>
  47. <tr>
  48. <th>渠道名称</th>
  49. <th>所在列表</th>
  50. <th>URL</th>
  51. <th>二维码</th>
  52. <th>渠道PV</th>
  53. </tr>
  54. </thead>
  55. <tbody>
  56. <{foreach from=$pagePublicData.EventsDefaultCode item=qrcode name=qrcode}>
  57. <tr>
  58. <td>默认</td>
  59. <td><{$qrcode.name}></td>
  60. <td><{$qrcode.url}></td>
  61. <td style="position:relative;">
  62. <img class="pop" width="80px" alt="<{$qrcode.name}>" src="<{$qrcode.img}>">
  63. <img class="popup" alt="<{$qrcode.name}>" src="<{$qrcode.img}>">
  64. </td>
  65. <td><{if $qrcode.pv}><{$qrcode.pv}><{else}>0<{/if}></td>
  66. </tr>
  67. <{/foreach}>
  68. <tr></tr>
  69. <{foreach from=$deliveryChannelsData item=data}>
  70. <tr>
  71. <td><{$data.str_name}></td>
  72. <{if $data.platform_id}>
  73. <td><{$platFormData[$data.platform_id].name}></td>
  74. <{else}>
  75. <td>无</td>
  76. <{/if}>
  77. <td><{$data.url}></td>
  78. <td style="position:relative;">
  79. <img class="pop" width="80px" alt="<{$data.str_name}>" src="<{$data.img_url}>">
  80. <img class="popup" alt="<{$data.str_name}>" src="<{$data.img_url}>">
  81. </td>
  82. <td><{$data.pv_num}></td>
  83. </tr>
  84. <{/foreach}>
  85. </tbody>
  86. </table>
  87. <{$page_html}>
  88. </div>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. <{include file="./admin/activity/common_right.html"}>
  94. <div style="clear:both;"></div>
  95. </form>
  96. </div>
  97. <script>
  98. KISSY.use('node, io, event', function (S, Node, IO, Event) {
  99. var $ = S.all;
  100. $(".pop").on('mouseenter', function () {
  101. $(this).next(".popup").css({'display':'block'});
  102. });
  103. $(".popup").on('mouseleave', function () {
  104. $(this).css({'display':'none'});
  105. });
  106. });
  107. </script>
  108. <{include file="./admin/bottom.html"}>