tk.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. @import url('../common/common.less');
  2. #ads-wrapper{
  3. display:none;
  4. }
  5. .tk-page {
  6. position:fixed;
  7. top:55px;
  8. bottom:60px;
  9. width:100%;
  10. .tuku-category-wrapper {
  11. background:#fff;
  12. height: 40px;
  13. line-height: 40px;
  14. .center();
  15. .tuku-category {
  16. flex: 1;
  17. text-align: center;
  18. border-right: 1px solid rgba(0,0,0,.1);
  19. border-bottom: 1px solid rgba(0,0,0,.1);
  20. &.tuku-active {
  21. border-bottom: 3px solid #E84542;
  22. color: #E84542;
  23. }
  24. &:last-child {
  25. border-right: 0;
  26. }
  27. }
  28. }
  29. .tuku-qishu-wrapper {
  30. background-color: #F9F9F9;
  31. width: 100%;
  32. height: 40px;
  33. line-height: 40px;
  34. .center();
  35. text-align: center;
  36. .tuku-qishu-left {
  37. width: 35%;
  38. color: #0076FF;
  39. }
  40. .tuku-qishu-current {
  41. width: 30%;
  42. }
  43. .tuku-qishu-right {
  44. width: 35%;
  45. color: #0076FF;
  46. &.notActive {
  47. color: rgb(0,0,0);
  48. }
  49. }
  50. }
  51. .tuku-wrapper {
  52. width: 100%;
  53. position: absolute;
  54. top: 83px;
  55. bottom: 0;
  56. .tuku-area {
  57. float: left;
  58. width: 100px;
  59. max-height: 100%;
  60. overflow: auto;
  61. position:absolute;
  62. top:0;
  63. bottom:0;
  64. /* //重写滚动条样式*/
  65. &::-webkit-scrollbar {
  66. background-color: rgba(0,0,0,.6);
  67. }
  68. /*定义滚动条轨道 内阴影+圆角*/
  69. &::-webkit-scrollbar-track {
  70. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.1) !important;
  71. }
  72. /*定义滑块 内阴影+圆角*/
  73. &::-webkit-scrollbar-thumb {
  74. background-color: rgba(0,0,0,.1) !important;
  75. }
  76. .tuku-area-item {
  77. border-right: 1px solid rgba(0,0,0,.1);
  78. border-bottom: 1px solid rgba(0,0,0,.1);
  79. text-align: center;
  80. font-size: 14px;
  81. font-weight: bold;
  82. padding: 10px 0;
  83. }
  84. .area-selected {
  85. border-bottom: 3px solid #E84542;
  86. color: #E84542;
  87. }
  88. }
  89. .tuku-list-wrapper {
  90. margin-left: 100px;
  91. height: 100%;
  92. overflow-y: auto;
  93. overflow-x: hidden;
  94. position:absolute;
  95. top:0;
  96. bottom:0;
  97. /* //重写滚动条样式*/
  98. &::-webkit-scrollbar {
  99. background-color: rgba(0,0,0,.6);
  100. }
  101. /*定义滚动条轨道 内阴影+圆角*/
  102. &::-webkit-scrollbar-track {
  103. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.1) !important;
  104. }
  105. /*定义滑块 内阴影+圆角*/
  106. &::-webkit-scrollbar-thumb {
  107. background-color: rgba(0,0,0,.1) !important;
  108. }
  109. .tuku-list {
  110. padding: 6px 8px;
  111. border-radius: 2px;
  112. a {
  113. .textRow();
  114. padding: 5px;
  115. border: 1px solid rgba(0,0,0,.1);
  116. text-align: center;
  117. }
  118. span {
  119. .textRow();
  120. display: block;
  121. padding: 5px 8px;
  122. border: 1px solid rgba(0,0,0,.1);
  123. text-align: center;
  124. }
  125. }
  126. &.tk-newlist {
  127. margin-left: 0;
  128. }
  129. }
  130. }
  131. }