index.vue 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. <!-- 一体化首页 -->
  2. <template>
  3. <div class="sj-container">
  4. <div class="integrated-con">
  5. <div class="in-header">
  6. <h3 class="title">态势感知监管平台</h3>
  7. <router-link to="/integrated/bigdata" class="header-right" exact><img src="../../assets/images/integrated/logo-small.png" />四平市一体化平台</router-link>
  8. </div>
  9. <div class="map-con"></div>
  10. <div class="left-btn-item">
  11. <div class="left-btn-con">
  12. <router-link to="/integrated/forest" class="header-right" exact>
  13. <div class="left-btn">
  14. <span>数字林业</span>
  15. <i class="iconfont sj-icon-szly"></i>
  16. </div>
  17. </router-link>
  18. </div>
  19. <div class="left-btn-con m-t-5">
  20. <div class="left-btn">
  21. <span>数字农业</span>
  22. <i class="iconfont sj-icon-szny"></i>
  23. </div>
  24. </div>
  25. <div class="left-btn-con m-t-5">
  26. <div class="left-btn">
  27. <span>数字水利</span>
  28. <i class="iconfont sj-icon-szsl"></i>
  29. </div>
  30. </div>
  31. <div class="left-btn-con m-t-5">
  32. <div class="left-btn">
  33. <span>数字环保</span>
  34. <i class="iconfont sj-icon-szhb"></i>
  35. </div>
  36. </div>
  37. </div>
  38. <div class="right-btn-item">
  39. <div class="right-btn-con">
  40. <div class="right-btn">
  41. <i class="iconfont sj-icon-szyj sz"></i>
  42. <span>数字应急</span>
  43. </div>
  44. </div>
  45. <div class="right-btn-con m-t-5">
  46. <div class="right-btn">
  47. <i class="iconfont sj-icon-szjt"></i>
  48. <span>数字交通</span>
  49. </div>
  50. </div>
  51. <div class="right-btn-con m-t-5">
  52. <div class="right-btn">
  53. <i class="iconfont sj-icon-szzx"></i>
  54. <span>数字资源</span>
  55. </div>
  56. </div>
  57. <div class="right-btn-con m-t-5">
  58. <div class="right-btn">
  59. <i class="iconfont sj-icon-szxf"></i>
  60. <span>数字消防</span>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="bottom-menu">
  65. <router-link v-for="(fastMenu,index) in fastMenu" :key="index" class="btm-m-con" :to="fastMenu.path" exact><i class="iconfont" :class="fastMenu.icon"></i>{{fastMenu.name}}</router-link>
  66. </div>
  67. </div>
  68. </div>
  69. </template>
  70. <script>
  71. export default {
  72. data() {
  73. return {
  74. fastMenu:[
  75. {
  76. name:'数据中心',
  77. path:'/',
  78. icon:'sj-icon-shujzx'
  79. },
  80. {
  81. name:'事件中心',
  82. path:'/',
  83. icon:'sj-icon-sjzx'
  84. },
  85. {
  86. name:'监控中心',
  87. path:'/integrated/monitor',
  88. icon:'sj-icon-jkzx'
  89. },
  90. {
  91. name:'任务中心',
  92. path:'/',
  93. icon:'sj-icon-rwzx'
  94. },
  95. {
  96. name:'评测中心',
  97. path:'/',
  98. icon:'sj-icon-pczx'
  99. }
  100. ]
  101. }
  102. }
  103. }
  104. </script>
  105. <style rel="stylesheet/scss" lang="scss">
  106. @import '@/assets/styles/base.scss';
  107. .m-t-5 {
  108. margin-top: 5vh;
  109. }
  110. .integrated-con {
  111. font-family: $fontFk;
  112. width: 100%;
  113. height: 100vh;
  114. background: url("../../assets/images/integrated/integrated-bg.jpg") center;
  115. background-size: cover;
  116. .in-header {
  117. width: 100%;
  118. height: 6vh;
  119. position: absolute;
  120. background: url("../../assets/images/integrated/header.png") center;
  121. background-size: cover;
  122. z-index: 100000;
  123. .title {
  124. margin: 0 auto;
  125. line-height: 5vh;
  126. text-align: center;
  127. background-image: -webkit-linear-gradient(bottom, rgba($color: #00f6ff, $alpha: 1.0), rgba($color: #005aff, $alpha: 1.0));
  128. -webkit-background-clip: text;
  129. -webkit-text-fill-color: transparent;
  130. color: #fff;
  131. font-size: 35px;
  132. }
  133. .header-right {
  134. position: absolute;
  135. right: 10px;
  136. top: 5px;
  137. display: flex;
  138. align-items: center;
  139. color: $inBlue;
  140. }
  141. .header-right:hover{
  142. filter: brightness(2.3);
  143. }
  144. }
  145. .map-con {}
  146. .left-btn-item,
  147. .right-btn-item {
  148. height: 70vh;
  149. width: 25%;
  150. position: absolute;
  151. top: 15vh;
  152. z-index: 100000;
  153. }
  154. .left-btn-item {
  155. left: 0;
  156. .left-btn-con {
  157. width: 100%;
  158. height: 7rem;
  159. background: url(../../assets/images/integrated/btn-bg.png) no-repeat left;
  160. .left-btn {
  161. width: 24rem;
  162. height: 7rem;
  163. background: url(../../assets/images/integrated/btn-six.png) no-repeat left;
  164. display: flex;
  165. justify-content: center;
  166. align-items: center;
  167. -webkit-transform: translateX(0px);
  168. transform: translateX(0px);
  169. transition: all 0.5s ease-in-out;
  170. cursor: pointer;
  171. span {
  172. font-size: 2rem;
  173. color: $inBlue;
  174. }
  175. i {
  176. font-size: 3rem;
  177. color: $inBlue;
  178. margin-left: 1rem;
  179. text-shadow: 0 0 10px rgba($color: $inBlue, $alpha: .6);
  180. }
  181. }
  182. .left-btn:hover {
  183. filter: brightness(2.3);
  184. -webkit-transform: translateX(20px);
  185. transform: translateX(20px);
  186. transition: all 0.5s ease-in-out;
  187. i {
  188. color: $inBlueHover;
  189. text-shadow: 0 0 20px rgba($color: $inBlueHover, $alpha: 1.0);
  190. }
  191. }
  192. }
  193. .left-btn-con:nth-child(1) .left-btn {
  194. margin-left: 10%;
  195. }
  196. .left-btn-con:nth-child(2) .left-btn {
  197. margin-left: 14%;
  198. }
  199. .left-btn-con:nth-child(3) .left-btn {
  200. margin-left: 18%;
  201. }
  202. .left-btn-con:nth-child(4) .left-btn {
  203. margin-left: 22%;
  204. }
  205. }
  206. .right-btn-item {
  207. right: 0;
  208. .right-btn-con {
  209. width: 100%;
  210. height: 7rem;
  211. background: url(../../assets/images/integrated/btn-bg-r.png) right no-repeat;
  212. .right-btn {
  213. width: 24rem;
  214. height: 7rem;
  215. background: url(../../assets/images/integrated/btn-six.png) no-repeat right;
  216. display: flex;
  217. justify-content: center;
  218. align-items: center;
  219. -webkit-transform: translateX(0px);
  220. transform: translateX(0px);
  221. transition: all 0.5s ease-in-out;
  222. cursor: pointer;
  223. span {
  224. font-size: 2rem;
  225. color: $inBlue;
  226. }
  227. i {
  228. font-size: 3rem;
  229. color: $inBlue;
  230. margin-right: 1rem;
  231. text-shadow: 0 0 10px rgba($color: $inBlue, $alpha: .6);
  232. }
  233. .sz {
  234. font-size: 2.5rem;
  235. }
  236. }
  237. .right-btn:hover {
  238. filter: brightness(2.3);
  239. -webkit-transform: translateX(-20px);
  240. transform: translateX(-20px);
  241. transition: all 0.5s ease-in-out;
  242. i {
  243. color: $inBlueHover;
  244. text-shadow: 0 0 20px rgba($color: $inBlueHover, $alpha: 1.0);
  245. }
  246. }
  247. }
  248. .right-btn-con:nth-child(1) .right-btn {
  249. float: right;
  250. margin-right: 10%;
  251. }
  252. .right-btn-con:nth-child(2) .right-btn {
  253. float: right;
  254. margin-right: 14%;
  255. }
  256. .right-btn-con:nth-child(3) .right-btn {
  257. float: right;
  258. margin-right: 18%;
  259. }
  260. .right-btn-con:nth-child(4) .right-btn {
  261. float: right;
  262. margin-right: 22%;
  263. }
  264. }
  265. .bottom-menu {
  266. min-width: 52%;
  267. height: 7vh;
  268. padding: 0 2rem;
  269. position: absolute;
  270. left: 50%;
  271. transform: translateX(-50%);
  272. bottom: 0;
  273. z-index: 100000;
  274. border-radius: 5px;
  275. display: flex;
  276. justify-content: center;
  277. align-items: center;
  278. background: url(../../assets/images/integrated/btm-menu.png) center no-repeat;
  279. background-size: cover;
  280. .btm-m-con {
  281. width: 10rem;
  282. position: relative;
  283. bottom: 1rem;
  284. color: $inBlue;
  285. font-size: 1.2rem;
  286. padding: 0 2rem 1rem 2rem;
  287. display: flex;
  288. flex-direction: column;
  289. align-items: center;
  290. -webkit-transform: translateY(0);
  291. transform: translateY(0);
  292. transition: all 0.2s ease-in-out;
  293. cursor: pointer;
  294. i {
  295. font-size: 2.5rem;
  296. color: $inBlue;
  297. text-shadow: 0 0 10px rgba($color: $inBlue, $alpha: .6);
  298. margin-bottom: 0.5rem;
  299. }
  300. }
  301. .btm-m-con:hover {
  302. text-shadow: 0 0 20px rgba($color: $inBlueHover, $alpha: 1.0);
  303. filter: brightness(2.3);
  304. -webkit-transform: translateY(-10px);
  305. transform: translateY(-10px);
  306. transition: all 0.2s ease-in-out;
  307. i {
  308. color: $inBlueHover;
  309. text-shadow: 0 0 20px rgba($color: $inBlueHover, $alpha: 1.0);
  310. }
  311. }
  312. }
  313. }
  314. </style>