main.php 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/5
  6. * Time: 下午9:58
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/index/echarts.js");
  10. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/index/index_echarts.js");
  11. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/index/main.js");
  12. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/index/roll/jquery.pause.min.js");
  13. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/index/roll/weiboscroll.js");
  14. ?>
  15. <style>
  16. .larry-bg-purple{background:-webkit-linear-gradient(top,#CB5DEF,#9825D1);box-shadow:0 3px 14px 2px #F1D0FD;}
  17. .larry-bg-two{background:-webkit-linear-gradient(top,#23d4d4,#16d1b6);box-shadow:0 3px 14px 2px #D1F6F1;}
  18. .larry-bg-orange{background:-webkit-linear-gradient(top,#FFC93B,#FFB800);box-shadow:0 3px 14px 2px #FFD4E0;}
  19. .larry-bg-xmtwo{background:-webkit-linear-gradient(top,#da5c8b,#dc3949);}
  20. .larry-bg-xmld{background:-webkit-linear-gradient(top,#18adda,#2332d2)}
  21. .larry-bg-gray{background:#F1F2F7;}
  22. .panel_box {min-width:530px;width:95%;margin:0 auto;}
  23. .panel_box a{height:80px;}
  24. .panel{margin:15px 10px 0 15px;height:80px;min-width:245px;width:22.6%;}
  25. .panel_icon{line-height:80px;height:80px;width:27%;border-radius:6px;}
  26. .panel_icon i{font-size:38px !important;}
  27. .panel_word{margin:10px auto 0;float:left;}
  28. .panel_word span {font-size: 22px;}
  29. .panel_word cite{font-size:18px;margin-top:10px;}
  30. .layui-table-header{display:none;}
  31. /*公告样式*/
  32. #box_title {width:100%;margin: 0px auto;font-weight: bold;line-height: 28px;font-size: 18px;}
  33. .con {width:100%;height: 360px;margin: 0px auto;position: relative;background-color: #FFF;overflow: hidden;margin-top:15px;}
  34. .con .bottomcover {position: absolute;bottom: 0;background: url("/js/index/roll/halftransp.png") no-repeat 0 -5px;height: 35px;width:100%;
  35. _background: none;
  36. _filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://img.t.sinajs.cn/t35/style/images/tlogin/halftransp.png?id=1341302813656', sizingMethod='crop');
  37. pointer-events: none;
  38. }
  39. img {border: none;}
  40. .con ul {position: relative;margin: 5px 10px 0px 10px;top: 0;left: 0;padding: 0;}
  41. .con ul li {width: 100%;border-top: 1px dotted #d6d6d6;padding: 10px 0;_padding: 8px 0;overflow: hidden;line-height: 1.5;height:64px;position:relative;}
  42. .con ul li .div_left {display:inline-block;vertical-align:top;width:60px;height:60px;/*border: 1px solid;*/}
  43. .con ul li .div_left img {display:block;width:100%;height:100%;}
  44. .con ul li .div_right {width:66%;display:inline-block;vertical-align:top;margin-left:10px;}
  45. .con ul li .div_right a {color: #6EAFD5;padding: 0px;}
  46. .con ul li .div_right .twit_item_time {color: #999;padding: 0px;}
  47. .layui_btn {position:absolute;right:10px;top:50%;margin-top:-11px;}
  48. </style>
  49. <blockquote class="layui-elem-quote layui-bg-green">
  50. <div id="nowTime"></div>
  51. </blockquote>
  52. <div class="layui-row layui-col-space10 panel_box">
  53. <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  54. <a href="javascript:;" data-url="http://fly.layui.com/case/u/3198216">
  55. <div class="panel_icon layui-bg-blue">
  56. <i class="layui-anim seraph icon-wechat"></i>
  57. </div>
  58. <div class="panel_word">
  59. <span>3</span>
  60. <cite>今日问答</cite>
  61. </div>
  62. </a>
  63. </div>
  64. <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  65. <a href="javascript:;" data-url="https://github.com/BrotherMa/layuicms2.0">
  66. <div class="panel_icon layui-bg-red">
  67. <i class="layui-anim seraph icon-xiugai"></i>
  68. </div>
  69. <div class="panel_word">
  70. <span>60</span>
  71. <cite>后台报名</cite>
  72. </div>
  73. </a>
  74. </div>
  75. <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  76. <a href="javascript:;" data-url="https://gitee.com/layuicms/layuicms2.0">
  77. <div class="panel_icon larry-bg-purple">
  78. <i class="layui-anim seraph icon-text" ></i>
  79. </div>
  80. <div class="panel_word">
  81. <span>100</span>
  82. <cite>文字发表</cite>
  83. </div>
  84. </a>
  85. </div>
  86. <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  87. <a href="javascript:;" data-url="https://gitee.com/layuicms/layuicms2.0">
  88. <div class="panel_icon larry-bg-two">
  89. <i class="layui-anim seraph icon-vip"></i>
  90. </div>
  91. <div class="panel_word">
  92. <span>60</span>
  93. <cite>会员数量</cite>
  94. </div>
  95. </a>
  96. </div>
  97. <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  98. <a href="javascript:;" data-url="https://gitee.com/layuicms/layuicms2.0">
  99. <div class="panel_icon larry-bg-xmtwo">
  100. <i class="layui-anim seraph icon-icon10"></i>
  101. </div>
  102. <div class="panel_word">
  103. <span>50</span>
  104. <cite>今日访问</cite>
  105. </div>
  106. </a>
  107. </div>
  108. <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  109. <a href="javascript:;" data-url="https://gitee.com/layuicms/layuicms2.0">
  110. <div class="panel_icon larry-bg-xmld">
  111. <i class="layui-icon layui-anim seraph" style="font-size:35px !important; color: #FFF;">&#xe63b</i>
  112. </div>
  113. <div class="panel_word">
  114. <span>150</span>
  115. <cite>有效来电</cite>
  116. </div>
  117. </a>
  118. </div>
  119. <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  120. <a href="javascript:;" data-url="page/House/index.html">
  121. <div class="panel_icon larry-bg-orange">
  122. <i class="layui-icon layui-anim seraph" style="font-size: 30px; color: #FFF;">&#xe61f</i>
  123. </div>
  124. <div class="panel_word">
  125. <span>60</span>
  126. <cite>楼盘数量</cite>
  127. </div>
  128. </a>
  129. </div>
  130. <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  131. <a href="javascript:;" data-url="page/News/index.html">
  132. <div class="panel_icon layui-bg-green">
  133. <i class="layui-icon layui-anim seraph" style="font-size:30px !important; color: #FFF;">&#xe62a</i>
  134. </div>
  135. <div class="panel_word">
  136. <span>80</span>
  137. <cite>资讯数量</cite>
  138. </div>
  139. </a>
  140. </div>
  141. <!-- <div class="panel layui-col-xs12 layui-col-sm6 layui-col-md4 layui-col-lg2">
  142. <a href="javascript:;">
  143. <div class="panel_icon layui-bg-blue">
  144. <i class="layui-anim seraph icon-clock"></i>
  145. </div>
  146. <div class="panel_word">
  147. <span class="loginTime"></span>
  148. <cite>上次登录时间</cite>
  149. </div>
  150. </a>
  151. </div> -->
  152. </div>
  153. <div class="layui-row layui-col-space10" style="margin:30px auto 0;width:95%">
  154. <div class="layui-col-lg6 layui-col-md12" style="background:#FFF;width:48%;min-width:500px;margin:0 32px 15px 0;">
  155. <blockquote class="layui-elem-quote title" style="background:#FFF;font-size:18px;">发展历程&更新日志</blockquote>
  156. <hr class="layui-bg-gray">
  157. <div id="container" style="width:100%;height:432px;"></div>
  158. </div>
  159. <div class="layui-col-lg6 layui-col-md12" style="background:#FFF;width:48%;min-width:500px;">
  160. <blockquote class="layui-elem-quote title" style="background:#FFF;font-size:18px;">后台公告</blockquote>
  161. <!-- <div id="box_title">最新公告</div> -->
  162. <div class="con" >
  163. <div class="bottomcover" style="z-index: 2;"></div>
  164. <ul>
  165. </ul>
  166. </div>
  167. <!-- 系统基本参数 -->
  168. <!-- <table id="newsList" lay-filter="newsList"></table> -->
  169. </div>
  170. </div>