change_course.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /* pages/change_course/change_course.wxss */
  2. page {
  3. background: #fff;
  4. }
  5. .header-title {
  6. display: flex;
  7. justify-content: center;
  8. align-items: center;
  9. padding: 60rpx 30rpx;
  10. background: #F1F3FA;
  11. }
  12. .header-title-icon {
  13. width: 25rpx;
  14. height: 29rpx;
  15. }
  16. .header-title-text {
  17. margin: 0 50rpx;
  18. font-size: 30rpx;
  19. color: #FF6465;
  20. }
  21. .header-items {
  22. border-bottom: solid 1rpx rgba(220, 220, 220, .5);
  23. display: flex;
  24. flex-wrap: wrap;
  25. justify-content: flex-start;
  26. align-items: flex-start;
  27. padding-bottom: 30rpx;
  28. }
  29. .header-item {
  30. width: 14.28%;
  31. margin: 30rpx 0;
  32. text-align: center;
  33. }
  34. .header-item-title {
  35. font-size: 30rpx;
  36. color: #393939;
  37. }
  38. .header-item-text {
  39. padding: 15rpx 16rpx;
  40. border-radius: 80rpx;
  41. font-size: 24rpx;
  42. transition: all .3s;
  43. }
  44. .color-black {
  45. color: #7E7E7E;
  46. }
  47. .color-gray {
  48. color: #BFBFBF;
  49. }
  50. .header-item-text-active {
  51. color: #fff;
  52. background: #FF6465;
  53. }
  54. .header-item-circle-gray,
  55. .header-item-circle-black,
  56. .header-item-circle-red {
  57. position: relative;
  58. }
  59. .header-item-circle-gray::after,
  60. .header-item-circle-black::after,
  61. .header-item-circle-red::after {
  62. content: "";
  63. position: absolute;
  64. bottom: 0;
  65. left: 50%;
  66. width: 8rpx;
  67. height: 8rpx;
  68. border-radius: 100rpx;
  69. transform: translate(-50%, 180%);
  70. }
  71. .header-item-circle-gray::after {
  72. background:rgba(191, 191, 191, 1);
  73. }
  74. .header-item-circle-black::after {
  75. background:rgba(57, 57, 57, 1);
  76. }
  77. .header-item-circle-red::after {
  78. background:rgba(228, 92, 88, 1);
  79. }
  80. .section {
  81. padding: 40rpx 24rpx;
  82. }
  83. .section-title {
  84. font-size: 30rpx;
  85. color: #393939;
  86. }
  87. .section-items {
  88. display: flex;
  89. justify-content: flex-start;
  90. align-items: flex-start;
  91. flex-wrap: wrap;
  92. }
  93. .section-item {
  94. background: #F4F4F4;
  95. color: #FF6465;
  96. border-radius: 10rpx;
  97. padding: 20rpx 36rpx;
  98. font-size: 24rpx;
  99. margin: 25rpx 25rpx 0 0;
  100. background:rgba(255,100,101,0.2);
  101. border:2rpx solid rgba(255,100,101,1)
  102. }
  103. .section-item-active {
  104. background:#FF6465;
  105. color: #fff;
  106. }
  107. .section-item-noSelect{
  108. background:rgba(124,129,157,0.2);
  109. border:2rpx solid #7C819D;
  110. color: #7C819D;
  111. }
  112. .modal-container {
  113. position: fixed;
  114. top: 0;
  115. left: 0;
  116. width: 100%;
  117. height: 100%;
  118. background: rgba(0, 0, 0, .3);
  119. display: flex;
  120. justify-content: center;
  121. align-items: center;
  122. }
  123. .modal-wrapper {
  124. margin: 24rpx;
  125. width: 100%;
  126. border-radius: 24rpx;
  127. background: #fff;
  128. /* max-height: 90%; */
  129. overflow: scroll;
  130. -webkit-overflow-scrolling: touch;
  131. }
  132. .modal-title {
  133. font-size: 30rpx;
  134. color: #393939;
  135. margin: 40rpx auto;
  136. text-align: center;
  137. }
  138. .modal-picker-view {
  139. width: 100%;
  140. height: 200rpx;
  141. margin: 30rpx 0;
  142. }
  143. .modal-picker-indicator {
  144. line-height: 68rpx;
  145. }
  146. .modal-picker-view-column {
  147. text-align: center;
  148. line-height: 68rpx;
  149. color: #393939;
  150. font-size: 34rpx;
  151. }
  152. .modal-picker-view-column-cells {
  153. display: flex;
  154. justify-content: space-around;
  155. align-items: center;
  156. }
  157. .modal-picker-view-column-cell-green {
  158. color: #FF6465;
  159. }
  160. .modal-items {
  161. margin: 30rpx;
  162. display: flex;
  163. justify-content: space-between;
  164. align-items: flex-start;
  165. flex-wrap: wrap;
  166. }
  167. .modal-item {
  168. margin: 10rpx;
  169. min-width: 20%;
  170. background: #F4F4F4;
  171. border-radius: 80rpx;
  172. font-size: 24rpx;
  173. color: #7E7E7E;
  174. padding: 20rpx 26rpx;
  175. text-align: center;
  176. }
  177. .modal-item-green {
  178. background: #FF6465;
  179. color: #fff;
  180. }
  181. .modal-btns {
  182. padding: 30rpx 30rpx 50rpx 30rpx;
  183. display: flex;
  184. justify-content: center;
  185. align-items: center;
  186. }
  187. .modal-btn {
  188. font-size: 34rpx;
  189. flex: 1;
  190. text-align: center;
  191. }
  192. .modal-btn:nth-of-type(1) {
  193. border-right: solid 2rpx #DCDCDC;
  194. }
  195. .btn-gray {
  196. color: #7E7E7E;
  197. }
  198. .btn-green {
  199. color: #FF6465;
  200. }