cardDetail.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .card-box{
  2. margin: 120rpx 30rpx 100rpx;
  3. background: #FFFFFF;
  4. border-radius: 20rpx 20rpx 20rpx 20rpx;
  5. position: relative;
  6. }
  7. .hearder{
  8. width: 160rpx;
  9. height: 160rpx;
  10. margin: -80rpx auto 14rpx;
  11. }
  12. .hearder image{
  13. width: 100%;
  14. height: 100%;
  15. }
  16. .user-name{
  17. line-height: 50rpx;
  18. font-size: 36rpx;
  19. font-weight: bold;
  20. color: #333333;
  21. text-align: center;
  22. }
  23. .user-tag{
  24. justify-content: center;
  25. margin-top: 10rpx;
  26. }
  27. .user-tag-item{
  28. padding: 0 10rpx;
  29. line-height: 32rpx;
  30. background: linear-gradient(80deg, #7EBFF1 0%, #458EEE 100%);
  31. border-radius: 5rpx 5rpx 5rpx 5rpx;
  32. opacity: 1;
  33. text-align: center;
  34. margin-right: 10rpx;
  35. font-size: 20rpx;
  36. color: #FFFFFF;
  37. }
  38. .user-tag-item:last-child{
  39. margin-right: 0rpx;
  40. }
  41. .pf{
  42. margin-top: 50rpx;
  43. text-align: center;
  44. }
  45. .pf-title {
  46. line-height: 45rpx;
  47. font-size: 32rpx;
  48. font-family: PingFang SC-Bold, PingFang SC;
  49. font-weight: bold;
  50. color: #333333;
  51. margin-bottom: 10rpx;
  52. }
  53. .user-data{
  54. margin-top: 51rpx;
  55. justify-content: center;
  56. }
  57. .user-data-num{
  58. line-height: 43rpx;
  59. font-size: 39rpx;
  60. font-family: Arial-Regular, Arial;
  61. font-weight: 400;
  62. color: #333333;
  63. text-align: center;
  64. margin-bottom: 10rpx;
  65. }
  66. .user-data-label image{
  67. width: 28rpx;
  68. height: 28rpx;
  69. margin-right: 10rpx;
  70. }
  71. .user-data-label{
  72. line-height: 33rpx;
  73. font-size: 24rpx;
  74. font-family: PingFang SC-Medium, PingFang SC;
  75. font-weight: 500;
  76. color: #A1A1A1;
  77. text-align: center;
  78. }
  79. .user-des{
  80. font-size: 24rpx;
  81. font-family: PingFang SC-Regular, PingFang SC;
  82. font-weight: 400;
  83. color: #333333;
  84. line-height: 42rpx;
  85. margin: 40rpx;
  86. }
  87. .user-code{
  88. width: 262rpx;
  89. height: 262rpx;
  90. margin: 36rpx auto 0;
  91. }
  92. .user-btn{
  93. width: 400rpx;
  94. height: 80rpx;
  95. line-height: 80rpx;
  96. background: #27D699;
  97. border-radius: 40rpx 40rpx 40rpx 40rpx;
  98. opacity: 1;
  99. text-align: center;
  100. margin: 40rpx auto;
  101. font-size: 30rpx;
  102. font-family: Source Han Sans CN-Regular, Source Han Sans CN;
  103. font-weight: 400;
  104. color: #FFFFFF;
  105. z-index: 2;
  106. position: relative;
  107. }
  108. .user-btn-text{
  109. text-align: center;
  110. margin: 36rpx auto 90rpx;
  111. color: #009B62;
  112. font-size: 30rpx;
  113. z-index: 2;
  114. position: relative;
  115. }
  116. .card-bottom{
  117. position: absolute;
  118. bottom: 0;
  119. left: 0;
  120. right: 0;
  121. height: 190rpx;
  122. width: 100%;
  123. }
  124. .clearfix::after {
  125. content: ".";
  126. display: block;
  127. height: 0;
  128. line-height: 0;
  129. clear: both;
  130. visibility: hidden;
  131. }
  132. .clearfix::before {
  133. content: ".";
  134. display: block;
  135. height: 0;
  136. line-height: 0;
  137. clear: both;
  138. visibility: hidden;
  139. }