index.vue 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. <template>
  2. <div class="main-contain">
  3. <!-- <div class="position">
  4. <bread-crumb></bread-crumb>
  5. </div>-->
  6. <section class="app-container app-main-bg">
  7. <div class="home-page">
  8. <div class="search clearfix">
  9. <input type="text" class="search-input" placeholder="病人姓名/透析号" v-model="searchKey" />
  10. <button class="search-button" @click="clickSearch">搜索</button>
  11. </div>
  12. <div class="ui-step clearfix">
  13. <h2 class="ui-step-tit">病人透析治疗流程</h2>
  14. <ul class="ui-step-ul">
  15. <li v-for="(item, index) in steps" :key="index" class="ui-step-done">
  16. <div class="ui-step-number">
  17. <i />
  18. </div>
  19. <div class="ui-step-title">{{ item.title }}</div>
  20. </li>
  21. </ul>
  22. </div>
  23. <!-- <el-steps :active="5" align-center>
  24. <el-step v-for="(item, index) in steps" :key="index" :title="item.title"></el-step>
  25. </el-steps>-->
  26. <div class="config-process">
  27. <h2 class="title">系统使用配置流程</h2>
  28. <ul class="process">
  29. <router-link
  30. v-for="(item, index) in process"
  31. tag="li"
  32. class="items"
  33. :key="index"
  34. :to="item.link"
  35. >
  36. <img :src="item.imgUrl" />
  37. <p class="name">{{ item.name }}</p>
  38. </router-link>
  39. </ul>
  40. </div>
  41. </div>
  42. <div class="main-r">
  43. <div class="res-widget">
  44. <ul>
  45. <li class="taocan-title clearfix">
  46. <div class="taocan-h2">{{subscibeBan.used}}</div>
  47. <div class="bar"></div>
  48. <div class="taocan-h1">{{subscibeBan.name}}</div>
  49. </li>
  50. <li class="taocan-item">
  51. <div class="ng-binding" :title="subscibeBan.desc">{{subscibeBan.desc}}</div>
  52. </li>
  53. <!-- <li class="taocan-item">
  54. <div class="ng-binding" :title="subscibeBan.detail">{{subscibeBan.detail}}</div>
  55. </li>
  56. <li class="taocan-item" v-if="this.subscibe.state==3 || this.subscibe.state==2 || leftTime<0">
  57. <div class="ng-binding" style="color:red" >如果您已经购买,请尝试重新登录刷新</div>
  58. </li>
  59. <li class="taocan-xufei">
  60. <div class="m-t-md" v-if="subscibeBan.leave"><div class="taocan-left-tip">{{subscibeBan.leave}}</div></div>
  61. <div class="taocan-leftday">
  62. <div class="taocan-left"></div>
  63. <div class="taocan-use clearfix" :style="subscibeBan.pce"></div>
  64. </div>
  65. <a class="btn clearfix" v-if="subscibeBan.pay_status" href="javascript:0" @click="openPay">立即购买</a>
  66. </li>-->
  67. </ul>
  68. </div>
  69. <div class="res-widget" v-if="patientData.length > 0">
  70. <ul>
  71. <li class="taocan-title clearfix">
  72. <div class="bar"></div>
  73. <div class="taocan-h1">传染病检查提醒通知</div>
  74. </li>
  75. </ul>
  76. <el-table
  77. :data="patientData"
  78. style="width: 100%"
  79. highlight-current-row
  80. :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
  81. >
  82. <el-table-column label="姓名" align="center">
  83. <template slot-scope="scope">{{scope.row.name}}</template>
  84. </el-table-column>
  85. <el-table-column label="检查日期" align="center">
  86. <template slot-scope="scope">
  87. <span
  88. v-if="dateCompare(scope.row.infectious_next_record_time) == 1"
  89. >{{ scope.row.infectious_next_record_time | parseTime('{y}-{m}-{d}')}}</span>
  90. <span
  91. v-if="dateCompare(scope.row.infectious_next_record_time) == 2"
  92. style="color: red"
  93. >{{ scope.row.infectious_next_record_time | parseTime('{y}-{m}-{d}')}}</span>
  94. </template>
  95. </el-table-column>
  96. <el-table-column label="操作" align="center">
  97. <template slot-scope="scope">
  98. <el-button size="mini" type="primary" @click="jump(scope.row.id)">查看</el-button>
  99. </template>
  100. </el-table-column>
  101. </el-table>
  102. <el-pagination
  103. @size-change="handleSizeChange"
  104. @current-change="handleCurrentChange"
  105. :page-size="5"
  106. background
  107. style="margin-top:20px;float: right"
  108. :total="total"
  109. ></el-pagination>
  110. </div>
  111. </div>
  112. </section>
  113. </div>
  114. </template>
  115. <script>
  116. import { GetServerTime } from "@/api/public";
  117. import { GetPatientTotal, GetRemind } from "@/api/patient";
  118. import BreadCrumb from "@/xt_pages/components/bread-crumb";
  119. export default {
  120. name: "Home",
  121. components: {
  122. BreadCrumb
  123. },
  124. data() {
  125. return {
  126. dialogVisible: false,
  127. searchKey: "",
  128. patientTotal: 0,
  129. patientData: [],
  130. steps: [
  131. { title: "透析处方" },
  132. { title: "接诊评估" },
  133. { title: "透前评估" },
  134. { title: "临时医嘱" },
  135. { title: "双人核对" },
  136. { title: "透析上机" },
  137. { title: "透析监测" },
  138. { title: "透析下机" },
  139. { title: "透后评估" },
  140. { title: "治疗小结" }
  141. ],
  142. process: [
  143. {
  144. imgUrl: require("../../assets/home/equipment.png"),
  145. name: "设备管理",
  146. link: "/device/main"
  147. },
  148. {
  149. imgUrl: require("../../assets/home/user.png"),
  150. name: "病人管理",
  151. link: "/patients/patients"
  152. },
  153. // { imgUrl: require('../../assets/home/sick.png'), name: '登记病人', link: '/patients/create' },
  154. // { imgUrl: require('../../assets/home/prescription.png'), name: '透析处方', link: '/dialysis/paper' },
  155. {
  156. imgUrl: require("../../assets/home/scheduling.png"),
  157. name: "病人排班",
  158. link: "/workforce/appointment"
  159. },
  160. {
  161. imgUrl: require("../../assets/home/record.png"),
  162. name: "透析记录",
  163. link: "/dialysis/dialysisrecord"
  164. },
  165. {
  166. imgUrl: require("../../assets/home/analyze.png"),
  167. name: "透析监控",
  168. link: "/dialysis/watch"
  169. }
  170. ],
  171. subscibe: {},
  172. subscibeBan: {
  173. used: "已使用0天",
  174. name: "免费版本",
  175. desc: "当前为免费版",
  176. detail: "可管理100位(含)以下患者",
  177. leave: "剩余0天",
  178. pay_status: false
  179. },
  180. serverTime: 0,
  181. leftTime: false,
  182. total: 0,
  183. page: 0,
  184. limit: 5
  185. };
  186. },
  187. methods: {
  188. dateCompare(date) {
  189. var date1 = Date.parse(new Date()) / 1000;
  190. // console.log(date);
  191. // console.log(date1);
  192. if (date > date1) {
  193. return 1;
  194. } else {
  195. return 2;
  196. }
  197. },
  198. jump(id) {
  199. this.$router.push({ path: "patients/inspection?id=" + id });
  200. },
  201. handleSizeChange(val) {},
  202. handleCurrentChange(val) {
  203. this.page = val;
  204. const params = {
  205. page: this.page,
  206. limit: 5
  207. };
  208. this.GetRemindPatientList(params);
  209. },
  210. GetRemindPatientList(params) {
  211. GetRemind(params)
  212. .then(response => {
  213. if (response.data.state == 1) {
  214. this.patientData = response.data.data.patients;
  215. this.total = response.data.data.total;
  216. } else {
  217. this.$message.error(response.data.msg);
  218. }
  219. })
  220. .catch(e => {});
  221. },
  222. GetPatientTotal() {
  223. GetPatientTotal()
  224. .then(response => {
  225. if (response.data.state == 1) {
  226. this.patientTotal = response.data.data.total;
  227. } else {
  228. this.$message.error(response.data.msg);
  229. }
  230. })
  231. .catch(e => {});
  232. },
  233. clickSearch() {
  234. if (this.searchKey.length > 0) {
  235. this.$router.push("/patients/patients?keyword=" + this.searchKey);
  236. } else {
  237. this.$router.push("/patients/patients");
  238. }
  239. },
  240. openPay() {
  241. this.$router.push("/service/buy");
  242. },
  243. GetServerTime() {
  244. GetServerTime()
  245. .then(response => {
  246. if (response.data.state == 1) {
  247. this.serverTime = response.data.data.timestamp;
  248. } else {
  249. this.serverTime = Math.round(new Date().getTime() / 1000);
  250. }
  251. })
  252. .catch(() => {
  253. this.serverTime = Math.round(new Date().getTime() / 1000);
  254. });
  255. },
  256. initSubscibe() {
  257. // state:1正版(标准),2试用(免费),3其他无效状态,8专业,9(永久免费),标准版和专业版会过期
  258. var used = Math.ceil(
  259. (this.serverTime - this.subscibe.period_start) / 86400
  260. );
  261. var leave = "";
  262. var pce = "";
  263. var leaveTime = 0;
  264. this.subscibe.state = 2; // 强制改为免费版
  265. switch (this.subscibe.state) {
  266. case 9:
  267. this.subscibeBan = {
  268. used: "已使用" + used + "天",
  269. name: "永久版",
  270. desc: "当前为永久免费版本",
  271. detail: "该版本不会过期,并可使用所有功能",
  272. leave: "",
  273. pay_status: false,
  274. pce: "width:100%"
  275. };
  276. break;
  277. case 2:
  278. // 免费版本不会过期,但有人数限制,免费版,可以管理20位(含)以下患者,当患者数过了20位,系统不能正常使用,达到18位时,要提醒购买,超过60位,要购买专业版
  279. pce = 0;
  280. if (this.patientTotal > 200) {
  281. leave = "管理患者数已达" + this.patientTotal + "位,请购买专业版";
  282. pce = 100;
  283. } else if (this.patientTotal > 100) {
  284. leave = "管理患者数已达" + this.patientTotal + "位,请购买标准版";
  285. pce = 100;
  286. } else if (this.patientTotal >= 90) {
  287. leave = "管理患者数已达" + this.patientTotal + "位,建议购买标准版";
  288. pce = Math.round((this.patientTotal / 100) * 100);
  289. }
  290. pce = "width:" + pce + "%";
  291. this.subscibeBan = {
  292. used: "已使用" + used + "天",
  293. name: "免费版",
  294. desc: "当前为免费版",
  295. detail: "可管理100位(含)以下患者",
  296. leave: leave,
  297. pay_status: !!leave,
  298. pce: pce
  299. };
  300. break;
  301. case 8:
  302. leaveTime = this.subscibe.period_end - this.serverTime;
  303. this.leftTime = leaveTime;
  304. if (leaveTime < 0) {
  305. leave = "已经过期";
  306. pce = "100";
  307. } else {
  308. leave = Math.floor(leaveTime / 86400);
  309. leave = leave > 30 ? "" : "剩余" + leave + "天";
  310. pce =
  311. 100 -
  312. Math.round(
  313. (leaveTime /
  314. (this.subscibe.period_end - this.subscibe.period_start)) *
  315. 100
  316. );
  317. }
  318. pce = "width:" + pce + "%";
  319. this.subscibeBan = {
  320. used: "已使用" + used + "天",
  321. name: "专业版",
  322. desc: "当前为专业版",
  323. detail: "不限患者",
  324. leave: leave,
  325. pay_status: !!leave,
  326. pce: pce
  327. };
  328. break;
  329. case 1:
  330. leaveTime = this.subscibe.period_end - this.serverTime;
  331. this.leftTime = leaveTime;
  332. if (leaveTime < 0) {
  333. leave = "已经过期";
  334. pce = "100";
  335. } else if (this.patientTotal > 200) {
  336. leave = "管理患者数已达" + this.patientTotal + "位,请购买专业版";
  337. pce = "width:100%";
  338. } else if (this.patientTotal >= 190) {
  339. leave = "管理患者数已达" + this.patientTotal + "位,建议购买专业版";
  340. pce = Math.round((this.patientTotal / 200) * 100);
  341. } else {
  342. leave = Math.floor(leaveTime / 86400);
  343. leave = leave > 30 ? "" : "剩余" + leave + "天,建议购买标准版";
  344. pce =
  345. 100 -
  346. Math.round(
  347. (leaveTime /
  348. (this.subscibe.period_end - this.subscibe.period_start)) *
  349. 100
  350. );
  351. }
  352. pce = "width:" + pce + "%";
  353. this.subscibeBan = {
  354. used: "已使用" + used + "天",
  355. name: "标准版",
  356. desc: "当前为标准版",
  357. detail: "可管理200位(含)以下患者",
  358. leave: leave,
  359. pay_status: !!leave,
  360. pce: pce
  361. };
  362. break;
  363. default:
  364. this.subscibeBan = {
  365. used: "",
  366. name: "未订阅服务",
  367. desc: "当前未订阅服务",
  368. detail: "无法使用血透系统",
  369. leave: "",
  370. pay_status: true,
  371. pce: ""
  372. };
  373. break;
  374. }
  375. }
  376. },
  377. created() {
  378. this.subscibe = this.$store.getters.xt_user.subscibe;
  379. this.GetPatientTotal();
  380. this.GetServerTime();
  381. const params = {
  382. page: this.page + 1,
  383. limit: this.limit
  384. };
  385. this.GetRemindPatientList(params);
  386. },
  387. watch: {
  388. serverTime: function() {
  389. if (this.serverTime > 0 && this.patientTotal > 0) {
  390. this.initSubscibe();
  391. }
  392. },
  393. patientTotal: function() {
  394. if (this.serverTime > 0 && this.patientTotal > 0) {
  395. this.initSubscibe();
  396. }
  397. }
  398. }
  399. };
  400. </script>
  401. <style rel="stylesheet/scss" lang="scss" scoped>
  402. .app-main-bg {
  403. // background: #f6f8f9;
  404. min-height: calc(100vh - 140px);
  405. overflow: hidden;
  406. display: -webkit-box;
  407. display: -ms-flexbox;
  408. display: flex;
  409. padding: 10px;
  410. margin-top: 15px;
  411. .home-page {
  412. font-family: "Microsoft Yahei";
  413. -webkit-box-flex: 1;
  414. -ms-flex: 1;
  415. flex: 1;
  416. .search {
  417. margin: 0 auto;
  418. margin-top: 16px;
  419. width: 472px;
  420. .search-input {
  421. width: 400px;
  422. height: 42px;
  423. line-height: 42px;
  424. padding-left: 15px;
  425. border: 1px #ebeef0 solid;
  426. border-right: none;
  427. outline: none;
  428. float: left;
  429. border-radius: 6px 0 0 6px;
  430. font-size: 14px;
  431. color: #333;
  432. background: #fff;
  433. box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
  434. }
  435. .search-button {
  436. background-color: #409eff;
  437. color: #fff;
  438. font-size: 15px;
  439. text-align: center;
  440. height: 42px;
  441. line-height: 42px;
  442. float: left;
  443. outline: none;
  444. width: 70px;
  445. border: none;
  446. border-radius: 0 6px 6px 0;
  447. font-family: "Microsoft Yahei";
  448. cursor: pointer;
  449. -webkit-box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
  450. box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
  451. }
  452. }
  453. .ui-step {
  454. margin: 20px 6px 0 6px;
  455. padding: 10px 0 20px 0;
  456. zoom: 1;
  457. background: #fff;
  458. box-shadow: 0 4px 12px rgba(135, 135, 135, 0.15);
  459. .ui-step-tit {
  460. font-size: 18px;
  461. text-align: center;
  462. color: #34495e;
  463. font-weight: 700;
  464. height: 50px;
  465. line-height: 50px;
  466. }
  467. .ui-step-ul {
  468. list-style: none;
  469. .ui-step-done {
  470. float: left;
  471. position: relative;
  472. -webkit-box-sizing: border-box;
  473. -moz-box-sizing: border-box;
  474. box-sizing: border-box;
  475. text-align: center;
  476. width: 10%;
  477. &:before,
  478. &:after {
  479. position: absolute;
  480. left: 0;
  481. top: 21px;
  482. display: block;
  483. content: " ";
  484. content: " ";
  485. width: 50%;
  486. height: 1px;
  487. background: #409eff;
  488. z-index: 1;
  489. }
  490. &:after {
  491. left: 50%;
  492. }
  493. &:first-child:before,
  494. &:last-child::after {
  495. width: 0;
  496. }
  497. .ui-step-title {
  498. color: #34495e;
  499. font-size: 13px;
  500. font-weight: normal;
  501. line-height: 18px;
  502. }
  503. .ui-step-number {
  504. position: relative;
  505. display: inline-block;
  506. width: 22px;
  507. height: 22px;
  508. margin: 10px 0;
  509. line-height: 22px;
  510. background: #409eff;
  511. color: #fff;
  512. border-radius: 100%;
  513. -webkit-box-sizing: border-box;
  514. -moz-box-sizing: border-box;
  515. box-sizing: border-box;
  516. z-index: 2;
  517. border: 1px #409eff solid;
  518. i {
  519. position: absolute;
  520. left: 4px;
  521. top: 6px;
  522. width: 12px;
  523. height: 6px;
  524. border: 2px #fff solid;
  525. color: #fff;
  526. z-index: 9;
  527. border-top: none;
  528. border-right: none;
  529. transform: rotate(-45deg);
  530. -webkit-transform: rotate(-45deg);
  531. -moz-transform: rotate(-45deg);
  532. -ms-transform: rotate(-45deg);
  533. -o-transform: rotate(-45deg);
  534. }
  535. }
  536. }
  537. }
  538. }
  539. .config-process {
  540. margin-top: 30px;
  541. .title {
  542. font-size: 18px;
  543. text-align: center;
  544. color: #34495e;
  545. font-weight: 700;
  546. height: 50px;
  547. line-height: 50px;
  548. }
  549. .process {
  550. display: -webkit-box;
  551. display: -ms-flexbox;
  552. display: flex;
  553. -webkit-box-align: center;
  554. -ms-flex-align: center;
  555. align-items: center;
  556. justify-content: center;
  557. text-align: center;
  558. padding-left: 0;
  559. .items {
  560. list-style: none;
  561. box-shadow: 0 4px 12px rgba(135, 135, 135, 0.15);
  562. -webkit-box-flex: 1;
  563. -ms-flex: 1;
  564. flex: 1;
  565. margin: 0 6px;
  566. background: #fff;
  567. padding: 22px 0;
  568. cursor: pointer;
  569. .name {
  570. font-size: 14px;
  571. color: #34495e;
  572. line-height: 24px;
  573. }
  574. }
  575. }
  576. }
  577. }
  578. .main-r {
  579. min-width: 290px;
  580. margin: 0 0 0 10px;
  581. .res-widget {
  582. min-height: 80px;
  583. background: #fff;
  584. padding: 10px 20px;
  585. margin-bottom: 15px;
  586. border-radius: 2px;
  587. // box-shadow: 0 0 4px 0 rgba(200, 200, 200, 0.5);
  588. -webkit-box-shadow: 0 4px 12px rgba(135, 135, 135, 0.15);
  589. box-shadow: 0 4px 12px rgba(135, 135, 135, 0.15);
  590. background-color: #fff;
  591. color: #34495e;
  592. font-size: 12px;
  593. ul {
  594. padding: 0;
  595. margin: 0;
  596. .taocan-title {
  597. font-weight: 700;
  598. padding: 10px 0;
  599. list-style: none;
  600. .taocan-h2 {
  601. font-weight: 400;
  602. float: right;
  603. font-size: 12px;
  604. color: gray;
  605. }
  606. .bar {
  607. display: inline-block;
  608. width: 3px;
  609. height: 14px;
  610. background-color: #2589ff;
  611. float: left;
  612. margin-top: 1px;
  613. }
  614. .taocan-h1 {
  615. padding-left: 5px;
  616. overflow: hidden;
  617. display: inline-block;
  618. font-size: 14px;
  619. font-weight: 700;
  620. float: left;
  621. }
  622. }
  623. .taocan-item {
  624. border-bottom: 1px solid #f1f1f1;
  625. padding: 10px 0;
  626. font-size: 12px;
  627. }
  628. .taocan-xufei {
  629. text-align: center;
  630. .m-t-md {
  631. margin-top: 20px;
  632. text-align: right;
  633. .taocan-left-tip {
  634. position: relative;
  635. font-size: 11px;
  636. border-radius: 1px;
  637. padding: 2px;
  638. display: inline-block;
  639. color: #ff7979;
  640. &::before {
  641. content: "";
  642. position: absolute;
  643. top: 0;
  644. left: 0;
  645. right: 0;
  646. bottom: 0;
  647. background: #ff7979;
  648. opacity: 0.2;
  649. border-radius: 1px;
  650. }
  651. }
  652. }
  653. .taocan-leftday {
  654. position: relative;
  655. height: 4px;
  656. margin: 5px 0 10px;
  657. .taocan-left {
  658. z-index: 1;
  659. position: absolute;
  660. left: 0;
  661. right: 0;
  662. top: 0;
  663. bottom: 0;
  664. border-radius: 2px;
  665. background: #f2f2f6;
  666. }
  667. .taocan-use {
  668. max-width: 100%;
  669. position: absolute;
  670. left: 0;
  671. z-index: 2;
  672. top: 0;
  673. bottom: 0;
  674. border-radius: 2px;
  675. background: #ff7979;
  676. text-align: center;
  677. }
  678. }
  679. .btn {
  680. display: inline-block;
  681. margin-bottom: 0;
  682. font-weight: 400;
  683. text-align: center;
  684. vertical-align: middle;
  685. -ms-touch-action: manipulation;
  686. touch-action: manipulation;
  687. cursor: pointer;
  688. background-image: none;
  689. border: 1px solid transparent;
  690. white-space: nowrap;
  691. padding: 6px 12px;
  692. font-size: 12px;
  693. line-height: 1.3rem;
  694. border-radius: 4px;
  695. -webkit-user-select: none;
  696. -moz-user-select: none;
  697. -ms-user-select: none;
  698. user-select: none;
  699. width: 100%;
  700. background-color: #ff7979;
  701. border-color: #ff7979;
  702. color: #fff;
  703. }
  704. }
  705. }
  706. .notice-widget {
  707. .notice-title {
  708. font-weight: 700;
  709. padding: 10px 0;
  710. .pull-right {
  711. display: inline-block !important;
  712. float: right !important;
  713. .notice-more {
  714. color: #409eff !important;
  715. font-weight: 400 !important;
  716. }
  717. }
  718. .bar {
  719. display: inline-block;
  720. width: 3px;
  721. height: 14px;
  722. background-color: #2589ff;
  723. float: left;
  724. }
  725. .notice-h1 {
  726. padding-left: 5px;
  727. overflow: hidden;
  728. font-size: 14px;
  729. }
  730. }
  731. .notice-item {
  732. border-bottom: 1px solid #f1f1f1;
  733. padding: 10px 0;
  734. .text-muted {
  735. color: #9797a1 !important;
  736. display: inline-block !important;
  737. float: right !important;
  738. font-size: 12px;
  739. margin: 3px 0 0 0;
  740. }
  741. .text {
  742. a {
  743. line-height: 20px;
  744. }
  745. }
  746. }
  747. }
  748. }
  749. }
  750. }
  751. @media (min-width: 768px) {
  752. .main-r {
  753. width: 16.66666667%;
  754. }
  755. }
  756. .newLine {
  757. display: flex;
  758. justify-content: space-between;
  759. height: 40px;
  760. line-height: 40px;
  761. border-bottom: 1px solid #ccc;
  762. }
  763. </style>