index.vue 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <template>
  2. <div class="application-center">
  3. <!-- 顶部横幅区域 -->
  4. <div class="banner">
  5. <div class="banner-content">
  6. <h1 class="banner-title">应用中心</h1>
  7. <p class="banner-description">
  8. 收集、管理区级应用的访问地址、使用单位、使用情况等。
  9. 区委办局、街镇、居村应基于区级节点开展区级时空应用建设。
  10. </p>
  11. <el-button type="primary" class="enter-button" @click="handleEnterClick">点击进入</el-button>
  12. </div>
  13. </div>
  14. <!-- 示范应用区域 -->
  15. <div class="demo-applications">
  16. <div class="section-title">
  17. <h2>示范应用</h2>
  18. <div class="title-line"></div>
  19. </div>
  20. <div class="applications-grid">
  21. <!-- 应用卡片1 -->
  22. <div class="application-card">
  23. <div class="card-image">
  24. <img src="~@/assets/images/common/app-bg-1.png" alt="青浦区环境自动监测信息化平台" />
  25. </div>
  26. <h3 class="card-title">青浦区环境自动监测信息化平台</h3>
  27. <div class="card-info">
  28. <p><strong>访问类型:</strong>公开</p>
  29. <p><strong>建设单位:</strong>青浦区环境局</p>
  30. <p><strong>建设时间:</strong>2024.10.25</p>
  31. </div>
  32. </div>
  33. <!-- 应用卡片2 -->
  34. <div class="application-card">
  35. <div class="card-image">
  36. <img src="~@/assets/images/common/app-bg-2.png" alt="青浦区燃气行业监管平台" />
  37. </div>
  38. <h3 class="card-title">青浦区燃气行业监管平台</h3>
  39. <div class="card-info">
  40. <p><strong>访问类型:</strong>公开</p>
  41. <p><strong>建设单位:</strong>青浦区环境局</p>
  42. <p><strong>建设时间:</strong>2024.10.25</p>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="applications-grid">
  47. <!-- 应用卡片3 -->
  48. <div class="application-card">
  49. <div class="card-image">
  50. <img src="~@/assets/images/common/app-bg-3.png" alt="青浦区环境自动监测信息化平台" />
  51. </div>
  52. <h3 class="card-title">青浦区环境自动监测信息化平台</h3>
  53. <div class="card-info">
  54. <p><strong>访问类型:</strong>公开</p>
  55. <p><strong>建设单位:</strong>青浦区环境局</p>
  56. <p><strong>建设时间:</strong>2024.10.25</p>
  57. </div>
  58. </div>
  59. <!-- 应用卡片4 -->
  60. <div class="application-card">
  61. <div class="card-image">
  62. <img src="~@/assets/images/common/app-bg-4.png" alt="青浦区消防救援支队一网统管平台" />
  63. </div>
  64. <h3 class="card-title">青浦区消防救援支队一网统管平台</h3>
  65. <div class="card-info">
  66. <p><strong>访问类型:</strong>公开</p>
  67. <p><strong>建设单位:</strong>青浦区环境局</p>
  68. <p><strong>建设时间:</strong>2024.10.25</p>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </template>
  75. <script>
  76. export default {
  77. name: "ApplicationCenter",
  78. data() {
  79. return {}
  80. },
  81. methods: {
  82. handleEnterClick() {
  83. this.$router.push('appCenter');
  84. }
  85. }
  86. }
  87. </script>
  88. <style lang="less" scoped>
  89. .application-center {
  90. width: 100%;
  91. min-height: 100vh;
  92. background-color: #08224a;
  93. color: #ffffff;
  94. overflow-x: hidden;
  95. }
  96. /* 顶部横幅样式 */
  97. .banner {
  98. width: 100%;
  99. height: 786px;
  100. background: url(~@/assets/images/common/u720.png) no-repeat center center;
  101. background-size: cover;
  102. display: flex;
  103. justify-content: center;
  104. align-items: center;
  105. position: relative;
  106. overflow: hidden;
  107. &::before {
  108. content: '';
  109. position: absolute;
  110. top: 0;
  111. left: 0;
  112. width: 100%;
  113. height: 100%;
  114. background: rgba(8, 34, 74, 0.7);
  115. z-index: 1;
  116. }
  117. .banner-content {
  118. position: relative;
  119. z-index: 2;
  120. text-align: center;
  121. max-width: 800px;
  122. padding: 0 20px;
  123. }
  124. .banner-title {
  125. font-size: 64px;
  126. font-weight: bold;
  127. letter-spacing: 0.5rem;
  128. margin-bottom: 20px;
  129. color: #ffffff;
  130. text-align: left;
  131. text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  132. }
  133. .banner-description {
  134. font-size: 22px;
  135. line-height: 1.8;
  136. margin-bottom: 40px;
  137. margin-top: 70px;
  138. text-align: left;
  139. color: rgba(255, 255, 255, 0.9);
  140. }
  141. .enter-button {
  142. padding: 12px 36px;
  143. font-size: 18px;
  144. border-radius: 10px;
  145. background-color: #1890ff;
  146. border: none;
  147. transition: all 0.3s ease;
  148. &:hover {
  149. background-color: #40a9ff;
  150. transform: translateY(-2px);
  151. box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
  152. }
  153. }
  154. }
  155. /* 示范应用区域样式 */
  156. .demo-applications {
  157. padding: 60px 20px;
  158. // max-width: 1400px;
  159. width: 80%;
  160. margin: 0 auto;
  161. .section-title {
  162. text-align: center;
  163. margin-bottom: 60px;
  164. h2 {
  165. font-size: 36px;
  166. font-weight: bold;
  167. margin-bottom: 15px;
  168. color: #ffffff;
  169. }
  170. .title-line {
  171. width: 80px;
  172. height: 3px;
  173. background-color: #1890ff;
  174. margin: 0 auto;
  175. }
  176. }
  177. .applications-grid {
  178. display: grid;
  179. grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  180. gap: 30px;
  181. margin: 60px 0 60px 0px;
  182. .application-card {
  183. background: rgba(24, 144, 255, 0.1);
  184. border: 1px solid rgba(24, 144, 255, 0.3);
  185. border-radius: 8px;
  186. overflow: hidden;
  187. transition: all 0.3s ease;
  188. &:hover {
  189. transform: translateY(-5px);
  190. box-shadow: 0 10px 30px rgba(24, 144, 255, 0.3);
  191. border-color: rgba(24, 144, 255, 0.6);
  192. }
  193. .card-image {
  194. width: 100%;
  195. height: 200px;
  196. overflow: hidden;
  197. img {
  198. width: 100%;
  199. height: 100%;
  200. object-fit: cover;
  201. transition: transform 0.3s ease;
  202. }
  203. &:hover img {
  204. transform: scale(1.05);
  205. }
  206. }
  207. .card-title {
  208. font-size: 18px;
  209. font-weight: bold;
  210. padding: 20px 20px 15px;
  211. margin: 0;
  212. color: #ffffff;
  213. border-bottom: 1px solid rgba(24, 144, 255, 0.3);
  214. }
  215. .card-info {
  216. padding: 15px 20px 20px;
  217. font-size: 14px;
  218. // color: rgba(255, 255, 255, 0.8);
  219. color: #ffffff;
  220. p {
  221. margin: 8px 0;
  222. line-height: 1.6;
  223. strong {
  224. // color: rgba(24, 144, 255, 0.9);
  225. color: #ffffff;
  226. }
  227. }
  228. }
  229. }
  230. }
  231. }
  232. /* 响应式设计 */
  233. @media (max-width: 768px) {
  234. .banner {
  235. height: 400px;
  236. .banner-title {
  237. font-size: 36px;
  238. }
  239. .banner-description {
  240. font-size: 14px;
  241. }
  242. .enter-button {
  243. padding: 10px 28px;
  244. font-size: 16px;
  245. }
  246. }
  247. .demo-applications {
  248. padding: 40px 15px;
  249. .section-title h2 {
  250. font-size: 28px;
  251. }
  252. .applications-grid {
  253. grid-template-columns: 1fr;
  254. gap: 20px;
  255. }
  256. }
  257. }
  258. </style>