home.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. /* home.css */
  2. page{
  3. background-color: #fff;
  4. }
  5. .top{position: fixed;top: 0;left: 0;right: 0;z-index: 50;}
  6. .back{padding: 0 20rpx;position: absolute;left: 0;}
  7. .back image{width: 22rpx;height: 38rpx;position: absolute;left: 20rpx;top: 50%;transform: translateY(-50%);}
  8. .c-top{background: #fff;padding-bottom: 40rpx;}
  9. .top-img{width: 100%;height: 380rpx;position: relative;z-index: 1;}
  10. .pic{width: 100%;height: 100%;}
  11. .topbg{position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
  12. .t-user{margin-top: -81rpx;position: relative;z-index: 2;justify-content: space-between;padding: 0 30rpx;}
  13. .t-userimg{width: 162rpx;height: 162rpx;border: 4rpx solid #fff;border-radius: 50%;}
  14. .edit{width: 226rpx;height: 60rpx;background: #FFFFFF;border: 2rpx solid #ff8551;border-radius: 30rpx;justify-content: center;font-size: 30rpx;color: #ff8551;}
  15. .edit image{width: 35rpx;height: 35rpx;margin-right: 9rpx;}
  16. .t-name{margin-top: 20rpx;padding: 0 30rpx;}
  17. .t-name view{font-size: 40rpx;color: #000;font-weight: bold;}
  18. .t-name text{font-size: 24rpx;color: #999;}
  19. .rico{width: 14rpx;height: 23rpx;margin-left: 13rpx;}
  20. .bri{font-size: 26rpx;color: #999;line-height: 42rpx;padding: 0 30rpx;margin-top: 30rpx;align-items: flex-start;}
  21. .tuan{margin: 15rpx 30rpx 0;font-size: 26rpx;color: #666;}
  22. .tuan image{width: 24rpx;height: 28rpx;margin-right: 12rpx;}
  23. .datas{margin: 30rpx 30rpx 0;text-align: center;}
  24. .datas view{margin-right: 0rpx;font-size: 26rpx;color: #999;}
  25. .datas text{color: #000;font-weight: bold;margin-left: 0rpx;font-size: 30rpx;margin-bottom: 10rpx;}
  26. .tab{padding: 25rpx 30rpx 0;background: #fff;}
  27. .tab .li{font-size: 30rpx;color: #969799;margin-right: 40rpx;padding: 25rpx 0;position: relative;}
  28. .tab .li.active{font-size: 34rpx;color: #1A1F30;font-weight: bold;}
  29. .tab .li.active::after{content: '';display: block;width: 24rpx;height: 8rpx;background: var(--main);border-radius: 4rpx;position: absolute;left: 50%;transform: translateX(-50%);bottom: 0;}
  30. .list{
  31. border-top: 20rpx solid #f5f5f5;
  32. }
  33. .list .li{background: #fff;padding: 40rpx 30rpx 45rpx;margin-bottom: 20rpx;}
  34. .userimg{width: 66rpx;height: 66rpx;border-radius: 50%;margin-right: 12rpx;}
  35. .name{font-size: 28rpx;color: #333;font-weight: bold;}
  36. .vip-tag{width: 41rpx;height: 31rpx;margin-left: 10rpx;}
  37. .time{font-size: 24rpx;color: #999;}
  38. .area{font-size: 24rpx;color: #999;margin-top: 8rpx;}
  39. .des{font-size: 30rpx;color: #000;line-height: 50rpx;margin: 30rpx 0 0;-webkit-line-clamp: 5;}
  40. .wen{display: inline-block;width: 60rpx;height: 34rpx;background: #3DB4FF;border-radius: 4rpx;font-size: 24rpx;color: #fff;text-align: center;line-height: 34rpx;margin-right: 15rpx;}
  41. .link{height: 150rpx;background: #F8F8F8;border-radius: 16rpx;padding: 24rpx;font-size: 28rpx;color: #333;box-sizing: border-box;margin-top: 30rpx;}
  42. .link image{width: 102rpx;height: 102rpx;border-radius: 12rpx;margin-right: 12rpx;}
  43. .video{margin: 20rpx 0 0;position: relative;}
  44. .video video{width: 100%;height: 397rpx;border-radius: 15rpx;display: block;}
  45. .video-play{position: absolute;top: 0;left: 0;right: 0;bottom: 0;justify-content: center;background: rgba(0,0,0,.5);border-radius: 15rpx;}
  46. .video-play image{width: 82rpx;height: 82rpx;}
  47. .imgbox{flex-wrap: wrap;margin-top: 20rpx;}
  48. .imgbox image{width: 222rpx;height: 222rpx;border-radius: 16rpx;margin: 0 12rpx 12rpx 0;}
  49. .imgbox image:nth-child(3n){margin-right: 0;}
  50. .topic{height: 40rpx;background: #E1FFF4;border-radius: 20rpx;font-size: 20rpx;color: var(--main);padding: 0 20rpx 0 10rpx;margin-top: 18rpx;}
  51. .topic image{width: 28rpx;height: 28rpx;margin-right: 7rpx;}
  52. .loca{margin-top: 20rpx;font-size: 20rpx;color: #666;}
  53. .loca image{width: 26rpx;height: 31rpx;margin-right: 8rpx;}
  54. .loca text{margin-right: 10rpx;}
  55. .step-box{
  56. background-color: #f7f8fa;
  57. border-radius: 16rpx;
  58. padding: 40rpx;
  59. margin-top: 30rpx;
  60. color: var(--main);
  61. }
  62. .step-date{
  63. font-size: 64rpx;
  64. font-weight: 500;
  65. }
  66. .step-label{
  67. font-size: 24rpx;
  68. font-weight: 500;
  69. }
  70. .step-pic{
  71. width: 150rpx;
  72. height: 150rpx;
  73. background: #E2E2E2;
  74. border-radius: 16rpx 16rpx 16rpx 16rpx;
  75. opacity: 1;
  76. margin-right: 20rpx;
  77. }
  78. .step-title{
  79. height: 74rpx;
  80. line-height: 37rpx;
  81. font-size: 26rpx;
  82. font-family: PingFang SC-Regular, PingFang SC;
  83. font-weight: 400;
  84. color: #1A1F30;
  85. }
  86. .step-price{
  87. line-height: 33rpx;
  88. font-size: 24rpx;
  89. font-family: PingFang SC-Medium, PingFang SC;
  90. font-weight: 500;
  91. color: #999;
  92. }
  93. .step-btn{
  94. width: 94rpx;
  95. height: 46rpx;
  96. line-height: 46rpx;
  97. background: var(--main);
  98. border-radius: 23rpx 23rpx 23rpx 23rpx;
  99. opacity: 1;
  100. text-align: center;
  101. font-size: 28rpx;
  102. color: #FFFFFF;
  103. }
  104. .product{height: 168rpx;margin-top: 30rpx;overflow: hidden;}
  105. .pro-view{height: 168rpx;padding-bottom: 20rpx;white-space: nowrap;}
  106. .pro-view .li{display: inline-block;width: 554rpx;height: 168rpx;background: #F7F8FA;border-radius: 16rpx;margin-right: 20rpx;padding: 16rpx;box-sizing: border-box;}
  107. .pro-view1 .li{width: 688rpx;}
  108. /* .pro-view .li:first-child{margin-left: 30rpx;} */
  109. /* .pro-view .li:last-child{margin-right: 30rpx;} */
  110. .pro-pic{width: 136rpx;height: 136rpx;border-radius: 16rpx;background: #fff;margin-right: 19rpx;}
  111. .title{white-space: initial;font-size: 26rpx;color: #1A1F30;line-height: 37rpx;height: 74rpx;}
  112. .opts{justify-content: space-between;margin-top: 10rpx;}
  113. .money{font-size: 24rpx;color: var(--main);}
  114. .pro-btn{width: 94rpx;height: 46rpx;background: var(--main);border-radius: 23rpx;font-size: 28rpx;color: #fff;text-align: center;line-height: 46rpx;}
  115. .opt{font-size: 24rpx;color: #999;margin-top: 30rpx;justify-content: flex-end;}
  116. .opt image{width: 33rpx;height: 33rpx;margin-right: 8rpx;}
  117. .opt .ddflex{margin-left: 50rpx;}
  118. .opt-share{font-size: 24rpx;color: #999;margin-left: 50rpx !important;}
  119. .vote-box{margin-top: 50rpx;}
  120. .vote-box.ends{background: #f8f8f8;margin-top: 30rpx;padding: 20rpx;}
  121. .vote-tit{font-size: 28rpx;color: #000;}
  122. .vote-list .lis{height: 74rpx;background: #F9FAFC;border: 1rpx solid #EBEBEB;border-radius: 8rpx;font-size: 30rpx;color: var(--main);text-align: center;line-height: 74rpx;margin-top: 20rpx;padding: 0 28rpx;position: relative;overflow: hidden;}
  123. .end .lis{text-align: left;color: #9B9B9B;}
  124. .end .lis view{position: relative;z-index: 2;}
  125. .end .lis view.percent{position: absolute;top: 0;bottom: 0;left: 0;background: #F0F0F0;z-index: 0;}
  126. .end .lis.active{color: var(--main);}
  127. .end .lis.active view.percent{background: #E1FFF4;}
  128. .vote-can{font-size: 22rpx;color: #999;margin-top: 15rpx;}
  129. .vote-can text{margin-right: 15rpx;}
  130. /* 团队 */
  131. .m-team{background: #fff;padding: 20rpx 0rpx 0;border-radius: 20rpx;padding-bottom: 30rpx;border-top: 20rpx solid #f5f5f5;}
  132. .m-tits{font-size: 28rpx;color: #3d3d3d;font-weight: bold;padding: 25rpx 30rpx;}
  133. .m-nums{font-size: 24rpx;color: #999;font-weight: normal;}
  134. .m-nums image{width: 16rpx;height: 27rpx;margin-left: 15rpx;}
  135. .map-team{height: 122rpx;overflow: hidden;}
  136. .map-teams{white-space: nowrap;height: 142rpx;}
  137. .map-teams .li{display: inline-block;background: #fff;width: 412rpx;height: 122rpx;border-radius: 15rpx;padding: 0 20rpx;font-size: 32rpx;color: #333;box-sizing: border-box;margin-right: 20rpx;border: 1px solid #e5e5e5;}
  138. .map-teams .li:first-child{margin-left: 30rpx;}
  139. .map-teams .li:last-child{margin-right: 30rpx;}
  140. .map-teams .li .ddflex{height: 100%;}
  141. .map-teams .li image{width: 76rpx;height: 76rpx;border-radius: 15rpx;margin-right: 20rpx;}
  142. .map-teams .li text{display: block;font-size: 24rpx;color: #999;margin-top: 5rpx;}
  143. .li-btn{width: 107rpx;height: 45rpx;border-radius: 37rpx;border: 2rpx solid var(--main);font-size: 24rpx;color: var(--main);text-align: center;line-height: 45rpx;margin-left: 10rpx;}
  144. .sta{font-size: 24rpx;color: #e6a23c;}
  145. .fail{color: #f56c6c;}
  146. .team-list{padding: 0 30rpx 50rpx;}
  147. .team-list .li{margin-top: 50rpx;}
  148. .team-img{width: 76rpx;height: 76rpx;border-radius: 15rpx;margin-right: 20rpx;}
  149. .team-tit{font-size: 32rpx;color: #333;}
  150. .team-sta{margin-top: 8rpx;font-size: 24rpx;color: #999;}
  151. .team-sta text{margin-right: 20rpx;}
  152. .join-btn{width: 133rpx;height: 60rpx;border-radius: 37rpx;border: 2rpx solid rgba(235, 28, 36, .5);font-size: 28rpx;color: var(--main);text-align: center;line-height: 60rpx;margin-left: 20rpx;}
  153. /* 运动记录 */
  154. .mine-exercise{
  155. background-color: #fff;
  156. margin-top: 20rpx;
  157. padding: 23rpx 30rpx;
  158. border-top: 20rpx solid #f5f5f5;
  159. }
  160. .ydjl{
  161. line-height: 45rpx;
  162. font-size: 28rpx;color: #3d3d3d;
  163. font-weight: bold;
  164. font-family: SourceHanSansCN-Medium-, SourceHanSansCN-Medium;
  165. }
  166. .mine-exercise-noData{
  167. line-height: 33rpx;
  168. font-size: 24rpx;
  169. font-family: PingFang SC-Bold, PingFang SC;
  170. font-weight: bold;
  171. color: #999999;
  172. text-align: center;
  173. margin-top: 32rpx;
  174. }
  175. .noData-btn{
  176. width: 377rpx;
  177. height: 88rpx;
  178. line-height: 88rpx;
  179. background: #FF7000;
  180. border-radius: 51rpx 51rpx 51rpx 51rpx;
  181. opacity: 1;
  182. margin:23rpx auto;
  183. color: #FFFFFF;
  184. font-size: 28rpx;
  185. font-weight: 400;
  186. text-align: center;
  187. }
  188. .mine-exercise-data{
  189. background: #F7F8FA;
  190. border-radius: 16rpx 16rpx 16rpx 16rpx;
  191. opacity: 1;
  192. padding: 38rpx 30rpx;
  193. margin-top: 23rpx;
  194. }
  195. .mine-exercise-data-label{
  196. line-height: 33rpx;
  197. font-size: 24rpx;
  198. font-family: PingFang SC-Medium, PingFang SC;
  199. font-weight: 500;
  200. color: #999999;
  201. text-align: center;
  202. }
  203. .mine-exercise-data-vaule{
  204. line-height: 75rpx;
  205. font-size: 52rpx;
  206. font-family: PingFang SC-Bold, PingFang SC;
  207. font-weight: bold;
  208. color: #333;
  209. text-align: center;
  210. }
  211. .mine-exercise-data-vaule text{
  212. line-height: 33rpx;
  213. font-size: 24rpx;
  214. font-family: PingFang SC-Medium, PingFang SC;
  215. font-weight: 500;
  216. color: #999999;
  217. }
  218. /* 参与活动 */
  219. .ac-team{background: #fff;padding: 20rpx 0rpx 0;border-radius: 20rpx;padding-bottom: 30rpx;border-top: 20rpx solid #f5f5f5;}
  220. .ac-tits{font-size: 28rpx;color: #3d3d3d;font-weight: bold;padding: 25rpx 30rpx;}
  221. .map-ac{overflow: hidden;}
  222. .map-acs{white-space: nowrap;height: 312rpx;}
  223. .map-acs .li{display: inline-block;background: #fff;width: 330rpx;height: 312rpx;border-radius: 15rpx;font-size: 32rpx;color: #333;box-sizing: border-box;margin-right: 20rpx;}
  224. .map-acs .li:first-child{margin-left: 30rpx;}
  225. .map-acs .li:last-child{margin-right: 30rpx;}
  226. .map-acs .li image{width: 330rpx;height: 206rpx;border-radius: 15rpx;}
  227. .ac-title{
  228. line-height: 37rpx;
  229. font-size: 26rpx;
  230. font-family: PingFang SC-Regular, PingFang SC;
  231. font-weight: 400;
  232. color: #333333;
  233. margin-top: 14rpx;
  234. }
  235. .ac-date{
  236. line-height: 25rpx;
  237. font-size: 18rpx;
  238. font-family: PingFang SC-Regular, PingFang SC;
  239. font-weight: 400;
  240. color: #999999;
  241. }
  242. .ac-type{
  243. position: absolute;
  244. top: 0;
  245. left: 0;
  246. height: 41rpx;
  247. background: linear-gradient(350deg, #FF7000 0%, #FF9C4E 100%);
  248. border-radius: 0rpx 0rpx 20rpx 0rpx;
  249. opacity: 1;
  250. font-size: 20rpx;
  251. color: #FFFFFF;
  252. line-height: 41rpx;
  253. padding: 0 10rpx;
  254. }
  255. .guanzhu{width: 166rpx;height: 64rpx;background-color: #FF753A;border-radius: 32rpx;font-size: 28rpx;color: #fff;justify-content: center;}