edit-person-detail.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. html,
  2. body {
  3. height: 100%;
  4. font-family: PingFangSC-Regular;
  5. color: #333333;
  6. }
  7. .content{
  8. padding-bottom: 90rpx;
  9. }
  10. .content-X{
  11. padding-bottom: 158rpx;
  12. }
  13. .header {
  14. width: 100%;
  15. height: 240rpx;
  16. background: #28aff0;
  17. color: #ffffff;
  18. box-sizing: border-box;
  19. padding-left: 32rpx;
  20. overflow: hidden;
  21. position: relative;
  22. }
  23. .header > view:first-child {
  24. font-size: 36rpx;
  25. margin: 48rpx 0 8rpx;
  26. }
  27. .header > view:nth-child(2) {
  28. font-size: 24rpx;
  29. }
  30. .header > image {
  31. width: 212rpx;
  32. height: 148rpx;
  33. position: absolute;
  34. top: 32rpx;
  35. right: 44rpx;
  36. }
  37. .personBox {
  38. width: 100%;
  39. box-sizing: border-box;
  40. padding: 0 24rpx;
  41. position: relative;
  42. top: -60rpx;
  43. }
  44. .personBox > .personDetail {
  45. height: 480rpx;
  46. background: #ffffff;
  47. box-shadow: 0 4rpx 8rpx 0 rgba(0, 0, 0, 0.03);
  48. border-radius: 8rpx;
  49. box-sizing: border-box;
  50. padding: 40rpx 40rpx 0;
  51. }
  52. .personBox > .personDetail > view:first-child {
  53. display: flex;
  54. justify-content: space-between;
  55. position: relative;
  56. font-size: 28rpx;
  57. padding-bottom: 30rpx;
  58. border-bottom: 2rpx solid #eeeeee;
  59. }
  60. .personBox > .personDetail > view:first-child > text:first-child {
  61. color: #333333;
  62. }
  63. .personBox > .personDetail > view:first-child > text:nth-child(2) {
  64. color: #3296fb;
  65. }
  66. .personBox > .personDetail > view:first-child > image {
  67. width: 28rpx;
  68. height: 28rpx;
  69. position: absolute;
  70. top: 6rpx;
  71. right: 124rpx;
  72. }
  73. .personBox > .personDetail > view:nth-child(2) {
  74. padding-top: 40rpx;
  75. display: flex;
  76. justify-content: space-between;
  77. }
  78. .personBox > .personDetail > view:nth-child(2) > .number {
  79. width: 4rpx;
  80. height: 126rpx;
  81. margin: 36rpx 0 0 16rpx;
  82. position: relative;
  83. background: #a0c7dd;
  84. }
  85. .personBox > .personDetail > view:nth-child(2) > .number > view {
  86. width: 32rpx;
  87. height: 32rpx;
  88. background: #a0c7dd;
  89. border-radius: 50%;
  90. color: #ffffff;
  91. font-size: 24rpx;
  92. text-align: center;
  93. position: absolute;
  94. }
  95. .personBox
  96. > .personDetail
  97. > view:nth-child(2)
  98. > .number
  99. > view:first-child {
  100. top: -32rpx;
  101. left: -14rpx;
  102. }
  103. .personBox
  104. > .personDetail
  105. > view:nth-child(2)
  106. > .number
  107. > view:last-child {
  108. bottom: -32rpx;
  109. left: -14rpx;
  110. }
  111. .personBox > .personDetail > view:nth-child(2) > .smallCard {
  112. margin-right: 260rpx;
  113. }
  114. .personBox > .personDetail > view:nth-child(2) > .smallCard > view {
  115. display: flex;
  116. flex-direction: column;
  117. font-size: 30rpx;
  118. }
  119. .personBox > .personDetail > view:nth-child(2) > .smallCard image {
  120. width: 96rpx;
  121. height: 64rpx;
  122. margin: 16rpx 0 36rpx 0;
  123. }
  124. .personBox > .personDetail > view:nth-child(2) > view:last-child {
  125. display: flex;
  126. flex-direction: column;
  127. }
  128. .personBox
  129. > .personDetail
  130. > view:nth-child(2)
  131. > view:last-child
  132. > image {
  133. width: 40rpx;
  134. height: 32rpx;
  135. }
  136. .personBox
  137. > .personDetail
  138. > view:nth-child(2)
  139. > view:last-child
  140. > image:first-child {
  141. margin-top: 6rpx;
  142. }
  143. .personBox
  144. > .personDetail
  145. > view:nth-child(2)
  146. > view:last-child
  147. > image:last-child {
  148. margin-top: 126rpx;
  149. }
  150. .pItemMargin {
  151. margin-bottom: 24rpx;
  152. }
  153. .pBox {
  154. position: relative;
  155. top: -38rpx;
  156. }
  157. .pItem {
  158. box-sizing: border-box;
  159. padding: 28rpx 32rpx;
  160. background: #ffffff;
  161. display: flex;
  162. justify-content: space-between;
  163. font-size: 32rpx;
  164. }
  165. .pItem image {
  166. width: 14rpx;
  167. height: 24rpx;
  168. margin-left: 22rpx;
  169. }
  170. .pItem > view:first-child {
  171. color: #333333;
  172. margin-right: 78rpx;
  173. }
  174. .pItem > view:last-child {
  175. display: flex;
  176. align-items: center;
  177. font-size: 32rpx;
  178. color: #aaaaaa;
  179. }
  180. .pItem > input {
  181. color: #666666;
  182. text-align: right;
  183. height: 44rpx;
  184. min-height: 44rpx;
  185. }
  186. .line {
  187. width: 100%;
  188. height: 2rpx;
  189. box-sizing: border-box;
  190. padding-left: 32rpx;
  191. background: #ffffff;
  192. }
  193. .line > view {
  194. height: 2rpx;
  195. background: #f5f5f5;
  196. }
  197. .save,.save-X {
  198. box-sizing: border-box;
  199. padding: 0 32rpx;
  200. width: 100%;
  201. background: #ffffff;
  202. text-align: center;
  203. line-height: 90rpx;
  204. color: #ffffff;
  205. position: fixed;
  206. bottom: 0;
  207. }
  208. .save-X{
  209. padding-bottom: 68rpx;
  210. }
  211. .save > view,.save-X > view {
  212. width: 100%;
  213. height: 100%;
  214. background: #3296FB;
  215. border-radius: 45rpx;
  216. }
  217. .modal {
  218. position: fixed;
  219. top: 0;
  220. width: 100%;
  221. height: 100%;
  222. background: rgba(0, 0, 0, 0.56);
  223. display: flex;
  224. flex-direction: column;
  225. z-index: 999;
  226. }
  227. .modal > .tapClose {
  228. width: 100%;
  229. height: 100%;
  230. }
  231. .modal > .detail {
  232. width: 652rpx;
  233. height: 552rpx;
  234. border-radius: 20rpx;
  235. position: absolute;
  236. top: 0;
  237. left: 0;
  238. right: 0;
  239. bottom: 0;
  240. margin: auto;
  241. background: #ffffff;
  242. box-sizing: border-box;
  243. padding: 60rpx 56rpx;
  244. font-size: 32rpx;
  245. line-height: 46rpx;
  246. color: #333333;
  247. }
  248. .modal > .detail .input {
  249. height: 90rpx;
  250. border: 2rpx solid #eeeeee;
  251. display: flex;
  252. justify-content: space-between;
  253. align-items: center;
  254. }
  255. .modal > .detail .input > text {
  256. font-size: 30rpx;
  257. color: #3296FB;
  258. padding: 0 20rpx;
  259. border-left: 2rpx solid #dcdcdc;
  260. }
  261. .modal > .detail .input > input {
  262. box-sizing: border-box;
  263. padding: 0 26rpx;
  264. width: 300rpx;
  265. min-height: 100%;
  266. }
  267. .modal > .detail > .btn {
  268. background: #ffffff;
  269. }
  270. .modal > .detail > .btn > view {
  271. height: 90rpx;
  272. background: #3296FB;
  273. border-radius: 45rpx;
  274. font-family: PingFangSC-Medium;
  275. font-size: 32rpx;
  276. color: #FFFFFF;
  277. display: flex;
  278. justify-content: center;
  279. align-items: center;
  280. }