index.scss 3.8 KB

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