index.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. .container {
  2. padding: 24rpx 0;
  3. color: #fff;
  4. .userinfo {
  5. margin: 0 auto;
  6. width: 714rpx;
  7. text-align: center;
  8. position: relative;
  9. height: 200rpx;
  10. >image {
  11. width: 100%;
  12. height: 100%;
  13. }
  14. .usercon {
  15. width: 100%;
  16. height: 100%;
  17. position: absolute;
  18. top: 0;
  19. font-size: 0;
  20. left: 0;
  21. .icon {
  22. width: 160rpx;
  23. height: 158rpx;
  24. position: absolute;
  25. top: 16rpx;
  26. left: 34rpx;
  27. }
  28. .username {
  29. color: #fff;
  30. font-size: 36rpx;
  31. font-weight: bold;
  32. position: absolute;
  33. top: 18rpx;
  34. left: 236rpx;
  35. }
  36. .bar {
  37. width: 284rpx;
  38. height: 68rpx;
  39. background: #012b4f;
  40. position: absolute;
  41. top: 90rpx;
  42. left: 232rpx;
  43. clip-path: polygon(0 4%, 96% 0, 100% 100%, 0 100%);
  44. .line {
  45. background: #a1cbec;
  46. width: 50%;
  47. height: 100%;
  48. }
  49. }
  50. .r_text {
  51. position: absolute;
  52. right: 46rpx;
  53. top: 24rpx;
  54. font-size: 28rpx;
  55. text-align: left;
  56. >text {
  57. display: block;
  58. margin: 10rpx 0;
  59. &:first-of-type {
  60. font-weight: bold;
  61. margin-bottom: 16rpx;
  62. }
  63. &:last-of-type {
  64. font-size: 20rpx;
  65. }
  66. }
  67. }
  68. }
  69. }
  70. .record {
  71. width: 686rpx;
  72. height: calc(100% - 340rpx);
  73. margin: 40rpx auto 0;
  74. border: 5rpx solid;
  75. background: linear-gradient(0deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.9) 100%);
  76. box-shadow: 6rpx 10rpx 27rpx 0rpx rgba(75, 126, 160, 0.6);
  77. border-radius: 10rpx;
  78. padding: 30rpx 20rpx;
  79. box-sizing: border-box;
  80. .re_header {
  81. display: flex;
  82. justify-items: center;
  83. font-size: 32rpx;
  84. justify-content: space-between;
  85. width: 100%;
  86. border-bottom: 4rpx solid #fff;
  87. padding: 10rpx 30rpx 30rpx;
  88. color: #4C2508;
  89. box-sizing: border-box;
  90. >image {
  91. width: 80rpx;
  92. }
  93. .re_date {
  94. display: flex;
  95. align-items: center;
  96. >image {
  97. width: 20rpx;
  98. }
  99. >text {
  100. margin: 0 18rpx;
  101. transform: translateY(-2rpx);
  102. }
  103. }
  104. }
  105. .re_body {
  106. color: #765842;
  107. .item {
  108. position: relative;
  109. background: rgba(255, 255, 255, 0.5);
  110. border-radius: 6rpx;
  111. margin: 16rpx 0;
  112. height: 110rpx;
  113. padding: 10rpx 20rpx;
  114. box-sizing: border-box;
  115. >image {
  116. position: absolute;
  117. top: 50%;
  118. right: 26rpx;
  119. transform: translateY(-50%);
  120. width: 50rpx;
  121. }
  122. >text {
  123. display: block;
  124. &:last-of-type {
  125. font-size: 24rpx;
  126. margin-top: 12rpx;
  127. }
  128. }
  129. }
  130. }
  131. }
  132. }