Index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. <template>
  2. <div id="jtaq">
  3. <div class="panel-left" :class="{ 'is-hide': aside_hide }">
  4. <div class="pl-b1">
  5. <span class="title1-left">船舶信息</span>
  6. <div class="plb1-part1">
  7. <img :src="require('@/assets/imgs/page_jtaq/icon-cbxx.png')" alt="">
  8. <div>
  9. <span>当前在港船舶总数</span>
  10. <div>
  11. <span>{{ data_cbxx.total }}</span>
  12. <span>艘次</span>
  13. </div>
  14. </div>
  15. </div>
  16. <ul class="plb1-part2">
  17. <li v-for="item in data_cbxx.cata" :class="{ 'clickable': item.name === '重点追踪船舶' }" @click="showBoatList(item)">
  18. <span>{{ item.name }}</span>
  19. <span>{{ item.value }}</span>
  20. <span>艘</span>
  21. <div>
  22. <span>{{ cbxxPercent(item.value) }}</span>
  23. <span>%</span>
  24. </div>
  25. <span>占比</span>
  26. </li>
  27. </ul>
  28. </div>
  29. <KeyBoatList :list-data="keyBoatList.value" :list-title="'重点追踪船舶列表'" v-if="boatListShow"
  30. @closeBoatList="boatListShow = false" />
  31. <div class="pl-b2">
  32. <span class="title2-left">船舶航行预测</span>
  33. <div class="plb2-row1">
  34. <span>上海市河港</span><span>{{ data_cbxx.riverCount }}</span><span>艘</span>
  35. </div>
  36. <ul class="plb2-main">
  37. <li v-for="item in listData_cbhxyc.value">
  38. <span>{{ item.dist }}</span>
  39. <span>{{ item.value }}</span>
  40. <span>艘</span>
  41. </li>
  42. </ul>
  43. </div>
  44. <div class="pl-b3">
  45. <span class="title2-left">船舶功能分类</span>
  46. <div id="chart-cbgn"></div>
  47. </div>
  48. <div class="pl-b4">
  49. <span class="title2-left">船舶航行状态</span>
  50. <div v-for="item in data_cbhxzt.value" class="plb4-item">
  51. <img :src="item.iconUrl" alt="">
  52. <div>
  53. <span>{{ item.title }}</span>
  54. <div>
  55. <span>{{ item.value }}</span>
  56. <span>艘</span>
  57. <span>{{ hxztPercent(item.value) }}</span>
  58. <span>%</span>
  59. <span>占比</span>
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="panel-right" :class="{ 'is-hide': aside_hide }">
  66. <div class="pr-b1 pr">
  67. <span class="title1-right">运行态势</span>
  68. <span class="title2-right">安全通航信息</span>
  69. <el-carousel trigger="click" height="23vh" class="prb1-main" indicator-position="outside" arrow="never"
  70. :autoplay="!aqthPopupShow">
  71. <el-carousel-item v-for="page in listData_aqthxx_len" :key="page">
  72. <div v-for="item, index in listData_aqthxx.value.slice((page - 1) * 2, (page - 1) * 2 + 2)" class="prb1-item"
  73. @click="showAqthPopup(index + (page - 1) * 2)">
  74. <span class="title3"
  75. :class="{ 'highlight': item.abstract[1] === aqthPopupData.value.code && aqthPopupShow }">{{
  76. item.title }}</span>
  77. <span v-for="item2 in item.abstract"> {{ item2 }}</span>
  78. </div>
  79. </el-carousel-item>
  80. </el-carousel>
  81. <div class="popup-aqth" v-if="aqthPopupShow">
  82. <i class="btn-close" @click="handleCloseAqthPopup"></i>
  83. <div class="title-dialog">{{ aqthPopupData.value.title }}</div>
  84. <p>{{ aqthPopupData.value.des }}</p>
  85. </div>
  86. </div>
  87. <div class="pr-b2 pr">
  88. <span class="title2-right">通航流量监测</span>
  89. <span class="title3">分时段流量统计</span>
  90. <div id="chart_fsdll"></div>
  91. <span class="title3">分航向流量统计</span>
  92. <div class="prb2-item" v-for="item in data_fhxll.value">
  93. <div>
  94. <img :src="require('@/assets/imgs/page_jtaq/icon-zhandian.png')" alt="">
  95. <span>{{ item.from }}</span>
  96. <i></i>
  97. <span>{{ item.to }}</span>
  98. </div>
  99. <div>
  100. <span>分航向流量统计</span>
  101. <span>{{ item.value }}</span>
  102. <span>艘次</span>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. </template>
  109. <script>
  110. export default {
  111. name: 'JtaqHome',
  112. }
  113. </script>
  114. <script setup>
  115. import { onMounted, reactive, computed, ref } from 'vue';
  116. import { setCbgn, setFsdll } from '@/echarts/options'
  117. import { ElCarousel, ElCarouselItem } from 'element-plus'
  118. import 'element-plus/es/components/carousel/style/css'
  119. import 'element-plus/es/components/carousel-item/style/css'
  120. import { GetThlljc, GetCbxx, GetThllByHour, GetKeyBoats } from '../../apis/jtaq'
  121. import KeyBoatList from './cpns/KeyBoatList.vue'
  122. import { asideShow } from '@/store/index'
  123. const aside_hide = asideShow().isHide
  124. onMounted(() => {
  125. getData()
  126. setCbgn(document.getElementById('chart-cbgn'), chartData_cbgnfl.value)
  127. setFsdll(document.getElementById('chart_fsdll'), chartData_fsdll.value)
  128. })
  129. function getData() {
  130. getData_thlljc()
  131. getData_cbxx()
  132. }
  133. function getData_cbxx() {
  134. GetCbxx().then(res => {
  135. listData_cbhxyc.value.forEach(i => {
  136. i.value = res.data.district[i.dist]
  137. })
  138. data_cbxx.total = res.data.inport
  139. data_cbxx.riverCount = res.data.inRiverShipTotal
  140. data_cbxx.cata.forEach(i => {
  141. i.value = res.data[i.fieldName]
  142. })
  143. data_cbhxzt.value.forEach(i => {
  144. i.value = res.data[i.fieldName]
  145. })
  146. let boatTypeArr = []
  147. for (let key in res.data.boatType) {
  148. boatTypeArr.push({ name: key, value: res.data.boatType[key] })
  149. }
  150. boatTypeArr = boatTypeArr.sort((a, b) => b.value - a.value)
  151. chartData_cbgnfl.value = [
  152. ...boatTypeArr.slice(0, 4),
  153. { name: '其它', value: boatTypeArr.slice(4).reduce((sum, i) => sum + i.value, 0) }
  154. ]
  155. setCbgn(document.getElementById('chart-cbgn'), chartData_cbgnfl.value)
  156. })
  157. }
  158. const data_cbxx = reactive({
  159. total: 0,
  160. riverCount: 0,
  161. cata: [
  162. { name: '重点追踪船舶', value: 0, fieldName: 'keyBoat' },
  163. { name: '载运危货船舶', value: 0, fieldName: 'dangerBoat' }
  164. ]
  165. })
  166. function cbxxPercent(value) {
  167. if (!value || value === 0) {
  168. return '-'
  169. }
  170. return (value / data_cbxx.total * 100).toFixed(2)
  171. }
  172. const listData_cbhxyc = reactive({
  173. value: [
  174. { dist: '奉贤', value: 0 },
  175. { dist: '金山', value: 0 },
  176. { dist: '松江', value: 0 },
  177. { dist: '嘉定', value: 0 },
  178. { dist: '闵行', value: 0 },
  179. { dist: '青浦', value: 0 },
  180. { dist: '宝山', value: 0 },
  181. { dist: '崇明', value: 0 },
  182. { dist: '浦东', value: 0 }
  183. ]
  184. })
  185. const data_cbhxzt = reactive({
  186. value: [
  187. { title: '航行中船舶', value: 0, iconUrl: require('@/assets/imgs/page_jtaq/icon-cb-hxz.png'), fieldName: 'runningBoatCount' },
  188. { title: '靠泊中船舶', value: 0, iconUrl: require('@/assets/imgs/page_jtaq/icon-cb-kbz.png'), fieldName: 'stopBoatCount' }
  189. ]
  190. })
  191. function hxztPercent(value) {
  192. const sum = data_cbhxzt.value.reduce((total, i) => i.value + total, 0)
  193. if (sum === 0 || !value) {
  194. return '-'
  195. }
  196. return Math.round(value / sum * 100)
  197. }
  198. const chartData_cbgnfl = reactive({
  199. value: [
  200. { name: '--', value: 0 },
  201. { name: '--', value: 0 },
  202. { name: '--', value: 0 },
  203. { name: '--', value: 0 },
  204. { name: '--', value: 0 }
  205. ]
  206. })
  207. const listData_aqthxx = reactive({
  208. value: [
  209. {
  210. title: '轮舱口盖吊装作业',
  211. abstract: [
  212. '2024年03月12日-2024年03月16日,06:00-24:00时',
  213. '沪航通〔2024〕0168号'
  214. ],
  215. des: '作业时间:2024年3月12日06:00时。\n'+
  216. '作业地点:秦航工56起重船进场,起重船定位于长兴0号线新码头2泊位。\n'+
  217. '作业方式:先抛船艏锚,后抛船艉锚,再将1根缆带在码头上。\n'+
  218. '注意事项:1、作业船舶应在显明易见处悬挂作业信号,并在锚缆入水处设浮标并显示标志,不作业时松缆入江底;\n' +
  219. '2、作业船应加强值班、了望和高频守听;\n' +
  220. '3、航行船舶应距最远锚位50米外缓速通过;\n' +
  221. '4、如遇实际风力大于7级或视程小于1000米停止作业。'
  222. },
  223. {
  224. title: '维护性疏浚作业',
  225. abstract: [
  226. '2024年3月11日至2024年12月31日,日夜作业',
  227. '沪航通〔2024〕0165号'
  228. ],
  229. des: '作业时间:2024年3月11日至2024年12月31日,日夜作业。\n' +
  230. '作业地点:1)外四期码头长1427*50、港池186*150及港池通道长105*243.5;\n' +
  231. '2)外五外六码头长2058*50、内支线190*40、港池通道长105*120及港池300*92;\n'+
  232. '3)外六海通码头前沿,长580米,宽50米;码头港池,长232米,宽40米;码头通道,长100米,宽60米范围内区域;\n' +
  233. '作业方式:挖泥船采用分层分条开挖,由码头前沿往港池方向逐条开挖,挖泥船移动方向向左至右然后再由右至左循环作业。疏浚泥土由运泥船运送到指定抛泥区抛送。\n' +
  234. '注意事项:1.作业船按规定悬挂号灯号型,保持AIS正常开启;\n'+
  235. '2.作业船加强高频值守和动态通报,保持正规瞭望;\n'+
  236. '3.船舶航经作业水域时,应保持安全间距,注意避让;\n'+
  237. '4.遵守水上交通管控特别要求,服从现场交通组织;\n'+
  238. '5.风力大于7级或能见度小于1000米时应暂停施工。'
  239. },
  240. {
  241. title: '工程动态监测作业',
  242. abstract: [
  243. '动态监测作业',
  244. '沪航通〔2024〕0151号'
  245. ],
  246. des: '作业时间:2024年03月15日至2024年12月31日,每天05:00-20:00时。\n' +
  247. '作业地点:北缘护底工程区域,南侧至北缘护底工程堤轴线以南300m,北侧至北缘护底工程堤轴线以北500m。\n' +
  248. '作业方式:由上海河口海岸科学研究中心负责实施固定断面监测和常规地形监测,测线垂直护滩堤轴线方向布设。\n' +
  249. '注意事项:1、作业船舶应在显明易见处悬挂作业信号,并在锚缆入水处设浮标并显示标志,不作业时松缆入江底;\n' +
  250. '2、作业船应加强值班、了望和高频守听;\n' +
  251. '3、航行船舶应距最远锚位50米外缓速通过;\n' +
  252. '4、如遇实际风力大于7级或视程小于1000米停止作业。'
  253. },
  254. {
  255. title: '大件吊装作业',
  256. abstract: [
  257. '2024年3月13日至2024年3月21日,白天作业',
  258. '沪航通[2024]0166号'
  259. ],
  260. des: '作业时间:2024年3月13日至2024年3月21日,白天作业。\n'+
  261. '作业地点:军工路码头前沿水域范围内。\n'+
  262. '作业方式:起重船“向阳八号”顺靠军工路码头货轮“KANG SHUN UI HUANG(康顺辉煌)”轮外档进行码头装卸作业,将货物从码头车辆吊至货轮“KANG SHUN HUI HUANG(康顺辉煌)”;\n'+
  263. '起重船“向阳八号”顺靠军工路码头货轮“NAVI JENNY(幸运之旅)”轮外档进行码头装卸作业,将货物从码头车辆吊至货轮“NAVI JENNY(幸运之旅)”;\n'+
  264. '起重船“向阳八号”顺靠军工路码头货轮“ASIAN INFINITY(亚洲无限)”轮外档进行码头装卸作业,将货物从码头车辆吊至货轮“ASIAN INFINITY(亚洲无限)”。\n'+
  265. '作业期间“向阳八号”与外轮前后系缆定位,无需抛锚。作业完毕,“向阳八号”立即撤离。\n'+
  266. '注意事项:1、作业船舶应在显明易见处悬挂作业信号;\n'+
  267. '2、作业船舶应指派专人加强值班、了望和VHF06频道守听,随时采取安全措施和保持通信联络;\n'+
  268. '3、过往船舶从施工水域安全距离外缓速驶过;\n'+
  269. '4、如遇6级以上大风或视程小于500米,作业停止;\n'+
  270. '5、作业现场听从巡逻艇的交通指挥;\n'+
  271. '6、吊装作业时,无关船舶不得进入作业船舶艏艉各长20米、外舷宽10米范围内水域航行、停泊、作业。'
  272. },
  273. ]
  274. })
  275. const listData_aqthxx_len = computed(() => {
  276. return Math.ceil(listData_aqthxx.value.length / 2)
  277. })
  278. const aqthPopupShow = ref(false)
  279. const aqthPopupData = reactive({ value: {} })
  280. function showAqthPopup(index) {
  281. aqthPopupShow.value = true
  282. aqthPopupData.value = { ...listData_aqthxx.value[index], code: listData_aqthxx.value[index].abstract[1] }
  283. }
  284. function handleCloseAqthPopup() {
  285. aqthPopupShow.value = false
  286. }
  287. function getData_thlljc() {
  288. GetThlljc().then(res => {
  289. chartData_fsdll.value = res.data.boatCountList
  290. let listTemp = JSON.parse(JSON.stringify(res.data.boatCountList))
  291. listTemp.forEach(i => {
  292. i.GPSTIME = i.GPSTIME.slice(-2)
  293. })
  294. let chartFsdll = setFsdll(document.getElementById('chart_fsdll'), listTemp)
  295. let lastIndex = res.data.boatCountList.length - 1
  296. chartFsdll.dispatchAction({
  297. type: 'select',
  298. seriesIndex: 0,
  299. dataIndex: lastIndex,
  300. })
  301. getData_fhxll(res.data.boatCountList[lastIndex].GPSTIME)
  302. chartFsdll.getZr().on('click', (params) => {
  303. const pointInPixel = [params.offsetX, params.offsetY]
  304. if (chartFsdll.containPixel('grid', pointInPixel)) {
  305. let dataIndex = chartFsdll.convertFromPixel({ seriesIndex: 0 }, pointInPixel)[0]
  306. chartFsdll.dispatchAction({
  307. type: 'select',
  308. seriesIndex: 0,
  309. dataIndex: dataIndex,
  310. })
  311. getData_fhxll(chartData_fsdll.value[dataIndex].GPSTIME)
  312. }
  313. })
  314. })
  315. }
  316. function getData_fhxll(time) {
  317. GetThllByHour(time + ':00:00').then(res => {
  318. data_fhxll.value.forEach(i => {
  319. i.value = res.data[i.fieldName]
  320. })
  321. })
  322. }
  323. const chartData_fsdll = reactive({
  324. value: [
  325. { GPSTIME: '00', NUM: 0 },
  326. { GPSTIME: '06', NUM: 0 },
  327. { GPSTIME: '12', NUM: 0 },
  328. { GPSTIME: '18', NUM: 0 }
  329. ]
  330. })
  331. const data_fhxll = reactive({
  332. value: [
  333. { from: '黄浦江上游', to: '黄浦江下游', value: 0, fieldName: 'down' },
  334. { from: '黄浦江下游', to: '黄浦江上游', value: 0, fieldName: 'up' },
  335. ]
  336. })
  337. const boatListShow = ref(false)
  338. const keyBoatList = reactive({ value: [] })
  339. function showBoatList(item) {
  340. // console.log(item)
  341. if (item.fieldName === "keyBoat") {
  342. if (keyBoatList.value.length !== 0) {
  343. boatListShow.value = true
  344. return
  345. }
  346. GetKeyBoats().then(res => {
  347. keyBoatList.value = res.data.Rows || []
  348. boatListShow.value = true
  349. })
  350. }
  351. }
  352. </script>
  353. <style lang="scss" scoped>
  354. #jtaq {
  355. .panel-left,
  356. .panel-right {
  357. box-sizing: border-box;
  358. position: absolute;
  359. top: 105px;
  360. width: 380px;
  361. height: calc(100vh - 105px);
  362. text-align: left;
  363. display: flex;
  364. flex-direction: column;
  365. justify-content: space-between;
  366. transition: all 0.5s ease;
  367. }
  368. .panel-left {
  369. left: 0;
  370. padding: 0 30px 30px;
  371. &.is-hide {
  372. left: -380px;
  373. }
  374. }
  375. .panel-right {
  376. right: 0;
  377. padding: 0 30px 30px;
  378. &.is-hide {
  379. right: -380px;
  380. }
  381. .pr {
  382. display: flex;
  383. flex-direction: column;
  384. align-items: flex-end;
  385. }
  386. }
  387. .pl-b1 {
  388. .plb1-part1 {
  389. display: flex;
  390. align-items: center;
  391. margin: 0 0 15px 10px;
  392. &>img {
  393. width: 100px;
  394. height: 71px;
  395. }
  396. &>div {
  397. display: flex;
  398. flex-direction: column;
  399. &>span {
  400. font-size: 16px;
  401. color: #FFFFFF;
  402. }
  403. &>div {
  404. margin-top: 3px;
  405. span:nth-child(1) {
  406. width: 57px;
  407. height: 21px;
  408. font-size: 28px;
  409. font-family: BarlowBold;
  410. color: transparent;
  411. background: linear-gradient(180deg, rgba(224, 244, 255, 0.9) 0%, rgba(89, 102, 128, 0.9) 100%);
  412. -webkit-background-clip: text;
  413. letter-spacing: 2px;
  414. }
  415. span:nth-child(2) {
  416. margin-left: 6px;
  417. font-size: 13px;
  418. color: rgba($color: #fff, $alpha: 0.6);
  419. }
  420. }
  421. }
  422. }
  423. .plb1-part2 {
  424. margin-left: 10px;
  425. li {
  426. &.clickable {
  427. cursor: pointer;
  428. }
  429. display: flex;
  430. align-items: flex-end;
  431. margin-bottom: 20px;
  432. &>span:nth-child(1) {
  433. font-size: 16px;
  434. color: #eee;
  435. font-weight: bold;
  436. }
  437. &>span:nth-child(2),
  438. &>div>span:nth-child(1) {
  439. display: inline-block;
  440. font-size: 22px;
  441. font-family: BarlowBold;
  442. color: #00EAFF;
  443. line-height: 22px;
  444. }
  445. &>span:nth-child(2) {
  446. width: 50px;
  447. margin: 0 5px;
  448. text-align: center;
  449. }
  450. &>span:nth-child(3),
  451. &>span:nth-child(5) {
  452. font-size: 15px;
  453. color: #eee;
  454. }
  455. &>div {
  456. display: flex;
  457. align-items: flex-end;
  458. width: 60px;
  459. margin-left: 15px;
  460. &>span:nth-child(2) {
  461. font-size: 16px;
  462. font-family: BarlowBold;
  463. color: #00EAFF;
  464. line-height: 14px;
  465. }
  466. }
  467. }
  468. }
  469. }
  470. .boat-dock-list {
  471. left: 360px;
  472. width: 350px;
  473. height: 600px;
  474. }
  475. .pl-b2 {
  476. .plb2-row1 {
  477. display: flex;
  478. justify-content: space-between;
  479. align-items: center;
  480. padding: 0 40px 0 10px;
  481. &>span:not(:nth-child(2)) {
  482. font-size: 16px;
  483. font-weight: bold;
  484. font-style: italic;
  485. color: transparent;
  486. text-shadow: 0px 0px 5px rgba($color: #9EC7FF, $alpha: 0.3);
  487. background: linear-gradient(0deg, #6FC2FF 0%, #CCDAE6 35%, #FFFFFF 60%);
  488. -webkit-background-clip: text;
  489. padding-right: 10px;
  490. }
  491. span:nth-child(2) {
  492. flex: 1;
  493. padding-right: 10px;
  494. text-align: right;
  495. font-size: 20px;
  496. font-weight: bold;
  497. color: transparent;
  498. background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(175, 231, 255, 0.8) 80%, rgba(0, 179, 255, 0.8) 100%);
  499. -webkit-background-clip: text;
  500. }
  501. }
  502. .plb2-main {
  503. width: 90%;
  504. display: flex;
  505. justify-content: space-between;
  506. flex-wrap: wrap;
  507. &>li {
  508. width: 91px;
  509. height: 25px;
  510. margin: 15px 0;
  511. display: flex;
  512. justify-content: center;
  513. align-items: flex-end;
  514. background: url('@/assets/imgs/page_jtaq/bg-cbyc.png') no-repeat;
  515. background-size: 100% 100%;
  516. span {
  517. margin-bottom: 8px;
  518. font-size: 16px;
  519. font-weight: 600;
  520. color: transparent;
  521. background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(175, 231, 255, 0.8) 80%, rgba(0, 179, 255, 0.8) 100%);
  522. text-shadow: 0 6px 0 rgba(175, 231, 255, 0.2);
  523. -webkit-background-clip: text;
  524. line-height: 14px;
  525. }
  526. span:nth-child(2) {
  527. margin: 0 4px 7px;
  528. font-family: BarlowBold;
  529. font-size: 24px;
  530. line-height: 24px;
  531. }
  532. }
  533. }
  534. }
  535. .pl-b3 {
  536. #chart-cbgn {
  537. height: 18vh;
  538. width: 90%;
  539. }
  540. }
  541. .pl-b4 {
  542. .plb4-item {
  543. display: flex;
  544. align-items: center;
  545. margin: 10px 0;
  546. &>img {
  547. width: 85px;
  548. height: 85px;
  549. }
  550. &>div {
  551. box-sizing: border-box;
  552. width: 200px;
  553. height: 66px;
  554. padding-left: 15px;
  555. transform: translateX(-10px);
  556. display: flex;
  557. flex-direction: column;
  558. justify-content: center;
  559. background: url('@/assets/imgs/page_jtaq/bg-hxzt.png') no-repeat;
  560. background-size: 100% 100%;
  561. &>span {
  562. font-size: 16px;
  563. font-weight: bold;
  564. font-style: italic;
  565. color: transparent;
  566. text-shadow: 0px 0px 5px rgba($color: #9EC7FF, $alpha: 0.3);
  567. background: linear-gradient(0deg, #6FC2FF 0%, #CCDAE6 35%, #FFFFFF 60%);
  568. -webkit-background-clip: text;
  569. }
  570. &>div {
  571. display: flex;
  572. align-items: flex-end;
  573. margin-top: 5px;
  574. span:nth-child(1),
  575. span:nth-child(3),
  576. span:nth-child(4) {
  577. padding-right: 3px;
  578. font-size: 22px;
  579. line-height: 22px;
  580. font-family: YSBTH;
  581. font-weight: 400;
  582. font-style: italic;
  583. color: transparent;
  584. text-shadow: 0px 0px 5px rgba($color: #9EC7FF, $alpha: 0.3);
  585. background: linear-gradient(-1deg, #9EC7FF 0%, #DCEBFF 40%, #FFFFFF 100%);
  586. -webkit-background-clip: text;
  587. }
  588. span:nth-child(2),
  589. span:nth-child(5) {
  590. margin: 0 5px;
  591. font-size: 16px;
  592. line-height: 22px;
  593. color: #FFFFFF;
  594. }
  595. span:nth-child(4) {
  596. font-size: 16px;
  597. line-height: 20px;
  598. }
  599. }
  600. }
  601. }
  602. }
  603. .pr-b1 {
  604. position: relative;
  605. .prb1-main {
  606. width: 82%;
  607. .prb1-item {
  608. margin: 15px 0;
  609. cursor: pointer;
  610. &>span:not(:first-child) {
  611. position: relative;
  612. display: block;
  613. padding-left: 26px;
  614. height: 21px;
  615. margin: 10px 0;
  616. font-size: 16px;
  617. font-family: BarlowBold;
  618. color: rgba($color: #fff, $alpha: 0.8);
  619. overflow: hidden;
  620. white-space: nowrap;
  621. text-overflow: ellipsis;
  622. &::before {
  623. content: '';
  624. position: absolute;
  625. top: 0;
  626. left: 0;
  627. display: inline-block;
  628. width: 21px;
  629. height: 21px;
  630. background: url('@/assets/imgs/page_jtaq/icon-aqth.png') no-repeat;
  631. background-size: 100% 100%;
  632. }
  633. }
  634. .highlight {
  635. color: #FFE874;
  636. }
  637. }
  638. :deep(.el-carousel__indicator--horizontal) {
  639. margin: 0 4px;
  640. }
  641. :deep(.el-carousel__indicator button) {
  642. width: 5px;
  643. height: 5px;
  644. border-radius: 50%;
  645. }
  646. }
  647. .popup-aqth {
  648. position: absolute;
  649. box-sizing: border-box;
  650. padding: 20px 10px 20px 20px;
  651. top: 5vh;
  652. left: -320px;
  653. width: 320px;
  654. height: 364px;
  655. background: url('@/assets/imgs/page_jtaq/bg-popup.png') no-repeat;
  656. background-size: 100% 100%;
  657. .btn-close {
  658. position: absolute;
  659. right: 18px;
  660. top: 15px;
  661. display: block;
  662. width: 12px;
  663. height: 12px;
  664. padding: 4px;
  665. background: url('@/assets/imgs/common/btn-close.png') no-repeat;
  666. background-size: 12px 12px;
  667. background-position: center;
  668. cursor: pointer;
  669. }
  670. p:nth-child(3) {
  671. height: calc(100% - 34px);
  672. padding-right: 10px;
  673. margin-top: 10px;
  674. overflow-y: auto;
  675. font-size: 16px;
  676. color: #eee;
  677. line-height: 22px;
  678. white-space: pre-wrap;
  679. }
  680. }
  681. }
  682. .pr-b2 {
  683. #chart_fsdll {
  684. width: 92%;
  685. height: 16vh;
  686. margin: 5px 0 10px;
  687. }
  688. .title2-right {
  689. margin-bottom: 25px;
  690. }
  691. .prb2-item {
  692. margin: 16px 0;
  693. display: flex;
  694. flex-direction: column;
  695. align-items: center;
  696. &>div {
  697. display: flex;
  698. }
  699. &>div:first-child {
  700. align-items: center;
  701. width: fit-content;
  702. height: 32px;
  703. margin-bottom: 20px;
  704. padding-right: 14px;
  705. background: url('@/assets/imgs/page_jtaq/bg-fhx-1.png');
  706. background-size: 100% 100%;
  707. &>img {
  708. width: 47px;
  709. height: 51px;
  710. margin-right: 5px;
  711. }
  712. &>i {
  713. display: inline-block;
  714. width: 51px;
  715. height: 19px;
  716. margin: 0 6px 0 10px;
  717. background: url('@/assets/imgs/page_jtaq/icon-arrow.png') repeat-x;
  718. background-size: 17px 19px;
  719. }
  720. &>span {
  721. font-size: 16px;
  722. font-weight: bold;
  723. font-style: italic;
  724. color: #FFFFFF;
  725. }
  726. }
  727. &>div:last-child {
  728. box-sizing: border-box;
  729. justify-content: center;
  730. align-items: flex-end;
  731. width: 290px;
  732. height: 34px;
  733. padding-bottom: 13px;
  734. background: url('@/assets/imgs/page_jtaq/bg-fhx-2.png');
  735. background-size: 100% 100%;
  736. span:nth-child(1),
  737. span:nth-child(3) {
  738. font-size: 16px;
  739. color: #FFFFFF;
  740. }
  741. span:nth-child(2) {
  742. margin: 0 13px;
  743. font-size: 32px;
  744. font-family: BarlowBold;
  745. color: transparent;
  746. line-height: 32px;
  747. background: linear-gradient(0deg, rgba(148, 239, 255, 1) 0%, rgba(85, 226, 255, 1) 100%);
  748. -webkit-background-clip: text;
  749. }
  750. }
  751. }
  752. }
  753. }
  754. </style>