cbwarn.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  1. <template>
  2. <view class="content">
  3. <view class="cbwtop">
  4. <image :src="
  5. 'http://www.hnyfwlw.com:8006/bigdata_app/image/cbyj/banner2.png'
  6. " mode="" class="image">
  7. </image>
  8. <view class="tab-box">
  9. <view v-for="(item, index) in equipArr" :key="index" @click="tabClick(index)"
  10. :class="['tab-item', active == index ? 'active' : '']">
  11. <text>{{ item }}</text>
  12. <text class="bottom-line"></text>
  13. </view>
  14. </view>
  15. <view class="timeandtype" v-if="active==0">
  16. <view class="timebox">
  17. <view class="firsttime" @click="timeshow=true">
  18. {{start_time==""?'请选择开始时间':start_time}}
  19. </view>
  20. <view class="jiange">
  21. -
  22. </view>
  23. <view class="endtime" @click="timeshow=true">
  24. {{end_time==""?'请选择结束时间':end_time}}
  25. </view>
  26. <view class="jiange" @click="closetime">
  27. <u-icon name="close-circle" color="#999999"></u-icon>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="" v-show="active==0">
  33. <view class="warmlistbox">
  34. <view class="warmlistbox_item" v-for="item in wranlistdata" :key="item.id" @click="singleread(item)">
  35. <view class="warmlistbox_item_title" :style="{'border-color':item.status==1?'#14A478':'#fd4646'}">
  36. <!-- {{recordtypelist[item.warning_type].label}} -->
  37. 气象预警
  38. </view>
  39. <view class="warmlistbox_item_text">
  40. <view class="item_text_item">
  41. <view class="item_text_item_f">
  42. 设备编号:
  43. </view>
  44. <view class="item_text_item_e">
  45. {{item.device_id}}
  46. </view>
  47. </view>
  48. <view class="item_text_item">
  49. <view class="item_text_item_f">
  50. 设备位置:
  51. </view>
  52. <view class="item_text_item_e" style="display: flex;">
  53. <u-icon name="map-fill" color="#14A478" @click.stop="tomap(item)"></u-icon>
  54. <view class="" style="margin-left: 10rpx;color: #14A478;" @click.stop="tomap(item)">
  55. 查看
  56. </view>
  57. </view>
  58. </view>
  59. <view class="item_text_item">
  60. <view class="item_text_item_f">
  61. 设备预警:
  62. </view>
  63. <view class="item_text_item_e">
  64. {{item.warning_content}}
  65. </view>
  66. </view>
  67. <view class="item_text_sta">
  68. <view class="" style="color: #959699;">
  69. {{item.upl_time | timeFormat()}}
  70. </view>
  71. <view class="" :style="{'margin-left':'10rpx','color':item.status==1?'#959699':'#FD4646'}">
  72. {{item.status==1?'已读':'未读'}}
  73. </view>
  74. </view>
  75. </view>
  76. </view>
  77. </view>
  78. </view>
  79. <view class="warmissuebox" v-show="active == 1">
  80. <view class="warmissue">
  81. <view class="warmissue_itemone">
  82. <view class="">
  83. 短信剩余条数:
  84. </view>
  85. <view class="">
  86. {{total_sms_counts}}
  87. </view>
  88. </view>
  89. <view class="warmissue_item">
  90. <view class="warmissue_item_title">
  91. 短信内容:
  92. </view>
  93. <view class="warmissue_item_text">
  94. <view class="">
  95. 尊敬的用户您好,管理员 提醒您,结合近期设备上报的数据,
  96. </view>
  97. <view class="" style="margin: 20rpx 0 ;">
  98. <u-input v-model="wormvalue" type="textarea" :border="true" maxlength="30" />
  99. </view>
  100. <view class="">
  101. 请注意防范。
  102. </view>
  103. </view>
  104. </view>
  105. <view class="">
  106. <view class="warmissue_itemone">
  107. <view class="">
  108. 短信接受人:
  109. </view>
  110. <view class="" style="color: #14A478;" @click="tobook">
  111. 预警通讯录编辑
  112. </view>
  113. </view>
  114. <view class="warmissue_itemtwo" @click="accServiceShow = true">
  115. <view class="itemtwo_left" v-show="!userphone.length">
  116. 请选择短信接收人
  117. </view>
  118. <view class="itemtwo_left" v-show="userphone.length">
  119. <view class="" style="margin-right: 20rpx;" v-for="item in userphone" :key="item.value">
  120. {{item.name}}
  121. </view>
  122. </view>
  123. <u-icon name="arrow-down" class="icon" color="#999999"></u-icon>
  124. </view>
  125. </view>
  126. </view>
  127. <view class="sendbox" @click="send">
  128. 发送预警
  129. </view>
  130. </view>
  131. <view class="wornsetbox" v-show="active == 2">
  132. <u-swipe-action :show="item.show" :index="index" v-for="(item, index) in configlist" :key="item.id"
  133. @click="delconfig(item.id)" :options="options" style="margin-bottom: 30rpx;">
  134. <view class="wornsetbox_item" @click="toset(item.id)">
  135. <view class="">
  136. {{item.title}}
  137. </view>
  138. <view class="" @click.stop>
  139. <u-switch v-model="item.statustf" size="40" style="margin-top: 13rpx;"
  140. @change="swichchange($event,item.id)"></u-switch>
  141. </view>
  142. </view>
  143. </u-swipe-action>
  144. </view>
  145. <view class="addwarnlist" v-show="active == 2" @click="addshow = true">
  146. 添 加
  147. </view>
  148. <view class="">
  149. <u-mask :show="accServiceShow" z-index="998"></u-mask>
  150. <u-calendar v-model="timeshow" :mode="mode" @change="timechange"></u-calendar>
  151. <multiple-select v-model="accServiceShow" :value="accServiceShow" :data="serviceList"
  152. :default-selected="defaultSelected" @confirm="accServiceConfirm"></multiple-select>
  153. <u-modal v-model="modalshow" title="短信预警详情" :content="content" @confirm="singlereadsure"></u-modal>
  154. <u-modal v-model="addshow" title="添加预警" :show-cancel-button="true" @confirm="addwarning_config">
  155. <view class="addinfobox">
  156. <view class="addinfobox_title">
  157. <span>*</span>
  158. <span>预警名称</span>
  159. </view>
  160. <u-input v-model="addvalue" maxlength="10" />
  161. </view>
  162. </u-modal>
  163. </view>
  164. <view class="top" v-if="active!=1">
  165. <view class="backtop" @click="top" v-if="isTop">
  166. <image :src="src" mode=""></image>
  167. </view>
  168. <view class="more" @click="allread" v-show="active==0">
  169. <view class="">
  170. 一键
  171. </view>
  172. <view class="">
  173. 已读
  174. </view>
  175. </view>
  176. </view>
  177. </view>
  178. </template>
  179. <script>
  180. import multipleSelect from "../../components/multiple-select.vue";
  181. export default {
  182. components: {
  183. multipleSelect,
  184. },
  185. data() {
  186. return {
  187. date: "",
  188. active: 0,
  189. equipArr: ["预警记录", "预警发布", "预警设置"],
  190. timeshow: false,
  191. mode: 'range',
  192. start_time: "",
  193. end_time: "",
  194. wranlistdata: [],
  195. listpage: 1,
  196. defaultSelected: [], //默认选中项
  197. serviceList: [{
  198. value: "1",
  199. name: "目标种类预警",
  200. },
  201. {
  202. value: "2",
  203. name: "指定害虫数量预警",
  204. },
  205. {
  206. value: "3",
  207. name: "害虫数量总和预警",
  208. },
  209. {
  210. value: "4",
  211. name: "综合预警",
  212. },
  213. ], //传递给子组件的数据
  214. accServiceShow: false,
  215. wormvalue: "",
  216. userphone: [],
  217. total_sms_counts: "",
  218. isTop: false,
  219. src: '../../static/images/1.png',
  220. src1: '../../static/images/b0bcdb0e3fe8690520f743aa8303bf2.png',
  221. filtrateTF: false,
  222. modalshow: false,
  223. content: '',
  224. warmstatus: {
  225. },
  226. //预警设置
  227. configlist: [],
  228. addvalue: "",
  229. addshow: false,
  230. options: [{
  231. text: '删除',
  232. style: {
  233. backgroundColor: '#dd524d'
  234. }
  235. }],
  236. confpage:1
  237. }
  238. },
  239. methods: {
  240. tabClick(index) {
  241. this.active = index
  242. if (index == 0) {
  243. this.listpage = 1
  244. this.wranlistdata = []
  245. this.getwranlistdata()
  246. } else if (index == 1) {
  247. this.getmessagescounts()
  248. } else if (index == 2) {
  249. this.confpage = 1
  250. this.configlist = []
  251. this.getconfiglist()
  252. }
  253. },
  254. timechange(e) {
  255. console.log(e)
  256. this.start_time = e.startDate
  257. this.end_time = e.endDate
  258. this.listpage = 1
  259. this.wranlistdata = []
  260. this.getwranlistdata()
  261. },
  262. closetime() {
  263. this.start_time = ""
  264. this.end_time = ""
  265. this.listpage = 1
  266. this.wranlistdata = []
  267. this.getwranlistdata()
  268. },
  269. async getwranlistdata() {
  270. var end_time = ""
  271. var start_time = ""
  272. if(this.end_time!=""){
  273. end_time = Math.floor(+new Date(this.end_time)/1000)
  274. }else{
  275. end_time = ""
  276. }
  277. if(this.start_time!=""){
  278. start_time = Math.floor(+new Date(this.start_time)/1000)
  279. }else{
  280. start_time = ""
  281. }
  282. const res = await this.$myRequest({
  283. url: '/api/api_gateway?method=device.device_sms_alert.user_qxz_warning_list',
  284. data: {
  285. end_time: end_time,
  286. page: this.listpage,
  287. page_size: "10",
  288. start_time: start_time,
  289. }
  290. })
  291. console.log(res)
  292. this.wranlistdata = this.wranlistdata.concat(res.data)
  293. },
  294. tomap(data) {
  295. uni.navigateTo({
  296. url: "../cbqxyj/basemap?device_id=" + data.device_id,
  297. })
  298. },
  299. accServiceConfirm(e) {
  300. console.log(e)
  301. this.userphone = e
  302. },
  303. async getuseriphonelist() {
  304. const res = await this.$myRequest({
  305. url: '/api/api_gateway?method=device.device_sms_alert.user_warning_liaisons_list',
  306. data: {
  307. page: 1,
  308. page_size: 9999999,
  309. }
  310. })
  311. console.log(res)
  312. this.serviceList = []
  313. for (var i = 0; i < res.data.length; i++) {
  314. var obj = {
  315. value: res.data[i].d_id,
  316. name: res.data[i].liaisons + "/" + res.data[i].phone,
  317. }
  318. this.serviceList.push(obj)
  319. }
  320. },
  321. async getmessagescounts() {
  322. const res = await this.$myRequest({
  323. url: '/api/api_gateway?method=device.device_sms_alert.remaining_messages_counts',
  324. data: {}
  325. })
  326. console.log(res)
  327. this.total_sms_counts = res.total_sms_counts
  328. },
  329. async send() {
  330. if (this.wormvalue == "") {
  331. uni.showToast({
  332. title: "请填写短信预警信息",
  333. icon: "none"
  334. })
  335. } else if (this.userphone.length == 0) {
  336. uni.showToast({
  337. title: "请选择短信接收人",
  338. icon: "none"
  339. })
  340. } else {
  341. var list = []
  342. for (var i = 0; i < this.userphone.length; i++) {
  343. list.push(this.userphone[i].value)
  344. }
  345. const res = await this.$myRequest({
  346. url: '/api/api_gateway?method=device.device_sms_alert.user_pest_warning_release',
  347. data: {
  348. send_user: list.join(","),
  349. content: this.wormvalue,
  350. device_type_id: 5
  351. }
  352. })
  353. console.log(res)
  354. if (res) {
  355. uni.showToast({
  356. title: "发送成功",
  357. icon: "none"
  358. })
  359. } else {
  360. uni.showToast({
  361. title: "发送失败",
  362. icon: "none"
  363. })
  364. }
  365. }
  366. },
  367. tobook() {
  368. uni.navigateTo({
  369. url: "../cbqxyj/addressbook"
  370. })
  371. },
  372. async allread() {
  373. const res = await this.$myRequest({
  374. url: '/api/api_gateway?method=device.device_sms_alert.user_qxz_warning_record_read',
  375. data: {
  376. req: "all",
  377. }
  378. })
  379. if (res) {
  380. uni.showToast({
  381. title: "已完成一键已读",
  382. icon: "none"
  383. })
  384. }
  385. },
  386. singleread(data) {
  387. console.log(data)
  388. this.modalshow = true
  389. this.content = data.warning_content
  390. this.warmstatus = data
  391. },
  392. async singlereadsure() {
  393. if (this.warmstatus.status == 0) {
  394. const res = await this.$myRequest({
  395. url: '/api/api_gateway?method=device.device_sms_alert.user_qxz_warning_record_read',
  396. data: {
  397. id: this.warmstatus.id,
  398. }
  399. })
  400. if (res) {
  401. uni.showToast({
  402. title: "此条预警已读",
  403. icon: "none"
  404. })
  405. this.listpage = 1
  406. this.wranlistdata = []
  407. this.getwranlistdata()
  408. }
  409. }
  410. },
  411. top() {
  412. uni.pageScrollTo({
  413. scrollTop: 0,
  414. duration: 500,
  415. });
  416. },
  417. async getconfiglist() {
  418. const res = await this.$myRequest({
  419. url: '/api/api_gateway?method=device.device_sms_alert.user_warning_config_list',
  420. data: {
  421. device_type_id: "5",
  422. page: this.confpage,
  423. page_size: "10",
  424. }
  425. })
  426. console.log(res.data)
  427. for (var i = 0; i < res.data.length; i++) {
  428. res.data[i]["statustf"] = res.data[i].status == 1 ? true : false
  429. }
  430. this.configlist = this.configlist.concat(res.data)
  431. console.log(this.configlist)
  432. },
  433. async swichchange(e, id) {
  434. // console.log(e, id)
  435. // console.log(this.configlist)
  436. const res = await this.$myRequest({
  437. url: '/api/api_gateway?method=device.device_sms_alert.modify_user_warning_config_status',
  438. data: {
  439. id: id,
  440. status: e ? 1 : 0,
  441. }
  442. })
  443. if (res) {
  444. uni.showToast({
  445. title: "状态修改成功",
  446. icon: "none"
  447. })
  448. }
  449. this.configlist = []
  450. this.confpage = 1
  451. this.getconfiglist()
  452. },
  453. toset(id) {
  454. console.log(id)
  455. uni.navigateTo({
  456. url: "./warnset?id=" + id
  457. })
  458. },
  459. async addwarning_config() {
  460. this.addshow = true
  461. if (this.addvalue == "") {
  462. uni.showToast({
  463. title: "请填写预警名称",
  464. icon: "none"
  465. })
  466. } else {
  467. const res = await this.$myRequest({
  468. url: '/api/api_gateway?method=device.device_sms_alert.create_user_warning_config',
  469. data: {
  470. title: this.addvalue,
  471. device_type_id: 5
  472. }
  473. })
  474. console.log(res)
  475. if (res) {
  476. this.addshow = false
  477. this.configlist = []
  478. this.confpage = 1
  479. this.getconfiglist()
  480. }
  481. }
  482. },
  483. async delconfig(id){
  484. const res = await this.$myRequest({
  485. url: '/api/api_gateway?method=device.device_sms_alert.del_user_warning_config_status',
  486. data: {
  487. id:id
  488. }
  489. })
  490. console.log(res)
  491. if (res) {
  492. this.configlist = []
  493. this.confpage = 1
  494. this.getconfiglist()
  495. }
  496. }
  497. },
  498. onLoad() {
  499. this.getwranlistdata()
  500. // this.getmessagescounts()
  501. // this.getconfiglist()
  502. },
  503. onShow() {
  504. this.getuseriphonelist()
  505. },
  506. onReachBottom() {
  507. if (this.active == 0) {
  508. this.listpage++
  509. this.getwranlistdata()
  510. } else if (this.ctive == 2) {
  511. this.confpage++
  512. this.getconfiglist()
  513. }
  514. },
  515. onPageScroll(e) {
  516. //nvue暂不支持滚动监听,可用bindingx代替
  517. if (e.scrollTop > 200) {
  518. //距离大于200时显示
  519. this.isTop = true;
  520. } else {
  521. //距离小于200时隐藏
  522. this.isTop = false;
  523. }
  524. },
  525. }
  526. </script>
  527. <style lang="less">
  528. page {
  529. background-color: #F6F6FB;
  530. }
  531. .cbwtop {
  532. position: fixed;
  533. top: 0px;
  534. width: 100%;
  535. z-index: 555;
  536. background-color: #fff;
  537. .image {
  538. width: 100%;
  539. height: 160rpx;
  540. }
  541. .tab-box {
  542. font-size: 30rpx;
  543. line-height: 80rpx;
  544. background-color: #ffffff;
  545. width: 100%;
  546. overflow: hidden;
  547. overflow-x: scroll;
  548. white-space: nowrap;
  549. .tab-item {
  550. cursor: pointer;
  551. position: relative;
  552. width: 25%;
  553. text-align: center;
  554. display: inline-block;
  555. }
  556. .tab-item.active {
  557. .bottom-line {
  558. bottom: 0;
  559. position: absolute;
  560. display: inline-block;
  561. width: 90rpx;
  562. height: 6rpx;
  563. left: 0;
  564. right: 0;
  565. margin: auto;
  566. background: #57C878;
  567. }
  568. }
  569. }
  570. .timeandtype {
  571. background-color: #F6F6FB;
  572. padding: 20rpx;
  573. box-sizing: border-box;
  574. .timebox {
  575. display: flex;
  576. background-color: #fff;
  577. padding: 10px;
  578. border-top-right-radius: 5px;
  579. border-top-left-radius: 5px;
  580. .jiange {
  581. width: 5%;
  582. text-align: center;
  583. }
  584. .firsttime,
  585. .endtime {
  586. width: 45%;
  587. text-align: center;
  588. }
  589. }
  590. .warntypebox {
  591. display: flex;
  592. justify-content: space-between;
  593. background-color: #fff;
  594. padding: 10px;
  595. border-top: 1px solid #F6F6FB;
  596. border-bottom-right-radius: 5px;
  597. border-bottom-left-radius: 5px;
  598. }
  599. }
  600. }
  601. .warmlistbox {
  602. width: 95%;
  603. margin: 0 auto;
  604. padding-top: 370rpx;
  605. .warmlistbox_item {
  606. padding: 20rpx 0;
  607. box-sizing: border-box;
  608. background-color: #fff;
  609. border-radius: 10rpx;
  610. margin-bottom: 20rpx;
  611. .warmlistbox_item_title {
  612. border-left: 8rpx solid #14A478;
  613. padding-left: 30rpx;
  614. }
  615. .warmlistbox_item_text {
  616. width: 90%;
  617. margin: 0 auto;
  618. margin-top: 20rpx;
  619. border-top: 1px solid #F2F2F2;
  620. padding: 20rpx 0;
  621. .item_text_item {
  622. margin-bottom: 7px;
  623. display: flex;
  624. .item_text_item_f {
  625. width: 140rpx;
  626. }
  627. .item_text_item_e {
  628. width: calc(100% - 140rpx);
  629. display: -webkit-box; //谷歌
  630. -webkit-box-orient: vertical;
  631. -webkit-line-clamp: 4; //显示几行
  632. overflow: hidden;
  633. }
  634. }
  635. .item_text_sta {
  636. display: flex;
  637. justify-content: flex-end;
  638. }
  639. }
  640. }
  641. }
  642. .warmissuebox {
  643. width: 95%;
  644. margin: 0 auto;
  645. padding-top: 270rpx;
  646. .warmissue {
  647. width: 95%;
  648. margin: 0 auto;
  649. padding: 20rpx;
  650. background-color: #fff;
  651. border-radius: 5px;
  652. .warmissue_itemone {
  653. margin-bottom: 60rpx;
  654. display: flex;
  655. justify-content: space-between;
  656. }
  657. .warmissue_item {
  658. margin-bottom: 60rpx;
  659. display: flex;
  660. .warmissue_item_title {
  661. width: 160rpx;
  662. }
  663. .warmissue_item_text {
  664. width: calc(100% - 160rpx);
  665. }
  666. }
  667. .warmissue_itemtwo {
  668. display: flex;
  669. .itemtwo_left {
  670. width: calc(100% - 40rpx);
  671. display: flex;
  672. flex-wrap: wrap;
  673. }
  674. .icon {
  675. width: 40rpx;
  676. }
  677. }
  678. }
  679. .sendbox {
  680. margin: 40rpx auto;
  681. width: 80%;
  682. background-color: #14A478;
  683. padding: 20rpx 0;
  684. border-radius: 59px;
  685. text-align: center;
  686. color: #fff;
  687. }
  688. }
  689. .wornsetbox {
  690. width: 95%;
  691. margin: 0 auto;
  692. padding-top: 270rpx;
  693. .wornsetbox_item {
  694. padding: 30rpx 20rpx;
  695. background-color: #fff;
  696. width: 100%;
  697. display: flex;
  698. justify-content: space-between;
  699. box-sizing: border-box;
  700. line-height: 64rpx;
  701. height: 124rpx;
  702. // margin-bottom: 30rpx;
  703. }
  704. }
  705. .addwarnlist {
  706. position: absolute;
  707. bottom: 20rpx;
  708. left: 10%;
  709. margin: 40rpx auto;
  710. width: 80%;
  711. background-color: #14A478;
  712. padding: 20rpx 0;
  713. border-radius: 59px;
  714. text-align: center;
  715. color: #fff;
  716. }
  717. .addinfobox {
  718. display: flex;
  719. margin: 30rpx 0;
  720. .addinfobox_title {
  721. line-height: 70rpx;
  722. width: 30%;
  723. text-align: center;
  724. span:first-child {
  725. color: red;
  726. }
  727. }
  728. /deep/.u-input__right-icon {
  729. line-height: 35px;
  730. }
  731. }
  732. /deep/.u-calendar__action {
  733. display: flex;
  734. justify-content: space-around;
  735. .u-calendar__action__text {
  736. line-height: 25px;
  737. }
  738. }
  739. .top {
  740. position: fixed;
  741. right: 10px;
  742. bottom: 40px;
  743. z-index: 100;
  744. image {
  745. width: 100rpx;
  746. height: 100rpx;
  747. }
  748. .backtop {
  749. display: flex;
  750. justify-content: flex-end;
  751. margin-bottom: 10rpx;
  752. }
  753. .more {
  754. width: 100rpx;
  755. height: 100rpx;
  756. background-color: rgba(161, 161, 161, 0.45);
  757. border-radius: 50%;
  758. text-align: center;
  759. padding-top: 10rpx;
  760. line-height: 40rpx;
  761. box-sizing: border-box;
  762. margin: 14rpx 0 0 0;
  763. color: #fff;
  764. }
  765. }
  766. </style>