index.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. .swiper-item{
  2. margin-top: 20px;
  3. opacity: 0.7;
  4. border-radius: 10px;
  5. width:95%;
  6. margin: 10px auto;
  7. overflow: hidden;
  8. }
  9. .swiper-img{
  10. width: 100%;
  11. }
  12. .page-fitness{
  13. background:#000;
  14. background-image: url(https://business.coffunity.cn/upload/fitness.png);
  15. background-repeat: no-repeat;
  16. width:100vw;
  17. min-height: 100vh;
  18. display:flex;
  19. flex-direction: column;
  20. color:#666666;
  21. padding-bottom: 100px;
  22. .teacher{
  23. margin-top:10px;
  24. margin-left:15px;
  25. margin-right: 15px;
  26. width:92%;
  27. height:150px;
  28. .title{
  29. color:$teacher-main-color;
  30. font-size:12px;
  31. margin-left: 10px;
  32. }
  33. .list{
  34. margin-top: 10px;
  35. width:100%;
  36. height:110px;
  37. display: flex;
  38. justify-content: space-between;
  39. .left{
  40. width:90%;
  41. display: flex;
  42. flex-direction: row;
  43. overflow: hidden;
  44. overflow-x: auto;
  45. .header{
  46. height:110px;
  47. width: 110px;
  48. border-radius: 7px;
  49. overflow: hidden;
  50. display: flex;
  51. justify-content: center;
  52. align-items: center;
  53. margin-right: 10px;
  54. .img{
  55. height:100%;
  56. width:100%;
  57. }
  58. }
  59. }
  60. .right{
  61. width:3%;
  62. height:100%;
  63. display:flex;
  64. background:#505050;
  65. opacity: 0.6;
  66. border-radius: 0px 7px 7px 0px;
  67. justify-content: center;
  68. align-items: center;
  69. opacity: 0.8;
  70. }
  71. }
  72. }
  73. .section1{
  74. background:#1a1a1a;
  75. margin-left:10px;
  76. margin-right: 10px;
  77. border-radius: 20px;
  78. .title{
  79. width:90%;
  80. margin:auto;
  81. display:flex;
  82. height:40px;
  83. flex-direction: row;
  84. justify-content: space-between;
  85. align-items: center;
  86. .txt{
  87. color:$teacher-main-color;
  88. font-size:12px;
  89. }
  90. .more{
  91. color:$teacher-sub-title-color;
  92. font-size:12px;
  93. }
  94. }
  95. .time-bg{
  96. padding-bottom:20px;
  97. }
  98. .calendar{
  99. padding-left:10px;
  100. padding-right: 10px;
  101. height:90px;
  102. display: flex;
  103. color:#cccccc;
  104. flex-direction: column;
  105. padding-top:5px;
  106. .week{
  107. display:flex;
  108. flex-direction: row;
  109. height:30px;
  110. justify-content: center;
  111. align-items: center;
  112. .day{
  113. width:100%;
  114. display:flex;
  115. flex-grow: 1;
  116. flex-shrink: 1;
  117. justify-content: center;
  118. align-items: center;
  119. font-size:12px;
  120. }
  121. .active{
  122. .current{
  123. display:flex;
  124. color:#cccccc;
  125. width:30px;
  126. height:30px;
  127. background:$teacher-main-color;
  128. border-radius: 50%;
  129. justify-content: center;
  130. align-items: center;
  131. }
  132. }
  133. }
  134. .month{
  135. display:flex;
  136. flex-direction: row;
  137. height:30px;
  138. .day{
  139. width:100%;
  140. display:flex;
  141. flex-grow: 1;
  142. flex-shrink: 1;
  143. justify-content: center;
  144. align-items: center;
  145. font-size:12px;
  146. }
  147. }
  148. }
  149. .selection{
  150. display:flex;
  151. flex-direction: row;
  152. margin-left:10px;
  153. color: #666666;
  154. }
  155. .sections-tab{
  156. display:flex;
  157. flex-direction: row;
  158. height:40px;
  159. justify-content: center;
  160. align-items: center;
  161. margin-top:15px;
  162. .item{
  163. width:50%;
  164. height:40px;
  165. display:flex;
  166. flex-direction: column;
  167. color:#cccccc;
  168. justify-content: center;
  169. align-items: center;
  170. font-size:14px;
  171. border-top-left-radius: 10px;
  172. border-top-right-radius: 10px;
  173. background:#333333;
  174. }
  175. .active{
  176. background:#505050;
  177. color:#cccccc;
  178. }
  179. }
  180. .address{
  181. font-size:12px;
  182. color:#dedede;
  183. margin-left:20px;
  184. margin-right: 20px;
  185. height:30px;
  186. line-height: 30px;
  187. }
  188. .teacher-list{
  189. display:flex;
  190. flex-direction: column;
  191. background:#505050;
  192. min-height: 100px;
  193. .empty-course{
  194. min-height:100px;
  195. width:100%;
  196. display:flex;
  197. justify-content: center;
  198. align-items: center;
  199. color:#c8c8c8;
  200. font-size:12px;
  201. }
  202. }
  203. }
  204. }