edit-person.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. html,
  2. body {
  3. height: 100%;
  4. font-family: PingFangSC-Regular;
  5. color: #333333;
  6. }
  7. .content > .header {
  8. width: 100%;
  9. height: 240rpx;
  10. background: #28aff0;
  11. color: #ffffff;
  12. box-sizing: border-box;
  13. padding-left: 32rpx;
  14. overflow: hidden;
  15. position: relative;
  16. }
  17. .content > .header > view:first-child {
  18. font-size: 36rpx;
  19. margin: 48rpx 0 8rpx;
  20. }
  21. .content > .header > view:nth-child(2) {
  22. font-size: 24rpx;
  23. }
  24. .content > .header > image {
  25. width: 212rpx;
  26. height: 148rpx;
  27. position: absolute;
  28. top: 32rpx;
  29. right: 44rpx;
  30. }
  31. .content > .personBox {
  32. width: 100%;
  33. box-sizing: border-box;
  34. padding: 0 24rpx;
  35. position: relative;
  36. top: -60rpx;
  37. }
  38. .content > .personBox > .item {
  39. width: 100%;
  40. height: 200rpx;
  41. background: #ffffff;
  42. box-shadow: 0 4rpx 8rpx 0 rgba(0, 0, 0, 0.03);
  43. border-radius: 8rpx;
  44. box-sizing: border-box;
  45. padding: 52rpx 40rpx;
  46. margin-bottom: 24rpx;
  47. }
  48. .content > .personBox > .addItem {
  49. display: flex;
  50. justify-content: center;
  51. align-items: center;
  52. }
  53. .content > .personBox > .pItem > view {
  54. float: left;
  55. }
  56. .content > .personBox > .pItem > view:first-child {
  57. width: 96rpx;
  58. background: #28aff0;
  59. border-radius: 50%;
  60. color: #ffffff;
  61. text-align: center;
  62. line-height: 96rpx;
  63. font-family: PingFangSC-Semibold;
  64. font-size: 30rpx;
  65. margin-right: 30rpx;
  66. }
  67. .content > .personBox > .pItem > view:nth-child(2) {
  68. display: flex;
  69. flex-direction: column;
  70. }
  71. .content > .personBox > .pItem > view:nth-child(2) > text:first-child {
  72. font-family: PingFangSC-Medium;
  73. font-size: 34rpx;
  74. color: #333333;
  75. }
  76. .content > .personBox > .pItem > view:nth-child(2) > text:last-child {
  77. font-size: 28rpx;
  78. color: #808080;
  79. }
  80. .content > .personBox > .pItem > .selectBox > image {
  81. width: 48rpx;
  82. height: 48rpx;
  83. }
  84. .content > .personBox > .pItem .selectBox image:first-child {
  85. display: block;
  86. }
  87. .content > .personBox > .pItem .selectBox image:last-child {
  88. display: none;
  89. }
  90. .content > .personBox > .selected .selectBox image:first-child {
  91. display: none;
  92. }
  93. .content > .personBox > .selected .selectBox image:last-child {
  94. display: block;
  95. }
  96. .content > .personBox > .pItem > .editBox {
  97. height: 100%;
  98. float: right;
  99. display: flex;
  100. align-items: center;
  101. }
  102. .content > .personBox > .pItem > .editBox > image {
  103. width: 32rpx;
  104. height: 32rpx;
  105. }
  106. .content > .personBox > .pItem > .editBox > image:first-child {
  107. margin-right: 56rpx;
  108. }
  109. .content > .personBox > .addItem image {
  110. width: 20rpx;
  111. height: 20rpx;
  112. margin-right: 16rpx;
  113. }
  114. .content > .personBox > .addItem > view {
  115. margin: 0 auto;
  116. font-size: 30rpx;
  117. color: #3296fb;
  118. }
  119. .-X{
  120. width: 100%;
  121. height: 68rpx;
  122. }