index.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /* 主容器 */
  2. .user-list-container {
  3. height: 100vh;
  4. background: url('https://swkz-1332577016.cos.ap-guangzhou.myqcloud.com/karamay/bg.png') no-repeat center center;
  5. background-size: cover;
  6. overflow: hidden;
  7. padding: 0 32rpx;
  8. }
  9. /* 页面标题 */
  10. .page-title {
  11. text-align: left;
  12. margin: 40rpx 0;
  13. }
  14. .title-text {
  15. color: #584735;
  16. font-size: 40rpx;
  17. font-weight: bold;
  18. }
  19. /* 联系人列表 */
  20. .contact-list {
  21. height: calc(100vh - 360rpx);
  22. margin-bottom: 40rpx;
  23. }
  24. .contact-card {
  25. background: #fff;
  26. border-radius: 16rpx;
  27. padding: 32rpx;
  28. margin-bottom: 24rpx;
  29. box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
  30. }
  31. .contact-info .contact-row {
  32. display: flex;
  33. align-items: center;
  34. justify-content: space-between;
  35. margin-bottom: 24rpx;
  36. }
  37. .contact-info .contact-row:last-child {
  38. margin-bottom: 0;
  39. }
  40. .contact-row .label {
  41. color: #B1967B;
  42. font-size: 28rpx;
  43. min-width: 120rpx;
  44. }
  45. .contact-row .value {
  46. flex: 1;
  47. color: #584735;
  48. font-size: 28rpx;
  49. margin-left: 24rpx;
  50. }
  51. .contact-row .edit-btn {
  52. display: flex;
  53. background: none;
  54. border: none;
  55. color: #F45151;
  56. font-size: 28rpx;
  57. padding: 0;
  58. margin: 0;
  59. line-height: 36rpx;
  60. }
  61. .delete-img{
  62. width: 32rpx;
  63. height: 32rpx;
  64. margin-right: 4rpx;
  65. }
  66. .tips {
  67. width: 100%;
  68. text-align: center;
  69. color: #B1967B;
  70. font-size: 24rpx;
  71. margin-top: 20rpx;
  72. }
  73. /* 新增按钮容器 */
  74. .add-button-container {
  75. position: absolute;
  76. bottom: 48rpx;
  77. left: 32rpx;
  78. right: 32rpx;
  79. }
  80. .add-visitor-btn {
  81. display: flex;
  82. align-items: center;
  83. justify-content: center;
  84. width: 100%;
  85. height: 96rpx;
  86. background: #B1967B;
  87. color: white;
  88. border: none;
  89. border-radius: 10rpx;
  90. font-size: 32rpx;
  91. line-height: 96rpx;
  92. }
  93. .add-visitor-btn::after {
  94. border: none;
  95. }
  96. /* 表单容器 */
  97. .form-container {
  98. height: calc(100vh - 240rpx);
  99. margin-bottom: 40rpx;
  100. }
  101. .visitor-card {
  102. background: #fff;
  103. border-radius: 16rpx;
  104. padding: 40rpx 40rpx 60rpx;
  105. box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
  106. }
  107. .visitor-form {
  108. padding: 0;
  109. }
  110. .form-item {
  111. display: flex;
  112. align-items: flex-start;
  113. margin-bottom: 60rpx;
  114. position: relative;
  115. }
  116. .form-item:last-child {
  117. margin-bottom: 0;
  118. }
  119. .form-label {
  120. min-width: 160rpx;
  121. color: #B1967B;
  122. font-size: 28rpx;
  123. line-height: 64rpx;
  124. margin-right: 40rpx;
  125. }
  126. .form-input {
  127. flex: 1;
  128. position: relative;
  129. }
  130. /* 输入框样式 */
  131. .bottom-line-input {
  132. width: 100%;
  133. height: 64rpx;
  134. border: none;
  135. border-bottom: 2rpx solid rgba(88, 71, 53, 0.2);
  136. background: transparent;
  137. text-align: right;
  138. font-size: 28rpx;
  139. color: #584735;
  140. }
  141. .bottom-line-input.error-line {
  142. border-bottom-color: #F45151;
  143. }
  144. /* 选择器样式 */
  145. .bottom-line-select {
  146. width: 100%;
  147. height: 64rpx;
  148. border: none;
  149. border-bottom: 2rpx solid rgba(88, 71, 53, 0.2);
  150. background: transparent;
  151. display: flex;
  152. align-items: center;
  153. justify-content: flex-end;
  154. }
  155. .picker-text {
  156. font-size: 28rpx;
  157. color: #584735;
  158. text-align: right;
  159. }
  160. /* 错误信息 */
  161. .error-msg {
  162. position: absolute;
  163. bottom: -40rpx;
  164. right: 0;
  165. color: #F45151;
  166. font-size: 24rpx;
  167. }
  168. /* 确认按钮容器 */
  169. .confirm-button-container {
  170. position: absolute;
  171. bottom: 48rpx;
  172. left: 32rpx;
  173. right: 32rpx;
  174. }
  175. .confirm-btn {
  176. display: flex;
  177. align-items: center;
  178. justify-content: center;
  179. width: 100%;
  180. height: 96rpx;
  181. background: #B1967B;
  182. color: white;
  183. border: none;
  184. border-radius: 16rpx;
  185. font-size: 32rpx;
  186. font-weight: bold;
  187. line-height: 96rpx;
  188. }
  189. .confirm-btn::after {
  190. border: none;
  191. }