exercis-detail.module.less 6.0 KB

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