home.component.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. @import "../../../../src/theme.less";
  2. :host {
  3. width: 100%;
  4. height: 100%;
  5. }
  6. .home {
  7. width: 100%;
  8. height: 100%;
  9. .content {
  10. width: 100%;
  11. height: 100%;
  12. position: relative;
  13. .left {
  14. height: 100%;
  15. padding: 16px;
  16. .leftCon {
  17. position: relative;
  18. width: 100%;
  19. height: 100%;
  20. // display: flex;
  21. // flex-direction: column;
  22. .top {
  23. border: 1px solid #e5e9ed;
  24. position: relative;
  25. z-index: 2;
  26. .num {
  27. width: 100%;
  28. height: 32px;
  29. line-height: 32px;
  30. font-size: 14px;
  31. padding: 0 16px;
  32. border-bottom: 1px solid #e5e9ed;
  33. .item {
  34. display: inline-block;
  35. margin-right: 24px;
  36. span:nth-child(2) {
  37. font-size: 14px;
  38. font-weight: 600;
  39. }
  40. }
  41. .toCompre {
  42. float: right;
  43. color: @primary-color;
  44. cursor: pointer;
  45. }
  46. }
  47. .orderNum {
  48. padding: 16px;
  49. // border-bottom: 1px solid #e5e9ed;
  50. .ing {
  51. &>div {
  52. display: inline-block;
  53. font-size: 14px;
  54. color: #999;
  55. div {
  56. display: inline-block;
  57. margin-right: 18px;
  58. }
  59. &>div:nth-child(1) {
  60. position: relative;
  61. padding-left: 10px;
  62. &::before {
  63. content: '';
  64. position: absolute;
  65. left: 0;
  66. width: 4px;
  67. height: 100%;
  68. background: @primary-color;
  69. margin-right: 8px;
  70. }
  71. }
  72. &>div:nth-last-child(1) {
  73. margin: 0;
  74. }
  75. span {
  76. font-size: 18px;
  77. color: #333;
  78. font-weight: 500;
  79. &.rate {
  80. font-size: 18px;
  81. color: @primary-color;
  82. }
  83. }
  84. }
  85. }
  86. .nums {
  87. height: 32px;
  88. line-height: 32px;
  89. background: #f9fafb;
  90. margin-top: 10px;
  91. font-size: 12px;
  92. padding: 0 3px;
  93. .item {
  94. // display: inline-block;
  95. i {
  96. color: @primary-color;
  97. margin-right: 3px;
  98. font-size: 14px;
  99. }
  100. span:nth-child(2) {
  101. color: #666;
  102. margin-right: 8px;
  103. }
  104. span:nth-child(3) {
  105. color: #333;
  106. }
  107. }
  108. }
  109. }
  110. .swiperBox {
  111. width: 100%;
  112. .item {
  113. height: 32px;
  114. font-size: 12px;
  115. line-height: 30px;
  116. padding: 0 16px;
  117. position: relative;
  118. overflow: hidden;
  119. &:nth-child(1) {
  120. border-right: 1px solid #e5e9ed;
  121. }
  122. .swiper {
  123. font-weight: 600;
  124. position: relative;
  125. left: 0;
  126. top: 0;
  127. .swiperItem {
  128. i {
  129. color: #ff3b53;
  130. }
  131. .n {
  132. color: @primary-color;
  133. }
  134. }
  135. }
  136. .detail {
  137. color: @primary-color;
  138. cursor: default;
  139. position: absolute;
  140. top: 1px;
  141. right: 16px;
  142. }
  143. }
  144. }
  145. }
  146. .center {
  147. margin-top: 8px;
  148. border: 1px solid #e5e9ed;
  149. padding: 16px;
  150. position: relative;
  151. z-index: 3;
  152. .title {
  153. font-size: 14px;
  154. color: #333;
  155. margin-bottom: 8px;
  156. }
  157. .table {
  158. width: 100%;
  159. height: 100%;
  160. .box {
  161. border-radius: 5px;
  162. background: #f9fafb;
  163. position: relative;
  164. .hospitalTable {
  165. padding-bottom: 0;
  166. .ant-table-small {
  167. overflow: hidden;
  168. }
  169. .thead {
  170. th {
  171. background: transparent;
  172. color: #333;
  173. text-align: center;
  174. font-size: 12px;
  175. padding: 8px;
  176. }
  177. }
  178. .ant-table-body {
  179. border-bottom: 1px solid #e5e9ed;
  180. }
  181. .ant-table-tbody {
  182. tr {
  183. text-align: center;
  184. font-size: 12px;
  185. border: none;
  186. color: #333;
  187. td {
  188. border: none;
  189. padding: 6px;
  190. .coop {
  191. span {
  192. display: inline-block;
  193. width: 60px;
  194. cursor: pointer;
  195. &::after {
  196. content: '|';
  197. float: right;
  198. }
  199. &:hover {
  200. color: @primary-color;
  201. }
  202. &:active {
  203. color: @primary-color;
  204. }
  205. &:nth-last-child(1) {
  206. &::after {
  207. content: '';
  208. }
  209. }
  210. }
  211. }
  212. }
  213. }
  214. tr:nth-child(2n-1) {
  215. background: #f9fafb;
  216. }
  217. }
  218. }
  219. }
  220. }
  221. }
  222. .bottom {
  223. // flex: 1;
  224. margin-top: 8px;
  225. height: 329px;
  226. .echart {
  227. padding-right: 8px;
  228. height: 100%;
  229. position: absolute;
  230. top: 0;
  231. bottom: 0;
  232. left: 0;
  233. .box {
  234. width: 100%;
  235. height: 100%;
  236. border: 1px solid #e5e9ed;
  237. padding: 16px;
  238. .title {
  239. float: left;
  240. }
  241. .echarts {
  242. padding-top: 30px;
  243. width: 100%;
  244. height: 100%;
  245. &>div {
  246. height: 100% !important;
  247. }
  248. }
  249. .none {
  250. width: 100%;
  251. height: 100%;
  252. text-align: center;
  253. }
  254. }
  255. }
  256. .table {
  257. border: 1px solid #e5e9ed;
  258. padding: 16px;
  259. height: 100%;
  260. position: absolute;
  261. top: 0;
  262. bottom: 0;
  263. right: 0;
  264. .title {
  265. float: left;
  266. }
  267. .toMenu {
  268. float: right;
  269. color: @primary-color;
  270. cursor: default;
  271. }
  272. .tableBox {
  273. width: 100%;
  274. height: 100%;
  275. padding-top: 40px;
  276. .errorTabl {
  277. height: 100%;
  278. .box {
  279. height: 100%;
  280. th,
  281. td {
  282. text-align: center;
  283. }
  284. .detail {
  285. color: @primary-color;
  286. cursor: default;
  287. }
  288. }
  289. }
  290. }
  291. }
  292. }
  293. }
  294. }
  295. .right {
  296. height: 100%;
  297. border-left: 1px solid #e5e9ed;
  298. .box {
  299. position: relative;
  300. width: 100%;
  301. height: 100%;
  302. display: flex;
  303. flex-direction: column;
  304. .tabs {
  305. position: relative;
  306. width: 100%;
  307. height: 30px;
  308. line-height: 30px;
  309. z-index: 3;
  310. background: #fff;
  311. .item {
  312. border-bottom: 2px solid #e5e9ed;
  313. cursor: default;
  314. text-align: center;
  315. &:nth-child(1) {
  316. border-right: 1px solid #e5e9ed;
  317. }
  318. &.checked {
  319. color: @primary-color;
  320. border-bottom-color: @primary-color;
  321. }
  322. }
  323. }
  324. .orders {
  325. flex: 1;
  326. display: flex;
  327. flex-direction: column;
  328. .ordersBox {
  329. position: relative;
  330. overflow-x: hidden;
  331. overflow-y: auto;
  332. height: calc(100vh - 175px);
  333. min-height: 680px;
  334. .items {
  335. width: 100%;
  336. .item {
  337. width: 100%;
  338. border-bottom: 1px solid #e5e9ed;
  339. .info {
  340. width: 100%;
  341. padding: 16px 16px 8px 16px;
  342. font-size: 12px;
  343. .flex{
  344. display: flex;
  345. justify-content: space-between;
  346. }
  347. .title {
  348. color: #333;
  349. &:nth-child(1) {
  350. font-weight: 500;
  351. }
  352. div:nth-child(2) {
  353. text-align: right;
  354. }
  355. }
  356. .over {
  357. overflow: hidden;
  358. display: -webkit-box;
  359. -webkit-box-orient: vertical;
  360. text-overflow: ellipsis;
  361. -webkit-line-clamp: 2;
  362. &.noOver {
  363. -webkit-line-clamp: unset;
  364. }
  365. }
  366. .up {
  367. text-align: right;
  368. color: @primary-color;
  369. margin-top: 5px;
  370. span {
  371. cursor: default;
  372. }
  373. }
  374. }
  375. .btns {
  376. text-align: center;
  377. .btn {
  378. background: @primary-color;
  379. border-radius: 0;
  380. height: 33px;
  381. line-height: 33px;
  382. cursor: default;
  383. &:nth-child(2) {
  384. border: none;
  385. background: #e5e9ed;
  386. color: #666;
  387. }
  388. }
  389. }
  390. }
  391. }
  392. .loading {
  393. width: 100%;
  394. height: 65%;
  395. text-align: center;
  396. }
  397. .none {
  398. width: 100%;
  399. height: 65%;
  400. text-align: center;
  401. }
  402. }
  403. .pageing {
  404. width: 100%;
  405. background: #fff;
  406. padding: 16px 0;
  407. text-align: center;
  408. border-top: 1px solid #e5e9ed;
  409. }
  410. }
  411. }
  412. }
  413. }
  414. }
  415. .save {
  416. position: fixed;
  417. left: 0;
  418. top: 0;
  419. width: 100%;
  420. height: 100%;
  421. background: rgba(0, 0, 0, .4);
  422. z-index: 99;
  423. .modalBody {
  424. width: 1000px;
  425. background: #fff;
  426. border-radius: 5px;
  427. padding: 10px 20px;
  428. color: #333;
  429. .title {
  430. width: 100%;
  431. text-align: center;
  432. font-size: 18px;
  433. position: relative;
  434. i {
  435. position: absolute;
  436. right: 0;
  437. top: 0;
  438. font-size: 20px;
  439. color: #666;
  440. cursor: pointer;
  441. padding: 0 5px;
  442. }
  443. }
  444. .content {
  445. width: 100%;
  446. border: 1px solid #e5e9ed;
  447. border-radius: 5px;
  448. overflow: hidden;
  449. margin-top: 12px;
  450. // 意见箱查看
  451. .conItem {
  452. color: #333;
  453. .jiTit {
  454. height: 50px;
  455. line-height: 50px;
  456. border-bottom: 1px solid #e5e9ed;
  457. padding: 0 32px;
  458. }
  459. .defeat {
  460. font-size: 14px;
  461. color: #333;
  462. padding: 15px 32px;
  463. min-height: 125px;
  464. }
  465. &.noCon {
  466. background: #f9fafb;
  467. padding: 16px 32px 24px 32px;
  468. border-top: 1px solid #e5e9ed;
  469. .title {
  470. text-align: left;
  471. font-size: 14px;
  472. margin-bottom: 8px;
  473. }
  474. textarea {
  475. min-height: 210px;
  476. }
  477. }
  478. }
  479. }
  480. button {
  481. margin-top: 10px;
  482. margin-left: 10px;
  483. }
  484. }
  485. // 新增
  486. &.add {
  487. .modalBody {
  488. width: 480px;
  489. height: auto;
  490. .content {
  491. width: 100%;
  492. height: auto;
  493. padding: 19px 14px 0 14px;
  494. max-height: 500px;
  495. overflow-y: auto;
  496. min-height: 130px;
  497. .addForm {
  498. .ant-form-item {
  499. margin-bottom: 14px;
  500. .ant-form-item-label {
  501. line-height: 14px;
  502. text-align: left;
  503. }
  504. }
  505. }
  506. .editForm {
  507. .ant-form-item {
  508. margin-bottom: 14px;
  509. .ant-form-item-label {
  510. line-height: 0;
  511. }
  512. }
  513. }
  514. }
  515. button {
  516. &:nth-child(1) {
  517. margin-right: 20px;
  518. }
  519. }
  520. }
  521. }
  522. .txtL {
  523. text-align: left !important;
  524. }
  525. .txtR {
  526. text-align: right !important;
  527. }
  528. }