血透系统pad前端

style.scss 15KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. .body {
  2. background: $base-color;
  3. }
  4. #app {
  5. width: 100%;
  6. height: 100%;
  7. }
  8. .iconfont {
  9. color: #a8b3ba;
  10. }
  11. .mainBox {
  12. background: #fff;
  13. font-size: 0.3rem;
  14. }
  15. .plateTitle {
  16. border-bottom: 1px solid rgba(193, 193, 193, 0.4);
  17. line-height: 1rem;
  18. @include text-align;
  19. font-size: 0.36rem;
  20. color: $main-color;
  21. font-weight: 600;
  22. position: relative;
  23. @include display-flex;
  24. @include align-items-center;
  25. width: 100%;
  26. @include justify-content-center;
  27. .line {
  28. width: 0.2rem;
  29. height: 0.04rem;
  30. background: $main-color;
  31. z-index: 99;
  32. display: inline-block;
  33. margin: 0 0.2rem;
  34. }
  35. }
  36. .blueBorder {
  37. height: 0.2rem;
  38. line-height: 0.2rem;
  39. background: #ebf1f7;
  40. }
  41. // 数据详情
  42. .plate-box {
  43. background: $text-color;
  44. padding: 0 0 0.3rem 0;
  45. .title {
  46. border-bottom: 1px $border-color solid;
  47. line-height: 1rem;
  48. @include text-align;
  49. font-size: 0.36rem;
  50. color: $main-color;
  51. font-weight: 600;
  52. position: relative;
  53. @include display-flex;
  54. @include align-items-center;
  55. width: 100%;
  56. @include justify-content-center;
  57. }
  58. .line {
  59. width: 0.2rem;
  60. height: 0.04rem;
  61. background: $main-color;
  62. z-index: 99;
  63. display: inline-block;
  64. margin: 0 0.2rem;
  65. }
  66. .plate {
  67. margin: 0.25rem 1rem;
  68. padding-bottom: 0.28rem;
  69. @include box-sizing;
  70. @include display-flex;
  71. @include align-items-start;
  72. @include justify-content-between;
  73. border-bottom: 1px #e6e6e6 dashed;
  74. ul {
  75. @include flex;
  76. li {
  77. font-size: 0.34rem;
  78. line-height: 0.62rem;
  79. .content {
  80. color: $main-color;
  81. }
  82. .unit {
  83. color: $font-color;
  84. }
  85. }
  86. }
  87. }
  88. .note {
  89. font-size: 0.34rem;
  90. color: $pgh-color;
  91. width: 100%;
  92. padding: 0 1rem;
  93. line-height: 0.5rem;
  94. span {
  95. color: $main-color;
  96. }
  97. }
  98. .border {
  99. border: none;
  100. }
  101. }
  102. // 今日弹出层
  103. .popup-content {
  104. @include box-sizing; // @include display-flex;
  105. // @include flex;
  106. background: $text-color;
  107. border-radius: 6px;
  108. font-size: 0.28rem;
  109. width: 13.2rem;
  110. .title {
  111. border-bottom: 1px $border-color solid;
  112. height: 0.88rem;
  113. line-height: 0.88rem;
  114. @include text-align;
  115. font-size: 0.3rem;
  116. color: $main-color;
  117. font-weight: 700;
  118. position: relative;
  119. @include display-flex;
  120. @include align-items-center;
  121. width: 100%;
  122. @include justify-content-center;
  123. .line {
  124. width: 0.1rem;
  125. height: 0.04rem;
  126. background: $main-color;
  127. z-index: 99;
  128. display: inline-block;
  129. margin: 0 0.14rem;
  130. }
  131. }
  132. .content {
  133. padding: 0 0.36rem;
  134. .cell {
  135. float: left;
  136. width: 3.22rem;
  137. margin: 0.35rem 0.4rem 0 0.4rem;
  138. label {
  139. display: block;
  140. height: 0.55rem;
  141. line-height: 0.55rem;
  142. color: $pgh-color;
  143. }
  144. select {
  145. width: 100%;
  146. padding: 0.2rem 0;
  147. border: 1px $border-color solid;
  148. border-radius: 2px;
  149. padding-left: 5px;
  150. }
  151. .inputBox {
  152. border: 1px $border-color solid;
  153. border-radius: 2px;
  154. padding: 0.18rem 0;
  155. padding-left: 5px;
  156. }
  157. .textarea {
  158. width: 100%;
  159. height: 1.22rem;
  160. border: 1px $border-color solid;
  161. border-radius: 2px;
  162. padding-left: 5px;
  163. }
  164. }
  165. .width {
  166. width: 90%;
  167. label {
  168. display: inline-block;
  169. }
  170. button {
  171. background: $main-color;
  172. color: #fff;
  173. border-radius: 6px;
  174. width: 3.1rem;
  175. height: 0.9rem;
  176. line-height: 0.9rem;
  177. text-align: center;
  178. margin: 0 0 0.9rem 0;
  179. }
  180. }
  181. .center {
  182. text-align: center;
  183. }
  184. }
  185. }
  186. .yzNav {
  187. width: 60%;
  188. margin: 0 auto;
  189. @include display-flex;
  190. @include text-align;
  191. @include align-items-center;
  192. @include justify-content-around;
  193. background: #fff;
  194. span {
  195. height: 0.6rem;
  196. line-height: 0.6rem;
  197. background: #fff;
  198. border-radius: 50px;
  199. border: 1px $border-color solid;
  200. display: inline-block;
  201. @include text-align;
  202. margin: 0.25rem 0;
  203. color: #34495e;
  204. font-size: 0.34rem;
  205. padding: 0 0.3rem;
  206. }
  207. .forbid {
  208. color: $forbid-color;
  209. }
  210. }
  211. // 监控搜索
  212. .search-content {
  213. background: #ebf1f7;
  214. padding: 0.2rem 0.28rem;
  215. .search {
  216. background: $white-bg;
  217. height: 0.7rem;
  218. line-height: 0.7rem;
  219. border-radius: 0.5rem;
  220. @include flex;
  221. @include display-flex;
  222. @include align-items-center;
  223. margin: 0 0.3rem;
  224. padding: 0 0 0 0.3rem;
  225. .iconfont {
  226. color: #a8b3ba;
  227. font-size: 0.4rem;
  228. margin: 0 0.1rem 0 0;
  229. }
  230. .searchInput {
  231. width: 87%;
  232. height: 0.6rem;
  233. line-height: 0.6rem;
  234. border: none;
  235. outline: none;
  236. color: $pgh-color;
  237. font-size: 0.28rem;
  238. }
  239. }
  240. }
  241. // 监控表单
  242. .MonitoringForm {
  243. width: 100%;
  244. overflow: hidden;
  245. font-size: 0.3rem;
  246. border: $border-color;
  247. background: $text-color;
  248. padding: 0 0 0.28rem 0;
  249. tr {
  250. padding: 0;
  251. margin: 0;
  252. padding: 0.1rem 0;
  253. th {
  254. background: $main-color;
  255. border: none;
  256. color: #fff;
  257. padding: 0;
  258. margin: 0;
  259. height: 0.88rem;
  260. line-height: 0.88rem;
  261. font-weight: normal;
  262. }
  263. td {
  264. background: #f0f5fa;
  265. border: none;
  266. padding: 0.3rem 0;
  267. text-align: center;
  268. button {
  269. background: $pink;
  270. color: #fff;
  271. display: inline-block;
  272. width: 40%;
  273. margin: 0 2%;
  274. height: 0.6rem;
  275. line-height: 0.6rem;
  276. border-radius: 4px;
  277. }
  278. }
  279. }
  280. }
  281. .vux-popover {
  282. box-shadow: 0 0 15px #eee;
  283. .popover-demo-content {
  284. ul {
  285. width: 6.4rem;
  286. padding: 0.28rem;
  287. li {
  288. font-size: 0.32rem;
  289. color: $title-color;
  290. line-height: 0.7rem;
  291. height: 0.7rem;
  292. .iconfont {
  293. float: right;
  294. color: #409eff;
  295. font-size: 0.5rem;
  296. display: inline-block;
  297. }
  298. }
  299. }
  300. }
  301. }
  302. // el
  303. .popover-demo-content {
  304. ul {
  305. li {
  306. font-size: 0.32rem;
  307. color: $title-color;
  308. line-height: 0.7rem;
  309. height: 0.7rem;
  310. .iconfont {
  311. float: right;
  312. color: #409eff;
  313. font-size: 0.5rem;
  314. display: inline-block;
  315. }
  316. }
  317. }
  318. }
  319. .tick {
  320. position: relative;
  321. color: $main-color !important;
  322. font-weight: 600;
  323. }
  324. .mainBox {
  325. .mainContent {
  326. margin: 0 0 0 1.58rem;
  327. }
  328. }
  329. .van-popup {
  330. top: 5% !important;
  331. transform: translate3d(-50%, 0, 0) !important;
  332. }
  333. // 弹窗滚动条
  334. ::-webkit-scrollbar {
  335. width: 0.25rem;
  336. height: 0.25rem;
  337. background-color: #fff;
  338. }
  339. ::-webkit-scrollbar-track {
  340. -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  341. background-color: #fff;
  342. }
  343. ::-webkit-scrollbar-thumb {
  344. -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  345. background-color: #e5e5e5;
  346. }
  347. // 弹窗样式
  348. .van-popup {
  349. // max-height:8.6rem !important;
  350. }
  351. .van-popup {
  352. border-radius: 20px !important;
  353. .Dialog {
  354. font-size: 0.36rem;
  355. width: 16.8rem;
  356. background: #ebf1f7;
  357. position: relative;
  358. .DialogTit {
  359. @include box-sizing;
  360. @include display-flex;
  361. @include align-items-center;
  362. @include text-align;
  363. @include justify-content-between;
  364. padding: 0.2rem 0.36rem;
  365. z-index: 999;
  366. background: #fff;
  367. box-shadow: 3px 3px 3px #d7dce2;
  368. margin-bottom: 0.24rem;
  369. .iconfont {
  370. font-size: 0.5rem;
  371. color: $main-color;
  372. font-weight: bold;
  373. }
  374. .back {
  375. font-size: 0.36rem;
  376. color: $main-color;
  377. @include display-flex;
  378. @include align-items-center;
  379. font-weight: 600;
  380. .iconfont {
  381. font-size: 0.5rem;
  382. font-weight: 700;
  383. color: $main-color;
  384. }
  385. }
  386. .name {
  387. font-size: 0.36rem;
  388. color: $main-color;
  389. font-weight: 600;
  390. }
  391. .success {
  392. font-size: 0.36rem;
  393. font-weight: 600;
  394. color: $title-color;
  395. }
  396. }
  397. .line {
  398. height: 0.24rem;
  399. background: #ebf1f7;
  400. }
  401. .gradient {
  402. height: 0.24rem;
  403. background: -webkit-linear-gradient(#dfe4ea, #ebf1f7);
  404. }
  405. .DialogContent {
  406. height: 6.8rem;
  407. overflow-y: scroll;
  408. background: #fff;
  409. .item {
  410. padding: 0 0.32rem;
  411. border-bottom: 1px #e5e5e5 solid;
  412. @include box-sizing;
  413. @include display-flex;
  414. @include align-items-center;
  415. @include text-align;
  416. @include justify-content-between;
  417. color: $title-color;
  418. .name {
  419. font-size: 0.34rem;
  420. height: 1.1rem;
  421. line-height: 1.1rem;
  422. color: $title-color;
  423. }
  424. .content {
  425. @include flex;
  426. text-align: right;
  427. margin-left: 0.2rem;
  428. .iconfont {
  429. font-size: 0.5rem;
  430. }
  431. input {
  432. height: 1rem;
  433. line-height: 1rem;
  434. border: none;
  435. font-size: 0.3rem;
  436. @include flex;
  437. text-align: right;
  438. width: 100%;
  439. }
  440. .text {
  441. height: 1rem;
  442. line-height: 0.5rem;
  443. font-size: 0.34rem;
  444. }
  445. }
  446. }
  447. }
  448. .footer {
  449. height: 1rem;
  450. line-height: 1rem;
  451. padding-left: 0.36rem;
  452. }
  453. .PrescSubmit {
  454. width: 100%;
  455. padding: 0.2rem 0;
  456. background: #fff;
  457. text-align: center;
  458. button {
  459. padding: 0 0.32rem;
  460. border: $main-color;
  461. font-size: 0.28rem;
  462. text-align: center;
  463. height: 0.7rem;
  464. line-height: 0.7rem;
  465. background: #fff;
  466. border: 1px $main-color solid;
  467. border-radius: 0.06rem;
  468. color: $main-color;
  469. margin: 0 0.11rem;
  470. &.tjcq {
  471. background: $main-color;
  472. color: #fff;
  473. }
  474. }
  475. }
  476. }
  477. }
  478. // 表单样式
  479. .table {
  480. width: 2000px;
  481. overflow: auto;
  482. font-size: 0.34rem;
  483. text-align: center;
  484. border: $border-color;
  485. padding-bottom: 0.02rem;
  486. tr {
  487. padding: 0;
  488. margin: 0;
  489. padding: 0.14rem 0;
  490. th {
  491. background: $main-color;
  492. border: none;
  493. color: #fff;
  494. padding: 0;
  495. margin: 0;
  496. height: 0.88rem;
  497. font-weight: normal;
  498. }
  499. td {
  500. background: #ecf5ff;
  501. border: none;
  502. padding: 0.18rem 0;
  503. .xg {
  504. color: $main-color;
  505. font-size: 0.28rem;
  506. margin-right: 0.2rem;
  507. cursor: pointer;
  508. .iconfont {
  509. margin-right: 0.1rem;
  510. color: $main-color;
  511. font-size: 0.3rem;
  512. }
  513. }
  514. .sc {
  515. color: #ff7979;
  516. margin-right: 0.2rem;
  517. cursor: pointer;
  518. .iconfont {
  519. color: #ff7979;
  520. }
  521. }
  522. }
  523. }
  524. }
  525. .van-checkbox__icon--checked .van-icon {
  526. color: #fff;
  527. border-color: $main-color !important;
  528. background-color: $main-color !important;
  529. @media only screen and (max-width: 812px) {
  530. font-size: 14px !important;
  531. line-height: 16px !important;
  532. width: 16px !important;
  533. height: 16px !important;
  534. }
  535. }
  536. .van-checkbox__icon .van-icon {
  537. @media only screen and (max-width: 812px) {
  538. font-size: 14px !important;
  539. line-height: 16px !important;
  540. width: 16px !important;
  541. height: 16px !important;
  542. }
  543. }
  544. .CheckBox .van-checkbox__label {
  545. width: 94%;
  546. font-size: 0.34rem;
  547. @media only screen and (max-width: 812px) {
  548. width: 90%;
  549. }
  550. }
  551. .mint-datetime-action {
  552. font-size: 0.36rem;
  553. }
  554. .picker-item {
  555. font-size: 0.34rem;
  556. }
  557. .NoData {
  558. width: 200px;
  559. text-align: center;
  560. background: #fff;
  561. margin: 0 auto;
  562. padding: 0.3rem 0;
  563. img {
  564. width: 100%;
  565. }
  566. }
  567. .CheckBox,
  568. .DialogContent,
  569. .optionsBox,
  570. .el-collapse-item__content {
  571. /* 针对缺省样式 (必须的) */
  572. &::-webkit-scrollbar {
  573. width: 6px;
  574. height: 10px;
  575. }
  576. /* 滚动条的滑轨背景颜色 */
  577. &::-webkit-scrollbar-track {
  578. background-color: #fff;
  579. border-radius: 3px;
  580. -moz-border-radius: 3px;
  581. -webkit-border-radius: 3px;
  582. }
  583. /* 滑块颜色 */
  584. &::-webkit-scrollbar-thumb {
  585. background: #d7dce2;
  586. border-radius: 3px;
  587. -moz-border-radius: 3px;
  588. -webkit-border-radius: 3px;
  589. }
  590. /*内层轨道的颜色*/
  591. &::-webkit-scrollbar-track-piece {
  592. background-color: #fff;
  593. border-radius: 3px;
  594. -moz-border-radius: 3px;
  595. -webkit-border-radius: 3px;
  596. }
  597. /* 滑轨两头的监听按钮颜色 */
  598. &::-webkit-scrollbar-button {
  599. background-color: #eee;
  600. width: 0;
  601. height: 0;
  602. }
  603. /* 横向滚动条和纵向滚动条相交处尖角的颜色 */
  604. &::-webkit-scrollbar-corner {
  605. background-color: #eee;
  606. }
  607. }
  608. .el-form-item__label {
  609. font-size: 0.34rem !important; // width: 90px !important;
  610. }
  611. .el-radio__label {
  612. font-size: 0.32rem !important;
  613. }
  614. .el-radio + .el-radio {
  615. margin-left: 15px !important;
  616. }
  617. .el-button--mini {
  618. font-size: 0.32rem !important;
  619. }
  620. .el-form-item__label,
  621. .el-radio,
  622. .van-checkbox__label {
  623. color: $title-color !important;
  624. }
  625. .el-collapse-item__header {
  626. font-size: 0.35rem !important;
  627. color: $pgh-color !important;
  628. height: 64px !important;
  629. line-height: 64px !important;
  630. @media only screen and (max-width: 812px) {
  631. font-size: 0.35rem !important;
  632. color: $pgh-color !important;
  633. height: 48px !important;
  634. line-height: 48px !important;
  635. }
  636. }
  637. .el-collapse-item__arrow {
  638. color: #a8b3ba !important;
  639. line-height: 64px !important;
  640. @media only screen and (max-width: 812px) {
  641. line-height: 48px !important;
  642. }
  643. }
  644. // 搜索全局
  645. .search {
  646. color: #a8b3ba;
  647. width: 4.4rem;
  648. float: right;
  649. font-size: 0.34rem;
  650. .field {
  651. @media only screen and (max-width: 812px) {
  652. margin-top: 6px;
  653. }
  654. }
  655. .iconfont {
  656. color: #a8b3ba;
  657. font-size: 0.42rem;
  658. }
  659. .field {
  660. background-color: #ebf1f7;
  661. padding: 0 0 0 10px;
  662. border-radius: 30px;
  663. display: flex;
  664. align-items: center;
  665. height: 0.64rem !important;
  666. line-height: 0.64rem !important;
  667. @media only screen and (max-width: 812px) {
  668. padding: 0 0 0 4px;
  669. }
  670. }
  671. }
  672. .van-cell {
  673. @media only screen and (max-width: 812px) {
  674. font-size: 6px !important;
  675. }
  676. }
  677. .van-field__left-icon {
  678. @media only screen and (max-width: 812px) {
  679. // margin-right: 0 !important;
  680. margin-top: 1px;
  681. }
  682. .van-icon-arrow-down {
  683. @media only screen and (max-width: 812px) {
  684. font-size: 12px !important;
  685. }
  686. }
  687. }
  688. .van-field__button {
  689. @media only screen and (max-width: 812px) {
  690. padding-left: 0 !important;
  691. }
  692. }
  693. .van-switch {
  694. @media only screen and (max-width: 812px) {
  695. font-size: 16px !important;
  696. }
  697. }
  698. // 返回
  699. .goBack {
  700. cursor: pointer;
  701. @include display-flex;
  702. @include align-items-center;
  703. @include text-align;
  704. font-size: 0.36rem;
  705. .back {
  706. color: $main-color;
  707. margin-right: 0.87rem;
  708. .iconfont {
  709. color: $main-color;
  710. font-size: 0.42rem;
  711. }
  712. }
  713. .name {
  714. .iconfont {
  715. margin-left: 0.1rem;
  716. }
  717. }
  718. }
  719. .van-button--small {
  720. font-size: 0.28rem !important;
  721. @media only screen and (max-width: 812px) {
  722. min-width: 36px !important;
  723. }
  724. }
  725. .el-input {
  726. color: #1b2631 !important;
  727. font-size: 0.36rem !important;
  728. }
  729. .el-collapse-item__content {
  730. height: 7.4rem !important;
  731. overflow-y: auto !important;
  732. }