平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

152 lines
2.9 KiB

  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. top: 0rpx;
  20. right: 0rpx;
  21. bottom: 0rpx;
  22. left: 0rpx;
  23. z-index: 9999;
  24. top: 160rpx;
  25. transition: all 0.3s ease;
  26. transform: translateY(100%);
  27. }
  28. .tki-tree-cnt.show {
  29. transform: translateY(0);
  30. }
  31. .tki-tree-bar {
  32. background-color: #fff;
  33. height: 72rpx;
  34. padding-left: 20rpx;
  35. padding-right: 20rpx;
  36. display: flex;
  37. justify-content: space-between;
  38. align-items: center;
  39. box-sizing: border-box;
  40. border-bottom-width: 1rpx !important;
  41. border-bottom-style: solid;
  42. border-bottom-color: #f5f5f5;
  43. font-size: 32rpx;
  44. color: #757575;
  45. line-height: 1;
  46. }
  47. .tki-tree-bar-confirm {
  48. color: #07bb07;
  49. }
  50. .tki-tree-view {
  51. position: absolute;
  52. top: 0rpx;
  53. right: 0rpx;
  54. bottom: 0rpx;
  55. left: 0rpx;
  56. top: 72rpx;
  57. background-color: #fff;
  58. padding-top: 20rpx;
  59. padding-right: 20rpx;
  60. padding-bottom: 20rpx;
  61. padding-left: 20rpx;
  62. }
  63. .tki-tree-view-sc {
  64. height: 100%;
  65. overflow: hidden;
  66. }
  67. .tki-tree-item {
  68. display: flex;
  69. justify-content: space-between;
  70. align-items: center;
  71. font-size: 26rpx;
  72. color: #757575;
  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. }