exercis-detail.module.less 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  1. .exercisContainer {
  2. :global {
  3. .van-calendar__day--end,
  4. .van-calendar__day--start,
  5. .van-calendar__day--start-end,
  6. .van-calendar__day--multiple-middle,
  7. .van-calendar__day--multiple-selected {
  8. background: #FF5074;
  9. }
  10. .van-overlay,
  11. .van-popup {
  12. z-index: 99999999 !important;
  13. }
  14. }
  15. .bgImg {
  16. position: fixed;
  17. top: 0;
  18. left: 0;
  19. width: 100%;
  20. height: 214px;
  21. z-index: -1;
  22. }
  23. }
  24. .userMember {
  25. background-color: transparent !important;
  26. width: auto;
  27. padding: 0;
  28. // border-radius: 10px;
  29. padding: 18px;
  30. :global {
  31. .van-cell__title {
  32. display: flex;
  33. flex-direction: column;
  34. justify-content: center;
  35. }
  36. }
  37. .level {
  38. width: 44px;
  39. height: 17px;
  40. }
  41. .userImgSection {
  42. position: relative;
  43. padding: 3px;
  44. background: #fff;
  45. margin-right: 12px;
  46. border-radius: 50%;
  47. &::before {
  48. content: ' ';
  49. position: absolute;
  50. left: 1px;
  51. top: 1px;
  52. bottom: 1px;
  53. right: 1px;
  54. background-color: #fff;
  55. border-radius: 50%;
  56. }
  57. }
  58. .userImg {
  59. width: 68px;
  60. height: 68px;
  61. border-radius: 50%;
  62. vertical-align: middle;
  63. overflow: hidden;
  64. }
  65. .userInfo {
  66. display: flex;
  67. align-items: center;
  68. color: #fff;
  69. padding-bottom: 5px;
  70. .name {
  71. padding-right: 5px;
  72. max-width: 100px;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. white-space: nowrap;
  76. font-size: 20px;
  77. font-weight: 500;
  78. color: #000000;
  79. line-height: 28px;
  80. }
  81. }
  82. .timeRemaining {
  83. margin-top: 0;
  84. font-size: 14px;
  85. color: #c0c0c0;
  86. }
  87. .subjectTag {
  88. font-size: 12px;
  89. font-weight: 500;
  90. color: #FE2451;
  91. padding: 1px 7px;
  92. background: rgba(255, 255, 255, 0.3);
  93. border-radius: 20px;
  94. border: 1px solid #FFFFFF;
  95. display: inline-flex;
  96. align-items: center;
  97. line-height: 1;
  98. .iconSubject {
  99. width: 13px;
  100. height: 13px;
  101. margin-right: 4px;
  102. }
  103. }
  104. }
  105. .itemBottom {
  106. margin: 0 13px 15px;
  107. display: flex;
  108. flex-direction: row;
  109. align-items: center;
  110. justify-content: space-around;
  111. text-align: center;
  112. background-color: #fff;
  113. border-radius: 10px;
  114. padding: 20px 0;
  115. .itemBottomDot {
  116. width: 25%;
  117. .dotMain {
  118. font-size: 22px;
  119. color: #333333;
  120. line-height: 30px;
  121. margin-bottom: 4px;
  122. font-family: DINAlternate-Bold, DINAlternate;
  123. font-weight: bold;
  124. span {
  125. margin-left: 1px;
  126. font-size: 12px;
  127. font-weight: 400;
  128. color: #333333;
  129. line-height: 17px;
  130. }
  131. }
  132. .dotSub {
  133. font-size: 12px;
  134. font-weight: 400;
  135. color: #777777;
  136. line-height: 17px;
  137. }
  138. }
  139. }
  140. .topWrap {
  141. :global {
  142. .van-sticky {
  143. background: url('../images/bg-image-1.png') no-repeat top center;
  144. background-size: 100% 214px;
  145. z-index: 99999999;
  146. }
  147. }
  148. .topInfoRight {
  149. // width: 50%;
  150. margin-bottom: 18px;
  151. padding: 0 10%;
  152. display: flex;
  153. flex-direction: row;
  154. align-items: center;
  155. justify-content: center;
  156. .infoDay,
  157. .infoTime {
  158. width: 50%;
  159. }
  160. .infoDay {
  161. position: relative;
  162. margin-right: 20px;
  163. &::after {
  164. position: absolute;
  165. content: ' ';
  166. right: -12px;
  167. top: 12px;
  168. width: 1px;
  169. height: 35px;
  170. background-color: #E0E5E8;
  171. }
  172. }
  173. .infoDayMain {
  174. font-size: 24px;
  175. color: #333333;
  176. line-height: 28px;
  177. margin-bottom: 7px;
  178. font-family: DINAlternate-Bold, DINAlternate;
  179. font-weight: 600;
  180. text-align: center;
  181. span {
  182. margin-left: 2px;
  183. font-size: 12px;
  184. font-weight: 400;
  185. color: #333333;
  186. line-height: 17px;
  187. }
  188. }
  189. .infoDaysub {
  190. display: flex;
  191. align-items: center;
  192. justify-content: center;
  193. font-size: 12px;
  194. font-weight: 400;
  195. color: #333333;
  196. line-height: 17px;
  197. text-align: center;
  198. img {
  199. width: 14px;
  200. height: 14px;
  201. margin-right: 3px;
  202. }
  203. }
  204. }
  205. }
  206. .trainWeek {
  207. margin: 15px 13px 12px;
  208. min-height: 267px;
  209. background-color: #fff;
  210. border-radius: 10px;
  211. padding: 20px 15px;
  212. .exerciseWeek {
  213. height: 200px;
  214. }
  215. .TrainDataTopRight {
  216. display: flex;
  217. align-items: center;
  218. margin-bottom: 18px;
  219. }
  220. .DataTopRightItem {
  221. display: flex;
  222. align-items: center;
  223. font-size: 13px;
  224. color: #777777;
  225. line-height: 1;
  226. &:first-child {
  227. margin-right: 20px;
  228. .DataTopRightDot {
  229. background-color: #FF7AA7;
  230. }
  231. }
  232. &:last-child {
  233. .DataTopRightDot {
  234. background-color: #3583FA;
  235. }
  236. }
  237. &.DataTopRightItemDis {
  238. .DataTopRightDot {
  239. background-color: #e8e8e8 !important
  240. }
  241. }
  242. .DataTopRightDot {
  243. width: 12px;
  244. height: 12px;
  245. border-radius: 2px;
  246. background-color: #ccc;
  247. margin-right: 4px;
  248. }
  249. }
  250. .trainTitle {
  251. display: flex;
  252. align-items: center;
  253. justify-content: space-between;
  254. padding-bottom: 16px;
  255. img {
  256. width: 64px;
  257. height: 15px;
  258. }
  259. .timeRange {
  260. display: flex;
  261. align-items: center;
  262. font-size: 14px;
  263. color: rgba(19, 20, 21, 0.6);
  264. .iconArrow {
  265. display: inline-block;
  266. width: 9px;
  267. height: 5px;
  268. margin-left: 3px;
  269. background: url('./images/icon-arrow.png') no-repeat center;
  270. background-size: contain;
  271. }
  272. }
  273. }
  274. }
  275. .fullRefresh {
  276. min-height: calc(100vh - var(--header-height) - 275px)
  277. }
  278. .emptyContainer {
  279. height: calc(100vh - var(--header-height) - 275px);
  280. display: flex;
  281. align-items: center;
  282. }