index.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. .cardCom {
  2. width: 690rpx;
  3. height: 428rpx;
  4. position: relative;
  5. .card-bg {
  6. position: absolute;
  7. top: 0;
  8. left: 0;
  9. width: 100%;
  10. height: 100%;
  11. z-index: 1;
  12. image {
  13. width: 100%;
  14. height: 100%;
  15. display: block;
  16. }
  17. }
  18. .card-container {
  19. width: 100%;
  20. height: 100%;
  21. position: relative;
  22. z-index: 2;
  23. .card-header {
  24. padding: 0 48rpx;
  25. box-sizing: border-box;
  26. width: 100%;
  27. height: 120rpx;
  28. @include flex(space-between, null, null);
  29. position: absolute;
  30. top: 52rpx;
  31. left: 0;
  32. .header-left {
  33. .header-title {
  34. margin-bottom: 16rpx;
  35. @include flex(flex-start, null, 32rpx);
  36. text {
  37. color: #ffffff;
  38. &:nth-of-type(1) {
  39. font-size: 36rpx;
  40. font-weight: 500;
  41. }
  42. &:nth-of-type(2) {
  43. font-size: 24rpx;
  44. }
  45. }
  46. }
  47. .company {
  48. font-size: 24rpx;
  49. color: #ffffff;
  50. }
  51. }
  52. .header-right {
  53. position: relative;
  54. width: 128rpx;
  55. height: 128rpx;
  56. border-radius: 50%;
  57. overflow: hidden;
  58. .edit {
  59. position: absolute;
  60. left: 0;
  61. bottom: 0;
  62. z-index: 4;
  63. width: 120rpx;
  64. height: 36rpx;
  65. text-align: center;
  66. line-height: 36rpx;
  67. background: rgba(0, 0, 0, 0.4);
  68. font-size: 20rpx;
  69. color: #ffffff;
  70. }
  71. .img-box {
  72. width: 128rpx;
  73. height: 128rpx;
  74. position: absolute;
  75. top: 0;
  76. left: 0;
  77. z-index: 3;
  78. border-radius: 50%;
  79. background-color: #ffffff;
  80. @include flex(center,null,null);
  81. image {
  82. width: 120rpx;
  83. height: 120rpx;
  84. border-radius: 50%;
  85. }
  86. }
  87. }
  88. }
  89. .card-content {
  90. width: 100%;
  91. position: absolute;
  92. left: 0;
  93. top: 228rpx;
  94. padding: 0 48rpx;
  95. box-sizing: border-box;
  96. .content-item {
  97. @include flex(flex-start, null, 10rpx);
  98. margin-top: 16rpx;
  99. image {
  100. width: 24rpx;
  101. height: 24rpx;
  102. display: block;
  103. }
  104. text {
  105. font-size: 24rpx;
  106. color: #ffffff;
  107. overflow: hidden;
  108. white-space: nowrap;
  109. text-overflow: ellipsis;
  110. }
  111. }
  112. }
  113. }
  114. }