index.acss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .soldier-component .cert-detail-component {
  2. overflow: hidden;
  3. position: relative;
  4. padding: 24rpx 24rpx 0 24rpx;
  5. background-size: cover;
  6. background-color: #fff;
  7. background-repeat: no-repeat;
  8. background-position: center;
  9. }
  10. .soldier-component .cert-detail-component .loading-container-center {
  11. display: flex;
  12. align-items: center;
  13. justify-content: center;
  14. min-height: 400rpx;
  15. }
  16. .soldier-component .cert-detail-component .cert-detail-component-header {
  17. display: flex;
  18. margin-bottom: 48rpx;
  19. }
  20. .soldier-component .cert-detail-component .cert-detail-component-header .cert-icon {
  21. width: 54rpx;
  22. height: 54rpx;
  23. border-radius: 50%;
  24. margin-right: 24rpx;
  25. background-color: #fff;
  26. overflow: hidden;
  27. }
  28. .soldier-component .cert-detail-component .cert-detail-component-header .cert-icon image {
  29. width: 100%;
  30. height: 100%;
  31. }
  32. .soldier-component .cert-detail-component .cert-detail-component-header .cert-detail-name {
  33. flex: 1;
  34. font-size: 34rpx;
  35. color: #fff;
  36. line-height: 48rpx;
  37. font-weight: 800;
  38. }
  39. .soldier-component .cert-detail-component .cert-detail-content {
  40. display: flex;
  41. margin-bottom: 158rpx;
  42. }
  43. .soldier-component .cert-detail-component .cert-detail-content .cert-avatar {
  44. width: 150rpx;
  45. height: 190rpx;
  46. margin-right: 24rpx;
  47. background-color: #fff;
  48. border-radius: 8rpx;
  49. overflow: hidden;
  50. }
  51. .soldier-component .cert-detail-component .cert-detail-content .cert-avatar image {
  52. width: 100%;
  53. height: 100%;
  54. display: block;
  55. }
  56. .soldier-component .cert-detail-component .cert-detail-content .cert-info-content {
  57. flex: 1;
  58. overflow: hidden;
  59. }
  60. .soldier-component .cert-detail-component .cert-detail-content .cert-info-row {
  61. display: flex;
  62. line-height: 32rpx;
  63. align-items: center;
  64. margin-bottom: 20rpx;
  65. }
  66. .soldier-component .cert-detail-component .cert-detail-content .cert-info-row:last-child {
  67. margin-bottom: 0;
  68. }
  69. .soldier-component .cert-detail-component .cert-detail-content .cert-info-label {
  70. width: 128rpx;
  71. text-align: right;
  72. font-size: 24rpx;
  73. color: rgba(255, 255, 255, 0.8);
  74. }
  75. .soldier-component .cert-detail-component .cert-detail-content .cert-info-value {
  76. flex: 1;
  77. font-size: 24rpx;
  78. color: #fff;
  79. font-weight: 800;
  80. }
  81. .soldier-component .cert-detail-component .view-button {
  82. left: 0;
  83. right: 0;
  84. bottom: 0;
  85. z-index: 2;
  86. height: 108rpx;
  87. position: absolute;
  88. display: flex;
  89. background-color: rgba(0, 0, 0, 0.1);
  90. }
  91. .soldier-component .cert-detail-component .view-button .view-button-item {
  92. flex: 1;
  93. position: relative;
  94. }
  95. .soldier-component .cert-detail-component .view-button .view-button-item::after {
  96. content: '';
  97. display: block;
  98. width: 1px;
  99. height: 44rpx;
  100. background: #fff;
  101. position: absolute;
  102. right: 0;
  103. top: 50%;
  104. transform: translateY(-50%);
  105. }
  106. .soldier-component .cert-detail-component .view-button .view-button-item:last-child::after {
  107. display: none;
  108. }
  109. .soldier-component .cert-detail-component .view-button .view-button-item-inner {
  110. display: flex;
  111. height: 100%;
  112. font-size: 30rpx;
  113. color: #fff;
  114. align-items: center;
  115. justify-content: center;
  116. }
  117. .soldier-component .cert-detail-component .view-button .qr-image {
  118. width: 38rpx;
  119. height: 38rpx;
  120. margin-right: 20rpx;
  121. }
  122. .soldier-component .cert-detail-component .view-button .qr-image image {
  123. width: 100%;
  124. height: 100%;
  125. }