main.component.less 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200
  1. @import "../../../../src/theme.less";
  2. :host {
  3. width: 100%;
  4. height: 100%;
  5. display: flex;
  6. text-rendering: optimizeLegibility;
  7. -webkit-font-smoothing: antialiased;
  8. -moz-osx-font-smoothing: grayscale;
  9. }
  10. .app-layout {
  11. height: 100%;
  12. }
  13. nz-sider {
  14. overflow-y: auto;
  15. }
  16. // 下拉列表
  17. .dropdown{
  18. position: relative;
  19. height: 48px;
  20. line-height: 48px;
  21. .dropdown-content {
  22. position: absolute;
  23. top: 48px;
  24. background-color: #fff;
  25. width: 156px;
  26. box-shadow: 0px 2px 4px 1px #D9D9D9;
  27. z-index: 999999;
  28. border-radius: 4px;
  29. border: 1px solid rgba(0,0,0,0.15);
  30. color: rgba(0,0,0,0.65);
  31. &.ct{
  32. left: 50%;
  33. transform: translateX(-50%);
  34. }
  35. &.r8{
  36. right: 8px;
  37. }
  38. }
  39. .dropdown-content .dropdownItem {
  40. height: 40px;
  41. cursor: pointer;
  42. display: flex;
  43. align-items: center;
  44. padding: 0 24px;
  45. }
  46. .dropdown-content .dropdownItem:hover {
  47. background-color: #e9f7e9;
  48. }
  49. }
  50. .menu-sidebar {
  51. width: 175px;
  52. flex: 0 0 175px;
  53. position: relative;
  54. z-index: 8;
  55. min-height: 100vh;
  56. box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
  57. background: #0f2e3b;
  58. li.ng-star-inserted.ant-menu-submenu.ant-menu-submenu-inline {
  59. border-bottom: 1px solid #0f2e3b;
  60. &.ant-menu-submenu-selected,
  61. &.selected {
  62. background: @primary-color;
  63. }
  64. }
  65. li.ng-star-inserted.ant-menu-item {
  66. margin: 0;
  67. border-bottom: 1px solid #0f2e3b;
  68. &:nth-last-child(1) {
  69. border-bottom: 0;
  70. }
  71. }
  72. li.ng-star-inserted.ant-menu-item.ant-menu-item-selected,
  73. li.ng-star-inserted.ant-menu-item.selected,
  74. li.ant-menu-item.selected {
  75. border-left: 4px solid @primary-color;
  76. border-bottom: 0;
  77. margin: 0;
  78. }
  79. }
  80. // 重写菜单
  81. #ds-menu {
  82. user-select: none;
  83. margin: 0;
  84. padding: 0;
  85. overflow: hidden;
  86. .mainMenuOne,
  87. .mainMenu {
  88. cursor: pointer;
  89. color: #fff;
  90. overflow: hidden;
  91. font-size: 14px;
  92. line-height: 44px;
  93. text-overflow: ellipsis;
  94. background: #284450;
  95. &:focus {
  96. outline: none;
  97. }
  98. }
  99. .mainMenuOne {
  100. min-height: 44px;
  101. position: relative;
  102. border-bottom: 1px solid #0f2e3b;
  103. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  104. & > i {
  105. margin-left: 16px;
  106. margin-right: 10px;
  107. font-size: 14px;
  108. }
  109. .transport-xialajiantou {
  110. color: #999;
  111. position: absolute;
  112. top: 0;
  113. right: 16px;
  114. transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  115. }
  116. &.mainMenuSelected {
  117. background: @primary-color;
  118. .transport-xialajiantou {
  119. color: #fff !important;
  120. }
  121. }
  122. &:hover {
  123. .transport-xialajiantou {
  124. color: #fff !important;
  125. }
  126. }
  127. }
  128. .mainMenu {
  129. height: 44px;
  130. &.menuTwoSelected {
  131. border-left: 4px solid @primary-color;
  132. background-color: #0f2e3b;
  133. }
  134. }
  135. ul {
  136. margin: 0;
  137. padding: 0;
  138. li {
  139. white-space: nowrap;
  140. overflow: hidden;//文本超出隐藏
  141. text-overflow: ellipsis;//文本超出省略号替代
  142. padding-left: 40px;
  143. padding-right: 40px;
  144. transition: height 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  145. box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.45) inset;
  146. }
  147. }
  148. }
  149. // 重写菜单
  150. .sidebar-logo {
  151. position: relative;
  152. height: 48px;
  153. overflow: hidden;
  154. line-height: 48px;
  155. background: #fff;
  156. transition: all 0.3s;
  157. .logoTitle{
  158. padding: 0 8px;
  159. line-height: normal;
  160. height:100%;
  161. }
  162. .title {
  163. color: @primary-color;
  164. font-size: 15px;
  165. }
  166. }
  167. .sidebar-logo img {
  168. display: inline-block;
  169. max-width: 100%;
  170. max-height: 50%;
  171. vertical-align: middle;
  172. }
  173. nz-header.ant-layout-header {
  174. padding: 0;
  175. width: 100%;
  176. z-index: 99;
  177. background: #fff;
  178. height: 48px;
  179. .app-header {
  180. position: relative;
  181. height: 48px;
  182. padding: 0;
  183. background: #fff;
  184. box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  185. padding-left: 24px;
  186. border-bottom: 1px solid rgba(0, 21, 41, 0.08);
  187. .left {
  188. height: 100%;
  189. flex: 1;
  190. display: flex;
  191. align-items: center;
  192. justify-content: flex-end;
  193. .icon_transport{
  194. margin-right: 24px;
  195. cursor: pointer;
  196. font-size: 20px;
  197. height: 48px;
  198. line-height: 48px;
  199. display: inline-block;
  200. }
  201. .menuLabel {
  202. color: #333;
  203. font-size: 22px;
  204. font-weight: 400;
  205. margin-right: 80px;
  206. vertical-align: bottom;
  207. display: inline-block;
  208. width: 175px;
  209. text-align: left;
  210. }
  211. button {
  212. margin-right: 8px;
  213. margin-top: 4px;
  214. margin-bottom: 4px;
  215. }
  216. }
  217. .right {
  218. height: 100%;
  219. flex-shrink: 0;
  220. display: flex;
  221. align-items: center;
  222. .msg {
  223. float: left;
  224. width: 50px;
  225. height: 100%;
  226. border-left: 1px solid #e5e9ed;
  227. .msgBtn {
  228. width: 100%;
  229. height: 100%;
  230. i {
  231. font-size: 30px;
  232. }
  233. }
  234. }
  235. .userInfo {
  236. height: 100%;
  237. float: right;
  238. padding: 0 24px;
  239. box-sizing: border-box;
  240. font-size: 14px;
  241. border-left: 1px solid #e5e9ed;
  242. .wel {
  243. line-height: 15px;
  244. white-space: nowrap;
  245. overflow: hidden;//文本超出隐藏
  246. text-overflow: ellipsis;//文本超出省略号替代
  247. }
  248. .user {
  249. overflow: hidden;
  250. height: 48px;
  251. display: flex;
  252. justify-content: center;
  253. align-items: center;
  254. font-size: 16px;
  255. cursor: pointer;
  256. img {
  257. width: 32px;
  258. height: 32px;
  259. margin-right: 8px;
  260. }
  261. span, .transport-xiala1 {
  262. height: 48px;
  263. line-height: 48px;
  264. }
  265. }
  266. .logOut {
  267. text-align: right;
  268. color: @primary-color;
  269. line-height: 20px;
  270. span {
  271. cursor: pointer;
  272. padding: 10px;
  273. }
  274. }
  275. }
  276. }
  277. }
  278. }
  279. .inner-content {
  280. background: #fff;
  281. height: 100%;
  282. }
  283. .msgTemBox {
  284. .borderLeft {
  285. position: absolute;
  286. left: 0;
  287. top: 0;
  288. width: 10px;
  289. height: 100%;
  290. background-image: linear-gradient(90deg, @bg-start 0%, @bg-end 100%);
  291. }
  292. .icon {
  293. color: @primary-color;
  294. font-size: 26px;
  295. }
  296. .ant-notification-notice-message {
  297. margin-left: 34px;
  298. font-weight: 500;
  299. }
  300. .ant-notification-notice-description {
  301. margin-left: 34px;
  302. color: #333;
  303. }
  304. }
  305. .save {
  306. position: fixed;
  307. left: 0;
  308. top: 0;
  309. width: 100%;
  310. height: 100%;
  311. background: rgba(0, 0, 0, 0.4);
  312. z-index: 99;
  313. .modalBody {
  314. width: 350px;
  315. background: #fff;
  316. border-radius: 5px;
  317. padding: 10px 20px;
  318. color: #333;
  319. .title {
  320. width: 100%;
  321. text-align: center;
  322. font-size: 18px;
  323. position: relative;
  324. i {
  325. position: absolute;
  326. right: 0;
  327. top: 0;
  328. font-size: 20px;
  329. color: #666;
  330. cursor: pointer;
  331. padding: 0 5px;
  332. }
  333. }
  334. .content {
  335. width: 100%;
  336. height: 117px;
  337. background: #f9fafb;
  338. border: 1px solid #e5e9ed;
  339. border-radius: 5px;
  340. overflow: hidden;
  341. margin-top: 12px;
  342. div {
  343. text-align: center;
  344. margin: 0;
  345. &.icon {
  346. margin-top: 17px;
  347. i {
  348. color: #34b349;
  349. font-size: 30px !important;
  350. &.transport-wenhao {
  351. color: #f5a523;
  352. }
  353. &.transport-shibai {
  354. color: #ff3a52;
  355. }
  356. }
  357. }
  358. &.defeat {
  359. color: #333;
  360. font-size: 16px;
  361. }
  362. &:nth-child(3) {
  363. font-size: 14px;
  364. color: #666;
  365. }
  366. }
  367. }
  368. button {
  369. margin-top: 10px;
  370. &.btn {
  371. margin-left: 8px;
  372. }
  373. }
  374. }
  375. }
  376. // 新建工单弹框
  377. .newOrder {
  378. position: fixed;
  379. left: 0;
  380. top: 0;
  381. width: 100%;
  382. height: 100%;
  383. background: rgba(0, 0, 0, 0.5);
  384. z-index: 99;
  385. .modalBody {
  386. width: 1318px;
  387. // height: 580px;
  388. background: #fff;
  389. border-radius: 5px;
  390. // padding: 12px 20px;
  391. padding: 12px 0;
  392. color: #333;
  393. font-size: 14px;
  394. .title {
  395. font-size: 18px;
  396. // text-align: center;
  397. line-height: 24px;
  398. margin: 6px 24px 18px;
  399. position: relative;
  400. i {
  401. position: absolute;
  402. right: 0;
  403. top: 0;
  404. font-size: 20px;
  405. color: #666;
  406. cursor: pointer;
  407. padding: 0 5px;
  408. }
  409. .newTop{
  410. display: flex;
  411. align-items: center;
  412. font-size: 14px;
  413. .name{
  414. font-weight: bold;
  415. margin-right: 24px;
  416. }
  417. .newTopItem{
  418. margin-right: 16px;
  419. &:last-of-type{
  420. margin-right: 0;
  421. }
  422. }
  423. }
  424. }
  425. .content {
  426. // width: 960px;
  427. // height: 474px;
  428. height: 603px;
  429. // border: 1px solid #e5e9ed;
  430. border-top: 1px solid #e5e9ed;
  431. border-bottom: 1px solid #e5e9ed;
  432. // background: #f9fafb;
  433. // border-radius: 5px;
  434. overflow: hidden;
  435. .grayFont {
  436. color: #666;
  437. }
  438. .col {
  439. height: 100%;
  440. &.left {
  441. border-right: 2px solid #e5e9ed;
  442. display: flex;
  443. flex-direction: column;
  444. .top {
  445. padding: 8px;
  446. nz-select {
  447. margin-right: 8px;
  448. }
  449. .tel {
  450. margin: 0 8px 0 0;
  451. }
  452. }
  453. // tab 任务类型
  454. .tabs {
  455. display: flex;
  456. height: 37px;
  457. border-bottom: 1px solid #e5e9ed;
  458. background-color: #fff;
  459. .tabs__inner {
  460. flex: 1;
  461. overflow: hidden;
  462. .tabs__wrap {
  463. position: relative;
  464. z-index: 1;
  465. display: flex;
  466. transition: all 1s;
  467. .tab {
  468. width: 120px;
  469. height: 36px;
  470. text-align: center;
  471. line-height: 36px;
  472. background: #fff;
  473. cursor: pointer;
  474. font-size: 14px;
  475. position: relative;
  476. &.checked {
  477. color: @primary-color;
  478. &::after{
  479. content: '';
  480. position: absolute;
  481. bottom: 0;
  482. left: 0;
  483. width: 100%;
  484. height: 1px;
  485. background-color: @primary-color;
  486. }
  487. }
  488. }
  489. }
  490. }
  491. .tabs__operate {
  492. border-bottom: 1px solid #e5e9ed;
  493. border-left: 1px solid #e5e9ed;
  494. width: 22px;
  495. display: flex;
  496. flex-direction: column;
  497. align-items: center;
  498. justify-content: center;
  499. position: relative;
  500. z-index: 2;
  501. .tabs__Icon--left {
  502. font-size: 12px;
  503. color: #e5e9ed;
  504. cursor: pointer;
  505. &:hover {
  506. color: #333;
  507. }
  508. }
  509. .tabs__Icon--right {
  510. transform: rotateY(180deg);
  511. font-size: 12px;
  512. color: #e5e9ed;
  513. cursor: pointer;
  514. &:hover {
  515. color: #333;
  516. }
  517. }
  518. }
  519. }
  520. // 底部tab页
  521. .bottomWrap {
  522. flex: 1;
  523. height: 300px;
  524. .bottom_req{
  525. height: 100%;
  526. padding: 16px;
  527. ::ng-deep .ant-calendar-picker{
  528. width: 100%!important;
  529. }
  530. .row{
  531. display: flex;
  532. align-items: center;
  533. margin-bottom: 16px;
  534. &:last-of-type{
  535. margin-bottom: 0;
  536. }
  537. .col{
  538. flex: 1;
  539. flex-shrink: 0;
  540. display: flex;
  541. align-items: center;
  542. word-break: break-all;
  543. position: relative;
  544. margin-right: 8px;
  545. &:last-of-type{
  546. margin-right: 0;
  547. }
  548. &.alignItemsStart{
  549. align-items: flex-start;
  550. }
  551. &.flex2{
  552. flex: 2;
  553. }
  554. &.flex3{
  555. flex: 3;
  556. }
  557. &.flex4{
  558. flex: 4;
  559. }
  560. &.flex5{
  561. flex: 5;
  562. }
  563. &.flex6{
  564. flex: 6;
  565. }
  566. &.flex7{
  567. flex: 7;
  568. }
  569. .addressList{
  570. position: absolute;
  571. top: 100%;
  572. left: 0;
  573. width: 100%;
  574. max-height: 256px;
  575. z-index: 2;
  576. background: #fff;
  577. border: 1px solid #d9d9d9;
  578. border-radius: 4px;
  579. overflow: hidden auto;
  580. .addressItem{
  581. padding: 5px 12px;
  582. cursor: pointer;
  583. &:hover{
  584. background-color: #e9f7e9;
  585. }
  586. }
  587. }
  588. .ant-input-clear-icon{
  589. align-self: center;
  590. font-style: normal;
  591. cursor: pointer;
  592. margin-left: 8px;
  593. font-size: 12px;
  594. border-bottom: 1px solid #49b856;
  595. color: #49b856;
  596. flex-shrink: 0;
  597. }
  598. .name{
  599. flex-shrink: 0;
  600. width: 6em;
  601. text-align-last: justify;
  602. padding-left: 12px;
  603. box-sizing: content-box;
  604. }
  605. em{
  606. font-style: normal;
  607. cursor: pointer;
  608. margin-left: 8px;
  609. font-size: 12px;
  610. border-bottom: 1px solid @primary-color;
  611. color: @primary-color;
  612. }
  613. }
  614. }
  615. }
  616. .bottom {
  617. padding: 0 16px;
  618. // height: 310px;
  619. height: 567px;
  620. overflow-y: auto;
  621. .ant-form {
  622. height: 100%;
  623. .ant-form-item {
  624. margin-bottom: 0;
  625. }
  626. }
  627. .control-flex {
  628. margin-top: 16px;
  629. overflow: hidden;
  630. display: flex;
  631. justify-content: space-between;
  632. align-items: center;
  633. .patient-control{
  634. flex-shrink: 0;
  635. }
  636. .goods-control{
  637. display: flex;
  638. flex-shrink: 0;
  639. margin-left: 16px;
  640. align-items: center;
  641. }
  642. }
  643. .goods-wrap {
  644. margin-left: 8px;
  645. .goods-item {
  646. display: inline-block;
  647. }
  648. }
  649. // 标本轮巡
  650. .bottom380256 {
  651. height: 100%;
  652. font-size: 16px;
  653. color: #333;
  654. display: flex;
  655. justify-content: center;
  656. align-items: center;
  657. text-align: center;
  658. }
  659. .bottom255 {
  660. height: 100%;
  661. // overflow-y: auto;
  662. .txtC {
  663. height: 100%;
  664. display: flex;
  665. flex-direction: column;
  666. justify-content: center;
  667. align-items: center;
  668. }
  669. }
  670. .label {
  671. text-align: left;
  672. }
  673. .handlerType {
  674. margin: 21px 0 0 0;
  675. }
  676. .radios {
  677. // height: 96px;
  678. max-height: 267px;
  679. width: 100%;
  680. overflow-y: auto;
  681. padding: 8px;
  682. background: #fff;
  683. border: 1px solid #e6dede;
  684. border-radius: 5px;
  685. .ant-row {
  686. width: 100%;
  687. display: flex;
  688. flex-wrap: wrap;
  689. .ant-radio-wrapper {
  690. width: 20%;
  691. display: flex;
  692. align-items: center;
  693. margin-right: 0;
  694. ::ng-deep span.ant-radio + * {
  695. overflow: hidden;
  696. text-overflow: ellipsis;
  697. white-space: inherit;
  698. }
  699. }
  700. }
  701. }
  702. }
  703. }
  704. // 底部信息提示
  705. .bottomInfo {
  706. border-top: 2px solid #e5e9ed;
  707. padding-left: 32px;
  708. padding-right: 32px;
  709. height: 52px;
  710. line-height: 52px;
  711. font-size: 14px;
  712. color: #ff3b53;
  713. }
  714. }
  715. &.right {
  716. background: #fff;
  717. position: relative;
  718. .rightTitle {
  719. position: absolute;
  720. width: 100%;
  721. height: 37px;
  722. line-height: 37px;
  723. font-size: 16px;
  724. margin: 0;
  725. border-bottom: 1px solid #e5e9ed;
  726. background: #fff;
  727. z-index: 9999;
  728. display: flex;
  729. align-items: center;
  730. .rightTitle_tab {
  731. width: 120px;
  732. height: 36px;
  733. text-align: center;
  734. line-height: 36px;
  735. background: #fff;
  736. cursor: pointer;
  737. font-size: 14px;
  738. position: relative;
  739. overflow: hidden;
  740. &.active {
  741. color: @primary-color;
  742. &::after{
  743. content: '';
  744. position: absolute;
  745. bottom: 0;
  746. left: 0;
  747. width: 100%;
  748. height: 1px;
  749. background-color: @primary-color;
  750. }
  751. }
  752. }
  753. }
  754. .cots_body {
  755. width: 100%;
  756. height: 100%;
  757. // overflow: scroll;
  758. // padding-right: 2%;
  759. padding-top: 47px;
  760. }
  761. }
  762. }
  763. }
  764. }
  765. .btns {
  766. padding-top: 12px;
  767. .btn {
  768. margin: 0 4px;
  769. }
  770. }
  771. }
  772. .required{
  773. position: relative;
  774. padding-left: 12px;
  775. box-sizing: content-box;
  776. &::before{
  777. font-family: icon_transport;
  778. font-size: 10px;
  779. content:'\e606';
  780. color: red;
  781. position: absolute;
  782. left: 0;
  783. top: 50%;
  784. transform: translateY(-50%);
  785. }
  786. }
  787. /* 未分派 */
  788. .weifenpai .list {
  789. // height: 100px;
  790. border-bottom: 1px rgb(225, 229, 232) solid;
  791. position: relative;
  792. // overflow: hidden;
  793. display: flex;
  794. }
  795. // 转出院记录
  796. .patientLog .list {
  797. height: auto !important;
  798. th,
  799. td {
  800. text-align: center !important;
  801. }
  802. }
  803. /* 左边 */
  804. .left_cots {
  805. // height: 100px;
  806. width: 78%;
  807. float: left;
  808. margin-left: 2%;
  809. padding-right: 2%;
  810. cursor: pointer;
  811. position: relative;
  812. }
  813. /* 急标 */
  814. .left_cots .ji {
  815. position: absolute;
  816. right: -3px;
  817. top: -3px;
  818. width: 30px;
  819. }
  820. /* 右边 */
  821. .right_bots {
  822. width: 20%;
  823. border-left: 1px #e1e5e8 solid;
  824. padding: 8px 0;
  825. }
  826. /* 上按钮 */
  827. .right_bots .top_bot {
  828. width: 70%;
  829. border-radius: 4px;
  830. color: white;
  831. background-color: @primary-color;
  832. border: 1px @primary-color solid;
  833. cursor: pointer;
  834. height: 27px;
  835. margin-bottom: 8px;
  836. }
  837. .slider {
  838. position: absolute;
  839. // top: 98px;
  840. bottom: 0;
  841. right: 0;
  842. width: 100%;
  843. height: 2px;
  844. &.sgreen {
  845. background: rgb(86, 186, 182);
  846. }
  847. &.syellow {
  848. background: rgb(245, 166, 35);
  849. }
  850. &.sred {
  851. background: #d81e06;
  852. }
  853. }
  854. /* 中按钮 */
  855. .right_bots .mid_bot {
  856. width: 70%;
  857. border-radius: 4px;
  858. color: white;
  859. background-color: @primary-color;
  860. border: 1px @primary-color solid;
  861. cursor: pointer;
  862. height: 27px;
  863. }
  864. /* 下按钮 */
  865. .right_bots .btm_bot {
  866. width: 70%;
  867. border-radius: 4px;
  868. color: #78797a;
  869. background-color: #FFF;
  870. border: 1px #e5e9ed solid;
  871. cursor: pointer;
  872. height: 27px;
  873. }
  874. /* 工单 */
  875. .weifenpai .left_cots .gongdan {
  876. height: 24px;
  877. margin: 4px 0;
  878. line-height: 24px;
  879. text-align: center;
  880. }
  881. .weifenpai .left_cots .gongdan .left {
  882. float: left;
  883. color: #333;
  884. font-size: 14px;
  885. }
  886. .gongdan_name {
  887. max-width: 80% !important;
  888. overflow: hidden !important;
  889. text-overflow: ellipsis !important;
  890. white-space: nowrap !important;
  891. }
  892. .weifenpai .left_cots .gongdan .right {
  893. float: right;
  894. color: #666666;
  895. &.colorRed {
  896. color: red;
  897. }
  898. }
  899. .weifenpai .left_cots .gongdan .right span:nth-child(1) {
  900. float: right;
  901. font-size: 12px;
  902. &.colorRed {
  903. color: red;
  904. }
  905. }
  906. .weifenpai .left_cots .gongdan .right span:nth-child(2) {
  907. float: right;
  908. border-radius: 50%;
  909. width: 10px;
  910. height: 10px;
  911. background-color: red;
  912. margin-top: 7px;
  913. margin-right: 8px;
  914. }
  915. /* 地点 */
  916. .weifenpai .didian {
  917. height: 24px;
  918. line-height: 24px;
  919. margin: 4px 0;
  920. display: flex;
  921. }
  922. .weifenpai .didian .left {
  923. float: left;
  924. color: #666666;
  925. font-size: 14px;
  926. flex: 1;
  927. white-space: nowrap;
  928. overflow: hidden;//文本超出隐藏
  929. text-overflow: ellipsis;//文本超出省略号替代
  930. &.noEllipsis{
  931. white-space: normal;
  932. overflow: visible;
  933. text-overflow: inherit;
  934. word-break: break-all;
  935. }
  936. }
  937. .weifenpai .didian .right {
  938. float: right;
  939. flex: 1;
  940. white-space: nowrap;
  941. overflow: hidden;//文本超出隐藏
  942. text-overflow: ellipsis;//文本超出省略号替代
  943. text-align: right;
  944. }
  945. .weifenpai .didian .right i {
  946. font-size: 12px;
  947. color: @primary-color;
  948. }
  949. .weifenpai .didian .right span {
  950. font-size: 12px;
  951. }
  952. /* 时间 */
  953. .weifenpai .shijian {
  954. height: 24px;
  955. line-height: 24px;
  956. margin: 4px 0;
  957. }
  958. .weifenpai .shijian .left {
  959. float: left;
  960. }
  961. .weifenpai .shijian .right {
  962. float: right;
  963. font-size: 12px;
  964. color: #999999;
  965. }
  966. .weifenpai .shijian .left i {
  967. color: @primary-color;
  968. font-size: 14px;
  969. &.colorRed {
  970. color: red;
  971. }
  972. }
  973. .weifenpai .shijian .left span {
  974. font-size: 12px;
  975. color: #666666;
  976. }
  977. /* 待到达 */
  978. .daidaoda .list {
  979. // height: 100px;
  980. // overflow: hidden;
  981. border-bottom: 1px rgb(225, 229, 232) solid;
  982. position: relative;
  983. display: flex;
  984. }
  985. /* 左边 */
  986. .daidaoda .left_cots {
  987. // height: 100px;
  988. width: 78%;
  989. float: left;
  990. margin-left: 2%;
  991. padding-right: 2%;
  992. cursor: pointer;
  993. position: relative;
  994. }
  995. /* 急标 */
  996. .daidaoda .left_cots .ji {
  997. position: absolute;
  998. right: -3px;
  999. top: -3px;
  1000. width: 30px;
  1001. }
  1002. /* 急标 */
  1003. .daidaoda .list .ji {
  1004. position: absolute;
  1005. right: -3px;
  1006. top: -3px;
  1007. width: 30px;
  1008. }
  1009. /* 工单 */
  1010. .daidaoda .gongdan {
  1011. height: 24px;
  1012. margin: 4px 0;
  1013. line-height: 24px;
  1014. text-align: center;
  1015. }
  1016. .daidaoda .gongdan .left {
  1017. float: left;
  1018. color: #333;
  1019. font-size: 14px;
  1020. }
  1021. .daidaoda .gongdan .right {
  1022. float: right;
  1023. color: #666666;
  1024. &.colorRed {
  1025. color: red;
  1026. }
  1027. }
  1028. .cots_body .loading {
  1029. width: 100%;
  1030. height: 100%;
  1031. position: absolute;
  1032. left: 0;
  1033. top: 0;
  1034. // display: flex;
  1035. // flex-flow: column;
  1036. // justify-content: center;
  1037. // align-items: center;
  1038. }
  1039. /* 暂无数据 */
  1040. .cots_body .no_data {
  1041. width: 100%;
  1042. height: 100%;
  1043. position: absolute;
  1044. left: 0;
  1045. top: 0;
  1046. // text-align: center;
  1047. // line-height: 593px;
  1048. color: @primary-color;
  1049. font-size: 24px;
  1050. font-weight: bold;
  1051. display: flex;
  1052. justify-content: center;
  1053. align-items: center;
  1054. }
  1055. .toLastTime {
  1056. margin-left: auto;
  1057. color: #999999;
  1058. font-size: 12px;
  1059. &.colorRed {
  1060. color: red;
  1061. }
  1062. .order{
  1063. color: #000;
  1064. font-weight: bold;
  1065. margin-right: 16px;
  1066. cursor: pointer;
  1067. }
  1068. }
  1069. .toLastTime .time {
  1070. font-size: 12px;
  1071. color: @primary-color;
  1072. margin-left: 8px;
  1073. }
  1074. .toLastTime1 {
  1075. position: absolute;
  1076. right: 10px;
  1077. color: #999999;
  1078. font-size: 12px;
  1079. &.colorRed {
  1080. color: red;
  1081. }
  1082. }
  1083. .toLastTime1 .time {
  1084. font-size: 12px;
  1085. color: @primary-color;
  1086. }