index.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. view {
  2. box-sizing: border-box;
  3. }
  4. .container {
  5. min-height: 100vh;
  6. // padding-bottom: 200rpx;
  7. .topBox{
  8. height: 370rpx;
  9. padding-top: 38rpx;
  10. padding-left: 30rpx;
  11. padding-right: 30rpx;
  12. background: #028BFC;
  13. display: flex;
  14. flex-direction: column;
  15. justify-content:space-between;
  16. background-size: 100% 100%;
  17. background-repeat: no-repeat;
  18. .userBox{
  19. display: flex;
  20. align-items: center;
  21. // background: red;
  22. // min-width:50vw;
  23. // justify-content: flex-start;
  24. .avatar{
  25. width: 120rpx;
  26. height: 120rpx;
  27. border-radius: 50%;
  28. border: 2rpx solid #fff;
  29. margin-right: 24rpx;
  30. }
  31. .nickname{
  32. font-size: 36rpx;
  33. // font-size: 42rpx;
  34. font-family: PingFang-SC, PingFang-SC;
  35. font-weight: 800;
  36. color: #FFFFFF;
  37. margin-right: 20rpx;
  38. // background: #F7E0AB;
  39. // width: 200rpx;
  40. // height: 150rpx;
  41. }
  42. .icon{
  43. width: 28rpx;
  44. height: 28rpx;
  45. // max-lines: 20rpx;
  46. }
  47. }
  48. .infoBox{
  49. // background: rgba(31,48,69,0.7);
  50. // box-shadow: 0rpx 4rpx 16rpx -8rpx rgba(0,103,104,0.16);
  51. // border-radius: 32rpx 32rpx 0rpx 0rpx;
  52. // border: 2rpx solid rgba(112,193,255,0.81);
  53. // backdrop-filter: blur(10px);
  54. font-size: 30rpx;
  55. font-family: SourceHanSansCN, SourceHanSansCN;
  56. font-weight: bold;
  57. color: #FFFFFF;
  58. display: flex;
  59. align-items: center;
  60. height: 145rpx;
  61. padding-left: 48rpx;
  62. padding-right: 48rpx;
  63. justify-content: space-between;
  64. position: relative;
  65. z-index: 1;
  66. background-size: 100% 100%;
  67. background-repeat: no-repeat;
  68. padding-bottom: 20rpx;
  69. .left{
  70. display: flex;
  71. align-items: center;
  72. .icon{
  73. width: 48rpx;
  74. height: 48rpx;
  75. margin-right: 16rpx;
  76. }
  77. }
  78. .btn{
  79. width: 130rpx;
  80. height: 46rpx;
  81. background: #F7E0AB;
  82. border-radius: 23rpx;
  83. font-size: 24rpx;
  84. font-family: SourceHanSansCN, SourceHanSansCN;
  85. font-weight: 500;
  86. color: #1F3045;
  87. display: flex;
  88. align-items: center;
  89. justify-content: center;
  90. }
  91. }
  92. }
  93. }
  94. .contentBox{
  95. min-height: 970rpx;
  96. // background: #F7F8FB;
  97. // box-shadow: 0rpx 4rpx 16rpx -8rpx rgba(0,103,104,0.16);
  98. // border-radius: 30rpx 30rpx 0 0;
  99. // background: red;
  100. margin-top: -40rpx;
  101. position: relative;
  102. z-index: 2;
  103. padding-top: 40rpx;
  104. padding-left:30rpx;
  105. padding-right: 30rpx;
  106. background-size: 100% 100%;
  107. background-repeat: no-repeat;
  108. // padding-bottom: 100rpx;
  109. .tabBox{
  110. display: flex;
  111. justify-content: space-between;
  112. .item{
  113. width: 48%;
  114. height: 150rpx;
  115. background: #FFFFFF;
  116. box-shadow: 0rpx 4rpx 20rpx -14rpx rgba(1,135,255,0.38);
  117. border-radius: 28rpx;
  118. display: flex;
  119. align-items: center;
  120. padding-left: 24rpx;
  121. .icon{
  122. width: 50rpx;
  123. height: 50rpx;
  124. margin-right: 16rpx;
  125. }
  126. .t1{
  127. font-size: 30rpx;
  128. font-family: SourceHanSansCN, SourceHanSansCN;
  129. font-weight: bold;
  130. color: #333333;
  131. margin-bottom: 12rpx;
  132. }
  133. .t2{
  134. font-size: 22rpx;
  135. font-family: SourceHanSansCN, SourceHanSansCN;
  136. font-weight: 400;
  137. color: #999999;
  138. }
  139. }
  140. }
  141. .serListBox{
  142. padding-bottom: 200rpx;
  143. .item{
  144. display: flex;
  145. align-items: center;
  146. justify-content: space-between;
  147. height: 142rpx;
  148. // background: red;
  149. border-bottom: 1rpx solid #E6E6E6;
  150. .left{
  151. height: 100%;
  152. display: flex;
  153. align-items: center;
  154. font-size: 32rpx;
  155. font-family: PingFang-SC, PingFang-SC;
  156. font-weight: 500;
  157. color: #333333;
  158. .icon{
  159. width: 40rpx;
  160. height: 40rpx;
  161. margin-right: 8rpx;
  162. }
  163. }
  164. .icon_r{
  165. width: 14rpx;
  166. height: 24rpx;
  167. }
  168. }
  169. }
  170. }
  171. ::v-deep button{
  172. color: #333!important;
  173. padding: 0 20rpx!important;
  174. background: #F7E0AB!important;
  175. border:none!important;
  176. margin-left: 0!important;
  177. height: 70rpx!important;
  178. display: flex!important;
  179. align-items: center!important;
  180. justify-content: center!important;
  181. }
  182. ::v-deep button::after{
  183. border: none!important;
  184. height: auto!important;
  185. }