specimen-room-view.component.less 22 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070
  1. @import "../../../../src/theme.less";
  2. :host {
  3. width: 100%;
  4. background-color: #f9fafb;
  5. .ant-btn[disabled] {
  6. color: rgba(0, 0, 0, 0.25) !important;
  7. background-color: #f5f5f5 !important;
  8. }
  9. .red {
  10. color: red !important;
  11. font-weight: bold !important;
  12. }
  13. .green {
  14. color: @primary-color!important;
  15. font-weight: bold !important;
  16. }
  17. h1,
  18. h2,
  19. h3,
  20. p {
  21. margin: 0;
  22. }
  23. em {
  24. font-style: normal;
  25. }
  26. /* 修改垂直滚动条 */
  27. ::-webkit-scrollbar {
  28. width: 4px; /* 修改宽度 */
  29. border-radius: 2px;
  30. }
  31. /* 修改滚动条轨道背景色 */
  32. ::-webkit-scrollbar-track {
  33. background-color: #f1f1f1;
  34. }
  35. /* 修改滚动条滑块颜色 */
  36. ::-webkit-scrollbar-thumb {
  37. background-color: #888;
  38. }
  39. /* 修改滚动条滑块悬停时的颜色 */
  40. ::-webkit-scrollbar-thumb:hover {
  41. background-color: #555;
  42. }
  43. .pharmacy {
  44. display: flex;
  45. flex-direction: column;
  46. height: 100%;
  47. }
  48. // 头部 start
  49. .pharmacy-header {
  50. // height: 88px;
  51. background-color: #fff;
  52. border-bottom: 1px solid #e5e9ed;
  53. box-sizing: border-box;
  54. display: flex;
  55. color: #000;
  56. .pharmacy-logo {
  57. width: 100px;
  58. background-color: #fff;
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: center;
  62. align-items: center;
  63. .pharmacy-logo__img {
  64. max-width: 100%;
  65. max-height: 50%;
  66. }
  67. .pharmacy-logo__name {
  68. font-size: 14px;
  69. color: @primary-color;
  70. margin-top: 8px;
  71. }
  72. }
  73. .pharmacy-name {
  74. flex: 1;
  75. // border-right: 1px solid #e5e9ed;
  76. display: flex;
  77. // justify-content: space-between;
  78. align-items: center;
  79. width: 60%;
  80. justify-content: center;
  81. position: relative;
  82. .pharmacy-name__title {
  83. font-size: 22px;
  84. color: #333;
  85. margin-left: 43px;
  86. line-height: 87px;
  87. .currentDate {
  88. margin-left: 24px;
  89. font-size: 16px;
  90. }
  91. }
  92. .pharmacy-name__total {
  93. margin-right: 16px;
  94. font-size: 16px;
  95. display: flex;
  96. .pharmacy-title{
  97. width: 170px;
  98. font-weight: 600;
  99. font-size: 22px;
  100. }
  101. }
  102. .error-class{
  103. color: red;
  104. }
  105. .right-btn{
  106. position: absolute;
  107. right: 10px;
  108. }
  109. }
  110. .pharmacy-operate {
  111. width: 211px;
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. position: relative;
  116. .pharmacy-operatePop {
  117. cursor: pointer;
  118. border: 1px solid #e5e9ed;
  119. background-color: #fff;
  120. position: absolute;
  121. left: 0;
  122. top: 100%;
  123. width: 100%;
  124. height: 34px;
  125. line-height: 34px;
  126. text-align: center;
  127. font-size: 14px;
  128. color: @primary-color;
  129. }
  130. &:after {
  131. content: "";
  132. display: block;
  133. width: 0;
  134. height: 0;
  135. border-left: 7px solid transparent;
  136. border-right: 7px solid transparent;
  137. border-top: 10px solid #666;
  138. }
  139. .pharmacy-operate__img {
  140. max-height: 40px;
  141. margin-right: 8px;
  142. }
  143. .pharmacy-operate__title {
  144. font-size: 20px;
  145. color: #666;
  146. padding-right: 24px;
  147. cursor: pointer;
  148. }
  149. }
  150. }
  151. .userInfo {
  152. width: 260px;
  153. height: 100%;
  154. padding: 8px 36px 8px 8px;
  155. box-sizing: border-box;
  156. font-size: 14px;
  157. border-left: 1px solid #e5e9ed;
  158. .wel {
  159. line-height: 15px;
  160. }
  161. .user {
  162. font-size: 20px;
  163. height: 36px;
  164. display: flex;
  165. justify-content: center;
  166. align-items: center;
  167. line-height: normal;
  168. img {
  169. height: 100%;
  170. margin-right: 8px;
  171. }
  172. }
  173. .userInfo-wrap {
  174. display: flex;
  175. justify-content: flex-end;
  176. .logOut {
  177. display: inline-block;
  178. text-align: right;
  179. color: @primary-color;
  180. line-height: 20px;
  181. cursor: pointer;
  182. margin-right: 8px;
  183. }
  184. }
  185. }
  186. // 头部 end
  187. // 主体部分 start
  188. .pharmacy-main {
  189. height: calc(100vh - 88px);
  190. min-height: 680px;
  191. flex: 1;
  192. padding: 16px;
  193. display: flex;
  194. justify-content: space-between;
  195. .pharmacy-main__list {
  196. display: flex;
  197. flex-direction: column;
  198. background-color: #f9fafb;
  199. // flex: 1;
  200. width: 33%;
  201. // margin: 0 4px;
  202. box-sizing: border-box;
  203. border: 1px solid #e5e9ed;
  204. // 标题 start
  205. .pharmacy-main__title {
  206. height: 40px;
  207. background-color: #fff;
  208. font-size: 16px;
  209. color: #333;
  210. font-weight: 700;
  211. padding-left: 8px;
  212. display: flex;
  213. justify-content: space-between;
  214. align-items: center;
  215. border-bottom: 1px solid #e5e9ed;
  216. .autoUpdate {
  217. font-size: 14px;
  218. color: #49b856;
  219. margin-right: 8px;
  220. }
  221. .pharmacy-main__printAll {
  222. // width: 80px;
  223. height: 28px;
  224. line-height: 28px;
  225. margin-right: 16px;
  226. background-color: @primary-color;
  227. font-size: 14px;
  228. color: #fff;
  229. border-radius: 4px;
  230. text-align: center;
  231. display: flex;
  232. justify-content: center;
  233. }
  234. }
  235. // 标题 end
  236. // 搜索框 start
  237. .pharmacy-main__search {
  238. padding: 8px;
  239. position: relative;
  240. border-bottom: 1px solid #e5e9ed;
  241. .pharmacy-main__searchInput {
  242. border-radius: 100px;
  243. padding-right: 82px;
  244. border: 1px solid #e5e9ed;
  245. background-color: #fff;
  246. overflow: hidden;
  247. input {
  248. border: none;
  249. }
  250. .ant-input:focus {
  251. border-color: #fff;
  252. outline: 0;
  253. box-shadow: 0 0 0 2px #fff;
  254. }
  255. .pharmacy-main__searchText {
  256. cursor: pointer;
  257. position: absolute;
  258. top: 13px;
  259. right: 8px;
  260. width: 74px;
  261. height: 22px;
  262. border-left: 1px solid #e5e9ed;
  263. color: #999;
  264. padding-left: 8px;
  265. box-sizing: border-box;
  266. span {
  267. color: @primary-color;
  268. margin-left: 8px;
  269. }
  270. }
  271. }
  272. }
  273. // 搜索框 end
  274. // 列表 start
  275. .pharmacy-main__selectionWrap {
  276. flex: 1;
  277. // height: 630px;
  278. overflow: auto;
  279. &:first-child {
  280. border-top: 1px solid #e5e9ed;
  281. }
  282. .pharmacy-main__selection {
  283. box-sizing: border-box;
  284. border-bottom: 1px solid #e5e9ed;
  285. display: flex;
  286. cursor: pointer;
  287. &.noPointer{
  288. cursor: pointer;
  289. }
  290. &.pharmacy-main__selection--more {
  291. color: @primary-color;
  292. height: 34px;
  293. cursor: pointer;
  294. .pharmacy-main__selectionInfo {
  295. justify-content: center;
  296. align-items: center;
  297. flex-direction: row;
  298. .pharmacy-main__selection--icon {
  299. margin-right: 8px;
  300. }
  301. }
  302. }
  303. &.pharmacy-main__selection--noData {
  304. height: calc(100vh - 212px);
  305. min-height: 556px;
  306. display: flex;
  307. justify-content: center;
  308. align-items: center;
  309. img {
  310. width: 100px;
  311. }
  312. }
  313. .pharmacy-main__selectionInfo {
  314. padding: 8px;
  315. flex: 1;
  316. display: flex;
  317. flex-direction: column;
  318. justify-content: space-between;
  319. width: 100%;
  320. .pharmacy-main__selectionItem {
  321. display: flex;
  322. justify-content: space-between;
  323. padding: 0 8px;
  324. margin-bottom: 5px;
  325. // &:nth-of-typespan(1){
  326. // text-align: left;
  327. // }
  328. // &:nth-of-typespan(2){
  329. // text-align: right;
  330. // }
  331. .weight{
  332. font-weight: 500;
  333. .sign-red{
  334. color: red;
  335. }
  336. }
  337. .moreContent{
  338. width: 150px;
  339. display: flex;
  340. justify-content: flex-end;
  341. text-align: justify;
  342. &.left{
  343. justify-content: flex-start;
  344. }
  345. }
  346. .text-left{
  347. text-align: left;
  348. }
  349. .text-right{
  350. text-align: right;
  351. }
  352. span {
  353. color: #666;
  354. font-size: 14px;
  355. width: 50%;
  356. white-space: nowrap;
  357. overflow: hidden;
  358. text-overflow: ellipsis;
  359. // flex: 1;
  360. }
  361. strong {
  362. color: #333;
  363. font-weight: 700;
  364. font-size: 14px;
  365. }
  366. }
  367. }
  368. .pharmacy-main__selectionPrint {
  369. width: 90px;
  370. display: flex;
  371. justify-content: center;
  372. align-items: center;
  373. border-left: 1px solid #e5e9ed;
  374. .pharmacy-main__selectionPrintBtn {
  375. width: 60px;
  376. height: 28px;
  377. line-height: 28px;
  378. border-radius: 4px;
  379. border: 1px solid @primary-color;
  380. color: @primary-color;
  381. text-align: center;
  382. cursor: pointer;
  383. }
  384. }
  385. }
  386. }
  387. // 列表 end
  388. }
  389. }
  390. // 主体部分 end
  391. // 右侧悬浮菜单
  392. .fixed {
  393. position: fixed;
  394. top: 40%;
  395. right: 0;
  396. z-index: 99;
  397. border-radius: 5px 0 0 5px;
  398. .fixedMark {
  399. position: fixed;
  400. left: 0;
  401. top: 0;
  402. width: 100%;
  403. height: 100%;
  404. background: rgba(0, 0, 0, 0.2);
  405. z-index: 88;
  406. }
  407. // overflow: hidden;
  408. & > .left {
  409. width: 480px;
  410. // height: 280px;
  411. float: left;
  412. background: #fff;
  413. padding: 16px;
  414. border-radius: 5px;
  415. border: 1px solid #e5e9ed;
  416. // box-shadow: -8px 5px 15px #eae9e9;
  417. position: relative;
  418. z-index: 98;
  419. .con {
  420. background: #f9fafb;
  421. width: 100%;
  422. height: 100%;
  423. border-radius: 5px;
  424. border: 1px solid #e5e9ed;
  425. padding: 16px 20px;
  426. &.tableCon {
  427. padding: 0;
  428. .table {
  429. font-size: 14px;
  430. tr {
  431. td {
  432. padding: 15px 6px;
  433. text-align: center;
  434. & > .tdiv {
  435. overflow: hidden;
  436. .name {
  437. float: left;
  438. }
  439. .num {
  440. float: right;
  441. font-size: 12px;
  442. span {
  443. color: @primary-color;
  444. font-size: 14px;
  445. }
  446. }
  447. }
  448. .notOpen {
  449. color: #666;
  450. font-size: 12px;
  451. img {
  452. margin-bottom: 8px;
  453. }
  454. }
  455. }
  456. }
  457. }
  458. }
  459. .title {
  460. color: #333;
  461. text-align: center;
  462. }
  463. .conditions {
  464. & > .ant-row {
  465. margin: 8px 0;
  466. .ant-row {
  467. .ant-col-6 {
  468. margin: 2px 0;
  469. }
  470. }
  471. .checkAll {
  472. width: 100%;
  473. border-bottom: 1px solid rgb(233, 233, 233);
  474. color: @primary-color;
  475. }
  476. }
  477. }
  478. .btns {
  479. padding: 5px 20px 0 20px;
  480. }
  481. }
  482. }
  483. .right {
  484. // opacity: .5;
  485. width: 80px;
  486. float: left;
  487. background: rgba(255, 255, 255, 0.5);
  488. border-radius: 5px 0 0 5px;
  489. position: relative;
  490. z-index: 98;
  491. .fixedMenu {
  492. border: 1px solid #e5e9ed;
  493. color: rgba(0, 128, 0, 0.5);
  494. background: rgba(255, 255, 255, 0.5);
  495. text-align: center;
  496. border-radius: 5px 0 0 5px;
  497. // box-shadow: -3px 4px 15px rgba(234, 233, 233, .5);
  498. &.hujiaozhongxin {
  499. margin-bottom: 5px;
  500. }
  501. .menuItems {
  502. .item {
  503. height: 35px;
  504. line-height: 35px;
  505. padding: 0 6px;
  506. cursor: default;
  507. border-bottom: 1px solid #e5e9ed;
  508. user-select: none;
  509. &.checked {
  510. background: #fff;
  511. color: #52ab77;
  512. opacity: 1;
  513. box-shadow: -3px 4px 7px #eae9e9;
  514. }
  515. }
  516. .others {
  517. transition: height 0.4s linear;
  518. overflow: hidden;
  519. }
  520. }
  521. .arrow {
  522. cursor: pointer;
  523. }
  524. }
  525. }
  526. }
  527. }
  528. // 新增
  529. &.add {
  530. position: fixed;
  531. left: 0;
  532. top: 0;
  533. width: 100%;
  534. height: 100%;
  535. background: rgba(0, 0, 0, 0.4);
  536. z-index: 999;
  537. .modalBody {
  538. width: 40%;
  539. height: auto;
  540. padding: 10px 20px;
  541. border-radius: 5px;
  542. background: #fff;
  543. .title {
  544. width: 100%;
  545. text-align: center;
  546. font-size: 18px;
  547. position: relative;
  548. i {
  549. position: absolute;
  550. right: 0;
  551. top: 0;
  552. font-size: 20px;
  553. color: #666;
  554. cursor: pointer;
  555. padding: 0 5px;
  556. }
  557. }
  558. .content {
  559. width: 100%;
  560. // height: auto;
  561. padding: 15px 0px 0 0px;
  562. // max-height: 500px;
  563. // overflow-y: auto;
  564. .ant-select{
  565. width: 100%;
  566. }
  567. .ant-form-item {
  568. margin-bottom: 14px;
  569. display: flex;
  570. flex-wrap: wrap;
  571. .ant-form-item-label {
  572. text-align: left;
  573. font-weight: 500;
  574. }
  575. .ant-form-item-control-wrapper{
  576. .ant-form-item-control{
  577. width: 400px;
  578. }
  579. }
  580. }
  581. .select-item{
  582. margin-top: 5px;
  583. display: flex;
  584. flex-wrap: wrap;
  585. padding: 3px 8px;
  586. border: 1px solid #e5e9ed;
  587. border-radius: 5px;
  588. margin-right: 10px;
  589. cursor: pointer;
  590. display: inline-block;
  591. }
  592. .activeClass{
  593. color: #64BD7B;
  594. border-color: #64BD7B;
  595. }
  596. }
  597. .bottom-btn{
  598. margin-top: 10px;
  599. .btn-right{
  600. margin-right: 10px;
  601. }
  602. }
  603. }
  604. .no-width{
  605. width: 30% !important;
  606. }
  607. }
  608. .pathology-box {
  609. position: fixed;
  610. left: 0;
  611. top: 0;
  612. width: 100%;
  613. height: 100%;
  614. background: rgba(0, 0, 0, 0.4);
  615. z-index: 99;
  616. .width-80{
  617. width: 80% !important;
  618. }
  619. .pathology-content{
  620. width: 80%;
  621. background: #fff;
  622. border-radius: 5px;
  623. padding: 10px 20px;
  624. color: #000;
  625. .title {
  626. width: 100%;
  627. text-align: center;
  628. font-size: 18px;
  629. position: relative;
  630. i {
  631. position: absolute;
  632. right: 0;
  633. top: 0;
  634. font-size: 20px;
  635. color: #666;
  636. cursor: pointer;
  637. padding: 0 5px;
  638. }
  639. }
  640. .content{
  641. width: 100%;
  642. background: #f9fafb;
  643. border: 1px solid #e5e9ed;
  644. border-radius: 5px;
  645. margin-top: 12px;
  646. display: flex;
  647. // .addForm{
  648. // display: flex;
  649. .font-weight-500{
  650. color: #000;
  651. font-weight: 500;
  652. }
  653. .ant-select{
  654. width: 100%;
  655. }
  656. .content-item{
  657. height: auto;
  658. max-height: 460px;
  659. overflow-y: auto;
  660. width: 78%;
  661. padding: 15px;
  662. .form-title-box{
  663. display: flex;
  664. margin-bottom: 10px;
  665. .form-title{
  666. color: #333;
  667. margin-right: 40px;
  668. }
  669. .mar-ri-20{
  670. margin-right: 20px !important;
  671. }
  672. .width-150{
  673. width: 150px;
  674. }
  675. .width-200{
  676. width: 200px;
  677. }
  678. }
  679. .center{
  680. text-align: center;
  681. padding: 10px 0;
  682. }
  683. .disp-fl{
  684. display: flex;
  685. align-items: center;
  686. .width-120{
  687. width: 85px;
  688. }
  689. .ant-input{
  690. width: 300px;
  691. }
  692. }
  693. .error-fix{
  694. margin-top: 10px;
  695. color: red;
  696. text-align: center;
  697. }
  698. .form-list{
  699. margin-bottom: 10px;
  700. .specimen-list{
  701. display: flex;
  702. flex-wrap: wrap;
  703. .specimen-item-class{
  704. text-decoration: underline;
  705. cursor: pointer;
  706. margin-right: 40px;
  707. color:#333;
  708. }
  709. }
  710. .indent{
  711. text-indent: 2ch;
  712. color: #333;
  713. }
  714. }
  715. .ant-form-item {
  716. margin-bottom: 14px;
  717. display: flex;
  718. flex-wrap: wrap;
  719. .ant-form-item-label {
  720. text-align: left;
  721. font-weight: 500;
  722. }
  723. .ant-form-item-control-wrapper{
  724. .ant-form-item-control{
  725. width: 400px;
  726. }
  727. }
  728. }
  729. .add-icon-class{
  730. border: 1px solid #e5e9ed;
  731. border-radius: 3px;
  732. width: 26px;
  733. height: 26px;
  734. line-height: 26px;
  735. text-align: center;
  736. position: relative;
  737. top: 7px;
  738. cursor: pointer;
  739. .form-icon{
  740. }
  741. }
  742. }
  743. .content-item-right{
  744. width: 25%;
  745. height: auto;
  746. max-height: 460px;
  747. overflow-y: auto;
  748. padding: 10px;
  749. .step-title{
  750. font-size: 16px;
  751. font-weight: 500;
  752. margin-bottom: 10px;
  753. }
  754. }
  755. .boder-right{
  756. border-right: 1px solid #e5e9ed;
  757. }
  758. .specimen-item{
  759. display: flex;
  760. margin-bottom: 10px;
  761. .specimen-icon{
  762. color: #64BD7B;
  763. cursor: pointer;
  764. font-size: 20px;
  765. position: relative;
  766. top: -4px;
  767. left: 2px;
  768. }
  769. }
  770. // }
  771. }
  772. .bottom-btn{
  773. margin-top: 10px;
  774. .btn-right{
  775. margin-right: 10px;
  776. }
  777. }
  778. }
  779. }
  780. .mask-style{
  781. width: 100%;
  782. height: 100%;
  783. position: fixed;
  784. top: 0;
  785. left: 0;
  786. z-index: 999;
  787. display: flex;
  788. background: rgba(0,0,0,0.2);
  789. align-items: center;
  790. justify-content: center;
  791. }
  792. .spin-style{
  793. z-index:9999;
  794. }
  795. .look{
  796. .save {
  797. position: fixed;
  798. left: 0;
  799. top: 0;
  800. width: 100%;
  801. height: 100%;
  802. background: rgba(0, 0, 0, 0.4);
  803. z-index: 999;
  804. .modalBody-ga{
  805. width: 80% !important;
  806. .list-template__searchBox{
  807. margin-top: 10px;
  808. }
  809. .ant-select{
  810. width: 20%;
  811. }
  812. }
  813. .modalBody {
  814. width: 350px;
  815. background: #fff;
  816. border-radius: 5px;
  817. padding: 10px 20px;
  818. color: #333;
  819. .title {
  820. width: 100%;
  821. text-align: center;
  822. font-size: 18px;
  823. position: relative;
  824. i {
  825. position: absolute;
  826. right: 0;
  827. top: 0;
  828. font-size: 20px;
  829. color: #666;
  830. cursor: pointer;
  831. padding: 0 5px;
  832. }
  833. }
  834. .content {
  835. width: 100%;
  836. height: 117px;
  837. background: #f9fafb;
  838. border: 1px solid #e5e9ed;
  839. border-radius: 5px;
  840. overflow: hidden;
  841. margin-top: 12px;
  842. div {
  843. text-align: center;
  844. margin: 0;
  845. &.icon {
  846. margin-top: 17px;
  847. i {
  848. color: #34b349;
  849. font-size: 30px !important;
  850. &.transport-wenhao {
  851. color: #f5a523;
  852. }
  853. &.transport-shibai {
  854. color: #ff3a52;
  855. }
  856. }
  857. }
  858. &.defeat {
  859. color: #333;
  860. font-size: 18px;
  861. }
  862. &:nth-child(3) {
  863. font-size: 14px;
  864. color: #666;
  865. }
  866. }
  867. }
  868. button {
  869. margin-top: 10px;
  870. &.btn {
  871. margin-left: 8px;
  872. }
  873. }
  874. }
  875. // 新增
  876. &.add {
  877. .modalBody {
  878. width: 420px;
  879. height: auto;
  880. .content {
  881. width: 100%;
  882. height: auto;
  883. padding: 19px 14px 0 14px;
  884. max-height: 500px;
  885. overflow-y: auto;
  886. .ant-select{
  887. width: 100%;
  888. }
  889. .ant-calendar-picker{
  890. width: 100% !important;
  891. }
  892. .list-template__bottom {
  893. background: #f9fafb;
  894. border: 1px solid #e5e9ed;
  895. border-radius: 8px;
  896. padding-bottom: 56px;
  897. position: relative;
  898. .list-template__nzTable {
  899. padding: 16px 16px 0;
  900. .thead {
  901. background-image: linear-gradient(to right, @bg-start, @bg-end);
  902. th {
  903. background: transparent;
  904. color: #fff;
  905. text-align: center;
  906. }
  907. }
  908. .ant-table-body {
  909. border-bottom: 1px solid #e5e9ed;
  910. }
  911. .ant-table-tbody {
  912. tr {
  913. text-align: center;
  914. color: #333;
  915. td {
  916. border: none;
  917. &.tab_hover:hover{
  918. text-decoration: underline;
  919. cursor: pointer;
  920. }
  921. .coop {
  922. button{
  923. color: #333;
  924. }
  925. span,button {
  926. display: inline-block;
  927. padding: 0 8px;
  928. cursor: pointer;
  929. position: relative;
  930. &::after {
  931. content: "|";
  932. position: absolute;
  933. top: 0;
  934. right: 0;
  935. }
  936. &:hover,
  937. &:active {
  938. color: @primary-color;
  939. }
  940. &:nth-last-child(1) {
  941. &::after {
  942. content: "";
  943. }
  944. }
  945. }
  946. }
  947. }
  948. }
  949. }
  950. }
  951. .list-template__pagination {
  952. height: 56px;
  953. display: flex;
  954. align-items: center;
  955. position: absolute;
  956. right: 8px;
  957. }
  958. }
  959. .addForm {
  960. .ant-form-item {
  961. margin-bottom: 14px;
  962. .ant-form-item-label {
  963. line-height: 14px;
  964. text-align: left;
  965. }
  966. }
  967. }
  968. .editForm {
  969. .ant-form-item {
  970. margin-bottom: 14px;
  971. .ant-form-item-label {
  972. line-height: 0;
  973. text-align: left;
  974. }
  975. }
  976. }
  977. }
  978. button {
  979. &:nth-child(1) {
  980. margin-right: 20px;
  981. }
  982. }
  983. }
  984. }
  985. }
  986. }