HomePage.vue 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402
  1. <template>
  2. <div class="home container">
  3. <!-- <div class="affix-container" >
  4. <el-affix :offset="200" >
  5. <div style="padding: 10px;font-size: 14px;height:300px;cursor: pointer;display: flex;justify-content: center;align-items: center;">
  6. <el-steps direction="vertical" :active="activeIndex">
  7. <el-step title="顶部" @click="goAnchor('top')" :icon="Edit"/>
  8. <el-step title="基础能力" @click="goAnchor('jcnl')" :icon="Edit"/>
  9. <el-step title="统建应用" @click="goAnchor('tjyy')" :icon="Edit"/>
  10. <el-step title="应用支撑" @click="goAnchor('yyzc')" :icon="Edit"/>
  11. </el-steps>
  12. </div>
  13. </el-affix>
  14. </div> -->
  15. <div :class="isOpen ? 'isOpenLeftShow' : 'isOpenRightShow'" @click="isOpen = !isOpen">
  16. <div>
  17. <el-icon :size="20" class="btn_color">
  18. <DArrowLeft v-if="isOpen == false" />
  19. <DArrowRight v-else />
  20. </el-icon>
  21. </div>
  22. </div>
  23. <el-drawer v-model="isOpen" :with-header="false" size="100%">
  24. <iframe :src="iframeUrl" class="win-iframe"></iframe>
  25. </el-drawer>
  26. <div class="part1" id="top">
  27. <div style="margin-left: 10%">
  28. <div class="super-title">青浦区“一张图”区级节点</div>
  29. <div class="title-sub">以二三维一体化引擎为核心</div>
  30. <div class="title-sub">构建政务时空数据治理与应用服务生态</div>
  31. <div class="title-sub">赋能城市精细化治理</div>
  32. <div class="count-title">调用总数</div>
  33. <div><digitalScrollersComp :val="totalCallNumber" /></div>
  34. <div class="count-title" style="margin: 20px 0px 20px 0px">
  35. <span class="text1">昨日调用量</span>
  36. <span class="count"><NumberScroll :value="lastDayCall" :duration="2000" /></span>
  37. <span class="text1">次</span>
  38. </div>
  39. <!-- <div class="part1-1">
  40. <div class="part1-1-1">
  41. <span class="text">调用总数</span>
  42. <div class="number-container">
  43. <digitalScrollersComp :val="totalCallNumber" /> -->
  44. <!-- <span v-for="(num, index) in totalCall" :key="index">
  45. <span v-if="num.indexOf(',') > -1">
  46. <span class="separator">,</span>
  47. </span>
  48. <span v-else>
  49. <span class="number-item">
  50. <NumberScroll :value="num" :duration="2000" />
  51. </span>
  52. </span>
  53. </span> -->
  54. <!-- <span class="text">次</span> -->
  55. <!-- </div>
  56. </div>
  57. <div class="part1-1-2">
  58. <div class="call-count-container">
  59. <div class="line"></div>
  60. <div>
  61. <span class="text1">昨日调用量</span>
  62. <span class="count"><NumberScroll :value="lastDayCall" :duration="2000" /></span>
  63. <span class="text2">次</span>
  64. </div>
  65. <div class="line"></div>
  66. </div>
  67. </div>
  68. </div> -->
  69. </div>
  70. </div>
  71. <div class="darkblue-background">
  72. <div class="row">
  73. <div class="radius-container">
  74. <div>
  75. <div class="strong-data text-color">
  76. <NumberScroll :value="unitNum" :duration="2000" />个
  77. </div>
  78. <div class="font text-desc-color">授权委办数</div>
  79. </div>
  80. </div>
  81. <div class="radius-container">
  82. <div>
  83. <div class="strong-data text-color">
  84. <NumberScroll :value="appNum" :duration="2000" />个
  85. </div>
  86. <div class="font text-desc-color">授权应用数</div>
  87. </div>
  88. </div>
  89. <div class="radius-container">
  90. <div>
  91. <div class="strong-data text-color">
  92. <NumberScroll :value="userNum" :duration="2000" />个
  93. </div>
  94. <div class="font text-desc-color">授权用户数</div>
  95. </div>
  96. </div>
  97. </div>
  98. <div
  99. class="row"
  100. style="margin-top: 50px; margin-bottom: 50px; justify-content: space-between"
  101. >
  102. <div class="al-container">
  103. <div class="al-container-border">
  104. <div>
  105. <div class="strong-data text-color">
  106. <NumberScroll :value="329" :duration="2000" />个
  107. </div>
  108. <div class="font text-color">地图服务</div>
  109. </div>
  110. </div>
  111. </div>
  112. <div class="al-container">
  113. <div class="al-container-border">
  114. <div>
  115. <div class="strong-data text-color">
  116. <NumberScroll :value="54" :duration="2000" />个
  117. </div>
  118. <div class="font text-color">算法能力</div>
  119. </div>
  120. </div>
  121. </div>
  122. <div class="al-container">
  123. <div class="al-container-border">
  124. <div>
  125. <div class="strong-data text-color">
  126. <NumberScroll :value="105" :duration="2000" />个
  127. </div>
  128. <div class="font text-color">支撑组件</div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. <!-- 服务调用趋势 验收版保留,演示版隐藏 start-->
  134. <div v-if="isDemo">
  135. <div class="second-title">服务调用趋势(近30天)</div>
  136. <div id="echart1"></div>
  137. <div class="second-title">平台核心运行清单</div>
  138. <!--四组统计-->
  139. <div class="row">
  140. <div class="lighter-container" style="flex: 2">
  141. <div class="third-title">
  142. <el-icon color="#0071e3" size="30px">
  143. <Stopwatch></Stopwatch>
  144. </el-icon>
  145. <div>基础统计</div>
  146. </div>
  147. <div class="grid-2x2">
  148. <div class="lighter-container middle-container">
  149. <div class="strong-data white">
  150. <NumberScroll :value="weekCall" :duration="2000" />
  151. </div>
  152. <div class="title-sub white">近一周总调用</div>
  153. </div>
  154. <div class="lighter-container middle-container">
  155. <div class="strong-data white">
  156. <NumberScroll :value="monthCall" :duration="2000" />
  157. </div>
  158. <div class="title-sub white">近一月总调用</div>
  159. </div>
  160. <div class="lighter-container middle-container">
  161. <div class="strong-data white">
  162. <NumberScroll :value="seasonCall" :duration="2000" />
  163. </div>
  164. <div class="title-sub white">近三月总调用</div>
  165. </div>
  166. <div class="lighter-container middle-container">
  167. <div class="strong-data white">
  168. <NumberScroll :value="yearCall" :duration="2000" />
  169. </div>
  170. <div class="title-sub white">近一年总调用</div>
  171. </div>
  172. </div>
  173. </div>
  174. <div class="lighter-container" style="flex: 3">
  175. <div class="between-row">
  176. <div class="third-title">
  177. <el-icon color="#0071e3" size="30px">
  178. <Histogram />
  179. </el-icon>
  180. <div>委办调用情况</div>
  181. </div>
  182. <span>
  183. <el-button
  184. v-show="this.chartMluLevel != 'unit'"
  185. text
  186. size="large"
  187. circle
  188. @click="chartMluBack()"
  189. >
  190. <el-icon color="#0071e3" size="30px">
  191. <Back />
  192. </el-icon>
  193. </el-button>
  194. <el-date-picker
  195. v-model="chartMluTimeRange"
  196. :clearable="false"
  197. type="daterange"
  198. range-separator="到"
  199. start-placeholder="开始日期"
  200. end-placeholder="结束日期"
  201. @change="chartMluFocus()"
  202. />
  203. </span>
  204. </div>
  205. <div id="echartMultiLevelUse"></div>
  206. </div>
  207. </div>
  208. <div class="row">
  209. <div class="lighter-container" style="flex: 3">
  210. <div class="third-title">
  211. <!-- <el-icon color="#0071e3" size="30px">
  212. <List></List>
  213. </el-icon> -->
  214. <div>热点资源 TOP10</div>
  215. </div>
  216. <div class="row">
  217. <div class="top-list" style="flex-grow: 1">
  218. <div v-for="index in 5" :key="index" class="list-item">
  219. <template v-if="resourceTop[index - 1] != null">
  220. <el-avatar size="small" class="circle-number blue">
  221. {{ index }}
  222. </el-avatar>
  223. <div class="font" style="flex-grow: 100">{{ resourceTop[index - 1].name }}</div>
  224. <div class="font number-color">{{ resourceTop[index - 1].value }}</div>
  225. </template>
  226. </div>
  227. </div>
  228. <div style="flex-grow: 0.2"></div>
  229. <div class="top-list" style="flex-grow: 0.5">
  230. <div v-for="index in 5" :key="index" class="list-item">
  231. <template v-if="resourceTop[index + 4] != null">
  232. <el-avatar size="small" class="circle-number blue">
  233. {{ index + 5 }}
  234. </el-avatar>
  235. <div class="font" style="flex-grow: 100">{{ resourceTop[index + 4].name }}</div>
  236. <div class="font number-color">{{ resourceTop[index + 4].value }}</div>
  237. </template>
  238. </div>
  239. </div>
  240. </div>
  241. </div>
  242. <div class="lighter-container" style="flex: 2">
  243. <div class="third-title">
  244. <!-- <el-icon color="#0071e3" size="30px">
  245. <School />
  246. </el-icon> -->
  247. <div>委办调用 TOP5</div>
  248. </div>
  249. <div class="top-list">
  250. <div v-for="index in 5" :key="index" class="list-item">
  251. <template v-if="userTop[index - 1] != null">
  252. <el-avatar size="small" class="circle-number blue">
  253. {{ index }}
  254. </el-avatar>
  255. <div class="font" style="flex-grow: 100">{{ userTop[index - 1].name }}</div>
  256. <div class="font number-color">{{ userTop[index - 1].value }}</div>
  257. </template>
  258. </div>
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. <!-- 服务调用趋势 验收版保留,演示版隐藏 end-->
  264. <!-- <div class="title " style="margin-top:90px ;" id="yyal">应用案例</div>
  265. <div class="title-sub ">技术创新与政务需求深度融合,打造高效、安全、可扩展的时空数据安全平台</div>
  266. <div class="row" style="margin-top: 90px;justify-content: space-between;">
  267. <div class="al-container">
  268. <div class="al-container-border">
  269. <div>
  270. <div class="strong-data text-color"><NumberScroll :value="3212560" :duration="2000" />次</div>
  271. <div class="font text-color">地名地址</div>
  272. </div>
  273. </div>
  274. </div>
  275. <div class="al-container">
  276. <div class="al-container-border">
  277. <div>
  278. <div class="strong-data text-color"><NumberScroll :value="2362106" :duration="2000" />次</div>
  279. <div class="font text-color">坐标转换</div>
  280. </div>
  281. </div>
  282. </div>
  283. <div class="al-container">
  284. <div class="al-container-border">
  285. <div>
  286. <div class="strong-data text-color"><NumberScroll :value="8625997" :duration="2000" />次</div>
  287. <div class="font text-color">地图服务</div>
  288. </div>
  289. </div>
  290. </div>
  291. </div> -->
  292. <!-- <div v-for="useCaseItem in examplelist" :key="useCaseItem.title" :id="useCaseItem.title === '基础能力' ? 'jcnl' : useCaseItem.title === '统建应用' ? 'tjyy' : useCaseItem.title === '应用支撑' ? 'yyzc' : ''">
  293. <div class="title " style="margin-top:90px;margin-bottom: 20px;">{{useCaseItem.title}}</div>
  294. <div class="warp-container">
  295. <div class="warp-page-card" v-for="item in useCaseItem.data" :key="item.title" @click="handleTabsOpenPage(item)">
  296. <div class="warp-page-img" :style="`background-image: url(${item.picture});`"></div>
  297. <div class="warp-page-text">
  298. <div class="warp-page-text-title">{{ item.title }}</div>
  299. <div class="warp-page-text-desc">{{ item.text }}</div>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <div style="height: 90px;width: 100%;"></div> -->
  305. <!-- <el-tabs v-model="activeUseCase" class="usecase-tabs" @tab-click="handleClick" stretch="true">
  306. <el-tab-pane label="dataProcass" name="dataProcass">
  307. <template #label>
  308. <div class="tab-lab">
  309. <el-icon :color="activeUseCase == 'dataProcass' ? '#0071e3' : '#fff'" size="30px">
  310. <Expand />
  311. </el-icon>
  312. <div :class="activeUseCase == 'dataProcass' ? 'blue' : ''">平台应用</div>
  313. </div>
  314. </template>
  315. </el-tab-pane>
  316. <el-tab-pane label="useInService" name="useInService">
  317. <template #label>
  318. <div class="tab-lab">
  319. <el-icon :color="activeUseCase == 'useInService' ? '#0071e3' : '#fff'" size="30px">
  320. <Location />
  321. </el-icon>
  322. <div :class="activeUseCase == 'useInService' ? 'blue' : ''">业务应用</div>
  323. </div>
  324. </template></el-tab-pane>
  325. <el-tab-pane label="decisionHelping" name="decisionHelping">
  326. <template #label>
  327. <div class="tab-lab">
  328. <el-icon :color="activeUseCase == 'decisionHelping' ? '#0071e3' : '#fff'" size="30px">
  329. <Guide />
  330. </el-icon>
  331. <div :class="activeUseCase == 'decisionHelping' ? 'blue' : ''">特色场景</div>
  332. </div>
  333. </template></el-tab-pane>
  334. </el-tabs>
  335. <div class="warp-row">
  336. <div v-for="useCaseItem in useCase[activeUseCase]" :key="useCaseItem.title" class="use-case"
  337. :style="`background-image: url(${useCaseItem.picture});cursor: pointer;`" @click="handleTabsOpenPage(useCaseItem)">
  338. <div class="use-case-empty"></div>
  339. <div class="use-case-text">
  340. <el-tag v-for="item in useCaseItem.tags" style="margin-right: 5px;" :key="item" color="#e2e4f4" size="lager" effect="dark" round>
  341. <span class="blue">
  342. {{ item }}
  343. </span>
  344. </el-tag>
  345. <span class="third-title">
  346. <span style="padding: 10px 0px;">
  347. {{ useCaseItem.title }}
  348. </span>
  349. </span>
  350. <p class="font grey" style="padding-top: 0px !important;">
  351. {{ useCaseItem.text }}
  352. </p>
  353. </div>
  354. </div>
  355. </div>
  356. -->
  357. <!-- <div class="title " style="margin-top:90px ;" id="hxgn">实践与探索·六大核心功能</div>
  358. <div class="title-sub ">聚焦政务场景痛点,打造从数据治理到应用落地的全链路创新解决方案</div>
  359. <div class="row" style="margin-top: 36px;">
  360. <div class="lightblue-container six-router">
  361. <div class="lightblue-container-boder">
  362. <div class="img-container">
  363. <img
  364. :src="require('@/assets/images/common/gn/1.png')"
  365. mode="scaleToFill"
  366. class="row-warp-page-img"
  367. />
  368. </div>
  369. <div class="font lightgrey">
  370. <p class="lightgrey-title">时空数据管理</p>
  371. <p class="lightgrey-desc">覆盖数据质量检查、加工、管理、服务发布全流程,支持矢量/栅格数据标准化处理,实现多格式转换与瓦片定制,保障数据规范可用。</p>
  372. </div>
  373. </div>
  374. </div>
  375. <div class="lightblue-container six-router">
  376. <div class="lightblue-container-boder">
  377. <div class="img-container">
  378. <img
  379. :src="require('@/assets/images/common/gn/2.png')"
  380. mode="scaleToFill"
  381. class="row-warp-page-img"
  382. />
  383. </div>
  384. <div class="font lightgrey">
  385. <p class="lightgrey-title">二三维一体化引擎</p>
  386. <p class="lightgrey-desc">嵌入式SDK支撑地图交互、空间分析、数据可视化,涵盖热力图/聚合图/迁徙图等多维呈现,实现精准定位与场景切换。</p>
  387. </div>
  388. </div>
  389. </div>
  390. <div class="lightblue-container six-router">
  391. <div class="lightblue-container-boder">
  392. <div class="img-container">
  393. <img
  394. :src="require('@/assets/images/common/gn/3.png')"
  395. mode="scaleToFill"
  396. class="row-warp-page-img"
  397. style="transform: rotate(150deg);"
  398. />
  399. </div>
  400. <div class="font lightgrey">
  401. <p class="lightgrey-title">时空门户</p>
  402. <p class="lightgrey-desc">整合平台访问统计、功能演示、服务导航,提供视频教程与业务场景展示,快速上手平台核心能力,支撑政务场景应用。</p>
  403. </div>
  404. </div>
  405. </div>
  406. </div>
  407. <div class="row" style="margin-bottom: 50px;">
  408. <div class="lightblue-container six-router" style="width: 47%;">
  409. <div class="lightblue-container-boder">
  410. <div class="img-container">
  411. <img
  412. :src="require('@/assets/images/common/gn/4.png')"
  413. mode="scaleToFill"
  414. class="row-warp-page-img"
  415. />
  416. </div>
  417. <div class="font lightgrey">
  418. <p class="lightgrey-title">微功能</p>
  419. <p class="lightgrey-desc">支持拓扑计算、空间量算、几何运算与数据转换,批量处理海量时空数据,适配规划、管理多场景计算需求。</p>
  420. </div>
  421. </div>
  422. </div>
  423. <div class="lightblue-container six-router" style="width: 47%;">
  424. <div class="lightblue-container-boder">
  425. <div class="img-container">
  426. <img
  427. :src="require('@/assets/images/common/gn/5.png')"
  428. mode="scaleToFill"
  429. class="row-warp-page-img"
  430. />
  431. </div>
  432. <div class="font lightgrey">
  433. <p class="lightgrey-title">应用管理</p>
  434. <p class="lightgrey-desc">统一接入各类时空业务应用,管控访问权限与应用信息,实现“接入-访问-管理”全流程闭环,支撑区级特色应用建设。</p>
  435. </div>
  436. </div>
  437. </div>
  438. <div class="lightblue-container six-router">
  439. <div class="lightblue-container-boder">
  440. <div class="img-container">
  441. <img
  442. :src="require('@/assets/images/common/gn/6.png')"
  443. mode="scaleToFill"
  444. class="row-warp-page-img"
  445. />
  446. </div>
  447. <div class="font lightgrey">
  448. <p class="lightgrey-title">运行管理</p>
  449. <p class="lightgrey-desc">实时监控平台运行数据,负责数据全生命周期管理与权限管控,建立四级管理架构,保障系统合规安全运行。</p>
  450. </div>
  451. </div>
  452. </div>
  453. </div> -->
  454. </div>
  455. <!-- <div class="dark-background">
  456. <div class="row">
  457. <img :src="require('@/assets/images/common/home-bg2.png')" />
  458. <div class="col">
  459. <div>
  460. <div class="super-title">多源数据统一治理</div>
  461. <div class="super-title">打破格式与基准壁垒</div>
  462. <p class="grey font">支持矢量、栅格等多格式数据转换,同一坐标/投影基准,通过重复项、逻辑/语义一致性检查,让分散数据规范入库</p>
  463. </div>
  464. </div>
  465. </div>
  466. </div>
  467. <div class="darkblue-background col">
  468. <div class="">
  469. <div class="super-title">强大空间计算能力,秒级响应复杂分析</div>
  470. <p class="font middle">内置拓扑计算、空间量算、几何运算等核心功能,支持非空间数据转空间数据,快速解决区域关联、资源覆盖等分析需求</p>
  471. </div>
  472. </div>
  473. <div class="image-background" :style="`background-Image:url('${require('@/assets/images/common/home-bg3.png')}');`">
  474. </div>
  475. <div class="bluedark-background dense-col">
  476. <div>
  477. <div class="super-title">二三维一体化可视化</div>
  478. <div class="super-title">场景适配更灵活</div>
  479. </div>
  480. <div>
  481. <div class="font middle">
  482. GIS通用计算功能,实用便捷超乎想象!
  483. </div>
  484. <div class="font middle">
  485. 测距、剖面分析及点线面绘制轻松实现,坐标转换精准高效,路径规划快速准确,地名搜索智能推荐
  486. </div>
  487. </div>
  488. </div>
  489. <div class="darkblue-background image-background col"
  490. :style="`background-Image:url('${require('@/assets/images/common/home-bg4.png')}');`">
  491. <div class="row" style="margin-top: auto;">
  492. </div>
  493. </div> -->
  494. <!-- <div class="blue-background col">
  495. <div class="warp-row">
  496. <div class="block-page-router">
  497. <div class="title">
  498. 时空数据治理标准化实践
  499. </div>
  500. <p class="font grey">
  501. 构建“检查-加工-发布”全流程数据治理体系,实现矢量/栅格数据标准化处理、多格式转换与瓦片定制,解决区级时空数据格式不统一、质量参差不齐的通电,为全场景应用构牢数据基础
  502. </p>
  503. <div class="row" style="margin-top: auto;">
  504. <div class="font" style="margin-left: auto;" @click="goto('/sksjgl')">
  505. 了解更多→
  506. </div>
  507. </div>
  508. </div>
  509. <div class="block-page-router">
  510. <div class="title">
  511. 二三维一体化引擎创新应用
  512. </div>
  513. <p class="font grey">
  514. 自研嵌入式 GIS SDK,融合二维地图交互、三维场景渲染能力,创新落地热力图 / 聚合图 / 迁徙图等多维可视化形式,实现区级地理信息 “全景式” 呈现与精准定位。
  515. </p>
  516. <div class="row" style="margin-top: auto;">
  517. <div class="font" style="margin-left: auto;" @click="goto('/skmh/scene')">
  518. 了解更多→
  519. </div>
  520. </div>
  521. </div>
  522. <div class="block-page-router">
  523. <div class="title">
  524. 政务时空门户一体化探索
  525. </div>
  526. <p class="font grey">
  527. 整合平台访问统计、功能演示、视频教程等能力,打造适配青浦区政务场景的时空门户总入口,打通 “一网通办”“一网统管” 数据链路,降低政务人员使用门槛。
  528. </p>
  529. <div class="row" style="margin-top: auto;">
  530. <div class="font" style="margin-left: auto;" @click="goto('/skmh')">
  531. 了解更多→
  532. </div>
  533. </div>
  534. </div>
  535. <div class="block-page-router">
  536. <div class="title">
  537. 空间计算微功能场景化落地
  538. </div>
  539. <p class="font grey">
  540. 聚焦区级规划、管理等实际需求,落地拓扑计算、空间量算、几何运算等轻量化微功能,支持海量时空数据批量处理,让专业空间分析能力下沉至街镇级应用场景。
  541. </p>
  542. <div class="row" style="margin-top: auto;">
  543. <div class="font" style="margin-left: auto;" @click="goto('/wgn')">
  544. 了解更多→
  545. </div>
  546. </div>
  547. </div>
  548. <div class="block-page-router">
  549. <div class="title">
  550. 政务应用标准化接入管理
  551. </div>
  552. <p class="font grey">
  553. 建立区级时空业务应用 “接入 - 授权 - 管控” 全闭环体系,统一规范应用接入流程与权限管理,适配青浦区特色政务应用的快速接入与安全运行。
  554. </p>
  555. <div class="row" style="margin-top: auto;">
  556. <div class="font" style="margin-left: auto;" @click="goto('/yygl')">
  557. 了解更多→
  558. </div>
  559. </div>
  560. </div>
  561. <div class="block-page-router">
  562. <div class="title">
  563. 四级架构运行管理体系构建
  564. </div>
  565. <p class="font grey">
  566. 创新构建 “区 — 街镇 — 综合网格 — 村居” 四级运行管理架构,实现平台数据全生命周期管控、运行状态实时监控,保障区级 “一张图” 系统合规、安全、稳定运行。
  567. </p>
  568. <div class="row" style="margin-top: auto;">
  569. <div class="font" style="margin-left: auto;" @click="goto('/yxgl')">
  570. 了解更多→
  571. </div>
  572. </div>
  573. </div>
  574. </div>
  575. </div> -->
  576. <!-- <div class="bluedark-background col">
  577. <div>
  578. <div class="super-title">多应用标准化接入</div>
  579. <div class="super-title">打破“烟囱式”壁垒</div>
  580. </div>
  581. <p class="font middle">
  582. 亮点说明:通过REST API、WebSocket等标准化接口,无缝接入GIS、遥感监测等各类时空应用,统一管理访问权限与运行状态
  583. </p>
  584. </div>
  585. <div class="dark-background image-background col"
  586. :style="`background-Image:url('${require('@/assets/images/common/home-bg5.png')}');`">
  587. <div class="row" style="margin-top: auto;">
  588. </div>
  589. </div> -->
  590. </div>
  591. <!-- <div class="darkblue-background col" style="height: auto;">
  592. <div class="super-title grey">
  593. <div>全链路运行监督</div>
  594. <div>据驱动优化决策</div>
  595. </div>
  596. <p class="font grey middle">实时统计服务调用、用户分布、应用活跃度等核心指标,全维度反馈系统运行状态,为资源调配与功能迭代提供数据支撑</p>
  597. <img :src="require('@/assets/images/common/home-bg6.png')" />
  598. </div> -->
  599. </template>
  600. <script>
  601. import {
  602. countAppUseByUnitName,
  603. countServiceUseByApp,
  604. countUnitUse,
  605. countUserData,
  606. topService,
  607. topUnit,
  608. totalCount,
  609. totalCountGroupByTime,
  610. mapServiceCount,
  611. } from "@/api/count";
  612. import * as echarts from "echarts";
  613. import moment from "moment";
  614. let chart1 = null;
  615. let chartMultiLevelUse = null;
  616. import NumberScroll from "@/components/AppVue/numberScroll.vue";
  617. import digitalScrollersComp from "@/components/AppVue/digitalScrollersComp.vue";
  618. export default {
  619. name: "Home",
  620. components: {
  621. NumberScroll,
  622. digitalScrollersComp,
  623. },
  624. data() {
  625. return {
  626. lastDayCall: "239566",
  627. totalCall: ["0", "0", "0", ",", "0", "0", "0"],
  628. totalCallNumber: "18,659,623",
  629. // sections: ['top', 'yyal', 'jcnl', 'tjyy', 'yyzc', 'hxgn'],
  630. sections: ["top", "jcnl", "tjyy", "yyzc", "hxgn"],
  631. isDemo: true, // true 验收版,false 演示版
  632. affixOptions: [
  633. {
  634. title: "顶部",
  635. type: "top",
  636. index: 1,
  637. },
  638. // {
  639. // title: '应用案例',
  640. // type: 'yyal',
  641. // index:2,
  642. // },
  643. {
  644. title: "基础能力",
  645. type: "jcnl",
  646. index: 3,
  647. },
  648. {
  649. title: "统建应用",
  650. type: "tjyy",
  651. index: 4,
  652. },
  653. {
  654. title: "应用支撑",
  655. type: "yyzc",
  656. index: 5,
  657. },
  658. {
  659. title: "六大核心",
  660. type: "hxgn",
  661. index: 6,
  662. },
  663. ],
  664. activeIndex: 0,
  665. observer: null,
  666. serveNum: 0,
  667. userNum: 0,
  668. appNum: 0,
  669. weekCall: 0,
  670. monthCall: 0,
  671. seasonCall: 0,
  672. yearCall: 0,
  673. currentTab: "data-governance", // 初始选中项
  674. tabs: [
  675. { key: "data-governance", icon: "", title: "平台应用" },
  676. { key: "business-app", icon: "", title: "业务应用" },
  677. { key: "comprehensive-decision", icon: "", title: "特色场景" },
  678. ],
  679. resourceTop: [],
  680. userTop: [],
  681. iframeUrl: systemConfig.iframeUrl + "?token=" + localStorage.getItem("token"),
  682. examplelist: systemConfig.examplelist,
  683. useCase: {
  684. dataProcass: [
  685. {
  686. tags: ["盈浦街道", "夏阳街道"],
  687. title: "一张图资源预览",
  688. text: "一张图资源聚焦于资源预览的高效性与便捷性核心需求,打造轻量化、高适配的单图资源快速预览解决方案,覆盖各类图片素材场景的预览诉求,旨在解决传统资源查看中加载繁琐、信息获取不直观、筛选效率低等问题。",
  689. picture: require("@/assets/images/common/u301.png"),
  690. url: "http://10.235.245.174:2024",
  691. },
  692. {
  693. tags: ["盈浦街道", "夏阳街道"],
  694. title: "一张图开发者中心",
  695. text: "一张图开发者中心是面向开发者打造的图片资源预览能力开放与集成服务平台,作为一张图资源预览产品的技术开放枢纽,聚焦图片快速预览核心能力的高效输出,为企业开发者、第三方开发团队及个人开发者提供标准化、轻量化、高适配的图片预览技术解决方案。",
  696. picture: require("@/assets/images/common/u301.png"),
  697. url: "http://10.235.245.174:2103/home/default",
  698. },
  699. {
  700. tags: ["盈浦街道、夏阳街道"],
  701. title: "一张图二三维引擎示例",
  702. text: "一张图二三维引擎示例是依托一张图技术体系打造的二三维一体化引擎能力演示与实践参考体系,聚焦图片资源在二三维可视化场景下的渲染、交互、融合应用,通过丰富的示例场景、可复用的代码模板、完整的能力演示。",
  703. picture: require("@/assets/images/common/u661.png"),
  704. url: "http://10.235.245.174:2102/",
  705. },
  706. {
  707. tags: ["盈浦街道", "夏阳街道"],
  708. title: "青浦区香花桥农业信息平台",
  709. text: "青浦区香花桥农业信息平台是街道立足本地稻米、林果、花卉等特色农业产业基础,以科技赋能农业现代化、数字化转型为核心,联动上海市农业科学院等科研院所打造的综合性农业智慧服务平台,是香花桥街道推进乡村振兴、落实 “智慧农业 + 产业融合” 发展战略的核心载体。",
  710. picture: require("@/assets/images/common/u302.png"),
  711. url: "http://10.235.245.174:2030",
  712. },
  713. ],
  714. useInService: [
  715. {
  716. tags: ["盈浦街道", "夏阳街道"],
  717. title: "学区查询",
  718. text: "学区查询是面向家长、教育管理部门、学校打造的义务教育阶段学区信息精准查询与管理服务体系,是破解传统学区查询 “信息滞后、流程繁琐、核实困难” 等问题的数字化便民举措,也是教育部门实现学区科学管理、教育资源均衡分配的重要数字化支撑,核心实现学区信息的权威发布、精准匹配与高效查询,保障入学相关主体的信息知情权与获取便利性。学区查询服务覆盖家长端、管理端、学校端三类核心使用场景:为家长提供孩子入学学区核实、学位状态确认、入学政策了解的便捷渠道,规避择校、购房中的学区信息误差风险;为教育管理部门提供学区划分优化、学位资源统计、招生趋势预判的数据支撑,助力学区动态调整与教育资源科学配置;为学校提供学区范围公示、招生咨询辅助的工具,提升招生工作的透明度与效率。",
  719. picture: require("@/assets/images/common/u301.png"),
  720. url: "http://121.43.55.7:2121/#/",
  721. },
  722. {
  723. tags: ["盈浦街道、夏阳街道"],
  724. title: "青浦区全量信息视图",
  725. text: "青浦区全量信息视图是立足区域数字化转型与城市治理现代化需求打造的全域数据融合可视化智慧管理平台,作为青浦区 “一网通办”“一网统管” 建设的核心数字底座,深度整合全区跨部门、跨领域全量数据资源,构建起 “一屏观全域、一网管全城” 的智慧化管理体系,为区域政务服务、城市治理、产业发展、民生保障等全场景提供全景化数据支撑与科学决策依据。推动区域治理从 “分散碎片化” 向 “整体协同化”、从 “被动应对” 向 “主动防控” 转变,既提升了城市治理与政务服务的精细化、科学化水平,也为长三角生态绿色一体化发展示范区建设提供了坚实的数字支撑,助力打造更智慧、更宜居、更韧性的现代化青浦。",
  726. picture: require("@/assets/images/common/u661.png"),
  727. url: "http://10.235.245.84:9099/eleOverview/eleOverview?loginToken=21232f297a57a5a743894a0e4a801fc3",
  728. },
  729. {
  730. tags: ["盈浦街道", "夏阳街道"],
  731. title: "青浦区统一地址管理平台",
  732. text: "青浦区统一地址管理平台是立足区域数字化转型战略、紧扣 “一网通办”“一网统管” 建设要求打造的全域地址标准化管理与数据融合支撑平台,作为青浦区空间地理信息数字化的核心基础设施,以破解地址管理 “多库并存、标准不一、关联困难” 等痛点为目标,通过地址资源的标准化整合、全生命周期管理与智能化应用,为城市治理、政务服务、产业发展、民生保障等全场景提供权威、精准、统一的地址数据支撑,夯实区域数字孪生城市与智慧治理的底座根基。青浦区统一地址管理平台通过地址标准化打破数据壁垒、以三维可视化提升治理精度、用场景化应用释放数据价值,为长三角生态绿色一体化发展示范区建设提供了高质量的地址数据底座与智慧治理解决方案。",
  733. picture: require("@/assets/images/common/u301.png"),
  734. url: "https://10.235.251.4:2008/geoAM/?accessToken=66e1605cb81047d4803368972c5a64e3#/",
  735. },
  736. {
  737. tags: ["盈浦街道", "夏阳街道"],
  738. title: "科委产业地图",
  739. text: "科委产业地图是由科技主管部门主导打造的产业创新要素数字化整合与智能服务平台,作为区域科技创新与产业发展的 “数字仪表盘”,以破解产业 “底数不清、资源分散、匹配低效” 等痛点为核心,深度融合 GIS 地理信息、AI 大数据、可视化技术,整合产业链、创新链、人才链、服务链 “四链” 核心资源,构建全域产业发展全景画像,实现从 “静态展示” 到 “动态赋能” 的跨越,为政府产业决策、企业创新发展、要素精准对接提供一站式数字化支撑。它通过打破信息壁垒、强化智能赋能、促进要素集聚,推动产业发展从 “经验驱动” 向 “数据驱动” 转变,为培育先进产业集群、提升区域产业竞争力、加速创新势能向产业动能转化提供坚实支撑,助力打造创新协同、布局合理、发展高效的现代化产业生态",
  740. picture: require("@/assets/images/common/u302.png"),
  741. url: "http://10.235.245.174:2032/#/",
  742. },
  743. ],
  744. decisionHelping: [
  745. {
  746. tags: ["盈浦街道", "夏阳街道"],
  747. title: "青浦区小区画像专题",
  748. text: "青浦区小区画像专题是立足区域 “幸福温暖家” 治理体系建设目标,依托区大数据资源平台与新版 “社区云” 基层治理底座打造的小区精细化数字刻画与智能赋能服务体系。作为青浦区全量信息视图在社区治理场景的深化应用,专题以破解小区管理 “底数不清、诉求分散、治理粗放” 等痛点为核心,通过整合多维度小区数据资源、构建标准化画像体系、赋能全场景治理应用,为基层治理、民生服务、城市更新等提供精准数据支撑,助力打造更具温度、更高效能的智慧社区生态。",
  749. picture: require("@/assets/images/common/u301.png"),
  750. url: "http://10.235.245.174:2026/community/",
  751. },
  752. {
  753. tags: ["盈浦街道", "夏阳街道"],
  754. title: "公共快递资源",
  755. text: "公共快递资源项目是政府主导、多方协同,整合快递、电商、交通等资源,以集约化、智能化、共享化为核心,构建覆盖城乡的寄递公共服务网络,解决末端配送低效、成本高、覆盖不足等问题的基础设施与服务体系项目,核心目标是畅通 “农产品进城、工业品下乡” 双向流通,助力民生改善与区域经济发展。",
  756. picture: require("@/assets/images/common/u301.png"),
  757. url: "http://10.235.245.174:2029/",
  758. },
  759. {
  760. tags: ["盈浦街道、夏阳街道"],
  761. title: "青浦区资环审计",
  762. text: "青浦区资源环境审计(简称 “青浦区资环审计”)是青浦区审计局围绕长三角生态绿色一体化发展等国家战略,以守护区域生态环境、规范资源利用、推动绿色发展为核心的审计监督工作,由资源环境审计科具体负责,在组织架构、审计重点、协作机制、实践成效等方面形成了鲜明特色。青浦区资环审计通过机制创新与精准监督,有效推动了区域生态保护与绿色发展,为长三角生态绿色一体化提供了坚实审计保障。",
  763. picture: require("@/assets/images/common/u661.png"),
  764. url: "http://10.235.245.174:2025/",
  765. },
  766. {
  767. tags: ["盈浦街道", "夏阳街道"],
  768. title: "开店一件事",
  769. text: "开店一件事是一套从前期调研规划到后期运营优化的系统性实操工作,核心是以市场需求为导向,完成合法筹备、资源落地与可持续经营,最终实现盈利和长期发展,核心逻辑是 “精准定位 + 合规落地 + 高效运营”。分析行业趋势、周边竞品,明确目标客群的消费能力和需求,找到自身差异化竞争优势,避免盲目入局。",
  770. picture: require("@/assets/images/common/u302.png"),
  771. url: "https://aixq.shqp.gov.cn/kdyjs/",
  772. },
  773. ],
  774. },
  775. activeUseCase: "dataProcass",
  776. chartMluLevel: "unit",
  777. chartMluUnitName: null,
  778. chartMluAppName: null,
  779. chartMluTimeRange: null,
  780. isOpen: false,
  781. };
  782. },
  783. async beforeMount() {
  784. await this.pullTotalCount();
  785. await this.pullLastDayCount();
  786. },
  787. mounted() {
  788. const nowDate = new Date();
  789. nowDate.setHours(0, 0, 0, 0);
  790. this.chartMluTimeRange = [
  791. new Date(new Date(nowDate).setDate(nowDate.getDate() - 30)),
  792. new Date(new Date(nowDate).setDate(nowDate.getDate())),
  793. ];
  794. // let end = new Date("2025/12/31")
  795. // let start = new Date("2025/12/01")
  796. // this.chartMluTimeRange = [start, end]
  797. if (this.isDemo) { // 验收版请求
  798. this.initChart1();
  799. this.initchartMultiLevelUse();
  800. this.chartMluFocusRoot();
  801. }
  802. this.pullTopUnit();
  803. this.pullTopService();
  804. this.pullMultiTimeRangeCall();
  805. this.pullMapServiceCount();
  806. this.pullUserCount();
  807. window.addEventListener("scroll", this.handleScroll, true);
  808. },
  809. beforeUnmount() {
  810. window.removeEventListener("scroll", this.handleScroll, true);
  811. },
  812. methods: {
  813. goAnchor(id) {
  814. const anchor = document.getElementById(id);
  815. if (anchor) {
  816. anchor.scrollIntoView({ behavior: "smooth" });
  817. }
  818. },
  819. handleScroll(e) {
  820. const scrollPosition = e.target.scrollTop;
  821. this.sections.forEach((section, index) => {
  822. const element = document.getElementById(section);
  823. if (element && scrollPosition >= element.offsetTop - 200) {
  824. this.activeIndex = index;
  825. }
  826. });
  827. },
  828. goto(src) {
  829. this.$router.push({
  830. path: src,
  831. });
  832. },
  833. handleTabsOpenPage(param) {
  834. if (!param.url) {
  835. return;
  836. }
  837. window.open(param.url, "_blank");
  838. },
  839. // 处理调用总数数字
  840. handleTotalCallNumber(num) {
  841. // 667507060
  842. let str = num.toString();
  843. debugger;
  844. this.totalCallNumber = str;
  845. let strArr = str.split("").reverse();
  846. this.totalCall = [];
  847. for (let i = 0; i < strArr.length; i++) {
  848. const num = strArr[i];
  849. this.totalCall.unshift(num);
  850. if (i % 3 == 2 && i != strArr.length - 1) {
  851. this.totalCall.unshift(",");
  852. }
  853. }
  854. let itemNumber = "";
  855. this.totalCall.forEach((item, index) => {
  856. itemNumber += item;
  857. });
  858. this.totalCallNumber = itemNumber;
  859. // this.totalCallNumber = "18,659,623";
  860. },
  861. async initChart1() {
  862. const nowDate = new Date();
  863. nowDate.setHours(0, 0, 0, 0);
  864. let end = new Date(nowDate.setDate(nowDate.getDate()));
  865. let start = new Date(nowDate.setDate(nowDate.getDate() - 30));
  866. // let end = new Date("2025/12/31")
  867. // let start = new Date("2025/12/01")
  868. // start = new Date(moment(start).format("YYYY-MM-DD 00:00:00"));
  869. // end = new Date(moment(end).format("YYYY-MM-DD 23:59:59"));
  870. let data = await totalCountGroupByTime(start, end);
  871. let dataMap = {};
  872. for (let i = 0; i < data.length; i++) {
  873. const e = data[i];
  874. dataMap[e.time] = e.count;
  875. }
  876. let times = [];
  877. let values = [];
  878. for (let i = 0; i < 31; i++) {
  879. let date = new Date(start);
  880. date.setDate(start.getDate() + i);
  881. times.push(this.formatDateMMDD(date));
  882. values.push(dataMap[date.getTime()] ?? parseInt(Math.random() * (150000 - 50000) + 50000));
  883. }
  884. // 基于准备好的dom,初始化echarts实例
  885. var myChart = echarts.init(document.getElementById("echart1"));
  886. let option = {
  887. tooltip: {
  888. trigger: "axis", // 坐标轴触发提示
  889. axisPointer: { type: "shadow" },
  890. backgroundColor: "rgba(0, 25, 50, 0.8)",
  891. borderColor: "#1E90FF",
  892. textStyle: {
  893. color: "#fff",
  894. },
  895. },
  896. xAxis: {
  897. type: "category",
  898. data: times,
  899. axisLine: { lineStyle: { color: "#fff" } }, // 坐标轴颜色
  900. axisTick: { show: false }, // 隐藏刻度
  901. splitLine: { show: false }, // 隐藏分割线
  902. },
  903. yAxis: {
  904. type: "value",
  905. axisLine: { lineStyle: { color: "#fff" } },
  906. splitLine: {
  907. lineStyle: {
  908. type: "dashed", // 虚线网格
  909. color: "#113761",
  910. },
  911. },
  912. },
  913. series: [
  914. {
  915. name: "调用总数",
  916. type: "line",
  917. data: values, // 模拟数据
  918. smooth: true,
  919. lineStyle: { color: "#42a5f5" }, // 蓝色线条
  920. itemStyle: {
  921. color: "#42a5f5",
  922. borderColor: "rgba(66, 165, 245, 0.5)",
  923. borderWidth: 12,
  924. }, // 节点颜色
  925. symbol: "circle", // 节点形状
  926. symbolSize: 6, // 节点大小
  927. showSymbol: false,
  928. lineStyle: {
  929. normal: {
  930. width: 1,
  931. },
  932. },
  933. areaStyle: {
  934. normal: {
  935. color: new echarts.graphic.LinearGradient(
  936. 0,
  937. 0,
  938. 0,
  939. 1,
  940. [
  941. {
  942. offset: 0,
  943. color: "#42a5f5",
  944. },
  945. {
  946. offset: 0.8,
  947. color: "rgba(15, 52, 96, 0.8)",
  948. },
  949. ],
  950. false
  951. ),
  952. shadowColor: "rgba(0, 0, 0, 0.1)",
  953. shadowBlur: 10,
  954. },
  955. },
  956. },
  957. ],
  958. };
  959. // 绘制图表
  960. myChart.setOption(option);
  961. chart1 = myChart;
  962. },
  963. initchartMultiLevelUse() {
  964. var myChart = echarts.init(document.getElementById("echartMultiLevelUse"));
  965. let option = {
  966. tooltip: {
  967. trigger: "axis",
  968. show: true,
  969. formatter: "{b}: {c}",
  970. backgroundColor: "rgba(0, 25, 50, 0.8)",
  971. borderColor: "#1E90FF",
  972. textStyle: {
  973. color: "#fff",
  974. },
  975. },
  976. title: {
  977. text: "所有委办",
  978. left: "center",
  979. top: 20,
  980. textStyle: {
  981. color: "#fff",
  982. fontSize: 18,
  983. fontWeight: "bold",
  984. },
  985. },
  986. axisPointer: {
  987. type: "shadow",
  988. },
  989. grid: {
  990. left: "3%",
  991. right: "4%",
  992. bottom: "3%",
  993. containLabel: true,
  994. },
  995. xAxis: [
  996. {
  997. type: "value",
  998. // axisLine: { lineStyle: { color: "red" } },
  999. // splitLine: { show: false }, // 隐藏分割线
  1000. splitLine: {
  1001. lineStyle: {
  1002. color: "rgba(255,255,255,0.12)",
  1003. },
  1004. },
  1005. },
  1006. ],
  1007. yAxis: [
  1008. {
  1009. type: "category",
  1010. axisLine: { lineStyle: { color: "#fff" } },
  1011. inverse: true,
  1012. data: [""],
  1013. splitLine: {
  1014. lineStyle: {
  1015. color: "red",
  1016. },
  1017. },
  1018. },
  1019. ],
  1020. series: [
  1021. {
  1022. cursorSize: 20,
  1023. name: "Direct",
  1024. type: "bar",
  1025. barWidth: "60%",
  1026. data: [0],
  1027. },
  1028. ],
  1029. dataZoom: [
  1030. {
  1031. type: "inside", // 内置型,可以用鼠标滚轮缩放
  1032. yAxisIndex: 0,
  1033. zoomOnMouseWheel: false, // 滚轮缩放
  1034. moveOnMouseWheel: false, // 滚轮移动
  1035. zoomLock: false,
  1036. minValueSpan: 12, // 最小显示数据数量
  1037. maxValueSpan: 12, // 最大显示数据数量
  1038. },
  1039. ],
  1040. };
  1041. myChart.setOption(option);
  1042. myChart.on("click", this.chartMluClick);
  1043. chartMultiLevelUse = myChart;
  1044. },
  1045. async chartMluFocus(level, farther) {
  1046. if (level == null) {
  1047. level = this.chartMluLevel;
  1048. }
  1049. switch (level) {
  1050. case "unit":
  1051. default: {
  1052. await this.chartMluFocusRoot();
  1053. this.chartMluUpdateTitle("所有委办");
  1054. break;
  1055. }
  1056. case "app": {
  1057. let unit = farther ?? this.chartMluUnitName ?? "";
  1058. await this.chartMluFocusApp(unit);
  1059. this.chartMluUpdateTitle("委办:" + unit);
  1060. break;
  1061. }
  1062. case "service": {
  1063. let app = farther ?? this.chartMluAppName ?? "";
  1064. await this.chartMluFocusService(app);
  1065. this.chartMluUpdateTitle("应用:" + app);
  1066. break;
  1067. }
  1068. }
  1069. },
  1070. chartMluClick(event) {
  1071. switch (this.chartMluLevel) {
  1072. case "unit": {
  1073. this.chartMluLevel = "app";
  1074. this.chartMluUnitName = event.name;
  1075. break;
  1076. }
  1077. case "app": {
  1078. this.chartMluLevel = "service";
  1079. this.chartMluAppName = event.name;
  1080. break;
  1081. }
  1082. case "service":
  1083. default: {
  1084. // do nothing
  1085. }
  1086. }
  1087. this.chartMluFocus();
  1088. },
  1089. chartMluBack(level) {
  1090. //自动回退
  1091. if (level == null) {
  1092. switch (this.chartMluLevel) {
  1093. default:
  1094. case "unit":
  1095. level = "unit";
  1096. break;
  1097. case "app":
  1098. level = "unit";
  1099. break;
  1100. case "service":
  1101. level = "app";
  1102. break;
  1103. }
  1104. }
  1105. this.chartMluLevel = level;
  1106. this.chartMluFocus();
  1107. },
  1108. async chartMluFocusRoot() {
  1109. let start = this.chartMluTimeRange[0],
  1110. end = this.chartMluTimeRange[1];
  1111. start = new Date(moment(start).format("YYYY-MM-DD 00:00:00"));
  1112. end = new Date(moment(end).format("YYYY-MM-DD 23:59:59"));
  1113. const data = await countUnitUse(start, end);
  1114. const names = [];
  1115. const values = [];
  1116. for (let index = 0; index < data.length; index++) {
  1117. const e = data[index];
  1118. names.push(e.name);
  1119. values.push(e.count);
  1120. }
  1121. this.chartMluUpdateData(names, values);
  1122. },
  1123. async chartMluFocusApp(father) {
  1124. let start = this.chartMluTimeRange[0],
  1125. end = this.chartMluTimeRange[1];
  1126. start = new Date(moment(start).format("YYYY-MM-DD 00:00:00"));
  1127. end = new Date(moment(end).format("YYYY-MM-DD 23:59:59"));
  1128. const data = await countAppUseByUnitName(start, end, father);
  1129. const names = [];
  1130. const values = [];
  1131. for (let index = 0; index < data.length; index++) {
  1132. const e = data[index];
  1133. names.push(e.name);
  1134. values.push(e.count);
  1135. }
  1136. this.chartMluUpdateData(names, values);
  1137. },
  1138. async chartMluFocusService(father) {
  1139. let start = this.chartMluTimeRange[0],
  1140. end = this.chartMluTimeRange[1];
  1141. start = new Date(moment(start).format("YYYY-MM-DD 00:00:00"));
  1142. end = new Date(moment(end).format("YYYY-MM-DD 23:59:59"));
  1143. const data = await countServiceUseByApp(start, end, father);
  1144. const names = [];
  1145. const values = [];
  1146. for (let index = 0; index < data.length; index++) {
  1147. const e = data[index];
  1148. names.push(e.name);
  1149. values.push(e.count * 10); //临时
  1150. }
  1151. this.chartMluUpdateData(names, values);
  1152. },
  1153. async pullTopUnit() {
  1154. let data = await topUnit(5);
  1155. for (let i = 0; i < data.length; i++) {
  1156. const e = data[i];
  1157. e.value = this.numberFormatter(e.count);
  1158. }
  1159. this.userTop = data;
  1160. },
  1161. async pullTopService() {
  1162. let data = await topService(10);
  1163. data = [
  1164. {
  1165. name: "一张图权限认证",
  1166. count: 476215,
  1167. },
  1168. {
  1169. name: "航空影像2023",
  1170. count: 454389,
  1171. },
  1172. {
  1173. name: "高级地名地址查询",
  1174. count: 380490,
  1175. },
  1176. {
  1177. name: "政务地图常规色",
  1178. count: 295380,
  1179. },
  1180. {
  1181. name: "政务地图暗色版",
  1182. count: 258912,
  1183. },
  1184. {
  1185. name: "wgs84转上海2000投影坐标",
  1186. count: 174874,
  1187. },
  1188. {
  1189. name: "青浦区街道行政区划边界位置分布",
  1190. count: 128912,
  1191. },
  1192. {
  1193. name: "wgs84转上海2000投影坐标",
  1194. count: 11048,
  1195. },
  1196. {
  1197. name: "青浦区行政边界位置分布",
  1198. count: 10584,
  1199. },
  1200. {
  1201. name: "青浦区院落面栅格瓦片",
  1202. count: 9962,
  1203. },
  1204. ];
  1205. for (let i = 0; i < data.length; i++) {
  1206. const e = data[i];
  1207. e.value = this.numberFormatter(e.count);
  1208. }
  1209. this.resourceTop = data;
  1210. },
  1211. async pullTotalCount() {
  1212. this.handleTotalCallNumber((await totalCount())[0].count);
  1213. },
  1214. async pullLastDayCount() {
  1215. const nowDate = new Date();
  1216. nowDate.setHours(0, 0, 0, 0);
  1217. let end = new Date(nowDate);
  1218. let start = new Date(nowDate.setDate(nowDate.getDate() - 1));
  1219. start = new Date(moment(start).format("YYYY-MM-DD 00:00:00"));
  1220. end = new Date(moment(end).format("YYYY-MM-DD 23:59:59"));
  1221. let data = (await totalCount(start, end))[0];
  1222. this.lastDayCall = data == null ? 0 : data.count
  1223. // this.lastDayCall = 239566;
  1224. },
  1225. async pullMultiTimeRangeCall() {
  1226. this.weekCall = await this.pullTotalCountByDays(7)
  1227. this.monthCall = await this.pullTotalCountByDays(30)
  1228. this.seasonCall = await this.pullTotalCountByDays(91)
  1229. this.yearCall = await this.pullTotalCountByDays(365)
  1230. // this.weekCall = 1186695;
  1231. // this.monthCall = 4328556;
  1232. // this.seasonCall = 6635991;
  1233. // this.yearCall = 16596630;
  1234. },
  1235. async pullMapServiceCount() {
  1236. let start = "2000-01-01 00:00:00"; // 从2000年1月1日开始
  1237. let end = moment(new Date()).format("YYYY-MM-DD 23:59:59"); // 到当前一天结束时间
  1238. let data = await mapServiceCount(start, end);
  1239. // console.log("======pullMapServiceCount====="+data);
  1240. },
  1241. async pullTotalCountByDays(days) {
  1242. const nowDate = new Date();
  1243. nowDate.setHours(0, 0, 0, 0);
  1244. let end = new Date(nowDate);
  1245. let start = new Date(nowDate.setDate(nowDate.getDate() - days));
  1246. start = new Date(moment(start).format("YYYY-MM-DD 00:00:00"));
  1247. end = new Date(moment(end).format("YYYY-MM-DD 23:59:59"));
  1248. let data = (await totalCount(start, end))[0];
  1249. return data == null ? 0 : data.count;
  1250. },
  1251. async pullUserCount() {
  1252. let data = await countUserData();
  1253. this.appNum = data.application;
  1254. this.unitNum = data.unit;
  1255. this.userNum = data.username;
  1256. // this.appNum = 37;
  1257. // this.unitNum = 18;
  1258. // this.userNum = 46;
  1259. },
  1260. chartMluUpdateData(names, values) {
  1261. chartMultiLevelUse.setOption({
  1262. yAxis: [
  1263. {
  1264. data: names,
  1265. },
  1266. ],
  1267. series: [
  1268. {
  1269. data: values,
  1270. },
  1271. ],
  1272. });
  1273. this.chartMluCheckChangeToLog(values);
  1274. },
  1275. chartMluCheckChangeToLog(values) {
  1276. let toLog = false;
  1277. values.sort((a, b) => a - b);
  1278. let min = values[0];
  1279. let max = values[values.length - 1];
  1280. if (max / min > 3000) {
  1281. toLog = true;
  1282. }
  1283. if (toLog) {
  1284. chartMultiLevelUse.setOption({
  1285. xAxis: [
  1286. {
  1287. type: "log",
  1288. logBase: 10,
  1289. min: 1,
  1290. axisLine: { lineStyle: { color: "#fff" } },
  1291. axisLabel: {
  1292. formatter: this.numberFormatter,
  1293. },
  1294. },
  1295. ],
  1296. });
  1297. } else {
  1298. chartMultiLevelUse.setOption({
  1299. xAxis: [
  1300. {
  1301. type: "value",
  1302. min: 0,
  1303. axisLine: { lineStyle: { color: "#fff" } },
  1304. },
  1305. ],
  1306. });
  1307. }
  1308. },
  1309. chartMluUpdateTitle(newTitle) {
  1310. chartMultiLevelUse.setOption({
  1311. title: {
  1312. text: newTitle,
  1313. },
  1314. });
  1315. },
  1316. numberFormatter(num, decimals = 1) {
  1317. if (num >= 1000000000000) {
  1318. return parseFloat((num / 1000000000000).toFixed(decimals)).toString() + "亿万";
  1319. }
  1320. if (num >= 100000000) {
  1321. return parseFloat((num / 100000000).toFixed(decimals)).toString() + "亿";
  1322. }
  1323. if (num >= 10000) {
  1324. return parseFloat((num / 10000).toFixed(decimals)).toString() + "万";
  1325. }
  1326. return num.toString();
  1327. },
  1328. formatDateMMDD(date) {
  1329. // 月份从0开始,所以要 +1
  1330. const month = String(date.getMonth() + 1).padStart(2, "0");
  1331. const day = String(date.getDate()).padStart(2, "0");
  1332. return `${month}/${day}`;
  1333. },
  1334. },
  1335. };
  1336. </script>
  1337. <style lang="less" scoped>
  1338. .font,
  1339. .title,
  1340. .super-title,
  1341. .title-sub,
  1342. .second-title,
  1343. .third-title,
  1344. .strong-data {
  1345. color: #fff;
  1346. }
  1347. .icon {
  1348. color: #fff;
  1349. fill: currentColor;
  1350. }
  1351. .middle {
  1352. text-align: center;
  1353. // margin-top: 10px;
  1354. }
  1355. .darkblue-background,
  1356. .dark-background,
  1357. .bluedark-background,
  1358. .blue-background,
  1359. .image-background {
  1360. padding-top: 0px;
  1361. // padding-bottom: 40px;
  1362. // padding-bottom: 100px;
  1363. margin-left: 0;
  1364. padding-left: 120px;
  1365. padding-right: 120px;
  1366. min-height: 600px;
  1367. }
  1368. .darkblue-background {
  1369. background: #00002a;
  1370. // background: linear-gradient(to bottom, #00002a, #060633, #0f3460, #0f3460);
  1371. // background: linear-gradient(to bottom,
  1372. // #01012f 0%,
  1373. // #0f3460 40%,
  1374. // #0f3460 100%);
  1375. .radius-container {
  1376. border-radius: 40px;
  1377. width: 380px;
  1378. height: 120px;
  1379. background: radial-gradient(50% 50% at 50% 50%, #0e5af4 0%, #00002f 100%);
  1380. // background: -webkit-radial-gradient(center, #07a2fd, #010130, #010130);
  1381. display: flex;
  1382. justify-content: center;
  1383. align-items: center;
  1384. .text-color {
  1385. color: #fff;
  1386. }
  1387. .text-desc-color {
  1388. color: #ade8fe;
  1389. }
  1390. }
  1391. .al-container {
  1392. width: 30%;
  1393. height: 200px;
  1394. background: linear-gradient(to bottom, #050532 0%, #000002 66%, #ffffff 100%);
  1395. font-size: 20px;
  1396. border: 2px solid transparent;
  1397. border-radius: 12px;
  1398. background-clip: padding-box, border-box;
  1399. background-origin: padding-box, border-box;
  1400. background-image:
  1401. linear-gradient(128deg, #050532, #2220),
  1402. linear-gradient(136deg, #ffffff, #00000000, #00000000, #00000000);
  1403. .al-container-border {
  1404. border: 1px solid #2c5179;
  1405. border-radius: 10px;
  1406. width: 100%;
  1407. height: 100%;
  1408. display: flex;
  1409. justify-content: center;
  1410. align-items: center;
  1411. text-align: center;
  1412. }
  1413. .text-color {
  1414. color: #fff;
  1415. padding: 10px;
  1416. }
  1417. transition: all 0.3s ease;
  1418. &:hover {
  1419. background-color: #060633;
  1420. transform: translateY(-5px);
  1421. box-shadow: 0 4px 12px #043e75;
  1422. }
  1423. }
  1424. }
  1425. .dark-background {
  1426. background: #0a0a08;
  1427. }
  1428. .blue-background {
  1429. background: #0f3460;
  1430. }
  1431. .bluedark-background {
  1432. background: linear-gradient(to bottom, #0f3460 0%, #0f3460 60%, #02060c 100%);
  1433. }
  1434. .image-background {
  1435. background-repeat: no-repeat;
  1436. background-position: center;
  1437. background-size: 100% auto;
  1438. }
  1439. .lighter-container {
  1440. background-color: #eeeeee0b;
  1441. padding: 20px;
  1442. margin: 15px;
  1443. vertical-align: middle;
  1444. border-radius: 10px;
  1445. }
  1446. .affix-container {
  1447. position: absolute;
  1448. z-index: 2;
  1449. .active {
  1450. color: #3d9aff;
  1451. }
  1452. }
  1453. .lightblue-container {
  1454. margin: 15px;
  1455. background: linear-gradient(to bottom, #215476 0%, #28638b 66%, #337aac 100%);
  1456. font-size: 20px;
  1457. border: 2px solid transparent;
  1458. border-radius: 12px;
  1459. background-clip: padding-box, border-box;
  1460. background-origin: padding-box, border-box;
  1461. background-image:
  1462. linear-gradient(128deg, #052b5b, #2220),
  1463. linear-gradient(136deg, #e5e5e5de, #00000000, #00000000, #00000000);
  1464. transition: all 0.3s ease;
  1465. &:hover {
  1466. // background-color: #060633;
  1467. transform: translateY(-5px);
  1468. box-shadow: 0 4px 12px #043e75;
  1469. }
  1470. .lightblue-container-boder {
  1471. border: 1px solid #2c5179;
  1472. border-radius: 10px;
  1473. // padding: 20px;
  1474. }
  1475. .third-title {
  1476. font-size: 28px;
  1477. padding: 0;
  1478. }
  1479. .img-container {
  1480. width: 100%;
  1481. height: 50%;
  1482. display: flex;
  1483. text-align: right;
  1484. justify-content: right;
  1485. position: relative;
  1486. border-radius: 10px;
  1487. overflow: hidden;
  1488. .row-warp-page-img {
  1489. width: 144px;
  1490. height: 144px;
  1491. transform: rotate(350deg);
  1492. position: relative;
  1493. right: -20px;
  1494. top: -20px;
  1495. }
  1496. .img-border {
  1497. background: url("@/assets/images/common/gn/5.png");
  1498. background-size: 100% 100%;
  1499. width: 144px;
  1500. height: 144px;
  1501. transform: rotate(-50deg);
  1502. top: 50%;
  1503. left: 50%;
  1504. }
  1505. }
  1506. }
  1507. .middle-container {
  1508. display: flex !important;
  1509. justify-content: center;
  1510. flex-direction: column;
  1511. padding: 0;
  1512. align-items: stretch;
  1513. border: 2px solid transparent;
  1514. border-radius: 12px;
  1515. background-clip: padding-box, border-box;
  1516. background-origin: padding-box, border-box;
  1517. background-image:
  1518. linear-gradient(330deg, #050532, #2220),
  1519. linear-gradient(330deg, #ffffff, #00000000, #00000000, #00000000);
  1520. transition: all 0.3s ease;
  1521. }
  1522. .row,
  1523. .warp-row,
  1524. .between-row {
  1525. display: flex !important;
  1526. justify-content: space-around;
  1527. padding: 0px;
  1528. align-items: stretch;
  1529. }
  1530. .warp-row {
  1531. flex-wrap: wrap;
  1532. }
  1533. .between-row {
  1534. justify-content: space-between;
  1535. }
  1536. .col {
  1537. display: flex !important;
  1538. justify-content: space-around;
  1539. flex-direction: column;
  1540. }
  1541. .dense-col {
  1542. display: flex !important;
  1543. justify-content: center;
  1544. flex-direction: column;
  1545. }
  1546. .start-reverse-col {
  1547. display: flex !important;
  1548. justify-content: start;
  1549. flex-direction: column-reverse;
  1550. }
  1551. .dense-col > *,
  1552. .start-reverse-col > * {
  1553. margin: 10px;
  1554. }
  1555. .grid-2x2 {
  1556. display: grid !important;
  1557. grid-template-columns: 1fr 1fr;
  1558. gap: 12px;
  1559. width: 100%;
  1560. height: 80%;
  1561. }
  1562. .strong-data {
  1563. font-size: 32px;
  1564. font-weight: bold;
  1565. text-align: center;
  1566. }
  1567. .title {
  1568. font-size: 36px;
  1569. margin-top: 10px;
  1570. text-align: center;
  1571. font-weight: bold;
  1572. }
  1573. .super-title {
  1574. font-size: 44px;
  1575. margin-top: 10px;
  1576. text-align: center;
  1577. font-weight: bold;
  1578. }
  1579. .title-sub {
  1580. font-size: 16px;
  1581. margin-top: 10px;
  1582. color: rgb(192, 192, 192);
  1583. text-align: center;
  1584. }
  1585. .second-title {
  1586. font-size: 20px;
  1587. margin-top: 10px;
  1588. padding-left: 10px;
  1589. border-left: 2px solid #3498db;
  1590. font-weight: bold;
  1591. }
  1592. .third-title {
  1593. font-size: 18px;
  1594. align-items: center;
  1595. display: flex;
  1596. font-weight: bold;
  1597. padding-bottom: 10px;
  1598. i {
  1599. margin-right: 5px;
  1600. }
  1601. }
  1602. .top-list {
  1603. display: flex;
  1604. flex-direction: column;
  1605. }
  1606. .top-list .list-item {
  1607. display: flex;
  1608. justify-content: space-between;
  1609. margin: 10px 0px;
  1610. // margin-left: 30px;
  1611. // margin-right: 30px;
  1612. }
  1613. .usecase-tabs {
  1614. width: 60%;
  1615. margin: auto;
  1616. margin-top: 60px;
  1617. margin-bottom: 30px;
  1618. }
  1619. .usecase-tabs .tab-lab {
  1620. display: flex;
  1621. align-items: center;
  1622. font-size: 24px;
  1623. color: #fff;
  1624. }
  1625. .use-case {
  1626. margin: 20px;
  1627. width: 45%;
  1628. height: 500px;
  1629. border-radius: 10px;
  1630. background-size: 100% auto;
  1631. /* 横向填满,纵向按比例缩放 */
  1632. background-repeat: no-repeat;
  1633. .use-case-empty {
  1634. width: 100%;
  1635. height: 50%;
  1636. }
  1637. .use-case-text {
  1638. padding: 15px;
  1639. width: 100%;
  1640. height: 50%;
  1641. border-radius: 10px;
  1642. box-sizing: border-box;
  1643. background: linear-gradient(to bottom, #377f7f 0%, #377f7f 80%, #205161 100%);
  1644. .third-title {
  1645. padding: 0;
  1646. }
  1647. }
  1648. }
  1649. .six-router {
  1650. width: 30%;
  1651. // height: 300px;
  1652. font-size: 28px;
  1653. .third-title {
  1654. font-size: 32px;
  1655. }
  1656. }
  1657. .circle-number {
  1658. // display: block;
  1659. margin-right: 10px;
  1660. background-color: #eeeeee00;
  1661. // border: 1px solid #2272d4;
  1662. }
  1663. .block-page-router {
  1664. display: flex;
  1665. flex-direction: column;
  1666. margin: 15px;
  1667. padding: 15px;
  1668. box-sizing: border-box;
  1669. width: 30%;
  1670. height: 240px;
  1671. border: #2272d4 solid 1px;
  1672. border-radius: 13px;
  1673. background-color: #1e3348;
  1674. }
  1675. .blue {
  1676. // color: #3498db;
  1677. color: #1586ff;
  1678. font-weight: bold;
  1679. }
  1680. .white {
  1681. color: #fff;
  1682. }
  1683. .number-color {
  1684. color: #ade8fe;
  1685. }
  1686. .grey {
  1687. color: rgb(192, 192, 192);
  1688. padding: 20px 0px;
  1689. }
  1690. .lightgrey {
  1691. color: rgb(229, 229, 229);
  1692. padding: 0px 20px 20px 20px;
  1693. position: relative;
  1694. top: -30px;
  1695. height: 120px;
  1696. .lightgrey-title {
  1697. font-size: 24px;
  1698. font-weight: bold;
  1699. padding-bottom: 20px;
  1700. }
  1701. .lightgrey-desc {
  1702. font-size: 16px;
  1703. }
  1704. }
  1705. #echart1 {
  1706. width: 100%;
  1707. height: 450px;
  1708. }
  1709. #echartMultiLevelUse {
  1710. width: 100%;
  1711. height: 450px;
  1712. }
  1713. .container {
  1714. width: 100%;
  1715. margin: 0 auto;
  1716. }
  1717. .home {
  1718. position: relative;
  1719. .part1 {
  1720. width: 100%;
  1721. height: 750px;
  1722. // height: calc(100vh - 120px);
  1723. background: url("@static/images/home/bg.png");
  1724. background-size: 100% 100%;
  1725. position: relative;
  1726. overflow: hidden;
  1727. display: flex;
  1728. justify-content: left;
  1729. align-items: center;
  1730. .super-title {
  1731. font-size: 44px;
  1732. margin-top: 0px;
  1733. margin-bottom: 10px;
  1734. text-align: left;
  1735. font-weight: bold;
  1736. }
  1737. .title-sub {
  1738. font-size: 16px;
  1739. margin-top: 0px;
  1740. color: #ffffff;
  1741. text-align: left;
  1742. }
  1743. .count-title {
  1744. // font-size: 24px;
  1745. font-weight: bold;
  1746. text-align: left;
  1747. margin: 40px 0px 20px 0px;
  1748. .count {
  1749. padding: 5px;
  1750. }
  1751. .text1 {
  1752. font-weight: 100;
  1753. font-size: 12px;
  1754. }
  1755. }
  1756. .part1-1 {
  1757. width: 100%;
  1758. height: 300px;
  1759. //background: #09284c;
  1760. margin: 0 auto;
  1761. margin-top: 10px;
  1762. overflow: hidden;
  1763. .part1-1-1 {
  1764. height: 300px;
  1765. width: fit-content;
  1766. margin: 0 auto;
  1767. // margin-top: 30px;
  1768. .number-container {
  1769. display: flex;
  1770. align-items: flex-start;
  1771. font-size: 2em;
  1772. }
  1773. .number-item {
  1774. width: 57px;
  1775. height: 70px;
  1776. background-color: rgb(10 71 137 / 70%);
  1777. border: 1px solid #2663a5;
  1778. box-shadow: 0 4px 20px #2663a5;
  1779. border-radius: 10px;
  1780. color: white;
  1781. display: flex;
  1782. justify-content: center;
  1783. align-items: center;
  1784. margin-right: 20px;
  1785. font-size: 44px;
  1786. line-height: 70px;
  1787. font-weight: bold;
  1788. }
  1789. .separator {
  1790. margin-right: 20px;
  1791. font-size: 35px;
  1792. text-align: end;
  1793. color: #ffffff;
  1794. }
  1795. .text {
  1796. font-size: 24px;
  1797. line-height: 100px;
  1798. padding: 0px 20px;
  1799. color: #ffffff;
  1800. font-weight: bold;
  1801. }
  1802. }
  1803. .part1-1-2 {
  1804. height: 50px;
  1805. width: 700px;
  1806. margin: 0 auto;
  1807. margin-top: 30px;
  1808. background: #8080804d;
  1809. border-radius: 5px;
  1810. line-height: 50px;
  1811. div {
  1812. display: inline-block;
  1813. vertical-align: top;
  1814. &.line {
  1815. height: 2px;
  1816. background: #808080;
  1817. width: 100px;
  1818. margin: 24px 20px;
  1819. margin-right: 20px;
  1820. }
  1821. &:nth-child(2) {
  1822. width: 420px;
  1823. text-align: center;
  1824. color: #ffffff;
  1825. font-size: 20px;
  1826. font-weight: bold;
  1827. .text1 {
  1828. margin-right: 20px;
  1829. }
  1830. .text2 {
  1831. margin-left: 20px;
  1832. }
  1833. }
  1834. &:nth-child(4) {
  1835. float: right;
  1836. }
  1837. }
  1838. }
  1839. }
  1840. }
  1841. .part2 {
  1842. background: #08224a;
  1843. padding-bottom: 1px;
  1844. .part1-2 {
  1845. color: #ffffff;
  1846. // margin-top: 20px;
  1847. .part1-2-1,
  1848. .part1-2-2,
  1849. .part1-2-3 {
  1850. display: inline-block;
  1851. text-align: center;
  1852. font-weight: bold;
  1853. width: calc(100% / 3);
  1854. div:nth-child(1) {
  1855. font-size: 24px;
  1856. }
  1857. div:nth-child(2) {
  1858. margin-top: 10px;
  1859. font-size: 32px;
  1860. }
  1861. }
  1862. }
  1863. .chapter {
  1864. text-align: center;
  1865. font-size: 40px;
  1866. width: 100%;
  1867. height: 80px;
  1868. line-height: 80px;
  1869. color: #ffffff;
  1870. font-weight: bold;
  1871. border-bottom: 2px solid gray;
  1872. margin-bottom: 20px;
  1873. }
  1874. .row {
  1875. display: flex;
  1876. justify-content: space-between;
  1877. margin-bottom: 20px;
  1878. padding: 0 100px;
  1879. }
  1880. .service {
  1881. flex: 1;
  1882. margin: 0 30px;
  1883. text-align: center;
  1884. }
  1885. .title {
  1886. position: relative;
  1887. padding-bottom: 10px;
  1888. margin-bottom: 15px;
  1889. height: 50px;
  1890. line-height: 90px;
  1891. font-size: 30px;
  1892. }
  1893. .title::before {
  1894. content: "";
  1895. position: absolute;
  1896. left: 0;
  1897. right: 0;
  1898. top: 0;
  1899. height: 15px;
  1900. }
  1901. .yellow {
  1902. color: #f1c40f;
  1903. }
  1904. .yellow::before {
  1905. background-color: #f1c40f;
  1906. }
  1907. .gray {
  1908. color: #bdc3c7;
  1909. }
  1910. .gray::before {
  1911. background-color: #bdc3c7;
  1912. }
  1913. .blue {
  1914. color: #3498db;
  1915. }
  1916. .blue::before {
  1917. background-color: #3498db;
  1918. }
  1919. .orange {
  1920. color: #e67e22;
  1921. }
  1922. .orange::before {
  1923. background-color: #e67e22;
  1924. }
  1925. .green {
  1926. color: #27ae60;
  1927. }
  1928. .green::before {
  1929. background-color: #27ae60;
  1930. }
  1931. .yellow-green {
  1932. color: #b2be2c;
  1933. }
  1934. .yellow-green::before {
  1935. background-color: #b2be2c;
  1936. }
  1937. p {
  1938. font-size: 20px;
  1939. line-height: 2;
  1940. color: #ffffff;
  1941. }
  1942. }
  1943. .part3 {
  1944. .container {
  1945. position: relative;
  1946. width: 100%;
  1947. height: 940px;
  1948. background-image: url("~@/assets/images/common/u30.png");
  1949. /* 替换为实际图片路径 */
  1950. background-size: cover;
  1951. background-position: center;
  1952. display: flex;
  1953. flex-direction: column;
  1954. justify-content: center;
  1955. align-items: center;
  1956. text-align: center;
  1957. color: #000000;
  1958. font-family: Arial, sans-serif;
  1959. overflow: hidden;
  1960. }
  1961. h1 {
  1962. position: absolute;
  1963. top: 30px;
  1964. font-size: 40px;
  1965. font-weight: bold;
  1966. }
  1967. p {
  1968. margin-bottom: 30px;
  1969. font-weight: bold;
  1970. font-size: 24px;
  1971. line-height: 2;
  1972. }
  1973. .el-button {
  1974. position: absolute;
  1975. bottom: 150px;
  1976. }
  1977. }
  1978. .part4 {
  1979. background: #08224a;
  1980. padding-bottom: 1px;
  1981. .chapter {
  1982. text-align: center;
  1983. font-size: 40px;
  1984. width: 100%;
  1985. height: 80px;
  1986. line-height: 80px;
  1987. color: #ffffff;
  1988. font-weight: bold;
  1989. /* border-bottom: 2px solid gray; */
  1990. margin-bottom: 20px;
  1991. }
  1992. .row {
  1993. display: flex;
  1994. justify-content: space-between;
  1995. margin-bottom: 40px;
  1996. padding: 0 100px;
  1997. }
  1998. .service {
  1999. flex: 1;
  2000. margin: 0 30px;
  2001. width: 500px;
  2002. height: 320px;
  2003. border: 1px solid gray;
  2004. border-radius: 8px;
  2005. padding: 10px 10px;
  2006. box-sizing: border-box;
  2007. overflow: hidden;
  2008. position: relative;
  2009. }
  2010. .title {
  2011. position: relative;
  2012. height: 30px;
  2013. line-height: 30px;
  2014. font-size: 30px;
  2015. text-align: left;
  2016. color: #ffffff;
  2017. padding-bottom: 20px;
  2018. }
  2019. p {
  2020. text-indent: 2rem;
  2021. font-size: 20px;
  2022. line-height: 2;
  2023. color: #ffffff;
  2024. }
  2025. .el-button {
  2026. position: absolute;
  2027. bottom: 10px;
  2028. left: 10px;
  2029. font-size: 20px;
  2030. color: #ffffff;
  2031. &:hover {
  2032. color: #3498db;
  2033. }
  2034. }
  2035. }
  2036. .part5 {
  2037. background: #08224a;
  2038. padding-bottom: 1px;
  2039. .chapter {
  2040. text-align: center;
  2041. font-size: 40px;
  2042. width: 100%;
  2043. height: 80px;
  2044. line-height: 80px;
  2045. color: #ffffff;
  2046. font-weight: bold;
  2047. /* border-bottom: 2px solid gray; */
  2048. margin-bottom: 20px;
  2049. }
  2050. .part5-1 {
  2051. color: #ffffff;
  2052. margin-top: 20px;
  2053. margin-bottom: 20px;
  2054. .part5-1-1,
  2055. .part5-1-2,
  2056. .part5-1-3 {
  2057. display: inline-block;
  2058. text-align: center;
  2059. font-weight: bold;
  2060. width: calc(100% / 3);
  2061. div {
  2062. font-size: 24px;
  2063. }
  2064. div:nth-child(2) {
  2065. margin-top: 10px;
  2066. font-size: 24px;
  2067. }
  2068. div p {
  2069. display: inline-block;
  2070. font-size: 40px;
  2071. }
  2072. }
  2073. }
  2074. .part5-2 {
  2075. margin-top: 40px;
  2076. padding-bottom: 1px;
  2077. height: fit-content;
  2078. .tab-container {
  2079. display: flex;
  2080. gap: 40px;
  2081. /* 选项卡间距 */
  2082. // border-bottom: 1px solid #eee; /* 可选底部分隔线 */
  2083. width: fit-content;
  2084. margin: 0 auto;
  2085. position: relative;
  2086. margin-bottom: 40px;
  2087. height: 55px;
  2088. }
  2089. .tab-container::after {
  2090. content: "";
  2091. display: block;
  2092. height: 1px;
  2093. width: 100%;
  2094. background: #eeeeee;
  2095. /* 下划线颜色 */
  2096. position: absolute;
  2097. bottom: 0;
  2098. }
  2099. .tab-item {
  2100. color: #ffffff;
  2101. cursor: pointer;
  2102. overflow: hidden;
  2103. position: relative;
  2104. font-size: 30px;
  2105. height: 55px;
  2106. }
  2107. .tab-item-active {
  2108. color: #66f;
  2109. /* 选中文字颜色 */
  2110. }
  2111. .tab-item-active::after {
  2112. content: "";
  2113. display: block;
  2114. height: 2px;
  2115. width: 100%;
  2116. background: #66f;
  2117. /* 下划线颜色 */
  2118. margin-top: 5px;
  2119. position: absolute;
  2120. bottom: 0;
  2121. z-index: 1;
  2122. }
  2123. .tab-icon {
  2124. margin-right: 5px;
  2125. /* 图标与文字间距 */
  2126. }
  2127. .row {
  2128. display: flex;
  2129. justify-content: space-between;
  2130. margin-bottom: 40px;
  2131. padding: 0 120px;
  2132. > :nth-child(1) {
  2133. background: url(~@/assets/images/common/u301.png) no-repeat 0 0/100%;
  2134. }
  2135. > :nth-child(2) {
  2136. background: url(~@/assets/images/common/u302.png) no-repeat 0 0/100%;
  2137. }
  2138. }
  2139. }
  2140. }
  2141. }
  2142. :deep(.el-affix--fixed) {
  2143. height: 220px;
  2144. width: 120px !important;
  2145. top: 30% !important;
  2146. // top:unset !important;
  2147. // bottom: 60px !important;
  2148. z-index: 100;
  2149. border: 1px solid transparent;
  2150. border-radius: 16px;
  2151. background-clip: padding-box, border-box;
  2152. background-origin: padding-box, border-box;
  2153. background-image:
  2154. linear-gradient(88deg, #00002e, #2220),
  2155. linear-gradient(87deg, #fffdfd6b, #00000000, #00000000, #00000000);
  2156. }
  2157. .warp-container {
  2158. display: grid;
  2159. justify-content: flex-start;
  2160. align-items: center;
  2161. grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  2162. gap: 30px;
  2163. .warp-page-card {
  2164. cursor: pointer;
  2165. justify-content: flex-start;
  2166. width: 100%;
  2167. height: 400px;
  2168. display: grid;
  2169. border: 1px solid transparent;
  2170. border-radius: 16px;
  2171. background-clip: padding-box, border-box;
  2172. background-origin: padding-box, border-box;
  2173. background-image:
  2174. linear-gradient(345deg, #08113e, #2220),
  2175. linear-gradient(345deg, #fffdfd6b, #00000000, #00000000, #00000000);
  2176. .warp-page-img {
  2177. cursor: pointer;
  2178. height: 200px;
  2179. background-size: cover;
  2180. border-radius: 16px 16px 0px 0px;
  2181. }
  2182. .warp-page-text {
  2183. padding: 0px 20px 20px 20px;
  2184. // height: 200px;
  2185. // font-size: 24px;
  2186. color: #c7c2c2;
  2187. .warp-page-text-title {
  2188. font-weight: bold;
  2189. margin: 10px 0px;
  2190. color: #ffffff;
  2191. }
  2192. .warp-page-text-desc {
  2193. display: -webkit-box;
  2194. -webkit-box-orient: vertical;
  2195. -webkit-line-clamp: 5; /* 限制显示4行 */
  2196. line-clamp: 5; /* 标准属性 */
  2197. overflow: hidden;
  2198. text-overflow: ellipsis;
  2199. }
  2200. }
  2201. transition: all 0.3s ease;
  2202. &:hover {
  2203. background-color: #152736;
  2204. transform: translateY(-5px);
  2205. box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
  2206. }
  2207. }
  2208. }
  2209. .isOpenRightShow {
  2210. position: fixed;
  2211. top: 45%;
  2212. right: 10px;
  2213. z-index: 2020;
  2214. cursor: pointer;
  2215. }
  2216. .isOpenLeftShow {
  2217. position: fixed;
  2218. top: 45%;
  2219. left: 10px;
  2220. z-index: 2020;
  2221. cursor: pointer;
  2222. }
  2223. .btn_color {
  2224. color: #fff;
  2225. background: #1a2a6075;
  2226. padding: 10px;
  2227. border-radius: 20px;
  2228. &:hover {
  2229. background: #29558f;
  2230. color: rgb(0, 247, 255);
  2231. }
  2232. }
  2233. .win-iframe {
  2234. width: 100%; /* 使iframe宽度适应父容器 */
  2235. height: 100%; /* 固定高度 */
  2236. border: none; /* 移除默认边框 */
  2237. }
  2238. :deep(.el-drawer__body) {
  2239. padding: 0;
  2240. }
  2241. :deep(.el-overlay) {
  2242. // height: calc(100vh - 44px);
  2243. // top: 44px;
  2244. }
  2245. :deep(.el-drawer) {
  2246. transition: transform 1.5s ease;
  2247. }
  2248. :deep(.el-modal-drawer) {
  2249. transition: transform 1.5s ease;
  2250. }
  2251. </style>