style.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. .tki-tree-mask {
  2. position: fixed;
  3. top: 0rpx;
  4. right: 0rpx;
  5. bottom: 0rpx;
  6. left: 0rpx;
  7. z-index: 9998;
  8. background-color: rgba(0, 0, 0, 0.6);
  9. opacity: 0;
  10. transition: all 0.3s ease;
  11. visibility: hidden;
  12. }
  13. .tki-tree-mask.show {
  14. visibility: visible;
  15. opacity: 1;
  16. }
  17. .tki-tree-cnt {
  18. position: fixed;
  19. right: 0rpx;
  20. bottom: 0rpx;
  21. left: 0rpx;
  22. z-index: 9999;
  23. top: 200px;
  24. transition: all 0.3s ease;
  25. transform: translateY(100%);
  26. border-top-left-radius: 10px;
  27. border-top-right-radius: 10px;
  28. }
  29. .tki-tree-cnt.show {
  30. transform: translateY(0);
  31. }
  32. .tki-tree-bar {
  33. background-color: #fff;
  34. height: 72rpx;
  35. padding-left: 30rpx;
  36. padding-right: 30rpx;
  37. display: flex;
  38. justify-content: space-between;
  39. align-items: center;
  40. box-sizing: border-box;
  41. border-bottom-width: 1px !important;
  42. border-bottom-style: solid;
  43. border-bottom-color: #f5f5f5;
  44. font-size: 32rpx;
  45. color: #757575;
  46. line-height: 1;
  47. }
  48. .tki-tree-bar-confirm {
  49. color: #07bb07;
  50. }
  51. .tki-tree-view {
  52. position: absolute;
  53. top: 0rpx;
  54. right: 0rpx;
  55. bottom: 0rpx;
  56. left: 0rpx;
  57. top: 72rpx;
  58. background-color: #fff;
  59. padding-top: 20rpx;
  60. padding-right: 20rpx;
  61. padding-bottom: 20rpx;
  62. padding-left: 20rpx;
  63. }
  64. .tki-tree-view-sc {
  65. height: 100%;
  66. overflow: hidden;
  67. }
  68. .tki-tree-item {
  69. display: flex;
  70. justify-content: space-between;
  71. align-items: center;
  72. font-size: 30rpx;
  73. line-height: 1;
  74. height: 0;
  75. opacity: 0;
  76. transition: 0.2s;
  77. position: relative;
  78. overflow: hidden;
  79. }
  80. .tki-tree-item.show {
  81. height: 80rpx;
  82. opacity: 1;
  83. }
  84. .tki-tree-item.showchild:before {
  85. transform: rotate(90deg);
  86. }
  87. .tki-tree-item.last:before {
  88. opacity: 0;
  89. }
  90. .tki-tree-icon {
  91. width: 26rpx;
  92. height: 26rpx;
  93. margin-right: 8rpx;
  94. }
  95. .tki-tree-label {
  96. flex: 1;
  97. display: flex;
  98. align-items: center;
  99. height: 100%;
  100. line-height: 1.2;
  101. }
  102. .tki-tree-check {
  103. width: 40px;
  104. height: 40px;
  105. display: flex;
  106. justify-content: center;
  107. align-items: center;
  108. }
  109. .tki-tree-check-yes,
  110. .tki-tree-check-no {
  111. width: 20px;
  112. height: 20px;
  113. border-top-left-radius: 20%;
  114. border-top-right-radius: 20%;
  115. border-bottom-right-radius: 20%;
  116. border-bottom-left-radius: 20%;
  117. border-top-width: 1rpx;
  118. border-left-width: 1rpx;
  119. border-bottom-width: 1rpx;
  120. border-right-width: 1rpx;
  121. border-style: solid;
  122. border-color: #07bb07;
  123. display: flex;
  124. justify-content: center;
  125. align-items: center;
  126. box-sizing: border-box;
  127. }
  128. .tki-tree-check-yes-b {
  129. width: 12px;
  130. height: 12px;
  131. border-top-left-radius: 20%;
  132. border-top-right-radius: 20%;
  133. border-bottom-right-radius: 20%;
  134. border-bottom-left-radius: 20%;
  135. background-color: #07bb07;
  136. }
  137. .tki-tree-check .radio {
  138. border-top-left-radius: 50%;
  139. border-top-right-radius: 50%;
  140. border-bottom-right-radius: 50%;
  141. border-bottom-left-radius: 50%;
  142. }
  143. .tki-tree-check .radio .tki-tree-check-yes-b {
  144. border-top-left-radius: 50%;
  145. border-top-right-radius: 50%;
  146. border-bottom-right-radius: 50%;
  147. border-bottom-left-radius: 50%;
  148. }
  149. .hover-c {
  150. opacity: 0.6;
  151. }