HomePage.vue 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695
  1. <template>
  2. <div class="home container">
  3. <div class="part1">
  4. <div class="super-title " style="margin-top:240px ;">青浦区“一张图”区级节点</div>
  5. <div class="title-sub ">以二三维一体化引擎为核心,构建政务时空数据治理与应用服务生态,赋能城市精细化治理</div>
  6. <div class="part1-1">
  7. <div class="part1-1-1">
  8. <div class="number-container">
  9. <span class="text">调用总数</span>
  10. <span v-for="(num, index) in totalCall" :key="index">
  11. <span v-if="num.indexOf(',') > -1">
  12. <span class="separator">,</span>
  13. </span>
  14. <span v-else>
  15. <span class="number-item">{{ num }}</span>
  16. </span>
  17. </span>
  18. <span class="text">次</span>
  19. </div>
  20. </div>
  21. <div class="part1-1-2">
  22. <div class="call-count-container">
  23. <div class="line"></div>
  24. <div>
  25. <span class="text1">当日调用量</span>
  26. <span class="count">{{ todayCall }}</span>
  27. <span class="text2">次</span>
  28. </div>
  29. <div class="line"></div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. <div class="darkblue-background">
  35. <div class="row">
  36. <div>
  37. <div class="strong-data blue ">{{ serveNum }}个</div>
  38. <div class="font middle">服务总数</div>
  39. </div>
  40. <div>
  41. <div class="strong-data blue ">{{ userNum }}个</div>
  42. <div class="font middle">授权用户数</div>
  43. </div>
  44. <div>
  45. <div class="strong-data blue ">{{ appNum }}个</div>
  46. <div class="font middle">授权应用数</div>
  47. </div>
  48. </div>
  49. <div class="second-title ">
  50. 服务调用趋势(近30天)
  51. </div>
  52. <div id="echart1"></div>
  53. <div class="second-title ">
  54. 平台核心运行清单
  55. </div>
  56. <!--四组统计-->
  57. <div class="row">
  58. <div class="lighter-container" style="flex: 2;">
  59. <div class="third-title ">
  60. <el-icon color="#0071e3" size="30px">
  61. <Stopwatch></Stopwatch>
  62. </el-icon>
  63. <div>基础统计</div>
  64. </div>
  65. <div class="grid-2x2">
  66. <div class="lighter-container middle-container">
  67. <div class="strong-data blue">100</div>
  68. <div class="title-sub ">text</div>
  69. </div>
  70. <div class="lighter-container middle-container">
  71. <div class="strong-data blue">200</div>
  72. <div class="title-sub ">text</div>
  73. </div>
  74. <div class="lighter-container middle-container">
  75. <div class="strong-data blue">300</div>
  76. <div class="title-sub ">text</div>
  77. </div>
  78. <div class="lighter-container middle-container">
  79. <div class="strong-data blue">400</div>
  80. <div class="title-sub ">text</div>
  81. </div>
  82. </div>
  83. </div>
  84. <div class="lighter-container" style="flex: 3;">
  85. <div class="between-row">
  86. <div class="third-title">
  87. <el-icon color="#0071e3" size="30px">
  88. <Histogram />
  89. </el-icon>
  90. <div>委办调用情况</div>
  91. </div>
  92. <span>
  93. <el-button v-show="this.chartMluLevel != 'unit'" text size="large" circle @click="chartMluBack()">
  94. <el-icon color="#0071e3" size="30px">
  95. <Back />
  96. </el-icon>
  97. </el-button>
  98. <el-date-picker v-model="chartMluTimeRange" type="daterange" range-separator="到" start-placeholder="开始日期"
  99. end-placeholder="结束日期" @change="chartMluFocus()" />
  100. </span>
  101. </div>
  102. <div id="echartMultiLevelUse"></div>
  103. </div>
  104. </div>
  105. <div class="row">
  106. <div class="lighter-container" style="flex: 3;">
  107. <div class="third-title ">
  108. <el-icon color="#0071e3" size="30px">
  109. <List></List>
  110. </el-icon>
  111. <div>热点资源top10</div>
  112. </div>
  113. <div class="row">
  114. <div class="top-list" style="flex-grow: 1;">
  115. <div v-for="index in 5" :key="index" class="list-item">
  116. <template v-if="resourceTop[index - 1] != null">
  117. <el-avatar size="small" class="circle-number blue">
  118. {{ index }}
  119. </el-avatar>
  120. <div class="font" style="flex-grow: 100;">{{ resourceTop[index - 1].name }}</div>
  121. <div class="font blue">{{ resourceTop[index - 1].value }}</div>
  122. </template>
  123. </div>
  124. </div>
  125. <div class="top-list" style="flex-grow: 1;">
  126. <div v-for="index in 5" :key="index" class="list-item">
  127. <template v-if="resourceTop[index + 4] != null">
  128. <el-avatar size="small" class="circle-number blue">
  129. {{ index + 5 }}
  130. </el-avatar>
  131. <div class="font" style="flex-grow: 100;">{{ resourceTop[index + 4].name }}</div>
  132. <div class="font blue">{{ resourceTop[index + 4].value }}</div>
  133. </template>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. <div class="lighter-container" style="flex: 2;">
  139. <div class="third-title ">
  140. <el-icon color="#0071e3" size="30px">
  141. <School />
  142. </el-icon>
  143. <div>委办调用top5</div>
  144. </div>
  145. <div class="top-list">
  146. <div v-for="index in 5" :key="index" class="list-item">
  147. <template v-if="userTop[index - 1] != null">
  148. <el-avatar size="small" class="circle-number blue">
  149. {{ index }}
  150. </el-avatar>
  151. <div class="font" style="flex-grow: 100;">{{ userTop[index - 1].name }}</div>
  152. <div class="font blue">{{ userTop[index - 1].value }}</div>
  153. </template>
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. <div class="title " style="margin-top:90px ;">应用案例</div>
  159. <div class="title-sub ">技术创新与政务需求深度融合,打造高效、安全、可扩展的时空数据安全平台</div>
  160. <div class="row" style="margin-top: 90px;">
  161. <div>
  162. <div class="strong-data blue ">{{ serveNum }}个</div>
  163. <div class="font middle">地址</div>
  164. </div>
  165. <div>
  166. <div class="strong-data blue ">{{ userNum }}个</div>
  167. <div class="font middle">应用场景</div>
  168. </div>
  169. <div>
  170. <div class="strong-data blue ">{{ appNum }}个</div>
  171. <div class="font middle">服务人数</div>
  172. </div>
  173. </div>
  174. <el-tabs v-model="activeUseCase" class="usecase-tabs" @tab-click="handleClick" stretch="true">
  175. <el-tab-pane label="dataProcass" name="dataProcass">
  176. <template #label>
  177. <div class="tab-lab">
  178. <el-icon :color="activeUseCase == 'dataProcass' ? '#0071e3' : '#fff'" size="30px">
  179. <Expand />
  180. </el-icon>
  181. <div :class="activeUseCase == 'dataProcass' ? 'blue' : ''">数据治理</div>
  182. </div>
  183. </template>
  184. </el-tab-pane>
  185. <el-tab-pane label="useInService" name="useInService">
  186. <template #label>
  187. <div class="tab-lab">
  188. <el-icon :color="activeUseCase == 'useInService' ? '#0071e3' : '#fff'" size="30px">
  189. <Location />
  190. </el-icon>
  191. <div :class="activeUseCase == 'useInService' ? 'blue' : ''">业务应用</div>
  192. </div>
  193. </template></el-tab-pane>
  194. <el-tab-pane label="decisionHelping" name="decisionHelping">
  195. <template #label>
  196. <div class="tab-lab">
  197. <el-icon :color="activeUseCase == 'decisionHelping' ? '#0071e3' : '#fff'" size="30px">
  198. <Guide />
  199. </el-icon>
  200. <div :class="activeUseCase == 'decisionHelping' ? 'blue' : ''">综合决策</div>
  201. </div>
  202. </template></el-tab-pane>
  203. </el-tabs>
  204. <div class="warp-row">
  205. <div v-for="useCaseItem in useCase[activeUseCase]" :key="useCaseItem.title" class="use-case"
  206. :style="`background-image: url(${useCaseItem.picture})`">
  207. <div class="use-case-empty"></div>
  208. <div class="use-case-text">
  209. <el-tag v-for="item in useCaseItem.tags" :key="item" color="#e2e4f4" size="lager" effect="dark" round>
  210. <span class="blue">
  211. {{ item }}
  212. </span>
  213. </el-tag>
  214. <span class="third-title">
  215. {{ useCaseItem.title }}
  216. </span>
  217. <p class="font grey">
  218. {{ useCaseItem.text }}
  219. </p>
  220. </div>
  221. </div>
  222. </div>
  223. <div class="title " style="margin-top:90px ;">实践与探索·六大核心功能</div>
  224. <div class="title-sub ">聚焦政务场景痛点,打造从数据治理到应用落地的全链路创新解决方案</div>
  225. <div class="row" style="margin-top: 36px;">
  226. <div class="lightblue-container">
  227. <div class="third-title">
  228. <el-icon color="white" size="45px">
  229. <DataBoard />
  230. </el-icon>
  231. 时空数据管理
  232. </div>
  233. <p class="font lightgrey">
  234. 空间数据查询是从空间数据集中检索特定信息的操作。它可在关系型数据库如MySQL和SQL
  235. Server中进行,也能在NoSQL数据库如MongoDB里实现。通过特定函数和方法,能快速找到符合条件的数据,为地理信息等领域提供重要支持
  236. </p>
  237. </div>
  238. <div class="lightblue-container">
  239. <div class="third-title">
  240. <el-icon color="white" size="45px">
  241. <Coin />
  242. </el-icon>
  243. 时空数据管理
  244. </div>
  245. <p class="font lightgrey">
  246. 空间数据查询是从空间数据集中检索特定信息的操作。它可在关系型数据库如MySQL和SQL
  247. Server中进行,也能在NoSQL数据库如MongoDB里实现。通过特定函数和方法,能快速找到符合条件的数据,为地理信息等领域提供重要支持
  248. </p>
  249. </div>
  250. <div class="lightblue-container">
  251. <div class="third-title">
  252. <el-icon color="white" size="45px">
  253. <Coin />
  254. </el-icon>
  255. 时空数据管理
  256. </div>
  257. <p class="font lightgrey">
  258. 空间数据查询是从空间数据集中检索特定信息的操作。它可在关系型数据库如MySQL和SQL
  259. Server中进行,也能在NoSQL数据库如MongoDB里实现。通过特定函数和方法,能快速找到符合条件的数据,为地理信息等领域提供重要支持
  260. </p>
  261. </div>
  262. </div>
  263. <div class="row">
  264. <div class="lightblue-container">
  265. <div class="third-title">
  266. <el-icon color="white" size="45px">
  267. <Coin />
  268. </el-icon>
  269. 时空数据管理
  270. </div>
  271. <p class="font lightgrey">
  272. 空间数据查询是从空间数据集中检索特定信息的操作。它可在关系型数据库如MySQL和SQL
  273. Server中进行,也能在NoSQL数据库如MongoDB里实现。通过特定函数和方法,能快速找到符合条件的数据,为地理信息等领域提供重要支持
  274. </p>
  275. </div>
  276. <div class="lightblue-container">
  277. <div class="third-title">
  278. <el-icon color="white" size="45px">
  279. <Coin />
  280. </el-icon>
  281. 时空数据管理
  282. </div>
  283. <p class="font lightgrey">
  284. 空间数据查询是从空间数据集中检索特定信息的操作。它可在关系型数据库如MySQL和SQL
  285. Server中进行,也能在NoSQL数据库如MongoDB里实现。通过特定函数和方法,能快速找到符合条件的数据,为地理信息等领域提供重要支持
  286. </p>
  287. </div>
  288. <div class="lightblue-container">
  289. <div class="third-title">
  290. <el-icon color="white" size="45px">
  291. <Coin />
  292. </el-icon>
  293. 时空数据管理
  294. </div>
  295. <p class="font lightgrey">
  296. 空间数据查询是从空间数据集中检索特定信息的操作。它可在关系型数据库如MySQL和SQL
  297. Server中进行,也能在NoSQL数据库如MongoDB里实现。通过特定函数和方法,能快速找到符合条件的数据,为地理信息等领域提供重要支持
  298. </p>
  299. </div>
  300. </div>
  301. </div>
  302. <div class="dark-background">
  303. <div class="row">
  304. <img :src="require('@/assets/images/common/home-bg2.png')" />
  305. <div class="col">
  306. <div>
  307. <div class="super-title">多源数据统一治理</div>
  308. <div class="super-title">打破格式与基准壁垒</div>
  309. <p class="grey font">支持矢量、栅格等多格式数据转换,同一坐标/投影基准,通过重复项、逻辑/语义一致性检查,让分散数据规范入库</p>
  310. </div>
  311. </div>
  312. </div>
  313. </div>
  314. <div class="darkblue-background col">
  315. <div class="">
  316. <div class="super-title">强大空间计算能力,秒级响应复杂分析</div>
  317. <p class="font middle">内置拓扑计算、空间量算、几何运算等核心功能,支持非空间数据转空间数据,快速解决区域关联、资源覆盖等分析需求</p>
  318. </div>
  319. </div>
  320. <div class="image-background" :style="`background-Image:url('${require('@/assets/images/common/home-bg3.png')}');`">
  321. </div>
  322. <div class="bluedark-background dense-col">
  323. <div>
  324. <div class="super-title">二三维一体化可视化</div>
  325. <div class="super-title">场景适配更灵活</div>
  326. </div>
  327. <div>
  328. <div class="font middle">
  329. GIS通用计算功能,实用便捷超乎想象!
  330. </div>
  331. <div class="font middle">
  332. 测距、剖面分析及点线面绘制轻松实现,坐标转换精准高效,路径规划快速准确,地名搜索智能推荐
  333. </div>
  334. </div>
  335. </div>
  336. <div class="darkblue-background image-background col"
  337. :style="`background-Image:url('${require('@/assets/images/common/home-bg4.png')}');`">
  338. <div class="row" style="margin-top: auto;">
  339. <ElButton type="primary">
  340. 了解更多
  341. </ElButton>
  342. </div>
  343. </div>
  344. <div class="blue-background col">
  345. <div class="warp-row">
  346. <div class="block-page-router">
  347. <div class="title">
  348. 时空数据治理标准化实践
  349. </div>
  350. <p class="font grey">
  351. 构建“检查-加工-发布”全流程数据治理体系,实现矢量/栅格数据标准化处理、多格式转换与瓦片定制,解决区级时空数据格式不统一、质量参差不齐的通电,为全场景应用构牢数据基础
  352. </p>
  353. <div class="row" style="margin-top: auto;">
  354. <div class="font" style="margin-left: auto;">
  355. 了解更多→
  356. </div>
  357. </div>
  358. </div>
  359. <div class="block-page-router">
  360. <div class="title">
  361. 时空数据治理标准化实践
  362. </div>
  363. <p class="font grey">
  364. 构建“检查-加工-发布”全流程数据治理体系,实现矢量/栅格数据标准化处理、多格式转换与瓦片定制,解决区级时空数据格式不统一、质量参差不齐的通电,为全场景应用构牢数据基础
  365. </p>
  366. <div class="row" style="margin-top: auto;">
  367. <div class="font" style="margin-left: auto;">
  368. 了解更多→
  369. </div>
  370. </div>
  371. </div>
  372. <div class="block-page-router">
  373. <div class="title">
  374. 时空数据治理标准化实践
  375. </div>
  376. <p class="font grey">
  377. 构建“检查-加工-发布”全流程数据治理体系,实现矢量/栅格数据标准化处理、多格式转换与瓦片定制,解决区级时空数据格式不统一、质量参差不齐的通电,为全场景应用构牢数据基础
  378. </p>
  379. <div class="row" style="margin-top: auto;">
  380. <div class="font" style="margin-left: auto;">
  381. 了解更多→
  382. </div>
  383. </div>
  384. </div>
  385. <div class="block-page-router">
  386. <div class="title">
  387. 时空数据治理标准化实践
  388. </div>
  389. <p class="font grey">
  390. 构建“检查-加工-发布”全流程数据治理体系,实现矢量/栅格数据标准化处理、多格式转换与瓦片定制,解决区级时空数据格式不统一、质量参差不齐的通电,为全场景应用构牢数据基础
  391. </p>
  392. <div class="row" style="margin-top: auto;">
  393. <div class="font" style="margin-left: auto;">
  394. 了解更多→
  395. </div>
  396. </div>
  397. </div>
  398. <div class="block-page-router">
  399. <div class="title">
  400. 时空数据治理标准化实践
  401. </div>
  402. <p class="font grey">
  403. 构建“检查-加工-发布”全流程数据治理体系,实现矢量/栅格数据标准化处理、多格式转换与瓦片定制,解决区级时空数据格式不统一、质量参差不齐的通电,为全场景应用构牢数据基础
  404. </p>
  405. <div class="row" style="margin-top: auto;">
  406. <div class="font" style="margin-left: auto;">
  407. 了解更多→
  408. </div>
  409. </div>
  410. </div>
  411. <div class="block-page-router">
  412. <div class="title">
  413. 时空数据治理标准化实践
  414. </div>
  415. <p class="font grey">
  416. 构建“检查-加工-发布”全流程数据治理体系,实现矢量/栅格数据标准化处理、多格式转换与瓦片定制,解决区级时空数据格式不统一、质量参差不齐的通电,为全场景应用构牢数据基础
  417. </p>
  418. <div class="row" style="margin-top: auto;">
  419. <div class="font" style="margin-left: auto;">
  420. 了解更多→
  421. </div>
  422. </div>
  423. </div>
  424. </div>
  425. </div>
  426. <div class="bluedark-background col">
  427. <div>
  428. <div class="super-title">多应用标准化接入</div>
  429. <div class="super-title">打破“烟囱式”壁垒</div>
  430. </div>
  431. <p class="font middle">
  432. 亮点说明:通过REST API、WebSocket等标准化接口,无缝接入GIS、遥感监测等各类时空应用,统一管理访问权限与运行状态
  433. </p>
  434. </div>
  435. <div class="dark-background image-background col"
  436. :style="`background-Image:url('${require('@/assets/images/common/home-bg5.png')}');`">
  437. <div class="row" style="margin-top: auto;">
  438. </div>
  439. </div>
  440. </div>
  441. <div class="darkblue-background col" style="height: 1400px;">
  442. <div class="super-title grey">
  443. <div>全链路运行监督</div>
  444. <div>据驱动优化决策</div>
  445. </div>
  446. <p class="font grey middle">实时统计服务调用、用户分布、应用活跃度等核心指标,全维度反馈系统运行状态,为资源调配与功能迭代提供数据支撑</p>
  447. <img :src="require('@/assets/images/common/home-bg6.png')" />
  448. </div>
  449. </template>
  450. <script>
  451. import { countAppUseByUnitName, countServiceUseByApp, countUnitUse } from "@/api/count";
  452. import * as echarts from "echarts";
  453. let chart1 = null;
  454. let chartMultiLevelUse = null;
  455. export default {
  456. name: "Home",
  457. data() {
  458. return {
  459. todayCall: "857,605",
  460. totalCall: [],
  461. serveNum: 456,
  462. userNum: 17,
  463. appNum: 43,
  464. currentTab: "data-governance", // 初始选中项
  465. tabs: [
  466. { key: "data-governance", icon: "", title: "数据治理" },
  467. { key: "business-app", icon: "", title: "业务应用" },
  468. { key: "comprehensive-decision", icon: "", title: "综合决策" }
  469. ],
  470. resourceTop: [
  471. {
  472. name: "常规色地图",
  473. value: 12311
  474. }, {
  475. name: "常规色地图",
  476. value: 12311
  477. }, {
  478. name: "常规色地图",
  479. value: 12311
  480. }, {
  481. name: "常规色地图",
  482. value: 12311
  483. }, {
  484. name: "常规色地图",
  485. value: 12311
  486. }, {
  487. name: "常规色地图",
  488. value: 12311
  489. }, {
  490. name: "常规色地图",
  491. value: 12311
  492. }, {
  493. name: "常规色地图",
  494. value: 12311
  495. }, {
  496. name: "常规色地图",
  497. value: 12311
  498. }, {
  499. name: "常规色地图",
  500. value: 12311
  501. },
  502. ],
  503. userTop: [
  504. {
  505. name: "区数据局",
  506. value: 6014480
  507. }, {
  508. name: "区数据局",
  509. value: 6014480
  510. }, {
  511. name: "区数据局",
  512. value: 6014480
  513. }, {
  514. name: "区数据局",
  515. value: 6014480
  516. }, {
  517. name: "区数据局",
  518. value: 6014480
  519. },
  520. ],
  521. useCase: {
  522. dataProcass: [{
  523. tags: ["盈浦街道", "夏阳街道"],
  524. title: "上海市青浦区教育局·学区查询",
  525. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  526. picture: require('@/assets/images/common/u301.png')
  527. }, {
  528. tags: ["盈浦街道", "夏阳街道"],
  529. title: "上海市青浦区教育局·学区查询",
  530. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  531. picture: require("@/assets/images/common/u301.png")
  532. }, {
  533. tags: ["盈浦街道、夏阳街道"],
  534. title: "上海市青浦区教育局·学区查询",
  535. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  536. picture: require("@/assets/images/common/u661.png")
  537. }, {
  538. tags: ["盈浦街道", "夏阳街道"],
  539. title: "上海市青浦区",
  540. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  541. picture: require("@/assets/images/common/u302.png")
  542. },
  543. ],
  544. useInService: [{
  545. tags: ["盈浦街道", "夏阳街道"],
  546. title: "上海市青浦区教育局·学区查询",
  547. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  548. picture: require("@/assets/images/common/u301.png")
  549. }, {
  550. tags: ["盈浦街道、夏阳街道"],
  551. title: "上海市青浦区教育局·学区查询",
  552. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  553. picture: require("@/assets/images/common/u661.png")
  554. }, {
  555. tags: ["盈浦街道", "夏阳街道"],
  556. title: "上海市青浦区教育局·学区查询",
  557. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  558. picture: require("@/assets/images/common/u301.png")
  559. }, {
  560. tags: ["盈浦街道", "夏阳街道"],
  561. title: "上海市青浦区",
  562. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  563. picture: require("@/assets/images/common/u302.png")
  564. },
  565. ],
  566. decisionHelping: [{
  567. tags: ["盈浦街道", "夏阳街道"],
  568. title: "上海市青浦区教育局·学区查询",
  569. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  570. picture: require("@/assets/images/common/u301.png")
  571. }, {
  572. tags: ["盈浦街道", "夏阳街道"],
  573. title: "上海市青浦区教育局·学区查询",
  574. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  575. picture: require("@/assets/images/common/u301.png")
  576. }, {
  577. tags: ["盈浦街道、夏阳街道"],
  578. title: "上海市青浦区教育局·学区查询",
  579. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  580. picture: require("@/assets/images/common/u661.png")
  581. }, {
  582. tags: ["盈浦街道", "夏阳街道"],
  583. title: "上海市青浦区",
  584. text: "苹果,学名Malus pumila Mill.,别称西洋苹果、柰,属于蔷薇科苹果属的植物 [1-2]。苹果是全球最广泛种植和销售的水果之一,具有悠久的栽培历史和广泛的分布范围。苹果的原始种群主要起源于中亚的天山山脉附近,尤其是现代哈萨克斯坦的阿拉木图地区,提供了所有现代苹果品种的基因库。苹果通过早期的贸易路线,如丝绸之路,从中亚向外扩散到全球各地。 [3]",
  585. picture: require("@/assets/images/common/u302.png")
  586. },
  587. ],
  588. },
  589. activeUseCase: "dataProcass",
  590. chartMluLevel: "unit",
  591. chartMluUnitName: null,
  592. chartMluAppName: null,
  593. chartMluTimeRange: null,
  594. };
  595. },
  596. mounted() {
  597. this.handleTotalCallNumber(667507060);
  598. this.initChart1();
  599. this.initchartMultiLevelUse();
  600. const nowDate = new Date();
  601. nowDate.setHours(0, 0, 0, 0);
  602. this.chartMluTimeRange = [new Date(new Date(nowDate).setDate(nowDate.getDate() - 7)), new Date(nowDate)];
  603. this.chartMluFocusRoot()
  604. },
  605. methods: {
  606. gotoDetail() {
  607. this.$router.push({
  608. path: "/sksjgl",
  609. });
  610. },
  611. // 处理调用总数数字
  612. handleTotalCallNumber(num) {
  613. // 667507060
  614. let str = num.toString();
  615. let strArr = str.split("").reverse();
  616. this.totalCall = [];
  617. for (let i = 0; i < strArr.length; i++) {
  618. const num = strArr[i];
  619. this.totalCall.unshift(num);
  620. if (i % 3 == 2 && i != strArr.length - 1) {
  621. this.totalCall.unshift(",");
  622. }
  623. }
  624. },
  625. initChart1() {
  626. // 基于准备好的dom,初始化echarts实例
  627. var myChart = echarts.init(document.getElementById("echart1"));
  628. let option = {
  629. tooltip: {
  630. trigger: "axis", // 坐标轴触发提示
  631. axisPointer: { type: "shadow" },
  632. },
  633. legend: {
  634. data: ["tokyo", "london"],
  635. textStyle: { color: "#fff" }, // 图例文字颜色
  636. },
  637. xAxis: {
  638. type: "category",
  639. data: [
  640. "Jan",
  641. "Feb",
  642. "Mar",
  643. "Apr",
  644. "May",
  645. "Jun",
  646. "Jul",
  647. "Aug",
  648. "Sep",
  649. "Oct",
  650. "Nov",
  651. ],
  652. axisLine: { lineStyle: { color: "#fff" } }, // 坐标轴颜色
  653. axisTick: { show: false }, // 隐藏刻度
  654. splitLine: { show: false }, // 隐藏分割线
  655. },
  656. yAxis: {
  657. type: "value",
  658. max: 30,
  659. axisLine: { lineStyle: { color: "#fff" } },
  660. splitLine: {
  661. lineStyle: {
  662. type: "dashed", // 虚线网格
  663. color: "#fff",
  664. },
  665. },
  666. },
  667. series: [
  668. {
  669. name: "tokyo",
  670. type: "line",
  671. data: [7, 7, 15, 19, 21, 22, 25, 26, 23, 19, 12], // 模拟数据
  672. lineStyle: { color: "#42a5f5" }, // 蓝色线条
  673. itemStyle: { color: "#42a5f5" }, // 节点颜色
  674. symbol: "circle", // 节点形状
  675. symbolSize: 6, // 节点大小
  676. },
  677. {
  678. name: "london",
  679. type: "line",
  680. data: [3, 3, 6, 12, 15, 17, 18, 17, 14, 10, 6], // 模拟数据
  681. lineStyle: { color: "#4caf50" }, // 绿色线条
  682. itemStyle: { color: "#4caf50" },
  683. symbol: "circle",
  684. symbolSize: 6,
  685. },
  686. ],
  687. };
  688. // 绘制图表
  689. myChart.setOption(option);
  690. chart1 = myChart
  691. },
  692. initchartMultiLevelUse() {
  693. var myChart = echarts.init(document.getElementById("echartMultiLevelUse"));
  694. let option = {
  695. tooltip: {
  696. trigger: 'axis',
  697. show: true,
  698. formatter: '{b}: {c}',
  699. backgroundColor: 'rgba(50, 50, 50, 0.7)',
  700. borderColor: '#333',
  701. textStyle: {
  702. color: '#fff'
  703. }
  704. },
  705. title: {
  706. text: '所有委办',
  707. left: 'center',
  708. top: 20,
  709. textStyle: {
  710. color: '#fff',
  711. fontSize: 18,
  712. fontWeight: 'bold'
  713. },
  714. },
  715. axisPointer: {
  716. type: 'shadow'
  717. },
  718. grid: {
  719. left: '3%',
  720. right: '4%',
  721. bottom: '3%',
  722. containLabel: true
  723. },
  724. xAxis: [
  725. {
  726. type: 'value',
  727. axisLine: { lineStyle: { color: "#fff" } }
  728. }
  729. ],
  730. yAxis: [
  731. {
  732. type: 'category',
  733. axisLine: { lineStyle: { color: "#fff" } },
  734. inverse: true,
  735. data: [""]
  736. }
  737. ],
  738. series: [
  739. {
  740. cursorSize: 20,
  741. name: 'Direct',
  742. type: 'bar',
  743. barWidth: '60%',
  744. data: [0]
  745. }
  746. ],
  747. dataZoom: [
  748. {
  749. type: 'inside', // 内置型,可以用鼠标滚轮缩放
  750. yAxisIndex: 0,
  751. zoomOnMouseWheel: false, // 滚轮缩放
  752. moveOnMouseWheel: true, // 滚轮移动
  753. zoomLock: false,
  754. minValueSpan: 12, // 最小显示数据数量
  755. maxValueSpan: 12 // 最大显示数据数量
  756. }
  757. ]
  758. };
  759. myChart.setOption(option);
  760. myChart.on("click", this.chartMluClick)
  761. chartMultiLevelUse = myChart
  762. },
  763. chartMluFocus(level, farther) {
  764. if (level == null) {
  765. level = this.chartMluLevel
  766. }
  767. switch (level) {
  768. case "unit":
  769. default: {
  770. this.chartMluFocusRoot();
  771. this.chartMluUpdateTitle("所有委办")
  772. break;
  773. }
  774. case "app": {
  775. let unit = farther ?? this.chartMluUnitName ?? ""
  776. this.chartMluFocusApp(unit);
  777. this.chartMluUpdateTitle("委办:"+unit)
  778. break;
  779. }
  780. case "service": {
  781. let app = farther ?? this.chartMluAppName ?? ""
  782. this.chartMluFocusService(app);
  783. this.chartMluUpdateTitle("应用:"+app)
  784. break;
  785. }
  786. }
  787. },
  788. chartMluClick(event) {
  789. switch (this.chartMluLevel) {
  790. case "unit": {
  791. this.chartMluLevel = "app";
  792. this.chartMluUnitName = event.name
  793. break;
  794. }
  795. case "app": {
  796. this.chartMluLevel = "service";
  797. this.chartMluAppName = event.name
  798. break;
  799. }
  800. case "service":
  801. default: {
  802. // do nothing
  803. }
  804. }
  805. this.chartMluFocus();
  806. },
  807. chartMluBack(level) {
  808. //自动回退
  809. if (level == null) {
  810. switch (this.chartMluLevel) {
  811. default:
  812. case "unit": level = "unit"; break;
  813. case "app": level = "unit"; break;
  814. case "service": level = "app"; break;
  815. }
  816. }
  817. this.chartMluLevel = level;
  818. this.chartMluFocus()
  819. },
  820. async chartMluFocusRoot() {
  821. const data = await countUnitUse(...this.chartMluTimeRange);
  822. const names = [];
  823. const values = [];
  824. for (let index = 0; index < data.length; index++) {
  825. const e = data[index];
  826. names.push(e.name);
  827. values.push(e.count);
  828. }
  829. this.chartMluUpdateData(names, values)
  830. },
  831. async chartMluFocusApp(father) {
  832. const data = await countAppUseByUnitName(...this.chartMluTimeRange, father);
  833. const names = [];
  834. const values = [];
  835. for (let index = 0; index < data.length; index++) {
  836. const e = data[index];
  837. names.push(e.name);
  838. values.push(e.count);
  839. }
  840. this.chartMluUpdateData(names, values)
  841. },
  842. async chartMluFocusService(father) {
  843. const data = await countServiceUseByApp(...this.chartMluTimeRange, father);
  844. const names = [];
  845. const values = [];
  846. for (let index = 0; index < data.length; index++) {
  847. const e = data[index];
  848. names.push(e.name);
  849. values.push(e.count);
  850. }
  851. this.chartMluUpdateData(names, values)
  852. },
  853. chartMluUpdateData(names, values) {
  854. chartMultiLevelUse.setOption({
  855. yAxis: [
  856. {
  857. data: names,
  858. }
  859. ],
  860. series: [
  861. {
  862. data: values
  863. }
  864. ]
  865. })
  866. this.chartMluCheckChangeToLog(values)
  867. },
  868. chartMluCheckChangeToLog(values) {
  869. let toLog = false;
  870. values.sort((a, b) => a - b);
  871. let min = values[0];
  872. let max = values[values.length - 1]
  873. if (max / min > 3000) {
  874. toLog = true
  875. }
  876. if (toLog) {
  877. chartMultiLevelUse.setOption(
  878. {
  879. xAxis: [{
  880. type: 'log',
  881. logBase: 10,
  882. min: 1,
  883. axisLine: { lineStyle: { color: "#fff" } },
  884. axisLabel: {
  885. formatter: function (value) {
  886. // 格式化显示
  887. if (value >= 1000) return value / 1000 + 'k';
  888. return value;
  889. }
  890. },
  891. }]
  892. }
  893. )
  894. } else {
  895. chartMultiLevelUse.setOption(
  896. {
  897. xAxis: [{
  898. type: 'value',
  899. min: 0,
  900. axisLine: { lineStyle: { color: "#fff" } },
  901. }]
  902. }
  903. )
  904. }
  905. },
  906. chartMluUpdateTitle(newTitle) {
  907. chartMultiLevelUse.setOption({
  908. title: {
  909. text: newTitle,
  910. }
  911. })
  912. }
  913. }
  914. }
  915. </script>
  916. <style lang="less" scoped>
  917. .font,
  918. .title,
  919. .super-title,
  920. .title-sub,
  921. .second-title,
  922. .third-title,
  923. .strong-data {
  924. color: #fff;
  925. }
  926. .icon {
  927. color: #fff;
  928. fill: currentColor;
  929. }
  930. .middle {
  931. text-align: center;
  932. }
  933. .darkblue-background,
  934. .dark-background,
  935. .bluedark-background,
  936. .blue-background,
  937. .image-background {
  938. padding-top: 40px;
  939. padding-bottom: 40px;
  940. margin-left: 0;
  941. padding-left: 90px;
  942. padding-right: 90px;
  943. min-height: 600px;
  944. }
  945. .darkblue-background {
  946. background: linear-gradient(to bottom,
  947. #02060c 0%,
  948. #0f3460 40%,
  949. #0f3460 100%);
  950. }
  951. .dark-background {
  952. background: #0a0a08
  953. }
  954. .blue-background {
  955. background: #0f3460
  956. }
  957. .bluedark-background {
  958. background: linear-gradient(to bottom,
  959. #0f3460 0%,
  960. #0f3460 60%,
  961. #02060c 100%);
  962. }
  963. .image-background {
  964. background-repeat: no-repeat;
  965. background-position: center;
  966. background-size: 100% auto;
  967. }
  968. .lighter-container {
  969. background-color: #eeeeee0b;
  970. padding: 10px;
  971. margin: 15px;
  972. vertical-align: middle;
  973. border-radius: 3%;
  974. }
  975. .lightblue-container {
  976. border-radius: 3%;
  977. padding: 10px;
  978. margin: 15px;
  979. background: linear-gradient(to bottom,
  980. #215476 0%,
  981. #28638b 66%,
  982. #337aac 100%);
  983. font-size: 20px;
  984. .third-title {
  985. font-size: 28px;
  986. padding: 0;
  987. }
  988. }
  989. .middle-container {
  990. display: flex !important;
  991. justify-content: center;
  992. flex-direction: column;
  993. padding: 0;
  994. align-items: stretch;
  995. }
  996. .row,
  997. .warp-row,
  998. .between-row {
  999. display: flex !important;
  1000. justify-content: space-around;
  1001. padding: 0;
  1002. align-items: stretch;
  1003. }
  1004. .warp-row {
  1005. flex-wrap: wrap;
  1006. }
  1007. .between-row {
  1008. justify-content: space-between;
  1009. }
  1010. .col {
  1011. display: flex !important;
  1012. justify-content: space-around;
  1013. flex-direction: column;
  1014. }
  1015. .dense-col {
  1016. display: flex !important;
  1017. justify-content: center;
  1018. flex-direction: column;
  1019. }
  1020. .start-reverse-col {
  1021. display: flex !important;
  1022. justify-content: start;
  1023. flex-direction: column-reverse;
  1024. }
  1025. .dense-col>*,
  1026. .start-reverse-col>* {
  1027. margin: 10px;
  1028. }
  1029. .grid-2x2 {
  1030. display: grid !important;
  1031. grid-template-columns: 1fr 1fr;
  1032. gap: 12px;
  1033. width: 100%;
  1034. height: 80%;
  1035. }
  1036. .strong-data {
  1037. font-size: 32px;
  1038. font-weight: bold;
  1039. text-align: center;
  1040. }
  1041. .title {
  1042. font-size: 36px;
  1043. margin-top: 10px;
  1044. text-align: center;
  1045. font-weight: bold;
  1046. }
  1047. .super-title {
  1048. font-size: 44px;
  1049. margin-top: 10px;
  1050. text-align: center;
  1051. font-weight: bold;
  1052. }
  1053. .title-sub {
  1054. font-size: 16px;
  1055. margin-top: 10px;
  1056. color: rgb(192, 192, 192);
  1057. text-align: center;
  1058. }
  1059. .second-title {
  1060. font-size: 20px;
  1061. margin-top: 10px;
  1062. padding-left: 10px;
  1063. border-left: 2px solid #3498db;
  1064. font-weight: bold;
  1065. }
  1066. .third-title {
  1067. font-size: 18px;
  1068. margin-top: 10px;
  1069. padding-left: 10px;
  1070. display: flex;
  1071. font-weight: bold;
  1072. }
  1073. .top-list {
  1074. display: flex;
  1075. flex-direction: column;
  1076. }
  1077. .top-list .list-item {
  1078. display: flex;
  1079. justify-content: space-between;
  1080. margin: 15px;
  1081. margin-left: 30px;
  1082. margin-right: 30px;
  1083. }
  1084. .usecase-tabs {
  1085. width: 60%;
  1086. margin: auto;
  1087. margin-top: 60px;
  1088. margin-bottom: 30px;
  1089. }
  1090. .usecase-tabs .tab-lab {
  1091. display: flex;
  1092. align-items: center;
  1093. font-size: 24px;
  1094. color: #fff;
  1095. }
  1096. .use-case {
  1097. margin: 20px;
  1098. width: 45%;
  1099. height: 500px;
  1100. border-radius: 10px;
  1101. background-size: 100% auto;
  1102. /* 横向填满,纵向按比例缩放 */
  1103. background-repeat: no-repeat;
  1104. .use-case-empty {
  1105. width: 100%;
  1106. height: 40%;
  1107. }
  1108. .use-case-text {
  1109. padding: 15px;
  1110. width: 100%;
  1111. height: 60%;
  1112. border-radius: 10px;
  1113. box-sizing: border-box;
  1114. background: linear-gradient(to bottom,
  1115. #377f7f 0%,
  1116. #377f7f 80%,
  1117. #347cac 100%);
  1118. .third-title {
  1119. padding: 0;
  1120. }
  1121. }
  1122. }
  1123. .circle-number {
  1124. display: block;
  1125. background-color: #eeeeee1d;
  1126. }
  1127. .block-page-router {
  1128. display: flex;
  1129. flex-direction: column;
  1130. margin: 15px;
  1131. padding: 15px;
  1132. box-sizing: border-box;
  1133. width: 30%;
  1134. height: 240px;
  1135. border: #2272d4 solid 1px;
  1136. border-radius: 13px;
  1137. background-color: #1e3348;
  1138. }
  1139. .blue {
  1140. color: #3498db;
  1141. }
  1142. .grey {
  1143. color: rgb(192, 192, 192);
  1144. }
  1145. .lightgrey {
  1146. color: rgb(229, 229, 229);
  1147. }
  1148. #echart1 {
  1149. width: 100%;
  1150. height: 450px;
  1151. }
  1152. #echartMultiLevelUse {
  1153. width: 100%;
  1154. height: 450px;
  1155. }
  1156. .container {
  1157. width: 1920px;
  1158. margin: 0 auto;
  1159. }
  1160. .home {
  1161. position: relative;
  1162. .part1 {
  1163. height: 810px;
  1164. background: url(~@/assets/images/common/home-bg1.png) no-repeat center;
  1165. position: relative;
  1166. overflow: hidden;
  1167. .part1-1 {
  1168. width: 1000px;
  1169. height: 200px;
  1170. background: #09284c;
  1171. margin: 0 auto;
  1172. margin-top: 120px;
  1173. overflow: hidden;
  1174. .part1-1-1 {
  1175. height: 70px;
  1176. width: fit-content;
  1177. margin: 0 auto;
  1178. margin-top: 30px;
  1179. .number-container {
  1180. display: flex;
  1181. align-items: flex-start;
  1182. font-size: 2em;
  1183. }
  1184. .number-item {
  1185. width: 57px;
  1186. height: 70px;
  1187. background-color: #007bff;
  1188. color: white;
  1189. display: flex;
  1190. justify-content: center;
  1191. align-items: center;
  1192. margin-right: 20px;
  1193. font-size: 44px;
  1194. line-height: 70px;
  1195. font-weight: bold;
  1196. }
  1197. .separator {
  1198. margin-right: 20px;
  1199. font-size: 35px;
  1200. text-align: end;
  1201. color: #ffffff;
  1202. }
  1203. .text {
  1204. font-size: 24px;
  1205. line-height: 70px;
  1206. margin-right: 20px;
  1207. color: #ffffff;
  1208. font-weight: bold;
  1209. }
  1210. }
  1211. .part1-1-2 {
  1212. height: 50px;
  1213. width: 700px;
  1214. margin: 0 auto;
  1215. margin-top: 30px;
  1216. background: #8080804d;
  1217. border-radius: 5px;
  1218. line-height: 50px;
  1219. div {
  1220. display: inline-block;
  1221. vertical-align: top;
  1222. &.line {
  1223. height: 2px;
  1224. background: #808080;
  1225. width: 100px;
  1226. margin: 24px 20px;
  1227. margin-right: 20px;
  1228. }
  1229. &:nth-child(2) {
  1230. width: 420px;
  1231. text-align: center;
  1232. color: #ffffff;
  1233. font-size: 20px;
  1234. font-weight: bold;
  1235. .text1 {
  1236. margin-right: 20px;
  1237. }
  1238. .text2 {
  1239. margin-left: 20px;
  1240. }
  1241. }
  1242. &:nth-child(4) {
  1243. float: right;
  1244. }
  1245. }
  1246. }
  1247. }
  1248. }
  1249. .part2 {
  1250. background: #08224a;
  1251. padding-bottom: 1px;
  1252. .part1-2 {
  1253. color: #ffffff;
  1254. // margin-top: 20px;
  1255. .part1-2-1,
  1256. .part1-2-2,
  1257. .part1-2-3 {
  1258. display: inline-block;
  1259. text-align: center;
  1260. font-weight: bold;
  1261. width: calc(100% / 3);
  1262. div:nth-child(1) {
  1263. font-size: 24px;
  1264. }
  1265. div:nth-child(2) {
  1266. margin-top: 10px;
  1267. font-size: 32px;
  1268. }
  1269. }
  1270. }
  1271. .chapter {
  1272. text-align: center;
  1273. font-size: 40px;
  1274. width: 100%;
  1275. height: 80px;
  1276. line-height: 80px;
  1277. color: #ffffff;
  1278. font-weight: bold;
  1279. border-bottom: 2px solid gray;
  1280. margin-bottom: 20px;
  1281. }
  1282. .row {
  1283. display: flex;
  1284. justify-content: space-between;
  1285. margin-bottom: 20px;
  1286. padding: 0 100px;
  1287. }
  1288. .service {
  1289. flex: 1;
  1290. margin: 0 30px;
  1291. text-align: center;
  1292. }
  1293. .title {
  1294. position: relative;
  1295. padding-bottom: 10px;
  1296. margin-bottom: 15px;
  1297. height: 50px;
  1298. line-height: 90px;
  1299. font-size: 30px;
  1300. }
  1301. .title::before {
  1302. content: "";
  1303. position: absolute;
  1304. left: 0;
  1305. right: 0;
  1306. top: 0;
  1307. height: 15px;
  1308. }
  1309. .yellow {
  1310. color: #f1c40f;
  1311. }
  1312. .yellow::before {
  1313. background-color: #f1c40f;
  1314. }
  1315. .gray {
  1316. color: #bdc3c7;
  1317. }
  1318. .gray::before {
  1319. background-color: #bdc3c7;
  1320. }
  1321. .blue {
  1322. color: #3498db;
  1323. }
  1324. .blue::before {
  1325. background-color: #3498db;
  1326. }
  1327. .orange {
  1328. color: #e67e22;
  1329. }
  1330. .orange::before {
  1331. background-color: #e67e22;
  1332. }
  1333. .green {
  1334. color: #27ae60;
  1335. }
  1336. .green::before {
  1337. background-color: #27ae60;
  1338. }
  1339. .yellow-green {
  1340. color: #b2be2c;
  1341. }
  1342. .yellow-green::before {
  1343. background-color: #b2be2c;
  1344. }
  1345. p {
  1346. font-size: 20px;
  1347. line-height: 2;
  1348. color: #ffffff;
  1349. }
  1350. }
  1351. .part3 {
  1352. .container {
  1353. position: relative;
  1354. width: 100%;
  1355. height: 940px;
  1356. background-image: url("~@/assets/images/common/u30.png");
  1357. /* 替换为实际图片路径 */
  1358. background-size: cover;
  1359. background-position: center;
  1360. display: flex;
  1361. flex-direction: column;
  1362. justify-content: center;
  1363. align-items: center;
  1364. text-align: center;
  1365. color: #000000;
  1366. font-family: Arial, sans-serif;
  1367. overflow: hidden;
  1368. }
  1369. h1 {
  1370. position: absolute;
  1371. top: 30px;
  1372. font-size: 40px;
  1373. font-weight: bold;
  1374. }
  1375. p {
  1376. margin-bottom: 30px;
  1377. font-weight: bold;
  1378. font-size: 24px;
  1379. line-height: 2;
  1380. }
  1381. .el-button {
  1382. position: absolute;
  1383. bottom: 150px;
  1384. }
  1385. }
  1386. .part4 {
  1387. background: #08224a;
  1388. padding-bottom: 1px;
  1389. .chapter {
  1390. text-align: center;
  1391. font-size: 40px;
  1392. width: 100%;
  1393. height: 80px;
  1394. line-height: 80px;
  1395. color: #ffffff;
  1396. font-weight: bold;
  1397. /* border-bottom: 2px solid gray; */
  1398. margin-bottom: 20px;
  1399. }
  1400. .row {
  1401. display: flex;
  1402. justify-content: space-between;
  1403. margin-bottom: 40px;
  1404. padding: 0 100px;
  1405. }
  1406. .service {
  1407. flex: 1;
  1408. margin: 0 30px;
  1409. width: 500px;
  1410. height: 320px;
  1411. border: 1px solid gray;
  1412. border-radius: 8px;
  1413. padding: 10px 10px;
  1414. box-sizing: border-box;
  1415. overflow: hidden;
  1416. position: relative;
  1417. }
  1418. .title {
  1419. position: relative;
  1420. height: 30px;
  1421. line-height: 30px;
  1422. font-size: 30px;
  1423. text-align: left;
  1424. color: #ffffff;
  1425. padding-bottom: 20px;
  1426. }
  1427. p {
  1428. text-indent: 2rem;
  1429. font-size: 20px;
  1430. line-height: 2;
  1431. color: #ffffff;
  1432. }
  1433. .el-button {
  1434. position: absolute;
  1435. bottom: 10px;
  1436. left: 10px;
  1437. font-size: 20px;
  1438. color: #ffffff;
  1439. &:hover {
  1440. color: #3498db;
  1441. }
  1442. }
  1443. }
  1444. .part5 {
  1445. background: #08224a;
  1446. padding-bottom: 1px;
  1447. .chapter {
  1448. text-align: center;
  1449. font-size: 40px;
  1450. width: 100%;
  1451. height: 80px;
  1452. line-height: 80px;
  1453. color: #ffffff;
  1454. font-weight: bold;
  1455. /* border-bottom: 2px solid gray; */
  1456. margin-bottom: 20px;
  1457. }
  1458. .part5-1 {
  1459. color: #ffffff;
  1460. margin-top: 20px;
  1461. margin-bottom: 20px;
  1462. .part5-1-1,
  1463. .part5-1-2,
  1464. .part5-1-3 {
  1465. display: inline-block;
  1466. text-align: center;
  1467. font-weight: bold;
  1468. width: calc(100% / 3);
  1469. div {
  1470. font-size: 24px;
  1471. }
  1472. div:nth-child(2) {
  1473. margin-top: 10px;
  1474. font-size: 24px;
  1475. }
  1476. div p {
  1477. display: inline-block;
  1478. font-size: 40px;
  1479. }
  1480. }
  1481. }
  1482. .part5-2 {
  1483. margin-top: 40px;
  1484. padding-bottom: 1px;
  1485. height: fit-content;
  1486. .tab-container {
  1487. display: flex;
  1488. gap: 40px;
  1489. /* 选项卡间距 */
  1490. // border-bottom: 1px solid #eee; /* 可选底部分隔线 */
  1491. width: fit-content;
  1492. margin: 0 auto;
  1493. position: relative;
  1494. margin-bottom: 40px;
  1495. height: 55px;
  1496. }
  1497. .tab-container::after {
  1498. content: "";
  1499. display: block;
  1500. height: 1px;
  1501. width: 100%;
  1502. background: #eeeeee;
  1503. /* 下划线颜色 */
  1504. position: absolute;
  1505. bottom: 0;
  1506. }
  1507. .tab-item {
  1508. color: #ffffff;
  1509. cursor: pointer;
  1510. overflow: hidden;
  1511. position: relative;
  1512. font-size: 30px;
  1513. height: 55px;
  1514. }
  1515. .tab-item-active {
  1516. color: #66f;
  1517. /* 选中文字颜色 */
  1518. }
  1519. .tab-item-active::after {
  1520. content: "";
  1521. display: block;
  1522. height: 2px;
  1523. width: 100%;
  1524. background: #66f;
  1525. /* 下划线颜色 */
  1526. margin-top: 5px;
  1527. position: absolute;
  1528. bottom: 0;
  1529. z-index: 1;
  1530. }
  1531. .tab-icon {
  1532. margin-right: 5px;
  1533. /* 图标与文字间距 */
  1534. }
  1535. .row {
  1536. display: flex;
  1537. justify-content: space-between;
  1538. margin-bottom: 40px;
  1539. padding: 0 120px;
  1540. > :nth-child(1) {
  1541. background: url(~@/assets/images/common/u301.png) no-repeat 0 0/100%;
  1542. }
  1543. > :nth-child(2) {
  1544. background: url(~@/assets/images/common/u302.png) no-repeat 0 0/100%;
  1545. }
  1546. }
  1547. }
  1548. }
  1549. }
  1550. </style>