specimen-view2.component.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  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. .pharmacy {
  27. display: flex;
  28. flex-direction: column;
  29. height: 100%;
  30. }
  31. // 头部 start
  32. .pharmacy-header {
  33. height: 88px;
  34. background-color: #fff;
  35. border-bottom: 1px solid #e5e9ed;
  36. box-sizing: border-box;
  37. display: flex;
  38. .pharmacy-logo {
  39. width: 221px;
  40. background-color: #0f2e3b;
  41. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. .pharmacy-logo__img {
  45. width: 32px;
  46. }
  47. .pharmacy-logo__name {
  48. font-size: 14px;
  49. color: #fff;
  50. }
  51. }
  52. .pharmacy-name {
  53. flex: 1;
  54. border-right: 1px solid #e5e9ed;
  55. display: flex;
  56. justify-content: space-between;
  57. align-items: center;
  58. .pharmacy-name__title {
  59. font-size: 22px;
  60. color: #333;
  61. margin-left: 43px;
  62. line-height: 87px;
  63. .currentDate {
  64. margin-left: 24px;
  65. font-size: 16px;
  66. }
  67. }
  68. .pharmacy-name__total {
  69. margin-right: 16px;
  70. font-size: 16px;
  71. }
  72. }
  73. .pharmacy-operate {
  74. width: 211px;
  75. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. position: relative;
  79. .pharmacy-operatePop {
  80. cursor: pointer;
  81. border: 1px solid #e5e9ed;
  82. background-color: #fff;
  83. position: absolute;
  84. left: 0;
  85. top: 100%;
  86. width: 100%;
  87. height: 34px;
  88. line-height: 34px;
  89. text-align: center;
  90. font-size: 14px;
  91. color: @primary-color;
  92. }
  93. &:after {
  94. content: "";
  95. display: block;
  96. width: 0;
  97. height: 0;
  98. border-left: 7px solid transparent;
  99. border-right: 7px solid transparent;
  100. border-top: 10px solid #666;
  101. }
  102. .pharmacy-operate__img {
  103. max-height: 40px;
  104. margin-right: 8px;
  105. }
  106. .pharmacy-operate__title {
  107. font-size: 20px;
  108. color: #666;
  109. padding-right: 24px;
  110. cursor: pointer;
  111. }
  112. }
  113. }
  114. .userInfo {
  115. display: none;
  116. width: 336px;
  117. height: 100%;
  118. float: right;
  119. padding: 8px;
  120. box-sizing: border-box;
  121. font-size: 14px;
  122. border-left: 1px solid #e5e9ed;
  123. .wel {
  124. line-height: 15px;
  125. }
  126. .user {
  127. font-size: 20px;
  128. height: 36px;
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. line-height: normal;
  133. img {
  134. height: 100%;
  135. margin-right: 8px;
  136. }
  137. }
  138. .userInfo-wrap {
  139. display: flex;
  140. justify-content: flex-end;
  141. .logOut {
  142. display: inline-block;
  143. text-align: right;
  144. color: @primary-color;
  145. line-height: 20px;
  146. cursor: pointer;
  147. margin-right: 8px;
  148. }
  149. }
  150. }
  151. // 头部 end
  152. // 主体部分 start
  153. .pharmacy-main {
  154. height: calc(100vh - 88px);
  155. min-height: 680px;
  156. flex: 1;
  157. padding: 16px;
  158. display: flex;
  159. justify-content: space-between;
  160. .pharmacy-main__list {
  161. display: flex;
  162. flex-direction: column;
  163. background-color: #f9fafb;
  164. flex: 1;
  165. margin: 0 4px;
  166. box-sizing: border-box;
  167. border: 1px solid #e5e9ed;
  168. // 标题 start
  169. .pharmacy-main__title {
  170. height: 40px;
  171. background-color: #fff;
  172. font-size: 16px;
  173. color: #333;
  174. font-weight: 700;
  175. padding-left: 8px;
  176. display: flex;
  177. justify-content: space-between;
  178. align-items: center;
  179. border-bottom: 1px solid #e5e9ed;
  180. .autoUpdate {
  181. font-size: 14px;
  182. color: #49b856;
  183. margin-right: 8px;
  184. }
  185. .pharmacy-main__printAll {
  186. // width: 80px;
  187. height: 28px;
  188. line-height: 28px;
  189. margin-right: 16px;
  190. background-color: @primary-color;
  191. font-size: 14px;
  192. color: #fff;
  193. border-radius: 4px;
  194. text-align: center;
  195. display: flex;
  196. justify-content: center;
  197. }
  198. }
  199. // 标题 end
  200. // 搜索框 start
  201. .pharmacy-main__search {
  202. padding: 8px;
  203. position: relative;
  204. .pharmacy-main__searchInput {
  205. border-radius: 100px;
  206. padding-right: 82px;
  207. border: 1px solid #e5e9ed;
  208. background-color: #fff;
  209. overflow: hidden;
  210. input {
  211. border: none;
  212. }
  213. .ant-input:focus {
  214. border-color: #fff;
  215. outline: 0;
  216. box-shadow: 0 0 0 2px #fff;
  217. }
  218. .pharmacy-main__searchText {
  219. cursor: pointer;
  220. position: absolute;
  221. top: 13px;
  222. right: 8px;
  223. width: 74px;
  224. height: 22px;
  225. border-left: 1px solid #e5e9ed;
  226. color: #999;
  227. padding-left: 8px;
  228. box-sizing: border-box;
  229. span {
  230. color: @primary-color;
  231. margin-left: 8px;
  232. }
  233. }
  234. }
  235. }
  236. // 搜索框 end
  237. // 列表 start
  238. .pharmacy-main__selectionWrap {
  239. flex: 1;
  240. // height: 630px;
  241. overflow: auto;
  242. &:first-child {
  243. border-top: 1px solid #e5e9ed;
  244. }
  245. .pharmacy-main__selection {
  246. box-sizing: border-box;
  247. border-bottom: 1px solid #e5e9ed;
  248. display: flex;
  249. cursor: pointer;
  250. &.noPointer{
  251. cursor: default;
  252. }
  253. &.pharmacy-main__selection--more {
  254. color: @primary-color;
  255. height: 34px;
  256. cursor: pointer;
  257. .pharmacy-main__selectionInfo {
  258. justify-content: center;
  259. align-items: center;
  260. flex-direction: row;
  261. .pharmacy-main__selection--icon {
  262. margin-right: 8px;
  263. }
  264. }
  265. }
  266. &.pharmacy-main__selection--noData {
  267. height: calc(100vh - 212px);
  268. min-height: 556px;
  269. display: flex;
  270. justify-content: center;
  271. align-items: center;
  272. img {
  273. width: 100px;
  274. }
  275. }
  276. .pharmacy-main__selectionInfo {
  277. padding: 8px;
  278. flex: 1;
  279. display: flex;
  280. flex-direction: column;
  281. justify-content: space-between;
  282. .pharmacy-main__selectionItem {
  283. display: flex;
  284. justify-content: space-between;
  285. padding: 0 8px;
  286. .moreContent{
  287. width: 150px;
  288. display: flex;
  289. justify-content: flex-end;
  290. text-align: justify;
  291. &.left{
  292. justify-content: flex-start;
  293. }
  294. }
  295. span {
  296. color: #666;
  297. font-size: 12px;
  298. }
  299. strong {
  300. color: #333;
  301. font-weight: 700;
  302. font-size: 14px;
  303. }
  304. }
  305. }
  306. .pharmacy-main__selectionPrint {
  307. width: 90px;
  308. display: flex;
  309. justify-content: center;
  310. align-items: center;
  311. border-left: 1px solid #e5e9ed;
  312. .pharmacy-main__selectionPrintBtn {
  313. width: 60px;
  314. height: 28px;
  315. line-height: 28px;
  316. border-radius: 4px;
  317. border: 1px solid @primary-color;
  318. color: @primary-color;
  319. text-align: center;
  320. cursor: pointer;
  321. }
  322. }
  323. }
  324. }
  325. // 列表 end
  326. }
  327. }
  328. // 主体部分 end
  329. // 右侧悬浮菜单
  330. .fixed {
  331. position: fixed;
  332. top: 40%;
  333. right: 0;
  334. z-index: 99;
  335. border-radius: 5px 0 0 5px;
  336. .fixedMark {
  337. position: fixed;
  338. left: 0;
  339. top: 0;
  340. width: 100%;
  341. height: 100%;
  342. background: rgba(0, 0, 0, 0.2);
  343. z-index: 88;
  344. }
  345. // overflow: hidden;
  346. & > .left {
  347. width: 480px;
  348. // height: 280px;
  349. float: left;
  350. background: #fff;
  351. padding: 16px;
  352. border-radius: 5px;
  353. border: 1px solid #e5e9ed;
  354. // box-shadow: -8px 5px 15px #eae9e9;
  355. position: relative;
  356. z-index: 98;
  357. .con {
  358. background: #f9fafb;
  359. width: 100%;
  360. height: 100%;
  361. border-radius: 5px;
  362. border: 1px solid #e5e9ed;
  363. padding: 16px 20px;
  364. &.tableCon {
  365. padding: 0;
  366. .table {
  367. font-size: 14px;
  368. tr {
  369. td {
  370. padding: 15px 6px;
  371. text-align: center;
  372. & > .tdiv {
  373. overflow: hidden;
  374. .name {
  375. float: left;
  376. }
  377. .num {
  378. float: right;
  379. font-size: 12px;
  380. span {
  381. color: @primary-color;
  382. font-size: 14px;
  383. }
  384. }
  385. }
  386. .notOpen {
  387. color: #666;
  388. font-size: 12px;
  389. img {
  390. margin-bottom: 8px;
  391. }
  392. }
  393. }
  394. }
  395. }
  396. }
  397. .title {
  398. color: #333;
  399. text-align: center;
  400. }
  401. .conditions {
  402. & > .ant-row {
  403. margin: 8px 0;
  404. .ant-row {
  405. .ant-col-6 {
  406. margin: 2px 0;
  407. }
  408. }
  409. .checkAll {
  410. width: 100%;
  411. border-bottom: 1px solid rgb(233, 233, 233);
  412. color: @primary-color;
  413. }
  414. }
  415. }
  416. .btns {
  417. padding: 5px 20px 0 20px;
  418. }
  419. }
  420. }
  421. .right {
  422. // opacity: .5;
  423. width: 80px;
  424. float: left;
  425. background: rgba(255, 255, 255, 0.5);
  426. border-radius: 5px 0 0 5px;
  427. position: relative;
  428. z-index: 98;
  429. .fixedMenu {
  430. border: 1px solid #e5e9ed;
  431. color: rgba(0, 128, 0, 0.5);
  432. background: rgba(255, 255, 255, 0.5);
  433. text-align: center;
  434. border-radius: 5px 0 0 5px;
  435. // box-shadow: -3px 4px 15px rgba(234, 233, 233, .5);
  436. &.hujiaozhongxin {
  437. margin-bottom: 5px;
  438. }
  439. .menuItems {
  440. .item {
  441. height: 35px;
  442. line-height: 35px;
  443. padding: 0 6px;
  444. cursor: default;
  445. border-bottom: 1px solid #e5e9ed;
  446. user-select: none;
  447. &.checked {
  448. background: #fff;
  449. color: #52ab77;
  450. opacity: 1;
  451. box-shadow: -3px 4px 7px #eae9e9;
  452. }
  453. }
  454. .others {
  455. transition: height 0.4s linear;
  456. overflow: hidden;
  457. }
  458. }
  459. .arrow {
  460. cursor: pointer;
  461. }
  462. }
  463. }
  464. }
  465. }