index.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. view {
  2. box-sizing: border-box!important;
  3. }
  4. .container {
  5. min-height: 100vh;
  6. // overflow-y: scroll;
  7. // overflow-x: hidden;
  8. // background: red;
  9. padding-bottom: 176rpx;
  10. .addBg{
  11. // background: skyblue;
  12. padding: 38rpx 30rpx;
  13. background-size: 100% 410rpx;
  14. background-repeat: no-repeat;
  15. .topBox{
  16. display: flex;
  17. align-items: center;
  18. justify-content: space-between;
  19. .btn{
  20. width: 116rpx;
  21. height: 52rpx;
  22. background: linear-gradient(180deg, #90E5FF 0%, #4EDCFF 100%);
  23. box-shadow: 0rpx 4rpx 8rpx -4rpx rgba(0,109,243,0.5);
  24. border-radius: 26rpx;
  25. font-size: 26rpx;
  26. font-family: SourceHanSansCN, SourceHanSansCN;
  27. font-weight: 500;
  28. color: #FFFFFF;
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. }
  33. .userBox{
  34. display: flex;
  35. align-items: center;
  36. .avatar{
  37. width: 120rpx;
  38. height: 120rpx;
  39. border-radius: 50%;
  40. border: 2rpx solid #fff;
  41. margin-right: 20rpx;
  42. }
  43. .right{
  44. .nickname{
  45. font-size: 36rpx;
  46. font-family: PingFang-SC, PingFang-SC;
  47. font-weight: 800;
  48. color: #FFFFFF;
  49. margin-right: 20rpx;
  50. }
  51. .bot{
  52. display: flex;
  53. align-items: center;
  54. font-size: 26rpx;
  55. font-family: PingFang-SC, PingFang-SC;
  56. font-weight: 500;
  57. color: #FFFFFF;
  58. margin-top: 16rpx;
  59. .icon{
  60. width: 28rpx;
  61. height: 28rpx;
  62. // max-lines: 20rpx;
  63. margin-right: 8rpx;
  64. }
  65. }
  66. }
  67. }
  68. }
  69. .mainBox{
  70. min-height: 934rpx;
  71. background: #FFFFFF;
  72. box-shadow: 0rpx 4rpx 16rpx -8rpx rgba(0,103,104,0.16);
  73. border-radius: 32rpx;
  74. margin-top: 48rpx;
  75. padding: 16rpx 24rpx;
  76. display: flex;
  77. flex-direction: column;
  78. flex-wrap: nowrap;
  79. // overflow-y: scroll;
  80. .tagLine{
  81. width: 72rpx;
  82. height: 10rpx;
  83. background: #EFF3F8;
  84. border-radius: 5rpx;
  85. margin-left: 50%;
  86. transform: translateX(-50%);
  87. margin-bottom: 32rpx;
  88. }
  89. .bor{
  90. border: 4rpx solid #007AFF;
  91. }
  92. .carItem{
  93. flex-shrink: 0;
  94. height: 148rpx;
  95. background: #F7F8FB;
  96. border-radius: 20rpx;
  97. display: flex;
  98. justify-content: space-between;
  99. align-items: center;
  100. padding: 0 32rpx;
  101. margin-bottom: 24rpx;
  102. .left{
  103. .name{
  104. font-size: 30rpx;
  105. font-family: SourceHanSansCN, SourceHanSansCN;
  106. font-weight: bold;
  107. color: #333333;
  108. margin-bottom: 20rpx;
  109. }
  110. .count{
  111. font-size: 24rpx;
  112. font-family: SourceHanSansCN, SourceHanSansCN;
  113. font-weight: 400;
  114. color: #666666;
  115. }
  116. }
  117. .right{
  118. font-size: 48rpx;
  119. font-family: SourceHanSansCN, SourceHanSansCN;
  120. font-weight: bold;
  121. color: #444444;
  122. }
  123. }
  124. }
  125. }
  126. .btnBox{
  127. height: 176rpx;
  128. background: #FFFFFF;
  129. box-shadow: 0rpx -2rpx 20rpx 0rpx rgba(0,0,0,0.05);
  130. border-radius: 32rpx 32rpx 0rpx 0rpx;
  131. position: fixed;
  132. bottom: 0;
  133. width: 100%;
  134. padding-left: 30rpx;
  135. padding-right: 30rpx;
  136. display: flex;
  137. align-items: center;
  138. justify-content: center;
  139. .btn{
  140. height: 96rpx;
  141. background: linear-gradient(132deg, #0298FF 0%, #017AFF 100%);
  142. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(0,122,255,0.2);
  143. border-radius: 54rpx;
  144. display: flex;
  145. align-items: center;
  146. justify-content: center;
  147. width: 100%;
  148. font-size: 32rpx;
  149. font-family: SourceHanSansCN, SourceHanSansCN;
  150. font-weight: bold;
  151. color: #FFFFFF;
  152. }
  153. }
  154. }