Index.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907
  1. <template>
  2. <div id="hdsj">
  3. <div class="panel-left" :class="{'is-hide': aside_hide}">
  4. <div class="pl-b1">
  5. <span class="title1-left">水深管理</span>
  6. <div v-for="item in data_ssgl.value" class="plb1-item">
  7. <img :src="item.iconUrl" alt="">
  8. <div>
  9. <span @click="handleToggleSsgl(item)" :class="{'highlight': item.isHighlight}">{{ item.title }}</span>
  10. <div>
  11. <span :class="{'is-warning': item.value>0}">{{ item.value }}</span>
  12. <span>{{ item.unit }}</span>
  13. </div>
  14. </div>
  15. </div>
  16. </div>
  17. <water-depth-list v-if="listShow_whss" @close="handleCloseWhss" @pick="item => handlePickWhss(item)"/>
  18. <div class="pl-b2">
  19. <span class="title1-left">工程管理</span>
  20. <span class="title2-left">工程统计</span>
  21. <ul class="gctj-main">
  22. <li
  23. v-for="item in data_gctj.value"
  24. class="gctj-item"
  25. :class="{'highlight': currentYear===item.YEAR}"
  26. @click="handleChangeYear(item)"
  27. >
  28. <div>{{ item.YEAR }}</div>
  29. <div>
  30. <span>{{ item.TOTAL }}</span>
  31. <span></span>
  32. </div>
  33. </li>
  34. </ul>
  35. <span class="title2-left">工程信息</span>
  36. <ul v-if="listData_gcxx.value.length>0" class="gcxx-main" :class="{'is-short-list': listData_gcxx.value.length<3}">
  37. <li class="gcxx-item" v-for="item,index in listData_gcxx.value" @click="handleChangeProject(item)">
  38. <img :src="require('@/assets/imgs/page_hdsj/icon-gcxx.png')" alt="">
  39. <div>
  40. <div>
  41. <div :class="{'highlight': item.id===currentProject.id}"><span :title="item.prjName">{{ item.prjName }}</span></div>
  42. <span
  43. :class="{'status-wks': item.status==='未进行','status-jxz': item.status==='进行中','status-ywc': item.status==='已完成'}"
  44. >{{ item.status }}</span>
  45. <!-- <span class="status-ywc">已完成</span> -->
  46. </div>
  47. <div>
  48. <span>总方量</span><span>{{ (item.quantities/10000).toFixed(2) }}</span><span>万方</span>
  49. <span>总投资</span><span>{{ Math.floor(item.investment) }}</span><span>万元</span>
  50. </div>
  51. <div v-if="item.projectEndTime||item.projectStartTime">
  52. <span>{{ item.projectStartTime }}</span><span></span><span>{{ item.projectEndTime }}</span>
  53. </div>
  54. <div v-else></div>
  55. </div>
  56. </li>
  57. </ul>
  58. <div v-else class="no-data"><span>无数据</span></div>
  59. </div>
  60. </div>
  61. <div class="panel-right" v-if="showRightDetail" :class="{'is-hide': aside_hide}">
  62. <div class="pr-b1 pr">
  63. <span class="title1-right">疏浚监控</span>
  64. <span class="title2-right">工程名称</span>
  65. <span class="pro-name">{{ currentProject.name }}</span>
  66. <span class="title2-right">工程概况</span>
  67. <div class="part1-item" v-for="item in data_gcgk.sta">
  68. <img :src="item.iconUrl" alt="">
  69. <div>
  70. <span>{{ item.title }}</span>
  71. <div>
  72. <span>{{ item.value }}</span>
  73. <span>{{ item.unit }}</span>
  74. </div>
  75. </div>
  76. </div>
  77. <div class="part2">
  78. <div @click="toggleShujunState('before')" :class="{'highlight': shujunState==='before'}">
  79. <span class="text-emp1">疏浚前</span><span>地形</span>
  80. </div>
  81. <div @click="toggleShujunState('after')" :class="{'highlight': shujunState==='after'}">
  82. <span class="text-emp2">疏浚后</span><span>地形</span>
  83. </div>
  84. </div>
  85. </div>
  86. <div class="pr-b2 pr">
  87. <span class="title2-right">分时统计</span>
  88. <div id="chart_fstj" v-show="!fstjListShow"></div>
  89. <div class="fstj-list table-carousel" v-show="fstjListShow">
  90. <div class="fl-btns">
  91. <i class="flb-play" @click="handlePlaySjByDay"></i>
  92. <i class="flb-back" @click="handleCloseList"></i>
  93. </div>
  94. <div class="head coloumn">
  95. <span>挖泥船</span><span>运泥船</span><span>运量</span><span>时间</span>
  96. </div>
  97. <el-carousel
  98. v-if="fstjListLen>0"
  99. trigger="click"
  100. indicator-position="outside"
  101. arrow="never"
  102. :autoplay="false"
  103. >
  104. <el-carousel-item v-for="page in fstjListLen" :key="page">
  105. <ul class="tc-list">
  106. <li
  107. v-for="item,index in fstjListData.value.slice((page-1)*4, (page-1)*4+4)"
  108. class="coloumn"
  109. :class="{'highlight': fstjCurrentId===item.id}"
  110. @click="handlePickFstjCurrent(item)"
  111. >
  112. <span>{{ item.wnName }}</span>
  113. <span>{{ item.ynName }}</span>
  114. <span>{{ item.tonnage }}</span>
  115. <span>{{ item.workTime }}</span>
  116. </li>
  117. </ul>
  118. </el-carousel-item>
  119. </el-carousel>
  120. <div v-else class="no-data">
  121. <span>无数据</span>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="pr-b3 pr">
  126. <span class="title2-right">越界预警</span>
  127. <ul class="prb3-main" >
  128. <li v-for="item in data_yuejie.value" class="prb3-item2">
  129. <img :src="require('@/assets/imgs/page_hdsj/icon-wgyj-list.png')" alt="">
  130. <span>{{ item.shipName }}</span>
  131. <span>{{ item.times? useDateFormat(item.times, 'MM-DD HH:mm').value: '-' }}</span>
  132. </li>
  133. </ul>
  134. </div>
  135. </div>
  136. <div v-else class="panel-right pr-no-data">无数据</div>
  137. </div>
  138. </template>
  139. <script>
  140. export default {
  141. name: 'HdsjHome',
  142. }
  143. </script>
  144. <script setup>
  145. import { onMounted, reactive, ref, computed, onBeforeUnmount, watch } from 'vue';
  146. import { setSjjk } from '../../echarts/options'
  147. import { ElCarousel, ElCarouselItem } from 'element-plus'
  148. import 'element-plus/es/components/carousel/style/css'
  149. import 'element-plus/es/components/carousel-item/style/css'
  150. import { GetBoatNum, GetFstj, GetFstjByDay, GetYjWarning, GetGctj, GetGcxx } from '@/apis/hdsj'
  151. import { useDateFormat } from '@vueuse/core';
  152. import {
  153. ueCallInitShujun, ueCallClickShujun, ueCallRunShujun, ueCallBeforeShujun, ueCallClearShujun,
  154. ueCallAfterShujun, ueCallBackShujun, ueCallInitWaterShujun, ueCallStartYjyj, ueCallCloseYjyj,
  155. ueCallOpenWater, ueCallCloseWater, ueCallOpenMaintain, ueCallCloseMaintain
  156. } from '@/utils/UIInteractions'
  157. import bus from '@/utils/bus';
  158. import WaterDepthList from './cpns/WaterDepthList.vue'
  159. import { asideShow } from '@/store/index'
  160. const aside_hide = asideShow().isHide
  161. onMounted(() => {
  162. // setSjjk(document.getElementById('chart_fstj'), chartData_fstj.value)
  163. // getGctj()
  164. bus.on('changeYuJiNum',(val)=> {
  165. data_ssgl.value[1].value = val
  166. })
  167. })
  168. const data_ssgl = reactive({value: [
  169. { title: '维护水深', isHighlight: false, value: '-', unit: '米', iconUrl: require('@/assets/imgs/page_hdsj/logo-whss.png') },
  170. { title: '淤积预警', isHighlight: false, value: 0, unit: '处', iconUrl: require('@/assets/imgs/page_hdsj/logo-yjyj.png') },
  171. ]})
  172. const listShow_whss = ref(false)
  173. function handlePickWhss(item) {
  174. data_ssgl.value[0].value = Math.abs(+item.height)
  175. ueCallCloseMaintain()
  176. setTimeout(() => {
  177. ueCallOpenMaintain(item.id)
  178. }, 500);
  179. }
  180. function handleCloseWhss() {
  181. data_ssgl.value[0].isHighlight = false
  182. data_ssgl.value[0].value = '-'
  183. listShow_whss.value = false
  184. ueCallCloseMaintain()
  185. }
  186. function handleToggleSsgl(item) {
  187. if(item.title==='淤积预警'&&item.value>0) {
  188. if(data_ssgl.value[1].isHighlight === false) {
  189. ueCallCloseWater()
  190. ueCallStartYjyj()
  191. } else {
  192. ueCallOpenWater()
  193. ueCallCloseYjyj()
  194. }
  195. data_ssgl.value[1].isHighlight = !data_ssgl.value[1].isHighlight
  196. }
  197. if(item.title==='维护水深') {
  198. if(listShow_whss.value) {
  199. handleCloseWhss()
  200. } else {
  201. data_ssgl.value[0].isHighlight = true
  202. listShow_whss.value = true
  203. }
  204. }
  205. }
  206. const listData_gcxx = reactive({value: []})
  207. function handleChangeProject(item) {
  208. currentProject.id = item.id
  209. currentProject.name = item.prjName
  210. }
  211. const currentProject = reactive({ id: '', name: '' })
  212. const showRightDetail = ref(true)
  213. watch(()=>currentProject.id, (val)=> {
  214. if(val===null||+currentYear.value>2022) {
  215. showRightDetail.value = false
  216. } else {
  217. fstjListShow.value = false
  218. getFstj(val)
  219. getYjWarning(val)
  220. getBoatNum(val)
  221. showRightDetail.value = true
  222. }
  223. })
  224. const currentYear = ref('2022')
  225. watch(currentYear, (val)=> {
  226. getGcxx(val)
  227. },{immediate: true})
  228. function handleChangeYear(item) {
  229. currentYear.value = item.YEAR
  230. }
  231. const data_gctj = reactive({value: [
  232. { YEAR: '2022', TOTAL: 3 },
  233. { YEAR: '2023', TOTAL: 2 },
  234. { YEAR: '2024', TOTAL: 0 },
  235. ]})
  236. // function getGctj() {
  237. // GetGctj().then(res => {
  238. // data_gctj.value = res.data.Rows
  239. // currentYear.value = res.data.Rows[0].YEAR
  240. // })
  241. // }
  242. function getGcxx(year) {
  243. GetGcxx(year).then(res => {
  244. if(res.data?.Rows.length>0) {
  245. listData_gcxx.value = res.data.Rows
  246. listData_gcxx.value.forEach(i => {
  247. if(i.projectStartTime) {
  248. if(i.projectEndTime) {
  249. i.status = '已完成'
  250. } else {
  251. i.status = '进行中'
  252. }
  253. } else {
  254. i.status = '未进行'
  255. }
  256. })
  257. currentProject.id = res.data.Rows[0].id
  258. currentProject.name = res.data.Rows[0].prjName
  259. } else {
  260. listData_gcxx.value = []
  261. currentProject.id = null
  262. currentProject.name = null
  263. }
  264. })
  265. }
  266. const data_gcgk = reactive({
  267. sta: [
  268. { title: '施工范围长度', value: '-', unit: 'km', iconUrl: require('@/assets/imgs/page_hdsj/logo-hdzc.png') },
  269. { title: '疏浚船舶', value: '-', unit: '艘', iconUrl: require('@/assets/imgs/page_hdsj/logo-sjcb.png') },
  270. ]
  271. })
  272. function getBoatNum(id) {
  273. GetBoatNum(id).then(res => {
  274. let areaLength
  275. switch(id) {
  276. case '1648916350938120192':
  277. areaLength = 1.469
  278. break
  279. case '1648912989748723712':
  280. areaLength = 2.781
  281. break
  282. case '1648914259771392000':
  283. areaLength = 1.364
  284. break
  285. }
  286. data_gcgk.sta[0].value = areaLength || '-'
  287. data_gcgk.sta[1].value = res.data.data || '-'
  288. })
  289. }
  290. const shujunState = ref(null)
  291. watch(shujunState, (val, oldVal) => {
  292. if(val&&!oldVal) {
  293. bus.emit('toggleUnderWaterLegend',{from: 'show_hdsj', state: true})
  294. }else if(!val&&oldVal){
  295. bus.emit('toggleUnderWaterLegend',{from: 'show_hdsj', state: false})
  296. }
  297. })
  298. function toggleShujunState(type) {
  299. if(type===shujunState.value) {
  300. shujunState.value = null
  301. ueCallInitWaterShujun()
  302. }else {
  303. if(type==='before') {
  304. ueCallBeforeShujun()
  305. } else if(type==='after') {
  306. ueCallAfterShujun()
  307. }
  308. shujunState.value = type
  309. }
  310. }
  311. const chartData_fstj = reactive({
  312. default: [
  313. { TIME: '-/-', TOTAL: 0, SUM: 0 },
  314. { TIME: '-/-', TOTAL: 0, SUM: 0 },
  315. { TIME: '-/-', TOTAL: 0, SUM: 0 },
  316. { TIME: '-/-', TOTAL: 0, SUM: 0 },
  317. { TIME: '-/-', TOTAL: 0, SUM: 0 },
  318. { TIME: '-/-', TOTAL: 0, SUM: 0 },
  319. ],
  320. value: []
  321. })
  322. function getFstj(id) {
  323. GetFstj(id).then(res => {
  324. if(!res.data) {
  325. setSjjk(document.getElementById('chart_fstj'), chartData_fstj.default)
  326. return
  327. }
  328. chartData_fstj.value = res.data.Rows.slice(-6)
  329. let chartFstj = setSjjk(document.getElementById('chart_fstj'), chartData_fstj.value)
  330. chartFstj.on('click', (params)=> {
  331. fstjListShow.value = true
  332. GetFstjByDay(params.name, id).then(res => {
  333. fstjListData.value = res.data.Rows
  334. })
  335. })
  336. })
  337. }
  338. const fstjListShow = ref(false)
  339. const fstjListData = reactive({value: []})
  340. const fstjListLen = computed(() => {
  341. return Math.ceil(fstjListData.value.length/4)
  342. })
  343. const fstjCurrentId = ref('')
  344. const shujunRunTime = ref(1)
  345. function handlePickFstjCurrent(item) {
  346. ueCallClearShujun()
  347. setTimeout(() => {
  348. fstjCurrentId.value = item.id
  349. shujunRunTime.value = 1
  350. ueCallInitShujun()
  351. }, 1000);
  352. }
  353. function handlePlaySjByDay() {
  354. ueCallClearShujun()
  355. setTimeout(() => {
  356. fstjCurrentId.value = ''
  357. shujunRunTime.value = fstjListData.value.length
  358. ueCallInitShujun()
  359. }, 1000);
  360. }
  361. function handleCloseList() {
  362. fstjCurrentId.value = ''
  363. fstjListShow.value = false
  364. ueCallClearShujun()
  365. }
  366. bus.on('ueRec_InitShujun', (data) => {
  367. if(data.isOk=='true') {
  368. ueCallClickShujun()
  369. }
  370. })
  371. bus.on('ueRec_ClickShujun', (data) => {
  372. if(data.isOk=='true') {
  373. ueCallRunShujun()
  374. shujunRunTime.value -= 1
  375. }
  376. })
  377. bus.on('ueRec_RunShujun', (data) => {
  378. if(data.isOk=='true' && shujunRunTime.value>0) {
  379. ueCallBackShujun()
  380. }
  381. })
  382. bus.on('ueRec_BackShujun', (data) => {
  383. if(data.isOk=='true' && shujunRunTime.value>0) {
  384. ueCallRunShujun()
  385. shujunRunTime.value -= 1
  386. }
  387. })
  388. const data_yuejie = reactive({
  389. default: [
  390. { shipName: '-', times: '' },
  391. { shipName: '-', times: '' },
  392. { shipName: '-', times: '' },
  393. { shipName: '-', times: '' },
  394. ],
  395. value: []
  396. })
  397. function getYjWarning(id) {
  398. GetYjWarning(id).then(res => {
  399. if(res.data) {
  400. data_yuejie.value = res.data.Rows.sort((a,b) => b.TIME - a.TIME)
  401. } else {
  402. data_yuejie.value = data_yuejie.default
  403. }
  404. })
  405. }
  406. onBeforeUnmount(() => {
  407. bus.off('ueRec_InitShujun')
  408. bus.off('ueRec_ClickShujun')
  409. bus.off('ueRec_RunShujun')
  410. bus.off('ueRec_BackShujun')
  411. ueCallClearShujun()
  412. bus.emit('toggleUnderWaterLegend',{from: 'show_hdsj', state: false})
  413. })
  414. </script>
  415. <style lang="scss" scoped>
  416. #hdsj {
  417. .panel-left, .panel-right {
  418. box-sizing: border-box;
  419. position: absolute;
  420. top: 105px;
  421. width: 380px;
  422. height: calc(100vh - 105px);
  423. text-align: left;
  424. display: flex;
  425. flex-direction: column;
  426. justify-content: space-between;
  427. transition: all 0.5s ease;
  428. }
  429. .panel-left {
  430. left: 0;
  431. padding: 0 30px 30px;
  432. justify-content: flex-start;
  433. &.is-hide {
  434. left: -380px;
  435. }
  436. }
  437. .panel-right {
  438. right: 0;
  439. padding: 0 30px 30px;
  440. &.is-hide {
  441. right: -380px;
  442. }
  443. .pr {
  444. display: flex;
  445. flex-direction: column;
  446. align-items: flex-end;
  447. }
  448. &.pr-no-data {
  449. justify-content: center;
  450. align-items: center;
  451. font-size: 18px;
  452. }
  453. }
  454. .pl-b1 {
  455. margin-bottom: 2vh;
  456. .plb1-item {
  457. display: flex;
  458. align-items: center;
  459. &>img {
  460. width: 105px;
  461. height: 95px;
  462. }
  463. &>div {
  464. display: flex;
  465. flex-direction: column;
  466. &>span {
  467. display: block;
  468. box-sizing: border-box;
  469. width: 174px;
  470. height: 27px;
  471. margin: 6px 0 5px;
  472. padding-left: 15px;
  473. background: url('@/assets/imgs/page_hdsj/bg-ssgl-text.png') no-repeat;
  474. background-size: contain;
  475. font-size: 24px;
  476. font-family: YSBTH;
  477. color: #FFFFFF;
  478. line-height: 25px;
  479. text-shadow: 1px 2px 0px rgba(17,20,22,0.22);
  480. cursor: pointer;
  481. &.highlight {
  482. background: url('@/assets/imgs/page_hdsj/bg-ssgl-text2.png') no-repeat;
  483. background-size: contain;
  484. }
  485. }
  486. &>div {
  487. padding-left: 15px;
  488. display: flex;
  489. align-items:flex-end;
  490. span:nth-child(1) {
  491. margin-right: 9px;
  492. font-size: 34px;
  493. line-height: 34px;
  494. font-family: BarlowBold;
  495. color: transparent;
  496. background: linear-gradient(0deg, rgba(29,128,224,0.9) 0%, rgba(255,255,255,0.9) 70%);
  497. -webkit-background-clip: text;
  498. &.is-warning {
  499. background: linear-gradient(0deg, rgba(224,159,29,0.9) 0%, rgba(255,255,255,0.9) 70%);
  500. -webkit-background-clip: text;
  501. }
  502. }
  503. span:nth-child(2) {
  504. font-size: 16px;
  505. line-height: 22px;
  506. color: #FFFFFF;
  507. text-shadow: 1px 2px 0px rgba(17,20,22,0.22);
  508. }
  509. }
  510. }
  511. }
  512. }
  513. .pl-b2 {
  514. .title2-left {
  515. margin-bottom: 2vh;
  516. }
  517. .gctj-main {
  518. width: 95%;
  519. display: flex;
  520. justify-content: space-between;
  521. align-items: center;
  522. margin-bottom: 2.5vh;
  523. .gctj-item {
  524. width: 93px;
  525. height: 95px;
  526. background: url('../../assets/imgs/page_hdsj/bg-gctj.png') no-repeat;
  527. background-size: contain;
  528. background-position-y: bottom;
  529. cursor: pointer;
  530. &>div:first-child {
  531. font-size: 18px;
  532. font-family: Barlow;
  533. color: #FFFFFF;
  534. text-align: center;
  535. }
  536. &>div:last-child {
  537. text-align: center;
  538. color: #72D0FF;
  539. text-shadow: 0px 3px 3px rgba(0,0,0,0.47);
  540. &>span:first-child {
  541. font-size: 26px;
  542. font-family: BarlowBold;
  543. }
  544. &>span:last-child {
  545. font-size: 16px;
  546. }
  547. }
  548. &.highlight {
  549. background-image: url('../../assets/imgs/page_hdsj/bg-gctj-s.png');
  550. &>div:last-child {
  551. color: #FFFF73;
  552. }
  553. }
  554. }
  555. }
  556. .gcxx-main {
  557. height: 36vh;
  558. overflow: hidden;
  559. display: flex;
  560. flex-direction: column;
  561. justify-content: space-evenly;
  562. &.is-short-list {
  563. justify-content: flex-start;
  564. padding-top: 2.1vh;
  565. }
  566. .gcxx-item {
  567. display: flex;
  568. align-items: flex-start;
  569. margin-bottom: 10px;
  570. cursor: pointer;
  571. &>img {
  572. width: 37px;
  573. height: 39px;
  574. }
  575. &>div {
  576. margin-left: 5px;
  577. &>div:nth-child(1) {
  578. display: flex;
  579. align-items: center;
  580. margin-top: 4px;
  581. &>div:nth-child(1) {
  582. width: 210px;
  583. height: 24px;
  584. background: url('@/assets/imgs/page_hdsj/bg-gcxx-title.png') no-repeat;
  585. background-size: contain;
  586. span {
  587. display: block;
  588. width: 100%;
  589. height: 100%;
  590. font-size: 16px;
  591. font-weight: bold;
  592. font-style: italic;
  593. color: transparent;
  594. line-height: 24px;
  595. background: linear-gradient(0deg, #ACDDFF 0%, #FFFFFF 90%);
  596. -webkit-background-clip: text;
  597. white-space: nowrap;
  598. overflow: hidden;
  599. text-overflow: ellipsis;
  600. }
  601. &.highlight {
  602. background: url('@/assets/imgs/page_hdsj/bg-gcxx-title2.png') no-repeat;
  603. background-size: contain;
  604. &>span {
  605. background: linear-gradient(0deg, #f0d60d 0%, #FFFFFF 90%);
  606. -webkit-background-clip: text;
  607. }
  608. }
  609. }
  610. span:nth-child(2) {
  611. display: block;
  612. width: 66px;
  613. height: 31px;
  614. font-size: 13px;
  615. font-weight: bold;
  616. font-style: italic;
  617. color: #FFFFFF;
  618. line-height: 33px;
  619. text-align: center;
  620. &.status-wks {
  621. background: url('@/assets/imgs/page_hdsj/gcxx-wks.png') no-repeat;
  622. background-size: contain;
  623. }
  624. &.status-jxz {
  625. background: url('@/assets/imgs/page_hdsj/gcxx-jxz.png') no-repeat;
  626. background-size: contain;
  627. }
  628. &.status-ywc {
  629. background: url('@/assets/imgs/page_hdsj/gcxx-ywc.png') no-repeat;
  630. background-size: contain;
  631. }
  632. }
  633. }
  634. &>div:nth-child(2) {
  635. margin: 8px 0 6px;
  636. span {
  637. margin-right: 10px;
  638. font-size: 15px;
  639. font-family: BarlowBold;
  640. color: #FFFFFF;
  641. opacity: 0.8;
  642. }
  643. span:nth-child(2), span:nth-child(5) {
  644. margin-right: 2px;
  645. font-size: 16px;
  646. opacity: 1;
  647. }
  648. span:nth-child(3n) {
  649. font-size: 12px;
  650. opacity: 0.8;
  651. }
  652. }
  653. &>div:nth-child(3) {
  654. height: 20px;
  655. span {
  656. font-size: 15px;
  657. font-family: BarlowBold;
  658. color: #FFFFFF;
  659. opacity: 0.7;
  660. }
  661. span:nth-child(2) {
  662. margin: 0 8px;
  663. }
  664. }
  665. }
  666. }
  667. }
  668. .no-data {
  669. position: relative;
  670. height: 36vh;
  671. span {
  672. position: absolute;
  673. top: 40%;
  674. width: 100%;
  675. text-align: center;
  676. font-size: 16px;
  677. }
  678. }
  679. }
  680. .pr-b1 {
  681. .pro-name {
  682. width: 80%;
  683. display: block;
  684. font-family: YSBTH;
  685. font-size: 20px;
  686. color: #f8ec95;
  687. line-height: 26px;
  688. }
  689. .part1-item {
  690. width: 80%;
  691. display: flex;
  692. align-items: center;
  693. // &:not(:last-child) {
  694. // margin-bottom: 15px;
  695. // }
  696. &>img {
  697. width: 89px;
  698. height: 95px;
  699. }
  700. &>div {
  701. margin-left: 17px;
  702. &>span {
  703. font-size: 20px;
  704. font-style: italic;
  705. color: rgba($color: #EAF2FF, $alpha: 0.85);
  706. }
  707. &>div {
  708. margin-top: 8px;
  709. span:nth-child(1) {
  710. margin-right: 11px;
  711. font-size: 32px;
  712. font-family: BarlowBold;
  713. color: #FFFFFF;
  714. line-height: 32px;
  715. }
  716. span:nth-child(2) {
  717. font-size: 16px;
  718. color: rgba($color: #A6C8FF, $alpha: 0.8);
  719. }
  720. }
  721. }
  722. }
  723. .part2 {
  724. width: 90%;
  725. display: flex;
  726. justify-content: space-between;
  727. margin-top: 10px;
  728. &>div {
  729. width: 140px;
  730. height: 49px;
  731. background: url('../../assets/imgs/page_hdsj/bg-sj-btn.png');
  732. background-size: contain;
  733. cursor: pointer;
  734. text-align: center;
  735. &>span {
  736. font-size: 18px;
  737. font-family: YSBTH;
  738. color: #eee;
  739. line-height: 49px;
  740. }
  741. .text-emp1 {
  742. color: #fcd049;
  743. }
  744. .text-emp2 {
  745. color: #46c6fe;
  746. }
  747. &.highlight {
  748. filter: brightness(130%);
  749. transform: scale(1.1);
  750. }
  751. }
  752. }
  753. }
  754. .pr-b2 {
  755. #chart_fstj {
  756. width: 90%;
  757. height: 20vh;
  758. }
  759. .fstj-list {
  760. // margin-top: 0.5vh;
  761. height: 23vh;
  762. width: 90%;
  763. position: relative;
  764. .fl-btns {
  765. display: flex;
  766. justify-content: flex-end;
  767. align-items: center;
  768. margin-bottom: 10px;
  769. &>i {
  770. display: block;
  771. width: 20px;
  772. height: 20px;
  773. margin-left: 10px;
  774. cursor: pointer;
  775. }
  776. .flb-back {
  777. background: url('@/assets/imgs/page_hdsj/btn-back.png');
  778. background-size: contain;
  779. }
  780. .flb-play {
  781. background: url('@/assets/imgs/page_hdsj/btn-play.png');
  782. background-size: contain;
  783. }
  784. }
  785. .coloumn {
  786. span:nth-child(1) {
  787. width: 30%;
  788. }
  789. span:nth-child(2) {
  790. width: 30%;
  791. }
  792. span:nth-child(3) {
  793. width: 20%;
  794. }
  795. span:nth-child(4) {
  796. width: 20%;
  797. }
  798. }
  799. .el-carousel {
  800. height: calc(100% - 50px);
  801. }
  802. .tc-list {
  803. &>li {
  804. height: 30px;
  805. margin-top: 10px;
  806. cursor: pointer;
  807. &.highlight>span {
  808. color: #f0d60d;
  809. }
  810. }
  811. }
  812. }
  813. }
  814. .pr-b3 {
  815. .prb3-main {
  816. display: flex;
  817. flex-direction: column;
  818. align-items: flex-end;
  819. width: 100%;
  820. // height: 20vh;
  821. // margin: 10px 0 25px;
  822. .prb3-item2 {
  823. width: 85%;
  824. height: 24px;
  825. display: flex;
  826. align-items: center;
  827. margin: 10px 0;
  828. background: url('@/assets/imgs/page_hdsj/bg-wgyj-list.png') no-repeat;
  829. background-size: 100% 100%;
  830. span:nth-child(2) {
  831. display: block;
  832. width: 51%;
  833. font-size: 16px;
  834. font-weight: 700;
  835. font-style: italic;
  836. color: transparent;
  837. background: linear-gradient(0deg, #ACDDFF 0%, #FFFFFF 100%);
  838. -webkit-background-clip: text;
  839. }
  840. span:nth-child(3) {
  841. display: block;
  842. font-size: 16px;
  843. font-family: BarlowBold;
  844. color: rgba($color: #fff, $alpha: 0.6);
  845. }
  846. }
  847. }
  848. }
  849. }
  850. </style>