123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <{include file="./admin/header.html"}>
- <{include file="./admin/left.html"}>
- <{include file="./admin/nav.html"}>
- <{include file="get_kindeditor.html"}>
- <style>
- .set-nav {
- margin: 0 auto;
- }
- .set-nav-hr {
- background-color: #ddd;
- height: 1px;
- position: relative;
- }
- .form-group label {
- font-weight: 600;
- }
- .checkbox-inline, .radio-inline {
- font-weight: 400!important;
- }
- .rowlabel {
- font-weight: 300!important;
- }
- .music_play_hide {
- display:none;
- }
- .popup {
- display: none;
- position: absolute;
- top: 0;
- width: 160px;
- z-index: 100;
- }
- </style>
- <div id="activity_container">
- <form id="activity_form">
- <div class="activity_center">
- <{include file="./admin/activity/common_nav.html"}>
- <input name="events_id" type="hidden" value="<{$eventData.events.id}>">
- <div class="panel panel-default">
- <div class="panel-heading"><h3 class="panel-title" id="panel-title">投放渠道</h3></div>
- <div class="panel-body">
- <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>
- <div class="form-group">
- <div>
-
- <table class="table table-hover">
- <thead>
- <tr>
- <th>渠道名称</th>
- <th>所在列表</th>
- <th>URL</th>
- <th>二维码</th>
- <th>渠道PV</th>
- </tr>
- </thead>
-
- <tbody>
-
- <{foreach from=$pagePublicData.EventsDefaultCode item=qrcode name=qrcode}>
-
- <tr>
- <td>默认</td>
- <td><{$qrcode.name}></td>
- <td><{$qrcode.url}></td>
- <td style="position:relative;">
- <img class="pop" width="80px" alt="<{$qrcode.name}>" src="<{$qrcode.img}>">
- <img class="popup" alt="<{$qrcode.name}>" src="<{$qrcode.img}>">
- </td>
- <td><{if $qrcode.pv}><{$qrcode.pv}><{else}>0<{/if}></td>
- </tr>
-
- <{/foreach}>
- <tr></tr>
- <{foreach from=$deliveryChannelsData item=data}>
- <tr>
- <td><{$data.str_name}></td>
- <{if $data.platform_id}>
- <td><{$platFormData[$data.platform_id].name}></td>
- <{else}>
- <td>无</td>
- <{/if}>
- <td><{$data.url}></td>
- <td style="position:relative;">
- <img class="pop" width="80px" alt="<{$data.str_name}>" src="<{$data.img_url}>">
- <img class="popup" alt="<{$data.str_name}>" src="<{$data.img_url}>">
- </td>
- <td><{$data.pv_num}></td>
- </tr>
- <{/foreach}>
- </tbody>
- </table>
- <{$page_html}>
-
- </div>
- </div>
- </div>
- </div>
- </div>
- <{include file="./admin/activity/common_right.html"}>
- <div style="clear:both;"></div>
- </form>
- </div>
- <script>
- KISSY.use('node, io, event', function (S, Node, IO, Event) {
- var $ = S.all;
-
- $(".pop").on('mouseenter', function () {
- $(this).next(".popup").css({'display':'block'});
- });
- $(".popup").on('mouseleave', function () {
- $(this).css({'display':'none'});
- });
- });
- </script>
- <{include file="./admin/bottom.html"}>
|