index.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <extend name="$_admin_public_layout" />
  2. <block name="main">
  3. <!-- 多标签后台内容部分 -->
  4. <div class="tab-content ct-tab-content">
  5. <div class="cs-home-remark">
  6. <div class="user-infor">
  7. <dt><i class="icon icon-user"></i></dt>
  8. <dd>
  9. <h3>你好, <span>{$_user_auth.nickname}</span> 欢迎使用本系统!</h3>
  10. <p>{:C('LOGO_DEFAULT')} <i class="icon icon-edit"></i></p>
  11. </dd>
  12. </div>
  13. <div class="timer">
  14. <div class="date">---</div>
  15. <div class="day">--</div>
  16. <time><span class="hh">--</span> : <span class="mm">--</span>: <span class="ss">--</span>
  17. <div class="apm">--</div>
  18. </time>
  19. </div>
  20. </div>
  21. <div class="line"></div>
  22. <div class="system-title">
  23. <i class="icon-qrcode"></i>
  24. <h2>{:C('WEB_SITE_COPYRIGHT')}</h2>
  25. <small>{:C('WEB_SITE_COPYRIGHT')}</small>
  26. </div>
  27. <div class="bg-home-bot"></div>
  28. <div class="version"
  29. style="width:90%;margin-left: 50px;height:30%;overflow: hidden/*border:1px solid #C9C9C9;*/">
  30. <div class="lf-title">
  31. 版本更新记录:
  32. </div>
  33. <volist name="version" id="val">
  34. <div class="lf">
  35. <p class="lf-p1">{$val.version}</p>
  36. <p class="lf-p2">{$val.update_info}</p>
  37. </div>
  38. </volist>
  39. </div>
  40. </div>
  41. <script src="__PUBLIC__/libs/guide/bootstrap-tour.js"></script>
  42. <script src="__PUBLIC__/libs/guide/guide_index.js?_t=2016121401"></script>
  43. <script>
  44. var sconds = setInterval(function (argument) {
  45. var date = new Date(),
  46. nowYear = date.getFullYear(),
  47. nowMonth = date.getMonth() + 1, //注意getMonth从0开始,getDay()也是(此时0代表星期日)
  48. nowDay = date.getDate(),
  49. nowHour = date.getHours(),
  50. nowMinute = date.getMinutes(),
  51. nowSecond = date.getSeconds();
  52. //nowSecond =Number,
  53. weekday = ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
  54. nowWeek = weekday[date.getDay()];
  55. $(".date").text(nowYear + "-" + nowMonth + "-" + nowDay);
  56. $(".day").text(nowWeek);
  57. $(".hh").text(nowHour);
  58. $(".mm").text(nowMinute);
  59. $(".ss").text(nowSecond);
  60. if (nowHour > 12) {
  61. $(".apm").text("PM");
  62. }
  63. else {
  64. $(".apm").text("AM");
  65. }
  66. if (nowMinute < 10) {
  67. $(".mm").text("0" + nowMinute);
  68. }
  69. if (nowSecond < 10) {
  70. $(".ss").text("0" + nowSecond);
  71. }
  72. }, 1000)
  73. function openWin() {
  74. /**
  75. var opType = "11";
  76. if(opType != "11"){
  77. return;
  78. }
  79. */
  80. $('#_dlg_').dialog({
  81. title: '供应商二维码',
  82. width: 380,
  83. height: 420,
  84. closed: false,
  85. cache: false,
  86. href: '/scm/supplier/spQrcd',
  87. modal: true,
  88. buttons: []
  89. });
  90. }
  91. function downWin() {
  92. $('#downWin').dialog({
  93. title: '文件下载',
  94. width: 500,
  95. height: 320,
  96. closed: false,
  97. cache: false,
  98. href: '/scm/supplier/download',
  99. modal: true
  100. });
  101. }
  102. function Win() {
  103. $('#_dlg_').dialog({
  104. title: '供应商信息',
  105. width: 450,
  106. height: 300,
  107. closed: false,
  108. cache: false,
  109. href: '/system/user/updateSelf',
  110. modal: true,
  111. inline: true,
  112. buttons: [{ text: '保存', handler: function () { saveSp(); } }, { text: '取消', handler: function () { $('#_dlg_').dialog('close'); } }]
  113. });
  114. }
  115. </script>
  116. </block>