index.less 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. /* nova-werun/components/home/index.wxss */
  2. .all{
  3. width: 100vw;
  4. overflow-y: scroll;
  5. background: linear-gradient(to bottom, #4F9AF7, #FFFFFF); /* 竖直渐变 */
  6. font-family: MicrosoftYaHei;
  7. color: #333333;
  8. display: flex;
  9. flex-direction: column;
  10. align-items: center;
  11. .navbox{
  12. width: 100vw;
  13. display: flex;
  14. align-items: flex-end;
  15. .nav{
  16. width: 100%;
  17. display: flex;
  18. justify-content: center;
  19. position: relative;
  20. margin-bottom: 20rpx;
  21. height: 40rpx;
  22. .nav-addbox{
  23. position: absolute;
  24. left: 32rpx;
  25. top: 8rpx;
  26. font-size: 28rpx;
  27. height: 40rpx;
  28. color: white;
  29. display: flex;
  30. .nav-add{
  31. margin-left: 4rpx;
  32. }
  33. }
  34. .nav-title{
  35. height: 36rpx;
  36. font-family: MicrosoftYaHei;
  37. font-size: 36rpx;
  38. color: #333333;
  39. line-height: 40rpx;
  40. text-align: center;
  41. }
  42. }
  43. }
  44. .topbox{
  45. width: 686rpx;
  46. height: 81rpx;
  47. display: flex;
  48. background-color: #4F9AF7;
  49. padding-left: 20rpx;
  50. padding-right: 20rpx;
  51. border-radius: 15rpx;
  52. padding-top: 20rpx;
  53. .top-tex{
  54. font-size: 26rpx;
  55. height: 34rpx;
  56. color: white;
  57. border-left: 8rpx solid white;
  58. padding-left: 10rpx;
  59. display: flex;
  60. align-items: center;
  61. }
  62. .top-tex2{
  63. width: 200rpx;
  64. height: 34rpx;
  65. display: flex;
  66. align-items: center;
  67. margin-left: auto;
  68. font-size: 26rpx;
  69. .top-tex2-tex{
  70. height: 34rpx;
  71. background-color: white;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. border-radius: 10rpx;
  76. padding-left: 4rpx;
  77. padding-right: 4rpx;
  78. margin-left: 4rpx;
  79. margin-right: 4rpx;
  80. }
  81. }
  82. }
  83. .clockinbox{
  84. width: 686rpx;
  85. height: 331rpx;
  86. display:flex;
  87. flex-direction: column;
  88. align-items: center;
  89. justify-content: center;
  90. background-image: url(https://file-cloud.fmode.cn/qpFbRRSZrO/20241225/6p04ra030721696.png);
  91. background-position: center; /* 背景图片居中 */
  92. background-size: cover; /* 背景图片覆盖整个元素 */
  93. background-repeat: no-repeat; /* 不重复背景图片 */
  94. margin-top: -16rpx;
  95. .clockinbox2{
  96. width: 100%;
  97. display: flex;
  98. justify-content: center;
  99. .runbox{
  100. width: 217rpx;
  101. height: 217rpx;
  102. border-radius: 50%;
  103. display: flex;
  104. align-items: center;
  105. justify-content: center;
  106. background-color: white;
  107. .run{
  108. width: 195rpx;
  109. height: 195rpx;
  110. border-radius: 50%;
  111. display: flex;
  112. align-items: center;
  113. flex-direction: column;
  114. justify-content: center;
  115. background-color: #9BC5F9;
  116. .tody-steps{
  117. font-size: 24rpx;
  118. color: white;
  119. }
  120. .step-num{
  121. font-size: 50rpx;
  122. color: #333333;
  123. }
  124. .objective{
  125. width: 100%;
  126. height: 50rpx;
  127. align-items: center;
  128. justify-content: center;
  129. display: flex;
  130. margin-top: 20rpx;
  131. image{
  132. width: 32rpx;
  133. height: 32rpx;
  134. margin-right: 10rpx;
  135. }
  136. .ob-num{
  137. font-size: 28rpx;
  138. }
  139. }
  140. }
  141. }
  142. .objbox{
  143. height: 217rpx;
  144. display: flex;
  145. justify-content: center;
  146. flex-direction: column;
  147. margin-left: 120rpx;
  148. .obj1{
  149. height: 74rpx;
  150. border-left: 8rpx solid #0178EE;
  151. padding-left: 10rpx;
  152. .boj1-ti{
  153. font-size: 24rpx;
  154. color: #0178EE;
  155. }
  156. .obj1-numbox{
  157. height: 40rpx;
  158. display: flex;
  159. font-size: 36rpx;
  160. align-items: center;
  161. margin-top: 4rpx;
  162. image{
  163. width: 32rpx;
  164. height: 32rpx;
  165. margin-right: 15rpx;
  166. }
  167. }
  168. }
  169. .obj2{
  170. font-size: 14rpx;
  171. margin-left: 20rpx;
  172. margin-top: 4rpx;
  173. }
  174. }
  175. }
  176. .today-check{
  177. width: 142rpx;
  178. height: 43rpx;
  179. display: flex;
  180. justify-content: center;
  181. align-items: center;
  182. font-size: 26rpx;
  183. margin-top: 10rpx;
  184. border-radius: 40rpx;
  185. color: white;
  186. background-color: #69A9F8;
  187. }
  188. }
  189. .a{
  190. width: 686rpx;
  191. border-radius: 15rpx;
  192. height: 55rpx;
  193. margin-top: 24rpx;
  194. }
  195. .typebox{
  196. width: 686rpx;
  197. height: 153rpx;
  198. display: flex;
  199. align-items: center;
  200. justify-content: space-around;
  201. margin-top: 26rpx;
  202. background-color: white;
  203. border-radius: 15rpx;
  204. .column{
  205. height: 153rpx;
  206. display: flex;
  207. flex-direction: column; /* 使内容垂直排列 */
  208. align-items: center; /* 水平居中对齐 */
  209. justify-content: center;
  210. image{
  211. width: 74rpx;
  212. height: 82rpx;
  213. }
  214. .item-text{
  215. font-size: 26rpx;
  216. }
  217. }
  218. }
  219. }