index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966
  1. <template>
  2. <view>
  3. <u-navbar v-show="false" title="首页" title-color="#101010"></u-navbar>
  4. <view class="back-blue">
  5. <view class="back-color">
  6. </view>
  7. </view>
  8. <view class="main_top">
  9. <view class="main_top1">
  10. <view class="logo_img">
  11. <image class="img" src="@/assets/img/logo/logo.png" mode=""></image>
  12. </view>
  13. <view class="logo_text">
  14. <view class="logo_text1">
  15. 优电联盟
  16. </view>
  17. <view class="logo_text2">
  18. 巡检端
  19. </view>
  20. </view>
  21. </view>
  22. <view class="main_top2">
  23. <!-- 消息提醒位置 -->
  24. </view>
  25. </view>
  26. <view class="main_navigation panel">
  27. <view class="item-na end" @click="gotoUrl('/pages/task/addTask')">
  28. <view class="na-img">
  29. <image class="img" src="@/assets/img/index/na-1.png" mode=""></image>
  30. </view>
  31. <view class="na-text ">
  32. 故障上报
  33. </view>
  34. </view>
  35. <view class="item-na-b" v-if="isAdmin">
  36. </view>
  37. <view class="item-na end" @click="gotoUrl('/pages/team/teamList')" v-if="isAdmin">
  38. <view class="na-img">
  39. <image class="img" src="@/assets/img/index/na-3.png" mode=""></image>
  40. </view>
  41. <view class="na-text">
  42. 团队管理
  43. </view>
  44. </view>
  45. <view class="item-na-b">
  46. </view>
  47. <view class="item-na end" @click="gotoUrl('/pages/inspection/list')">
  48. <view class="na-img">
  49. <image class="img" src="@/assets/img/index/na-2.png" mode=""></image>
  50. </view>
  51. <view class="na-text">
  52. 巡检记录
  53. </view>
  54. </view>
  55. </view>
  56. <view class="main_statuspanel panel">
  57. <view class="top-main">
  58. <view class="title-main">
  59. 充电枪状态
  60. </view>
  61. <view class="goto-main" @click="gotoUrl('/pages/station/stationList')">
  62. 查看详情
  63. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  64. </view>
  65. </view>
  66. <view class="body">
  67. <view class="pie">
  68. <view id="body1pie1" class="body1pie">
  69. </view>
  70. <view class="body2pie" v-if="datafloorStatus.gunNum">
  71. <view class="v1">{{datafloorStatus.gunNum}}</view>
  72. <view class="v2">单位:把</view>
  73. </view>
  74. </view>
  75. <view class="item-list">
  76. <view class="item-status">
  77. <view class="num">
  78. {{datafloorStatus.gunWorkNum}}
  79. </view>
  80. <view class="statusN">
  81. <view class="statusC status1">
  82. </view>
  83. <view class="statusT">
  84. 在用
  85. </view>
  86. </view>
  87. </view>
  88. <view class="item-status">
  89. <view class="num">
  90. {{datafloorStatus.gunFaultNum}}
  91. </view>
  92. <view class="statusN">
  93. <view class="statusC status2">
  94. </view>
  95. <view class="statusT">
  96. 故障
  97. </view>
  98. </view>
  99. </view>
  100. <view class="item-status">
  101. <view class="num">
  102. {{datafloorStatus.gunFreeNum}}
  103. </view>
  104. <view class="statusN">
  105. <view class="statusC status4">
  106. </view>
  107. <view class="statusT">
  108. 空闲
  109. </view>
  110. </view>
  111. </view>
  112. <view class="item-status">
  113. <view class="num">
  114. {{datafloorStatus.gunOfflineNum}}
  115. </view>
  116. <view class="statusN">
  117. <view class="statusC status3">
  118. </view>
  119. <view class="statusT">
  120. 离线
  121. </view>
  122. </view>
  123. </view>
  124. </view>
  125. </view>
  126. </view>
  127. <view class="main_list1 panel ">
  128. <view class="top-main">
  129. <view class="title-main">
  130. 故障未处理记录
  131. <span v-if="dataerrRecordsTotal" class="badge">
  132. {{dataerrRecordsTotal}}
  133. </span>
  134. </view>
  135. <view class="goto-main" @click="gotoUrl('/pages/task/listTask')">
  136. 全部故障记录
  137. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  138. </view>
  139. </view>
  140. <view class="top-main">
  141. <u-tabs :list="tabslist" v-if="0" :current="current" @change="change"></u-tabs>
  142. </view>
  143. <view class="list">
  144. <view class="item" v-for="(item,index) in dataerrList"
  145. @click="gotoUrl('/pages/task/maintenanceTaks?id='+item.id)" :key="index">
  146. <view class="body">
  147. <view class="line1">
  148. <view class="title">
  149. {{item.stationName}}
  150. </view>
  151. <view class="value">
  152. {{item.errorCodeText}}
  153. </view>
  154. </view>
  155. <view class="line2">
  156. <view v-if="getHourDistanceArr(item.errorReportTime)==0" :class="{
  157. getHourDistanceArrNum10:true,
  158. }">
  159. </view>
  160. <view v-else :class="{
  161. getHourDistanceArrNum10:true,
  162. getHourDistanceArrNum12:getHourDistanceArr(item.errorReportTime)>12,
  163. getHourDistanceArrNum24:getHourDistanceArr(item.errorReportTime)>24,
  164. }">
  165. 超{{getHourDistanceArr(item.errorReportTime) }}小时未处理</view>
  166. <view class="value" style=" white-space: pre;">
  167. {{item.errorReportTime}}
  168. </view>
  169. </view>
  170. </view>
  171. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  172. </view>
  173. <u-divider color="#F44336" :isnone="dataerrRecordsTotal==0" nonetext="暂无数据"
  174. v-if="dataerrRecordsTotal==0"></u-divider>
  175. </view>
  176. </view>
  177. <view class="main_list1 panel ">
  178. <view class="top-main">
  179. <view class="title-main">
  180. 未巡检记录
  181. <span v-if="datainsRecordsTotal" class="badge">
  182. {{datainsRecordsTotal}}
  183. </span>
  184. </view>
  185. <view class="goto-main" @click="gotoUrl('/pages/inspection/list')">
  186. 全部巡检记录
  187. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  188. </view>
  189. </view>
  190. <view class="top-main">
  191. <u-tabs :list="tabslist" v-if="0" :current="current" @change="change"></u-tabs>
  192. </view>
  193. <view class="list-body">
  194. <view class="item" v-for="(item,index) in datainsList"
  195. @click="gotoUrl('/pages/inspection/add?back=1&stationId='+item.stationId)" :key="index">
  196. <view class="line1">
  197. <view class="title">
  198. {{item.stationName}}
  199. </view>
  200. <view class="value">
  201. 上次巡检时间:{{lastChargeTime(item.lastInspectionTime)}}
  202. </view>
  203. </view>
  204. <view class="line2">
  205. <view v-if="getdaysDistance(item.lastInspectionTime,item.inspectionEndTime)=='-'"
  206. style="color:#777777 ;" >
  207. 未初始化
  208. </view>
  209. <view v-else-if="getdaysDistance(item.lastInspectionTime,item.inspectionEndTime)<5"
  210. style="color:#FF7B00 ;" >
  211. {{getdaysDistance(item.lastInspectionTime,item.inspectionEndTime)}}天后到期
  212. </view>
  213. <view v-else style="color: #EE3138 ;" >
  214. 已逾期
  215. </view>
  216. <u-icon name="arrow-right" size="24" color="#BBBBBB"></u-icon>
  217. </view>
  218. </view>
  219. <u-divider color="#F44336" :isnone="datainsRecordsTotal==0" nonetext="暂无数据"
  220. v-if="datainsRecordsTotal==0"></u-divider>
  221. </view>
  222. </view>
  223. <tabbar :current="0"></tabbar>
  224. </view>
  225. </template>
  226. <script>
  227. import * as API from '@/apis/pagejs/pagejsIndex.js'
  228. import * as echarts from 'echarts';
  229. import Tabbar from '@/components/Tabbar.vue'
  230. import {
  231. newDate,
  232. hourDistanceArr,
  233. daysDistance
  234. } from '@/apis/utils'
  235. export default {
  236. components: {
  237. Tabbar,
  238. },
  239. data() {
  240. return {
  241. echartsList: {},
  242. isReadyfloorStatus: false,
  243. datafloorStatus: {},
  244. roleList: [],
  245. isReadyerrList: false,
  246. isReadyinsList: false,
  247. dataerrList: [],
  248. dataerrRecordsTotal: 0,
  249. datainsList: [],
  250. datainsRecordsTotal: 0,
  251. tabslist: [{
  252. name: '电动车充电站',
  253. code: "geterrList0"
  254. }, {
  255. name: '电单车充电站',
  256. code: "geterrList1"
  257. }],
  258. current: 0,
  259. };
  260. },
  261. onLoad() {
  262. // this.roleList=
  263. },
  264. onShow() {
  265. // this.roleList=this.jphelp.getPersonInfoPlus().roleList
  266. if (this.isReadyfloorStatus) {
  267. this.getfloorStatus()
  268. }
  269. if (this.isReadyerrList) {
  270. this.geterrList()
  271. }
  272. if (this.isReadyinsList) {
  273. this.getinsList()
  274. }
  275. },
  276. computed: {
  277. isAdmin() {
  278. console.log(this.jphelp.getPersonInfo().role)
  279. if (this.jphelp.getPersonInfo().role == '1') {
  280. return true
  281. }
  282. return false
  283. }
  284. },
  285. onReady() {
  286. this.geterrList()
  287. this.getfloorStatus()
  288. this.getinsList()
  289. //this.getbody1pie1()
  290. this.query()
  291. },
  292. methods: {
  293. lastChargeTime(time) {
  294. if (time) {
  295. return time.split(" ")[0]
  296. } else {
  297. return ''
  298. }
  299. },
  300. getinsList() {
  301. var status = 0
  302. var code = this.tabslist[this.current].code
  303. if (code == "geterrList0") {
  304. status = 0
  305. }
  306. if (code == "geterrList1") {
  307. status = 1
  308. }
  309. API.recordList({
  310. pageIndex: 1,
  311. pageSize: 20,
  312. status: 0,
  313. }).then((response) => {
  314. this.datainsList = response.data.data
  315. this.datainsRecordsTotal = response.data.recordsTotal
  316. this.isReadyinsList = true
  317. }).catch(error => {
  318. uni.showToast({
  319. title: error,
  320. icon: "none"
  321. })
  322. })
  323. },
  324. getdaysDistance(time1, time2) {
  325. if (!time1) {
  326. return '-'
  327. }
  328. return daysDistance(time1, time2)
  329. },
  330. getHourDistanceArr(time) {
  331. if (!time) {
  332. return '-'
  333. }
  334. return hourDistanceArr(time, new Date())[0]
  335. },
  336. change(e) {
  337. this.current = e
  338. this.dataerrList = []
  339. this.geterrList()
  340. },
  341. isToday(dateStr) {
  342. if (!dateStr) {
  343. return false
  344. }
  345. // 将传入的日期字符串转换为Date对象
  346. const targetDate = newDate(dateStr);
  347. // 获取当前日期
  348. const today = new Date();
  349. // 比较年份、月份和日期是否相等
  350. return (
  351. targetDate.getFullYear() === today.getFullYear() &&
  352. targetDate.getMonth() === today.getMonth() &&
  353. targetDate.getDate() === today.getDate()
  354. );
  355. },
  356. query() {
  357. uni.showLoading({
  358. title: "加载中",
  359. mask: true,
  360. })
  361. API.findByOpenId({
  362. noerror: true,
  363. openId: this.jphelp.getOpenId(),
  364. }).then((response) => {
  365. uni.hideLoading();
  366. if (response.message) {
  367. uni.hideLoading();
  368. } else {
  369. this.loginset(response)
  370. }
  371. this.roleList = this.jphelp.getPersonInfoPlus().roleList
  372. }).catch(error => {
  373. uni.hideLoading();
  374. })
  375. },
  376. geterrList() {
  377. var status = 0
  378. var code = this.tabslist[this.current].code
  379. if (code == "geterrList0") {
  380. status = 0
  381. }
  382. if (code == "geterrList1") {
  383. status = 1
  384. }
  385. API.errList({
  386. pageIndex: 1,
  387. pageSize: 5,
  388. status: 0,
  389. }).then((response) => {
  390. this.dataerrList = response.data.data
  391. this.dataerrRecordsTotal = response.data.recordsTotal
  392. this.isReadyerrList = true
  393. }).catch(error => {
  394. uni.showToast({
  395. title: error,
  396. icon: "none"
  397. })
  398. })
  399. },
  400. getfloorStatus() {
  401. API.floorStatus().then((response) => {
  402. var obj = response.data;
  403. var sz = ['gunFaultNum', 'gunFreeNum', 'gunOfflineNum', 'gunWorkNum']
  404. var bl = false
  405. for (var i in sz) {
  406. if (obj[sz[i]] != this.datafloorStatus[sz[i]]) {
  407. bl = true
  408. this.datafloorStatus = obj
  409. }
  410. }
  411. this.isReadyfloorStatus = true
  412. if (bl) {
  413. this.getbody1pie1()
  414. }
  415. }).catch(error => {
  416. uni.showToast({
  417. title: error,
  418. icon: "none"
  419. })
  420. })
  421. },
  422. getbody1pie1() {
  423. var key = "body1pie1"
  424. var myChart = this.echartsList[key];
  425. if (!myChart) {
  426. myChart = echarts.init(document.getElementById(key), null, {
  427. width: uni.upx2px(88 * 2),
  428. height: uni.upx2px(88 * 2)
  429. })
  430. }
  431. myChart.clear()
  432. var option = {
  433. series: [{
  434. silent: true,
  435. type: 'pie',
  436. radius: ['80%', '100%'],
  437. label: {
  438. show: false,
  439. },
  440. data: [{
  441. value: this.datafloorStatus.gunWorkNum,
  442. itemStyle: {
  443. color: 'rgba(0, 185, 98, 1)'
  444. }
  445. },
  446. {
  447. value: this.datafloorStatus.gunFreeNum,
  448. itemStyle: {
  449. color: '#999999'
  450. }
  451. },
  452. {
  453. value: this.datafloorStatus.gunOfflineNum,
  454. itemStyle: {
  455. color: '#FF9600'
  456. }
  457. },
  458. {
  459. value: this.datafloorStatus.gunFaultNum,
  460. itemStyle: {
  461. color: '#FF3D00'
  462. }
  463. }
  464. ]
  465. }],
  466. grid: {
  467. top: 0,
  468. left: 0,
  469. right: 0,
  470. bottom: 0,
  471. containLabel: true
  472. },
  473. }
  474. myChart.setOption(option);
  475. console.log(option)
  476. this.echartsList[key] = myChart;
  477. }
  478. }
  479. }
  480. </script>
  481. <style>
  482. page {
  483. /* background-color: #FFFFFF; */
  484. }
  485. </style>
  486. <style lang="scss">
  487. .back-blue {
  488. height: 0px;
  489. .back-color {
  490. height: 656rpx;
  491. background: linear-gradient(180deg, rgba(22, 119, 255, 1) 53%, rgba(203, 234, 255, 0) 100%);
  492. }
  493. }
  494. .top-main {
  495. display: flex;
  496. align-items: center;
  497. justify-content: space-between;
  498. .title-main {
  499. color: rgba(51, 51, 51, 1);
  500. font-size: 32rpx;
  501. font-weight: bold;
  502. display: flex;
  503. align-items: center;
  504. }
  505. .goto-main {
  506. color: rgba(131, 131, 131, 1);
  507. font-size: 24rpx;
  508. }
  509. }
  510. .panel,
  511. .main_top {
  512. margin: 0 32rpx;
  513. }
  514. .panel {
  515. border-radius: 16rpx;
  516. background-color: rgba(255, 255, 255, 1);
  517. box-shadow: 0px 8rpx 16rpx 0px rgba(22, 119, 255, 0.1);
  518. }
  519. .main_top {
  520. margin-top: 32rpx;
  521. display: flex;
  522. justify-content: space-between;
  523. .main_top1 {
  524. display: flex;
  525. align-items: center;
  526. .logo_img {
  527. .img {
  528. border-radius: 16rpx;
  529. width: 96rpx;
  530. height: 96rpx;
  531. }
  532. margin-right: 16rpx;
  533. }
  534. .logo_text {
  535. color: #fff;
  536. .logo_text1 {
  537. font-size: 40rpx;
  538. }
  539. .logo_text2 {
  540. font-size: 32rpx;
  541. }
  542. }
  543. }
  544. .main_top2 {}
  545. }
  546. .main_navigation {
  547. margin-top: 32rpx;
  548. display: flex;
  549. justify-content: space-around;
  550. align-items: center;
  551. padding: 24rpx 0 20rpx 0;
  552. .item-na-b {
  553. border-left: 2rpx solid rgba(187, 187, 187, 0.43);
  554. height: 70rpx;
  555. }
  556. .item-na {
  557. width: 32%;
  558. text-align: center;
  559. .na-img {
  560. display: flex;
  561. justify-content: center;
  562. .img {
  563. width: 80rpx;
  564. height: 80rpx;
  565. }
  566. }
  567. }
  568. }
  569. .main_statuspanel {
  570. margin-top: 24rpx;
  571. padding: 24rpx;
  572. padding-bottom: 0;
  573. .body2pie {
  574. position: relative;
  575. top: -140rpx;
  576. height: 0px;
  577. left: 0px;
  578. width: 176rpx;
  579. text-align: center;
  580. .v1 {
  581. color: rgba(16, 16, 16, 1);
  582. font-size: 48rpx;
  583. font-weight: bold;
  584. }
  585. .v2 {
  586. color: rgba(119, 119, 119, 1);
  587. font-size: 24rpx;
  588. }
  589. }
  590. .body {
  591. display: flex;
  592. padding: 24rpx;
  593. .item-list {
  594. margin-left: 48rpx;
  595. display: flex;
  596. width: 100%;
  597. flex-wrap: wrap;
  598. .item-status {
  599. width: 50%;
  600. .num {
  601. color: rgba(51, 51, 51, 1);
  602. font-size: 36rpx;
  603. font-weight: bold;
  604. }
  605. }
  606. .statusN {
  607. display: flex;
  608. align-items: center;
  609. .statusC {
  610. margin-right: 8rpx;
  611. width: 16rpx;
  612. height: 16rpx;
  613. background-color: rgba(153, 153, 153, 1);
  614. }
  615. .status1 {
  616. background-color: rgba(0, 185, 98, 1);
  617. }
  618. .status2 {
  619. background-color: #FF3D00;
  620. }
  621. .status3 {
  622. background-color: #FF9600;
  623. }
  624. .status4 {
  625. background-color: #999999;
  626. }
  627. }
  628. }
  629. }
  630. }
  631. .main_list1 {
  632. background-color: #fff;
  633. margin-top: 24rpx;
  634. padding: 24rpx;
  635. padding-bottom: 36rpx;
  636. .title {
  637. display: flex;
  638. color: rgba(51, 51, 51, 1);
  639. font-size: 32rpx;
  640. font-weight: bold;
  641. }
  642. .list-body {
  643. padding: 24rpx 0;
  644. .item {
  645. border-bottom: 2rpx solid rgba(232, 232, 232, 1);
  646. display: flex;
  647. justify-content: space-between;
  648. padding: 12rpx 0;
  649. margin: 12rpx 0;
  650. .line1 {
  651. .value {
  652. color: #777777;
  653. font-size: 24rpx;
  654. margin-top: 8rpx;
  655. }
  656. }
  657. .line2 {
  658. display: flex;
  659. align-items: center;
  660. font-size: 32rpx;
  661. white-space: pre;
  662. }
  663. }
  664. }
  665. .item:not(:first-child) {
  666. //background-color: red;
  667. border-top: 0rpx solid rgba(232, 232, 232, 1);
  668. }
  669. .list {
  670. //padding: 24rpx 0;
  671. .item {
  672. display: flex;
  673. border-top: 2rpx solid rgba(232, 232, 232, 1);
  674. padding: 12rpx 0;
  675. margin: 12rpx 0;
  676. .img {
  677. width: 72rpx;
  678. height: 72rpx;
  679. }
  680. .body {
  681. //margin: 0 12rpx;
  682. width: 100%;
  683. .line1,
  684. .line2 {
  685. display: flex;
  686. justify-content: space-between;
  687. }
  688. .line2 {
  689. color: rgba(119, 119, 119, 1);
  690. font-size: 24rpx;
  691. margin-top: 8rpx;
  692. }
  693. .line1 {
  694. font-size: 32rpx;
  695. .status {
  696. background-color: rgba(255, 61, 0, 1);
  697. font-size: 24rpx;
  698. color: #fff;
  699. padding: 2rpx 8rpx;
  700. //border-radius: 8rpx;
  701. }
  702. .status0 {
  703. background-color: #FF7B00;
  704. }
  705. .status1 {
  706. background-color: #007aff;
  707. }
  708. .status2 {
  709. background-color: #ff9900;
  710. }
  711. .status3 {
  712. background-color: #19be6b;
  713. }
  714. .status4 {
  715. border: 2rpx solid rgba(255, 61, 0, 1);
  716. color: rgba(255, 61, 0, 1);
  717. }
  718. }
  719. .errorDesc {
  720. margin: 8rpx 0;
  721. width: 480rpx;
  722. color: #777777;
  723. font-size: 24rpx;
  724. overflow: hidden;
  725. text-overflow: ellipsis;
  726. white-space: nowrap;
  727. /* 禁止换行,强制单行 */
  728. }
  729. }
  730. }
  731. // .item:not(:last-child) {
  732. // border-bottom:2rpx solid rgba(232,232,232,1);
  733. // }
  734. }
  735. }
  736. .getHourDistanceArrNum10 {
  737. color: #FF7B00;
  738. }
  739. .getHourDistanceArrNum12 {
  740. color: red;
  741. }
  742. .getHourDistanceArrNum24 {
  743. color: #8161FF;
  744. }
  745. .badge{
  746. //width: 40rpx;
  747. //height: 40rpx;
  748. background-color: red;
  749. border-radius: 50px;
  750. display: inline-block;
  751. padding: 2rpx 8rpx;
  752. color: #fff;
  753. text-align: center;
  754. font-size: 22rpx;
  755. display: flex;
  756. align-items: center;
  757. }
  758. </style>