index.scss 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. @import "~taro-ui/dist/style/components/icon.scss";
  2. .container {
  3. width: 92vw;
  4. height: 100vh;
  5. padding: 0 4vw;
  6. overflow: auto;
  7. background: linear-gradient(#1D2045 30%, #1D2045, #2C2B40);
  8. .header {
  9. width: 100%;
  10. display: flex;
  11. position: relative;
  12. height: 400px;
  13. background-image: url(http://cdn.geekbuluo.com/jiangzuo-min.png);
  14. background-size: 95% 90%;
  15. background-repeat: no-repeat;
  16. background-position: center;
  17. margin-top: 184px;
  18. }
  19. .header-line {
  20. font-size: 28px;
  21. color: #fff;
  22. padding-left: 10px;
  23. position: relative;
  24. margin: 20px 0;
  25. display: flex;
  26. justify-content: space-between;
  27. &::before {
  28. content: "";
  29. margin-right: 2px;
  30. width: 8px;
  31. position: absolute;
  32. left: -10px;
  33. top: 0;
  34. bottom: 0;
  35. background: linear-gradient(to bottom, rgb(250, 52, 3), #f7b603);
  36. }
  37. }
  38. .body {
  39. .record-item {
  40. height: 140px;
  41. margin-bottom: 20px;
  42. padding: 0 20px;
  43. border-radius: 10px;
  44. background-color: rgb(78, 75, 37);
  45. color: #F9FCF6;
  46. display: flex;
  47. justify-content: space-between;
  48. align-items: center;
  49. .left {
  50. display: flex;
  51. width: 400px;
  52. align-items: center;
  53. view:nth-child(1) {
  54. margin: 0 10px;
  55. font-size: 36px;
  56. }
  57. view:nth-child(3) {
  58. width: 260px;
  59. flex-shrink: 0;
  60. overflow: hidden;
  61. white-space: nowrap;
  62. text-overflow: ellipsis;
  63. }
  64. image {
  65. width: 90px;
  66. height: 90px;
  67. margin: 0 20px;
  68. flex-shrink: 0;
  69. border-radius: 50%;
  70. }
  71. }
  72. }
  73. .nofriends {
  74. color: #fff;
  75. margin-top: 30vh;
  76. text-align: center;
  77. button {
  78. margin-top: 30px;
  79. width: 180px;
  80. font-size: 28px;
  81. color: #2C2B40;
  82. background: linear-gradient(to right, rgb(252, 206, 3), #cf9904);
  83. height: 50px;
  84. line-height: 50px;
  85. }
  86. }
  87. }
  88. .icon-yuanbao {
  89. font-size: 30px;
  90. color: #F8D253;
  91. }
  92. }