index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. <template>
  2. <view class="home">
  3. <view class="home_header">
  4. <view class="header_message" @click="changeMsg">
  5. <image src="../../static/jnImage/indexPage/alarmSet.png"></image>
  6. </view>
  7. <view class="header_title">
  8. <text class="titleName">发电场站生产实时运营管理平台</text>
  9. </view>
  10. <view class="header_more" @click="changeStation">
  11. <image src="../../static/jnImage/indexPage/moreNew.png"></image>
  12. </view>
  13. </view>
  14. <view class="home_main">
  15. <view class="main_time">
  16. <view class="mesTime">
  17. <image src="../../static/jnImage/indexPage/time.png"></image>
  18. <text>{{timeData.year}}年{{timeData.month}}月{{timeData.day}}日</text>
  19. <text>{{timeData.week}}</text>
  20. <text>{{timeData.hour}}{{timeData.minute}}</text>
  21. </view>
  22. <view class="mesAll">
  23. <uni-row class="mesEx">
  24. <uni-col :span="12" v-for="(item,index) in mesExData" :key="index">
  25. <view class="mesEx_left flex">
  26. <view class="mesEx_left_top">
  27. <text class="nameSty">{{item.leftName}}</text>
  28. </view>
  29. <view class="mesEx_left_end">
  30. <text>{{item.leftValue}}</text>
  31. <text>{{item.leftCode}}</text>
  32. </view>
  33. </view>
  34. </uni-col>
  35. </uni-row>
  36. <uni-row class="windpowerCl">
  37. <uni-col :span="12" v-for="(item,index) in windPowerData" :key="index">
  38. <view class="windpowerMsg">
  39. <view class="windpowerMsg_com flex justify-between">
  40. <text style="font-size: 28upx">{{item.name}}</text>
  41. <text>{{item.code}}</text>
  42. </view>
  43. <view class="windpowerMsg_Data">
  44. <text>{{item.value}}</text>
  45. </view>
  46. <view class="windpowerMsg_com flex justify-between">
  47. <text>min:{{item.min}}</text>
  48. <text>max:{{item.max}}</text>
  49. </view>
  50. </view>
  51. </uni-col>
  52. </uni-row>
  53. <view class="windMsg">
  54. <view class="flex justify-center" style="margin-bottom: 6px;" @click="watchWindStatus('wind')">
  55. <view class="windMsg_title">
  56. <image src="../../static/jnImage/indexPage/wancheng.png" mode=""></image>
  57. <text>风机状态</text>
  58. </view>
  59. </view>
  60. <view class="windMsg_main">
  61. <view class="windMsg_main_msg flex justify-between">
  62. <view class="windMsgSty flex">
  63. <view class="windMsgSty_left">
  64. <image src="../../static/jnImage/indexPage/jn_jieru.png" mode=""></image>
  65. <text>接入</text>
  66. </view>
  67. <view class="windMsgSty_right flex justify-between">
  68. <text>{{Math.ceil(powerstatusData.jr_fj_ts)}}</text>
  69. <text>台</text>
  70. </view>
  71. </view>
  72. <view class="windMsgSty flex">
  73. <view class="windMsgSty_left">
  74. <image src="../../static/jnImage/indexPage/jn_daiji.png" mode=""></image>
  75. <text>待机</text>
  76. </view>
  77. <view class="windMsgSty_right flex justify-between">
  78. <text>{{Math.ceil(windstatusData.fd_djnum)}}</text>
  79. <text>台</text>
  80. </view>
  81. </view>
  82. </view>
  83. <view class="windMsg_main_msg flex justify-between">
  84. <view class="windMsgSty flex">
  85. <view class="windMsgSty_left">
  86. <image src="../../static/jnImage/indexPage/jn_bingwang.png" mode=""></image>
  87. <text>并网</text>
  88. </view>
  89. <view class="windMsgSty_right flex justify-between">
  90. <text>{{Math.ceil(windstatusData.fd_yxnum)}}</text>
  91. <text>台</text>
  92. </view>
  93. </view>
  94. <view class="windMsgSty flex">
  95. <view class="windMsgSty_left">
  96. <image src="../../static/jnImage/indexPage/jn_guzhang.png" mode=""></image>
  97. <text>故障</text>
  98. </view>
  99. <view class="windMsgSty_right flex justify-between">
  100. <text>{{Math.ceil(windstatusData.fd_gznum)}}</text>
  101. <text>台</text>
  102. </view>
  103. </view>
  104. </view>
  105. <view class="windMsg_main_msg flex justify-between">
  106. <view class="windMsgSty flex">
  107. <view class="windMsgSty_left">
  108. <image src="../../static/jnImage/indexPage/jn_jianxiu.png" mode=""></image>
  109. <text>检修</text>
  110. </view>
  111. <view class="windMsgSty_right flex justify-between">
  112. <text>{{Math.ceil(windstatusData.fd_jxnum)}}</text>
  113. <text>台</text>
  114. </view>
  115. </view>
  116. <view class="windMsgSty flex">
  117. <view class="windMsgSty_left">
  118. <image src="../../static/jnImage/indexPage/jn_xiandian.png" mode=""></image>
  119. <text>限电</text>
  120. </view>
  121. <view class="windMsgSty_right flex justify-between">
  122. <text>{{Math.ceil(windstatusData.fd_xdnum)}}</text>
  123. <text>台</text>
  124. </view>
  125. </view>
  126. </view>
  127. <view class="windMsg_main_msg flex justify-between">
  128. <view class="windMsgSty flex">
  129. <view class="windMsgSty_left">
  130. <image src="../../static/jnImage/indexPage/jn_shoulei.png" mode=""></image>
  131. <text>受累</text>
  132. </view>
  133. <view class="windMsgSty_right flex justify-between">
  134. <text>{{Math.ceil(windstatusData.fd_slnum)}}</text>
  135. <text>台</text>
  136. </view>
  137. </view>
  138. <view class="windMsgSty flex">
  139. <view class="windMsgSty_left">
  140. <image src="../../static/jnImage/indexPage/jn_lixian.png" mode=""></image>
  141. <text>离线</text>
  142. </view>
  143. <view class="windMsgSty_right flex justify-between">
  144. <text>{{Math.ceil(windstatusData.fd_lxnum)}}</text>
  145. <text>台</text>
  146. </view>
  147. </view>
  148. </view>
  149. </view>
  150. </view>
  151. <view class="powerMsg">
  152. <view class="flex justify-center" style="margin-bottom: 6px;" @click="watchWindStatus('power')">
  153. <view class="windMsg_title">
  154. <image src="../../static/jnImage/indexPage/wancheng.png" mode=""></image>
  155. <text>光伏状态</text>
  156. </view>
  157. </view>
  158. <view class="windMsg_main">
  159. <view class="windMsg_main_msg flex justify-between">
  160. <view class="windMsgSty flex">
  161. <view class="windMsgSty_left">
  162. <image src="../../static/jnImage/indexPage/yunxingGFNew.png" mode=""></image>
  163. <text>接入</text>
  164. </view>
  165. <view class="windMsgSty_right flex justify-between">
  166. <text>{{Math.ceil(powerstatusData.jr_gf_jzts+powerstatusData.jr_gf_zcts)}}</text>
  167. <text>台</text>
  168. </view>
  169. </view>
  170. <view class="windMsgSty flex">
  171. <view class="windMsgSty_left">
  172. <image src="../../static/jnImage/indexPage/jn_daiji.png" mode=""></image>
  173. <text>待机</text>
  174. </view>
  175. <view class="windMsgSty_right flex justify-between">
  176. <text>{{Math.ceil(windstatusData.gf_djnum)}}</text>
  177. <text>台</text>
  178. </view>
  179. </view>
  180. </view>
  181. <view class="windMsg_main_msg flex justify-between">
  182. <view class="windMsgSty flex">
  183. <view class="windMsgSty_left">
  184. <image src="../../static/jnImage/indexPage/jn_bingwang.png" mode=""></image>
  185. <text>并网</text>
  186. </view>
  187. <view class="windMsgSty_right flex justify-between">
  188. <text>{{Math.ceil(windstatusData.gf_yxnum)}}</text>
  189. <text>台</text>
  190. </view>
  191. </view>
  192. <view class="windMsgSty flex">
  193. <view class="windMsgSty_left">
  194. <image src="../../static/jnImage/indexPage/jn_guzhang.png" mode=""></image>
  195. <text>故障</text>
  196. </view>
  197. <view class="windMsgSty_right flex justify-between">
  198. <text>{{Math.ceil(windstatusData.gf_gznum)}}</text>
  199. <text>台</text>
  200. </view>
  201. </view>
  202. </view>
  203. <view class="windMsg_main_msg flex justify-between">
  204. <view class="windMsgSty flex">
  205. <view class="windMsgSty_left">
  206. <image src="../../static/jnImage/indexPage/jn_jianxiu.png" mode=""></image>
  207. <text>检修</text>
  208. </view>
  209. <view class="windMsgSty_right flex justify-between">
  210. <text>{{Math.ceil(windstatusData.gf_jxnum)}}</text>
  211. <text>台</text>
  212. </view>
  213. </view>
  214. <view class="windMsgSty flex">
  215. <view class="windMsgSty_left">
  216. <image src="../../static/jnImage/indexPage/jn_xiandian.png" mode=""></image>
  217. <text>限电</text>
  218. </view>
  219. <view class="windMsgSty_right flex justify-between">
  220. <text>{{Math.ceil(windstatusData.gf_xdnum)}}</text>
  221. <text>台</text>
  222. </view>
  223. </view>
  224. </view>
  225. <view class="windMsg_main_msg flex justify-between">
  226. <view class="windMsgSty flex">
  227. <view class="windMsgSty_left">
  228. <image src="../../static/jnImage/indexPage/jn_shoulei.png" mode=""></image>
  229. <text>受累</text>
  230. </view>
  231. <view class="windMsgSty_right flex justify-between">
  232. <text>{{Math.ceil(windstatusData.gf_slnum)}}</text>
  233. <text>台</text>
  234. </view>
  235. </view>
  236. <view class="windMsgSty flex">
  237. <view class="windMsgSty_left">
  238. <image src="../../static/jnImage/indexPage/jn_lixian.png" mode=""></image>
  239. <text>离线</text>
  240. </view>
  241. <view class="windMsgSty_right flex justify-between">
  242. <text>{{Math.ceil(windstatusData.gf_lxnum)}}</text>
  243. <text>台</text>
  244. </view>
  245. </view>
  246. </view>
  247. </view>
  248. </view>
  249. <view class="ssjk">
  250. <view class="ssjk_title flex justify-center">
  251. <image src="../../static/jnImage/indexPage/timeNow.png" mode=""></image>
  252. <text>实时监控</text>
  253. </view>
  254. <view class="ssjk_main">
  255. <view class="ssjk_main_msg" v-for="(item, index) in windData" :key="index">
  256. <view class="ssjk_main_msg_tit flex">
  257. <image src="../../static/jnImage/indexPage/windIcon.png" mode=""></image>
  258. <text>{{item.name}}</text>
  259. </view>
  260. <view class="ssjk_main_msg_data flex">
  261. <view class="msg_data_sty flex">
  262. <view class="msg_data_name">
  263. <text>风速</text>
  264. </view>
  265. <view class="dataSty flex">
  266. <text>{{item.fs}}</text>
  267. <text>m/s</text>
  268. </view>
  269. </view>
  270. <view class="msg_data_sty flex">
  271. <view class="msg_data_name">
  272. <text>实际功率</text>
  273. </view>
  274. <view class="dataSty flex">
  275. <text>{{item.sjgl}}</text>
  276. <text>MW</text>
  277. </view>
  278. </view>
  279. <view class="msg_data_sty flex">
  280. <view class="msg_data_name">
  281. <text>出线功率</text>
  282. </view>
  283. <view class="dataSty flex">
  284. <text>{{item.cxgl}}</text>
  285. <text>MW</text>
  286. </view>
  287. </view>
  288. </view>
  289. </view>
  290. </view>
  291. <view class="ssjk_main">
  292. <view class="ssjk_main_msg" v-for="(item, index) in powerData" :key="index">
  293. <view class="ssjk_main_msg_tit flex">
  294. <image src="../../static/jnImage/indexPage/powerIcon.png" mode=""></image>
  295. <text>{{item.name}}</text>
  296. </view>
  297. <view class="ssjk_main_msg_data flex">
  298. <view class="msg_data_sty flex">
  299. <view class="msg_data_name">
  300. <text>光照强度</text>
  301. </view>
  302. <view class="dataSty flex">
  303. <text>{{item.gzqd}}</text>
  304. <text>Kw/m²</text>
  305. </view>
  306. </view>
  307. <view class="msg_data_sty flex">
  308. <view class="msg_data_name">
  309. <text>实际功率</text>
  310. </view>
  311. <view class="dataSty flex">
  312. <text>{{item.sjgl}}</text>
  313. <text>MW</text>
  314. </view>
  315. </view>
  316. <view class="msg_data_sty flex">
  317. <view class="msg_data_name">
  318. <text>出线功率</text>
  319. </view>
  320. <view class="dataSty flex">
  321. <text>{{item.cxgl}}</text>
  322. <text>MW</text>
  323. </view>
  324. </view>
  325. </view>
  326. </view>
  327. </view>
  328. </view>
  329. </view>
  330. </view>
  331. </view>
  332. </view>
  333. </template>
  334. </template>
  335. <script>
  336. import {
  337. cockpitMonitor,
  338. cockpitProjectplanApi
  339. } from '../../api/home.js'
  340. import {
  341. windPowerDataApi
  342. } from '../../api/common.js'
  343. export default {
  344. onLoad: function() {},
  345. data() {
  346. return {
  347. mesExData: [],
  348. windPowerData: [],
  349. timeData: {},
  350. windstatusData: {},
  351. powerstatusData: {},
  352. windData: [],
  353. powerData: []
  354. }
  355. },
  356. created() {
  357. this.getTimeDaya()
  358. this.getHomeData()
  359. this.getwindPowerData("0", "-1");
  360. this.getwindPowerData("0", "-2");
  361. },
  362. methods: {
  363. //获取时间
  364. getTimeDaya() {
  365. let currentDate = new Date()
  366. this.timeData.year = currentDate.getFullYear()
  367. this.timeData.month = currentDate.getMonth() + 1
  368. this.timeData.day = currentDate.getDate()
  369. this.timeData.hour = currentDate.getHours() + ':'
  370. this.timeData.minute = currentDate.getMinutes() < 10 ? '0' + currentDate.getMinutes() : currentDate
  371. .getMinutes()
  372. this.timeData.week = new Array('星期天', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六')[currentDate.getDay()]
  373. },
  374. //获取首页整体数据
  375. getHomeData() {
  376. let that = this
  377. cockpitMonitor({
  378. wpId: 'KGDL_FGS0'
  379. }).then(res => {
  380. if (res.data) {
  381. if (res.data.qt) {
  382. let datas = res.data.qt
  383. let arr = [{
  384. leftName: '容量',
  385. leftValue: datas.zzjrl,
  386. leftCode: '(MW)',
  387. },
  388. {
  389. leftName: '安全天数',
  390. leftValue: Math.ceil(datas.aqts),
  391. leftCode: '(天)',
  392. },
  393. {
  394. leftName: '利用小时',
  395. leftValue: Math.ceil(datas.fdylyxs + datas.fdnlyxs),
  396. leftCode: '(万kWh)'
  397. }
  398. ]
  399. that.windPowerData = [{
  400. name: '风速',
  401. value: datas.ssfs,
  402. code: '(m/s)',
  403. min: 6,
  404. max: 8
  405. }, {
  406. name: '日照强度',
  407. value: datas.gzzs,
  408. code: '(W/m²)',
  409. min: 6,
  410. max: 20
  411. }, {
  412. name: '功率',
  413. value: datas.sjgl,
  414. code: '(MW)',
  415. min: 0,
  416. max: 200
  417. }, {
  418. name: '理论功率',
  419. value: datas.llgl,
  420. code: '(万kW)',
  421. min: 0,
  422. max: 500
  423. }]
  424. that.getHomeData2(arr)
  425. }
  426. if (res.data.cblpoint) {
  427. that.powerstatusData = res.data.cblpoint
  428. }
  429. if (res.data.mxztmap) {
  430. that.windstatusData = res.data.mxztmap
  431. }
  432. }
  433. })
  434. },
  435. getHomeData2(arr) {
  436. let that = this
  437. cockpitProjectplanApi({
  438. wpId: 'KGDL_FGS0'
  439. }).then(res =>{
  440. if (res && res.data) {
  441. let item = res.data.proplanmap
  442. let arr2 = [
  443. {
  444. leftName: '日发电量',
  445. leftValue: Math.ceil(item.qy_r_sjdl / 10000),
  446. leftCode: '(万kWh)'
  447. },
  448. {
  449. leftName: '月发电量',
  450. leftValue: Math.ceil(item.qy_y_sjdl / 10000),
  451. leftCode: '(万kWh)'
  452. },
  453. {
  454. leftName: '年发电量',
  455. leftValue: Math.ceil(item.qy_n_sjdl / 10000 /10000),
  456. leftCode: '(亿kWh)'
  457. },
  458. ]
  459. that.mesExData = [...arr, ...arr2]
  460. }
  461. })
  462. },
  463. getwindPowerData(type1, type2) {
  464. windPowerDataApi({
  465. company: type1,
  466. type: type2
  467. })
  468. .then((res) => {
  469. if (Object.values(res.data.data).length) {
  470. if (res.data.data.powerVos.length > 0) {
  471. res.data.data.powerVos.forEach(item => {
  472. if (type2 === "-1") {
  473. let obj = {
  474. name: item.wpname,
  475. fs: Math.ceil(item.spped),
  476. sjgl: Math.ceil(item.sjgl/1000),
  477. cxgl: Math.ceil(item.cxgl)
  478. }
  479. this.windData.push(obj)
  480. } else {
  481. let obj = {
  482. name: item.wpname,
  483. gzqd: Math.ceil(item.spped),
  484. sjgl: Math.ceil(item.sjgl/1000),
  485. cxgl: Math.ceil(item.cxgl)
  486. }
  487. this.powerData.push(obj)
  488. }
  489. })
  490. }
  491. } else {
  492. this.windData = [];
  493. this.powerData = [];
  494. }
  495. });
  496. },
  497. changeMsg() {
  498. this.$tab.navigateTo('/pages/common/messagePage')
  499. },
  500. changeStation() {
  501. this.$tab.navigateTo('/pages/common/stationListPage')
  502. },
  503. watchWindStatus(type) {
  504. this.$tab.navigateTo(`/pages/common/windStatusPage?status=${type}`)
  505. }
  506. }
  507. }
  508. </script>
  509. <style lang="scss">
  510. page {
  511. background-color: #202246;
  512. }
  513. .home {
  514. width: 100vw;
  515. background: url('../../static/jnImage/loginPage/windBack.png'), url('../../static/jnImage/loginPage/backWav.png');
  516. background-repeat: no-repeat, repeat;
  517. background-size: 100% 260px, 100% 5px;
  518. .home_header {
  519. width: calc(100% -32px);
  520. display: flex;
  521. justify-content: space-between;
  522. height: 60px;
  523. padding-top: 16px;
  524. // position: fixed;
  525. .header_message {
  526. width: 15%;
  527. image {
  528. position: relative;
  529. top: 5px;
  530. left: 10px;
  531. width: 25px;
  532. height: 25px;
  533. }
  534. }
  535. .header_title {
  536. width: 70%;
  537. position: relative;
  538. left: 5px;
  539. image {
  540. width: 28px;
  541. height: 22px;
  542. position: relative;
  543. top: 5px;
  544. }
  545. .titleName {
  546. line-height: 20px;
  547. font-size: 36upx;
  548. font-family: FZZhengHeiS-M-GB;
  549. font-weight: 600;
  550. color: #fff;
  551. position: relative;
  552. top: 8px;
  553. }
  554. }
  555. .header_more {
  556. width: 15%;
  557. position: relative;
  558. top: 10px;
  559. left: 10px;
  560. image {
  561. width: 25px;
  562. height: 18px;
  563. }
  564. }
  565. }
  566. .home_main {
  567. padding: 0 20px;
  568. .main_time {
  569. margin-top: 10px;
  570. .mesTime {
  571. display: flex;
  572. padding: 3px 0;
  573. border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  574. image {
  575. width: 20px;
  576. height: 20px;
  577. }
  578. text {
  579. font-size: 34upx;
  580. color: #fff;
  581. margin-left: 15px;
  582. }
  583. text:nth-of-type(3) {
  584. position: relative;
  585. top: 3px;
  586. }
  587. }
  588. .mesAll {
  589. .mesEx {
  590. // display: flex;
  591. line-height: 30px;
  592. color: #fff;
  593. .mesEx_left {
  594. width: 100%;
  595. border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  596. padding: 3px 0;
  597. .mesEx_left_top {
  598. width: 40%;
  599. font-size: 28upx;
  600. .nameSty {
  601. width: 100%;
  602. display: inline-block;
  603. position: relative;
  604. text-align-last: justify;
  605. text-align: justify;
  606. }
  607. }
  608. .mesEx_left_end {
  609. width: 56%;
  610. margin: 0 10px;
  611. display: flex;
  612. justify-content: space-between;
  613. text:nth-of-type(1) {
  614. font-size: 34upx;
  615. }
  616. text:nth-of-type(2) {
  617. font-size: 20upx;
  618. color: #92949B;
  619. }
  620. }
  621. }
  622. }
  623. .windpowerCl {
  624. .windpowerMsg {
  625. margin-top: 10px;
  626. padding: 5px 10px;
  627. color: #fff;
  628. background-image: url('../../static/jnImage/indexPage/windpower.png');
  629. background-repeat: no-repeat;
  630. background-size: cover;
  631. .windpowerMsg_com {
  632. text {
  633. font-size: 24upx;
  634. color: #AFB2C1;
  635. }
  636. }
  637. .windpowerMsg_Data {
  638. margin: 5px;
  639. text-align: center;
  640. font-size: 40upx;
  641. }
  642. }
  643. }
  644. .windMsg,
  645. .powerMsg {
  646. margin-top: 15px;
  647. .windMsg_title {
  648. width: 40%;
  649. height: 30px;
  650. display: flex;
  651. justify-content: center;
  652. align-items: center;
  653. padding: 6px 13px;
  654. background: rgba(51, 57, 118, 0.7);
  655. border-radius: 5px;
  656. image {
  657. width: 18px;
  658. height: 18px;
  659. }
  660. text {
  661. margin-left: 5px;
  662. font-size: 34upx;
  663. color: #fff;
  664. }
  665. }
  666. .windMsg_main {
  667. .windMsg_main_msg {
  668. margin-bottom: 8px;
  669. .windMsgSty {
  670. padding: 5px 8px;
  671. width: 49%;
  672. background: #3F4572;
  673. border-radius: 5px;
  674. .windMsgSty_left {
  675. width: 49%;
  676. height: 32px;
  677. image {
  678. width: 32px;
  679. height: 32px;
  680. }
  681. text {
  682. width: 100px;
  683. display: inline-block;
  684. color: #9A9BA6;
  685. font-size: 28upx;
  686. margin-left: 10px;
  687. position: relative;
  688. top: -26px;
  689. left: 28px;
  690. }
  691. .fourFont {
  692. top: -38px;
  693. }
  694. }
  695. .windMsgSty_right {
  696. width: 49%;
  697. position: relative;
  698. top: 9px;
  699. text:nth-of-type(1) {
  700. margin-left: 5px;
  701. width: 50%;
  702. font-size: 34upx;
  703. color: #fff;
  704. }
  705. text:nth-of-type(2) {
  706. font-size: 28upx;
  707. color: #9A9BA6;
  708. }
  709. }
  710. }
  711. }
  712. }
  713. }
  714. .ssjk {
  715. margin-top: 15px;
  716. margin-bottom: 30px;
  717. .ssjk_title {
  718. width: 120px;
  719. height: 45px;
  720. // background: #333976;
  721. background: linear-gradient(90deg, #333976, transparent);
  722. align-items: center;
  723. image {
  724. width: 22px;
  725. height: 22px;
  726. }
  727. text {
  728. margin-left: 10px;
  729. font-size: 16px;
  730. color: #fff;
  731. }
  732. }
  733. .ssjk_main {
  734. .ssjk_main_msg {
  735. margin-top: 15px;
  736. .ssjk_main_msg_tit {
  737. image {
  738. width: 18px;
  739. height: 18px;
  740. }
  741. text {
  742. margin-left: 10px;
  743. font-size: 14px;
  744. color: #A49EAC;
  745. position: relative;
  746. top: -2px;
  747. }
  748. }
  749. .ssjk_main_msg_data {
  750. width: 100%;
  751. color: #fff;
  752. font-size: 10px;
  753. .msg_data_sty {
  754. width: 33%;
  755. margin-right: 2px;
  756. background: #2E336D;
  757. .msg_data_name {
  758. width: 50%;
  759. padding: 3px 0;
  760. display: inline-block;
  761. background: #3F4572;
  762. text-align: center;
  763. }
  764. .dataSty {
  765. width: 50%;
  766. background: #2E336D;
  767. padding: 0 3px;
  768. justify-content: space-between;
  769. text {
  770. position: relative;
  771. top: 5px;
  772. }
  773. }
  774. }
  775. }
  776. }
  777. }
  778. }
  779. }
  780. }
  781. }
  782. }
  783. </style>