123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <div class="activity_right">
- <div id="" class="panel panel-default" >
- <div class="panel-heading"><h3 class="panel-title" id="panel-title">活动二维码</h3></div>
- <div class="panel-body" style="text-align: center;">
- <div class="ks-activity-right-tabs">
- <div class="ks-tabs-bar">
- <{foreach from=$pagePublicData.EventsDefaultCode item=qrcode name=qrcode}>
- <{if $smarty.foreach.qrcode.index == 0}>
- <div class="ks-tabs-tab <{if $smarty.foreach.qrcode.index == 0}>ks-tabs-tab-selected<{/if}>"><{$qrcode.name}>列表</div>
- <{/if}>
- <{/foreach}>
- </div>
- <div class="ks-tabs-body">
- <{foreach from=$pagePublicData.EventsDefaultCode item=qrcode name=qrcode}>
- <{if $smarty.foreach.qrcode.index == 0}>
- <div class="ks-tabs-panel <{if $smarty.foreach.qrcode.index == 0}>ks-tabs-panel-selected<{/if}>">
- <img src="<{$qrcode.img}>" width="200">
- <div class="form-group" style="text-align:left;">
- <label class="control-label"><{$qrcode.name}>列表地址:</label>
- <input type="text" class="form-control activity_right_url_input" value="<{$qrcode.url}>">
- </div>
- </div>
- <{/if}>
- <{/foreach}>
- </div>
- </div>
- </div>
- </div>
- <div id="activity_type_box" class="panel panel-default activity_info">
- <div class="panel-heading"><h3 class="panel-title" id="panel-title">活动信息</h3></div>
- <div class="panel-body" >
- <div class="">
- <label class="control-label">活动名称:</label>
- <input type="text" value="<{$eventData.events_name}>" style="border:0px none;padding:0px;font-size:12px;" >
- </div>
- <div class="">
- <label class="control-label">活动类型:</label>
- <{$typeData[$eventData.type].desc}>
- </div>
- <div class="">
- <label class="control-label">进行状态:</label>
- <span class="text-muted">
- <{if time() < $eventData.begin_time}>
- <span style="color:#5151A2;">未开始</span>
- <{/if}>
- <{if time() > $eventData.begin_time && time() < $eventData.end_time}>
- <span style="color:#00EC00;">进行中</span>
- <{/if}>
- <{if time() > $eventData.end_time}>
- <span style="color:red;">结束</span>
- <{/if}>
- </span>
- </div>
- <div class="">
- <label class="control-label">发布状态:</label>
- <{if $displayDesc[$eventData.display].kw == 'EVENT_DISPLAY_SHOW'}>
- <span style="color:#00EC00"><{$displayDesc[$eventData.display].desc}></span>
- <{else}>
- <span style="color:red"><{$displayDesc[$eventData.display].desc}></span>
- <{/if}>
- </div>
- <div class="">
- <label class="control-label">是否出现在列表中:</label>
- <{if $pagePublicData.listDisplayDesc[$eventData.list_display].kw == 'LIST_DISPLAY_SHOW'}>
- <span style="color:#00EC00"><{$pagePublicData.listDisplayDesc[$eventData.list_display].desc}></span>
- <{else}>
- <span style="color:red"><{$pagePublicData.listDisplayDesc[$eventData.list_display].desc}></span>
- <{/if}>
- </div>
- <div class="">
- <label class="control-label">开始时间:</label>
- <{$eventData.begin_time|date_format:'%Y-%m-%d %H:%M:%S'}>
- </div>
- <{if $typeData[$thisType].kw != 'TYPE_EVENTS_ARTICLE' }>
- <div>
- <label class="control-label">结束时间:</label>
- <{$eventData.end_time|date_format:'%Y-%m-%d %H:%M:%S'}>
- </div>
- <{/if}>
- </div>
- </div>
- </div>
- <script>
- $('.create_a').on('click', function () {
- var url = $(this).attr('url');
- var requesrUrl = '<{$web_cfg.domain}>?c=Admin_Index&a=TMPCreateImg';
- $.ajax({
- type:'post',
- url: requesrUrl,
- data: {url: url},
- dataType: 'json',
- success: function(data) {
- alert('ok');
- location.reload();
- }
- });
- });
- </script>
|