printer.scss 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508
  1. .printerlist {
  2. width: 100%;
  3. height: 100%;
  4. display: flex;
  5. align-items: center;
  6. justify-content: space-between;
  7. box-sizing: border-box;
  8. .printerlist-box {
  9. width: 100%;
  10. height: 100%;
  11. background: #ffffff;
  12. display: flex;
  13. .printerlist-left {
  14. width: 5rem;
  15. height: 100%;
  16. border-right: 0.01rem solid #e6e6e6;
  17. box-sizing: border-box;
  18. display: flex;
  19. flex-direction: column;
  20. .notYet {
  21. color: #e6e6e6;
  22. font-size: 0.4rem;
  23. margin-top: 3rem;
  24. text-align: center;
  25. }
  26. .add-printer {
  27. padding: .15rem;
  28. border-top: 0.01rem solid #e6e6e6;
  29. background: #fff;
  30. button {
  31. height: .4rem;
  32. line-height: .4rem;
  33. }
  34. }
  35. .printer-title {
  36. text-align: center;
  37. line-height: 0.6rem;
  38. font-size: 0.18rem;
  39. font-weight: 500;
  40. height: 0.6rem;
  41. border-bottom: 0.01rem solid #e6e6e6;
  42. box-sizing: border-box;
  43. position: relative;
  44. .icongengduo1 {
  45. position: absolute;
  46. top: 50%;
  47. right: 0.2rem;
  48. transform: translateY(-50%);
  49. font-size: 0.3rem;
  50. color: $primary-color;
  51. }
  52. }
  53. .printer-search {
  54. width: 100%;
  55. height: 0.6rem;
  56. border-bottom: 0.01rem solid #e6e6e6;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. padding: 0 0.2rem;
  61. box-sizing: border-box;
  62. .search {
  63. width: 5.6rem;
  64. height: 0.4rem;
  65. border-radius: 0.04rem;
  66. background: #f5f5f5;
  67. display: flex;
  68. align-items: center;
  69. padding: 0 0.2rem;
  70. box-sizing: border-box;
  71. .iconfont {
  72. font-size: 0.16rem;
  73. color: #909399;
  74. margin-right: 0.11rem;
  75. }
  76. input {
  77. width: 80%;
  78. height: 60%;
  79. border: none;
  80. font-size: 0.14rem;
  81. }
  82. }
  83. }
  84. .printer-list-wrap {
  85. flex: 1;
  86. height: 0;
  87. }
  88. .printer-list-scroll {
  89. width: 100%;
  90. height: 100%;
  91. .itemhover {
  92. background: #f3eeff;
  93. }
  94. .item {
  95. width: 100%;
  96. display: flex;
  97. align-items: center;
  98. padding: 0.2rem;
  99. box-sizing: border-box;
  100. border-bottom: 0.01rem solid #e6e6e6;
  101. image {
  102. width: 0.7rem;
  103. height: 0.7rem;
  104. margin-right: 0.1rem;
  105. }
  106. .item-right {
  107. display: flex;
  108. flex-direction: column;
  109. justify-content: space-between;
  110. height: 0.6rem;
  111. .printer-name {
  112. font-size: 0.16rem;
  113. }
  114. .printer-money {
  115. font-size: 0.14rem;
  116. }
  117. }
  118. }
  119. }
  120. }
  121. .printerlist-right {
  122. width: 0;
  123. flex: 1;
  124. height: 100%;
  125. border-right: 0.01rem solid #e6e6e6;
  126. box-sizing: border-box;
  127. .printer-title {
  128. text-align: center;
  129. line-height: 0.6rem;
  130. font-size: 0.18rem;
  131. font-weight: 500;
  132. height: 0.6rem;
  133. border-bottom: 0.01rem solid #e6e6e6;
  134. box-sizing: border-box;
  135. position: relative;
  136. .icongengduo1,.iconguanbi1 {
  137. position: absolute;
  138. top: 50%;
  139. right: 0.2rem;
  140. transform: translateY(-50%);
  141. font-size: 0.3rem;
  142. color: $primary-color;
  143. cursor: pointer;
  144. }
  145. }
  146. .printer-information {
  147. width: 100%;
  148. padding: 0.2rem 0.2rem 0.2rem 0.2rem;
  149. box-sizing: border-box;
  150. height: calc(100% - 0.6rem);
  151. overflow: scroll;
  152. position: relative;
  153. .title {
  154. font-size: 0.18rem;
  155. margin-bottom: 0.32rem;
  156. }
  157. .title2 {
  158. margin-bottom: 0.35rem;
  159. }
  160. .information-box {
  161. display: flex;
  162. justify-content: space-between;
  163. .box-left {
  164. width: 5rem;
  165. .information {
  166. width: 100%;
  167. padding-left: 0.1rem;
  168. box-sizing: border-box;
  169. display: flex;
  170. align-items: center;
  171. margin-bottom: 0.15rem;
  172. view {
  173. color: #303133;
  174. font-size: 0.14rem;
  175. }
  176. view:nth-child(1) {
  177. width: 1.3rem;
  178. margin-right: 0.16rem;
  179. text-align: right;
  180. }
  181. view:nth-child(2) {
  182. width: 74%;
  183. margin-right: 0.23rem;
  184. text-overflow: ellipsis;
  185. overflow: hidden;
  186. white-space: nowrap;
  187. }
  188. }
  189. .information:last-child {
  190. margin-bottom: 0.35rem;
  191. }
  192. }
  193. .printer-img {
  194. width: 1.5rem;
  195. height: 1.5rem;
  196. }
  197. }
  198. .table {
  199. width: 100%;
  200. height: 2.6rem;
  201. box-sizing: border-box;
  202. .single-specification {
  203. width: 100%;
  204. max-height: 100%;
  205. padding-left: 0.1rem;
  206. box-sizing: border-box;
  207. .item {
  208. width: 100%;
  209. margin-bottom: 0.3rem;
  210. display: flex;
  211. align-items: center;
  212. image {
  213. width: 0.5rem;
  214. }
  215. .name {
  216. display: flex;
  217. align-items: center;
  218. margin-right: 0.16rem;
  219. width: 0.7rem;
  220. text-align: right;
  221. }
  222. .message {
  223. width: 74%;
  224. text-overflow: ellipsis;
  225. overflow: hidden;
  226. white-space: nowrap;
  227. }
  228. }
  229. }
  230. .table-all {
  231. width: 100%;
  232. display: flex;
  233. align-items: center;
  234. justify-content: space-between;
  235. padding: 0 0.38rem;
  236. box-sizing: border-box;
  237. .table-td {
  238. font-size: 0.14rem;
  239. text-align: left;
  240. text-overflow: ellipsis;
  241. overflow: hidden;
  242. white-space: nowrap;
  243. }
  244. }
  245. .table-th {
  246. height: 0.56rem;
  247. background: #f7f8fa;
  248. }
  249. .table-tb {
  250. width: 100%;
  251. height: calc(100% - 0.56rem);
  252. .table-tr {
  253. height: 0.7rem;
  254. border-bottom: 0.01rem solid #e6e6e6;
  255. box-sizing: border-box;
  256. .table-td {
  257. image {
  258. width: 0.5rem;
  259. height: 0.5rem;
  260. }
  261. text-overflow: -o-ellipsis-lastline;
  262. overflow: hidden;
  263. text-overflow: ellipsis;
  264. display: -webkit-box;
  265. -webkit-line-clamp: 2;
  266. line-clamp: 2;
  267. -webkit-box-orient: vertical;
  268. }
  269. }
  270. }
  271. }
  272. }
  273. }
  274. }
  275. }
  276. .no-center {
  277. width: 100%;
  278. height: 100%;
  279. display: flex;
  280. align-items: center;
  281. justify-content: center;
  282. font-size: 0.3rem;
  283. color: #909399;
  284. }
  285. view {
  286. color: #303133;
  287. }
  288. /deep/ .uni-scroll-view::-webkit-scrollbar {
  289. width: 0.05rem;
  290. height: 0.3rem;
  291. }
  292. /deep/ .uni-scroll-view::-webkit-scrollbar-thumb {
  293. border-radius: 0.1rem;
  294. box-shadow: inset 0 0 0.05rem rgba(0, 0, 0, 0.2);
  295. background: rgba(193, 193, 193, 1);
  296. }
  297. .printer-information::-webkit-scrollbar {
  298. width: 0.05rem;
  299. height: 0.3rem;
  300. }
  301. .printer-information::-webkit-scrollbar-thumb {
  302. border-radius: 0.1rem;
  303. box-shadow: inset 0 0 0.05rem rgba(0, 0, 0, 0.2);
  304. background: rgba(193, 193, 193, 1);
  305. }
  306. .button-box {
  307. position: fixed;
  308. width: calc(100vw - 5.8rem);
  309. right: 0;
  310. bottom: 0;
  311. background-color: #fff;
  312. display: flex;
  313. align-items: center;
  314. justify-content: space-around;
  315. height: .6rem;
  316. padding-bottom: .05rem;
  317. .button {
  318. flex: 1;
  319. width: 1rem;
  320. height: 0.4rem;
  321. color: $primary-color;
  322. text-align: center;
  323. line-height: 0.4rem;
  324. float: right;
  325. font-size: 0.16rem;
  326. margin: 0.15rem;
  327. border: 0.01rem solid $primary-color;
  328. }
  329. .buttonhvoer {
  330. color: #ffffff;
  331. background: $primary-color;
  332. }
  333. }
  334. .button-box:after {
  335. overflow: hidden;
  336. content: '';
  337. height: 0;
  338. display: block;
  339. clear: both;
  340. }
  341. .cart-empty {
  342. position: absolute;
  343. top: 50%;
  344. left: 50%;
  345. transform: translate(-50%, -50%);
  346. width: 2.1rem;
  347. height: 1.55;
  348. }
  349. .exwarehouse-body {
  350. width: 6rem;
  351. min-height: 5rem;
  352. border-radius: 0.04rem !important;
  353. }
  354. view {
  355. color: #333;
  356. }
  357. .record-body {
  358. width: 10rem;
  359. min-height: 7rem;
  360. }
  361. .form-content {
  362. margin-top: 0.2rem;
  363. .form-item {
  364. margin-bottom: 0.1rem;
  365. display: flex;
  366. .form-label {
  367. width: 1.3rem;
  368. text-align: right;
  369. padding-right: 0.1rem;
  370. box-sizing: border-box;
  371. height: 0.32rem;
  372. line-height: 0.32rem;
  373. .required {
  374. color: red;
  375. margin-right: 0.03rem;
  376. }
  377. }
  378. .form-inline {
  379. width: 2.4rem;
  380. line-height: 0.32rem;
  381. margin-right: 0.1rem;
  382. box-sizing: border-box;
  383. .form-input {
  384. border-width: 0.01rem;
  385. border-style: solid;
  386. background-color: #fff;
  387. color: rgba(0, 0, 0, 0.85);
  388. border-radius: 0.02rem;
  389. padding-left: 0.1rem;
  390. height: 0.32rem;
  391. line-height: 0.32rem;
  392. font-size: 0.14rem;
  393. border-color: #e6e6e6;
  394. border-radius: 0.02rem;
  395. }
  396. .form-textarea {
  397. border-width: 0.01rem;
  398. border-style: solid;
  399. background-color: #fff;
  400. color: rgba(0, 0, 0, 0.85);
  401. border-radius: 0.02rem;
  402. padding-left: 0.1rem;
  403. line-height: 0.32rem;
  404. font-size: 0.14rem;
  405. border-color: #e6e6e6;
  406. height: 1rem;
  407. }
  408. button {
  409. width: calc(50% - 0.05rem);
  410. display: inline-block;
  411. margin-right: 0.1rem;
  412. &:nth-child(2) {
  413. margin-right: 0;
  414. }
  415. }
  416. .upload-box {
  417. width: 0.7rem;
  418. height: 0.7rem;
  419. cursor: pointer;
  420. .upload-img {
  421. width: 100%;
  422. height: 100%;
  423. border: 0.01rem solid #e6e6e6;
  424. image {
  425. width: 100%;
  426. height: 100%;
  427. }
  428. }
  429. .upload-icon {
  430. width: 100%;
  431. height: 100%;
  432. border: 0.01rem solid #e6e6e6;
  433. align-items: center;
  434. text-align: center;
  435. line-height: 1.2;
  436. display: flex;
  437. flex-direction: column;
  438. justify-content: center;
  439. color: #999;
  440. .iconfont {
  441. font-size: 0.3rem;
  442. }
  443. view {
  444. font-size: 0.12rem;
  445. }
  446. }
  447. }
  448. }
  449. .search-wrap {
  450. position: relative;
  451. i {
  452. position: absolute;
  453. top: 50%;
  454. right: 0.1rem;
  455. transform: translateY(-50%);
  456. border-left: 0.01rem solid #e6e6e6;
  457. line-height: 0.3rem;
  458. padding-left: 0.1rem;
  459. cursor: pointer;
  460. }
  461. }
  462. .label-list {
  463. width: calc(100% - 1.35rem);
  464. display: flex;
  465. align-items: center;
  466. flex-wrap: wrap;
  467. .label-item {
  468. border: 0.01rem solid #e6e6e6;
  469. padding: 0.07rem 0.1rem;
  470. line-height: 1;
  471. margin-right: 0.1rem;
  472. border-radius: 0.03rem;
  473. cursor: pointer;
  474. position: relative;
  475. margin-bottom: 0.1rem;
  476. i {
  477. position: absolute;
  478. right: -0.01rem;
  479. bottom: -0.01rem;
  480. color: $primary-color;
  481. display: none;
  482. }
  483. &.active {
  484. border-color: $primary-color;
  485. i {
  486. display: block;
  487. }
  488. }
  489. }
  490. }
  491. }
  492. }
  493. .order-type{
  494. margin-right: 0.1rem;
  495. }