uni-data-pickerview.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .uni-data-pickerview {
  2. flex: 1;
  3. display: flex;
  4. flex-direction: column;
  5. overflow: hidden;
  6. height: 100%;
  7. }
  8. .error-text {
  9. color: #DD524D;
  10. }
  11. .loading-cover {
  12. position: absolute;
  13. left: 0;
  14. top: 0;
  15. right: 0;
  16. bottom: 0;
  17. background-color: rgba(255, 255, 255, .5);
  18. display: flex;
  19. flex-direction: column;
  20. align-items: center;
  21. z-index: 1001;
  22. }
  23. .load-more {
  24. margin: auto;
  25. }
  26. .error-message {
  27. background-color: #fff;
  28. position: absolute;
  29. left: 0;
  30. top: 0;
  31. right: 0;
  32. bottom: 0;
  33. padding: 15px;
  34. opacity: .9;
  35. z-index: 102;
  36. }
  37. .selected-list {
  38. display: flex;
  39. flex-direction: row;
  40. flex-wrap: nowrap;
  41. padding: 0 5px;
  42. border-bottom: 1px solid #f8f8f8;
  43. }
  44. .selected-item {
  45. margin-left: 10px;
  46. margin-right: 10px;
  47. padding: 12px 0;
  48. text-align: center;
  49. white-space: nowrap;
  50. }
  51. .selected-item-text-overflow {
  52. width: 168px;
  53. /* fix nvue */
  54. overflow: hidden;
  55. width: 6em;
  56. white-space: nowrap;
  57. text-overflow: ellipsis;
  58. -o-text-overflow: ellipsis;
  59. }
  60. .selected-item-active {
  61. border-bottom: 2px solid #007aff;
  62. }
  63. .selected-item-text {
  64. color: #007aff;
  65. }
  66. .tab-c {
  67. position: relative;
  68. flex: 1;
  69. display: flex;
  70. flex-direction: row;
  71. overflow: hidden;
  72. }
  73. .list {
  74. flex: 1;
  75. }
  76. .item {
  77. padding: 12px 15px;
  78. /* border-bottom: 1px solid #f0f0f0; */
  79. display: flex;
  80. flex-direction: row;
  81. justify-content: space-between;
  82. }
  83. .is-disabled {
  84. opacity: .5;
  85. }
  86. .item-text {
  87. /* flex: 1; */
  88. color: #333333;
  89. }
  90. .item-text-overflow {
  91. width: 280px;
  92. /* fix nvue */
  93. overflow: hidden;
  94. width: 20em;
  95. white-space: nowrap;
  96. text-overflow: ellipsis;
  97. -o-text-overflow: ellipsis;
  98. }
  99. .check {
  100. margin-right: 5px;
  101. border: 2px solid #007aff;
  102. border-left: 0;
  103. border-top: 0;
  104. height: 12px;
  105. width: 6px;
  106. -webkit-transform-origin: center;
  107. transform-origin: center;
  108. transition: all 0.3s;
  109. -webkit-transform: rotate(45deg);
  110. transform: rotate(45deg);
  111. }