index.html 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <{include file="./admin/header.html"}>
  2. <{include file="./admin/left.html"}>
  3. <{include file="./admin/nav.html"}>
  4. <style type="text/css">
  5. .quick-create-active .btn{
  6. padding: 5px;
  7. }
  8. </style>
  9. <div class="panel panel-default">
  10. <div class="panel-heading" style="position: relative;"><h3 class="panel-title" id="panel-title">公告</h3> <a class="pull-right" href="<{$web_cfg.domain}>?c=Admin_Platform_Bulletin&a=PageList">more</a></div>
  11. <div class="panel-body">
  12. <ul>
  13. <{foreach from=$bulletinData key=index item=item}>
  14. <li><p class="text-muted"><{$item.create_time|date_format:'%Y-%m-%d'}>&nbsp;&nbsp;&nbsp;<a href="<{$web_cfg.domain}>?c=Admin_Platform_Bulletin&a=PageShow&bulletin_id=<{$item.id}>"><{$item.title}></a></p></li>
  15. <{/foreach}>
  16. </ul>
  17. </div>
  18. </div>
  19. <div class="panel panel-default">
  20. <div class="panel-heading"><h3 class="panel-title" id="panel-title">快捷发布通道</h3></div>
  21. <div class="panel-body">
  22. <div class="row quick-create-active">
  23. <{foreach from=$pagePublicData.rapidEntranceUrl key=index item=item}>
  24. <a href="<{$item}>" class="button button-primary button-small col-md-2" style="margin:0 0 15px 15px;"><{$index}></a>
  25. <{/foreach}>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="panel panel-default">
  30. <div class="panel-heading"><h3 class="panel-title" id="panel-title">我的发布</h3></div>
  31. <div class="panel-body">
  32. <div class="row">
  33. <{if !$myReleaseActivityData}>
  34. <div class="col-md-2">
  35. 未发布活动
  36. </div>
  37. <{else}>
  38. <{foreach from=$myReleaseActivityData key=index item=item}>
  39. <div class="col-md-2">
  40. <div class="thumbnail">
  41. <img src="<{$item.img_url}>" alt="<{$item.events_name}>">
  42. <div class="caption">
  43. <a class="ks-overflow" title="<{$item.events_name}>" href="<{$web_cfg.domain}>?c=Admin_Activity_SetBasics&a=PageShow&events_id=<{$index}>" >[<{$allTypeData[$item.type].desc}>] <{$item.events_name}></a>
  44. </div>
  45. </div>
  46. </div>
  47. <{/foreach}>
  48. <{/if}>
  49. </div>
  50. </div>
  51. </div>
  52. <{*
  53. <div class="panel panel-default">
  54. <div class="panel-body">
  55. <blockquote style="margin:0;">
  56. <b>问题反馈方式:</b><br>
  57. PM:舒宝强<br>
  58. QQ:52278378<br>
  59. Wechat:shubaoqiang
  60. </blockquote>
  61. </div>
  62. </div>
  63. *}>
  64. <script>
  65. KISSY.use('node', function (S, Node) {
  66. var $ = S.all;
  67. var width = $(".col-md-2 img").width();
  68. $(".col-md-2 img").height(width/2);
  69. });
  70. </script>
  71. <{include file="./admin/bottom.html"}>