Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

index.vue 23KB

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