exchange.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. .tabs {
  2. box-sizing: border-box;
  3. position: relative;
  4. overflow: hidden;
  5. zoom: 1;
  6. color: #666;
  7. }
  8. .tabs:after,
  9. .tabs:before {
  10. content: " ";
  11. display: table;
  12. }
  13. .tabs:after {
  14. clear: both;
  15. visibility: hidden;
  16. font-size: 0;
  17. height: 0;
  18. }
  19. .tabs-bar {
  20. outline: none;
  21. width: 100%;
  22. background-color: #fff;
  23. position: fixed;
  24. top: 0;
  25. left: 0;
  26. right: 0;
  27. z-index: 10;
  28. }
  29. .tabs-link-bar {
  30. z-index: 1;
  31. position: absolute;
  32. left: 0;
  33. bottom: 2rpx;
  34. box-sizing: border-box;
  35. height: 2rpx;
  36. background-color: #ff5777;
  37. transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  38. transform-origin: 0 0;
  39. }
  40. .tabs-bar {
  41. border-bottom: 1px solid #d9d9d9;
  42. box-sizing: border-box;
  43. }
  44. .tabs-nav--container {
  45. overflow: hidden;
  46. font-size: 14rpx;
  47. line-height: 1.5;
  48. box-sizing: border-box;
  49. position: relative;
  50. white-space: nowrap;
  51. margin-bottom: -1px;
  52. zoom: 1;
  53. }
  54. .tabs-nav--container:after,
  55. .tabs-nav--container:before {
  56. content: " ";
  57. display: table;
  58. }
  59. .tabs-nav--container:after {
  60. clear: both;
  61. visibility: hidden;
  62. font-size: 0;
  63. height: 0;
  64. }
  65. .tabs-tab-btn-disabled {
  66. cursor: not-allowed;
  67. }
  68. .tabs-tab-btn-disabled,
  69. .tabs-tab-btn-disabled:hover {
  70. color: #ccc;
  71. }
  72. .tabs-nav--wrap {
  73. overflow: hidden;
  74. margin-bottom: -1rpx;
  75. }
  76. .tabs-nav {
  77. display: flex;
  78. -moz-box-sizing: border-box;
  79. box-sizing: border-box;
  80. padding-left: 0;
  81. transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
  82. position: relative;
  83. margin: 0;
  84. list-style: none;
  85. }
  86. .tabs-nav:after,
  87. .tabs-nav:before {
  88. display: table;
  89. content: " ";
  90. }
  91. .tabs-nav:after {
  92. clear: both;
  93. }
  94. .tabs-nav .tabs-tab-disabled {
  95. pointer-events: none;
  96. cursor: default;
  97. color: #ccc;
  98. }
  99. .tabs-nav .tabs-tab {
  100. flex: 1;
  101. display: block;
  102. height: 90rpx;
  103. line-height: 90rpx;
  104. margin: 0 12rpx;
  105. box-sizing: border-box;
  106. position: relative;
  107. transition: color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  108. cursor: pointer;
  109. text-decoration: none;
  110. text-align: center;
  111. font-size: 30rpx;
  112. color: #333;
  113. }
  114. .tabs-nav .tabs-tab:active {
  115. color: #f13e3a;
  116. }
  117. .tabs-nav .tabs-tab .anticon {
  118. width: 14rpx;
  119. height: 14rpx;
  120. margin-right: 8rpx;
  121. }
  122. .tabs-nav .tabs-tab-active {
  123. color: #ff4936;
  124. border-bottom: 6rpx solid #ff4936;
  125. }
  126. .tabs.tabs-card>.tabs-bar .tabs-link-bar {
  127. visibility: hidden;
  128. }
  129. .tabs.tabs-card>.tabs-bar .tabs-tab {
  130. margin: 0;
  131. border: 1px solid #d9d9d9;
  132. border-bottom: 0;
  133. border-radius: 6rpx 6rpx 0 0;
  134. transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  135. background: #f9f9f9;
  136. margin-right: 2rpx;
  137. }
  138. .tabs.tabs-card>.tabs-bar .tabs-tab-active {
  139. background: #fff;
  140. transform: translateZ(0);
  141. border-color: #d9d9d9;
  142. color: #f13e3a;
  143. }
  144. .tabs.tabs-card>.tabs-bar .tabs-nav--wrap {
  145. margin-bottom: 0;
  146. }
  147. .list {
  148. padding-top: 100rpx;
  149. }
  150. .ipt {
  151. border: 1rpx solid #e5e5e5;
  152. height: 72rpx;
  153. line-height: 72rpx;
  154. padding: 0 20rpx;
  155. box-sizing: border-box;
  156. }
  157. .btn {
  158. line-height: 72rpx;
  159. border: 0;
  160. border-radius: 0;
  161. font-size: 32rpx;
  162. }
  163. button.btn::after {
  164. content: none;
  165. }
  166. .fixed-btn {
  167. position: absolute;
  168. left: 0;
  169. right: 0;
  170. bottom: 10%;
  171. }