select.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .select {
  2. position: relative;
  3. display: flex;
  4. box-sizing: border-box;
  5. width: 100%;
  6. padding: 10px 16px;
  7. color: #323233;
  8. font-size: 14px;
  9. line-height: 24px;
  10. background-color: #fff;
  11. border: 1px solid #f5f5f7;
  12. border-left: 0;
  13. border-right: 0;
  14. }
  15. /* .select:hover {
  16. border-color: #c8c9c8;
  17. } */
  18. .select .label-select {
  19. box-sizing: border-box;
  20. width: 6.2em;
  21. margin-right: 12px;
  22. color: #646566;
  23. text-align: left;
  24. word-wrap: break-word;
  25. }
  26. .select .container-select {
  27. flex: 1;
  28. position: relative;
  29. }
  30. .container-select .data-show {
  31. /* position: relative; */
  32. /* display: flex; */
  33. /* align-items: center; */
  34. }
  35. .container-select .data-icon {
  36. position: absolute;
  37. right: 0px;
  38. top: 50%;
  39. margin-top: -6px;
  40. z-index: 10;
  41. }
  42. .container-select .all-data-list {
  43. position: absolute;
  44. top: 42px;
  45. left: 0;
  46. width: 100%;
  47. background-color: #fff;
  48. z-index: 10;
  49. max-height: 100px;
  50. min-height: 30px;
  51. border-radius: 5px;
  52. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.2);
  53. }
  54. .placeholder {
  55. color: #c8c9c8;
  56. }
  57. .all-data-list .item {
  58. width: calc(100% - 20px);
  59. margin-left: 10px;
  60. height: 30px;
  61. line-height: 30px;
  62. font-size: 12px;
  63. border: 1px solid #f5f5f7;
  64. border-left: 0;
  65. border-right: 0;
  66. border-radius: 2px;
  67. }
  68. .item:nth-child(1) {
  69. border-top: 0;
  70. }
  71. .item-option {
  72. display: flex;
  73. justify-content: space-between;
  74. }
  75. .onshow {
  76. animation: rota 200ms linear forwards;
  77. }
  78. .noShow {
  79. animation: noRota 200ms linear forwards;
  80. }
  81. @keyframes rota {
  82. 0% {
  83. transform: rotate(0deg);
  84. }
  85. 100% {
  86. transform: rotate(90deg);
  87. }
  88. }
  89. @keyframes noRota {
  90. 0% {
  91. transform: rotate(90deg);
  92. }
  93. 100% {
  94. transform: rotate(0deg);
  95. }
  96. }
  97. .card-list {
  98. /* width: 90%; */
  99. /* flex: 1; */
  100. max-width: 320rpx;
  101. }
  102. .card-list-all {
  103. display: flex;
  104. }
  105. .card-cell-item {
  106. }
  107. .card-cell {
  108. display: flex;
  109. justify-content: flex-start;
  110. align-items: center;
  111. height: 100%;
  112. border: 1px solid #c8c9c8;
  113. padding: 3px 5px;
  114. border-radius: 3px;
  115. background: #ededef;
  116. color: #b1c1c1;
  117. margin-right: 10px;
  118. font-size: 12px;
  119. height: 16px;
  120. }
  121. .close-card {
  122. padding: 2px;
  123. margin-left: 5px;
  124. background-color: #c8c9c8;
  125. border-radius: 50%;
  126. color: #fff;
  127. }