active-people.wxss 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. .visit-people-container {
  2. height: 97vh;
  3. background: url('https://klmybwg.4dage.com/mini/wxImg/bg.png');
  4. padding: 32rpx;
  5. padding-bottom: 0;
  6. overflow: hidden;
  7. }
  8. .date-info {
  9. height: 212rpx;
  10. position: relative;
  11. margin: 4rpx;
  12. margin-top: 0;
  13. }
  14. .bg-img {
  15. width: 100%;
  16. height: 95%;
  17. }
  18. .date-content {
  19. position: absolute;
  20. width: 70%;
  21. top: 40rpx;
  22. left: 70rpx;
  23. background: rgba(255, 255, 255, 0.9);
  24. border-radius: 16rpx;
  25. text-align: left;
  26. }
  27. .date-label, .time-label {
  28. font-size: 32rpx;
  29. color: #333;
  30. margin: 10rpx 0;
  31. }
  32. .title {
  33. color: #B1967B;
  34. }
  35. .action-buttons {
  36. display: flex;
  37. gap: 20rpx;
  38. padding: 0 32rpx;
  39. margin-bottom: 40rpx;
  40. }
  41. .add-new-btn, .select-existing-btn {
  42. flex: 1;
  43. padding: 24rpx;
  44. border: none;
  45. border-radius: 12rpx;
  46. font-size: 28rpx;
  47. }
  48. .add-new-btn {
  49. background-color: #B1967B;
  50. color: #fff;
  51. }
  52. .select-existing-btn {
  53. background-color: transparent;
  54. color: #A78A6D;
  55. border: 2rpx solid #B1967B;
  56. }
  57. .visitor-list {
  58. height: calc(100vh - 460rpx - 64rpx);
  59. overflow-y: auto;
  60. padding-bottom: 20rpx;
  61. }
  62. .visitor-card {
  63. background: white;
  64. border-radius: 16rpx;
  65. padding: 40rpx 40rpx 20rpx 40rpx;
  66. margin-bottom: 30rpx;
  67. box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
  68. }
  69. .visitor-header {
  70. display: flex;
  71. justify-content: space-between;
  72. align-items: center;
  73. margin-bottom: 40rpx;
  74. padding-bottom: 20rpx;
  75. border-bottom: 2rpx solid #ddd;
  76. }
  77. .visitor-title {
  78. font-size: 32rpx;
  79. font-weight: bold;
  80. color: #B1967B;
  81. }
  82. .delete-btn {
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. background: none;
  87. border: none;
  88. color: #F45151;
  89. font-size: 28rpx;
  90. }
  91. .delete-img{
  92. width: 32rpx;
  93. height: 32rpx;
  94. margin-right: 4rpx;
  95. }
  96. .visitor-form {
  97. padding: 0;
  98. }
  99. .form-item {
  100. display: flex;
  101. align-items: flex-start;
  102. margin-bottom: 32rpx;
  103. min-height: 80rpx;
  104. }
  105. .form-label {
  106. width: 160rpx;
  107. font-size: 28rpx;
  108. color: #333;
  109. margin-top: 20rpx;
  110. flex-shrink: 0;
  111. }
  112. .form-input {
  113. flex: 1;
  114. margin-left: 20rpx;
  115. }
  116. .bottom-line-input {
  117. width: 100%;
  118. padding: 20rpx 0;
  119. border: none;
  120. border-bottom: 2rpx solid #ddd;
  121. font-size: 28rpx;
  122. background: transparent;
  123. }
  124. .bottom-line-input.error-line {
  125. border-bottom-color: #F45151;
  126. }
  127. .bottom-line-select {
  128. width: 100%;
  129. padding: 20rpx 0;
  130. border-bottom: 2rpx solid #ddd;
  131. font-size: 28rpx;
  132. }
  133. .picker-text {
  134. color: #333;
  135. }
  136. .error-msg {
  137. color: #F45151;
  138. font-size: 24rpx;
  139. margin-top: 10rpx;
  140. }
  141. .next-button-container {
  142. position: fixed;
  143. bottom: 0;
  144. left: 0;
  145. right: 0;
  146. padding: 30rpx;
  147. }
  148. .next-btn {
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. width: 90%;
  153. padding: 30rpx;
  154. background: #B1967B;
  155. color: white;
  156. border: none;
  157. border-radius: 12rpx;
  158. font-size: 32rpx;
  159. font-weight: bold;
  160. }
  161. .next-btn.disabled {
  162. background: #ccc;
  163. }
  164. /* 选择已有参观人页面样式 */
  165. .existing-page {
  166. padding: 32rpx;
  167. height: 100vh;
  168. }
  169. .existing-visitors-list {
  170. height: calc(100vh - 200rpx);
  171. overflow-y: auto;
  172. }
  173. .existing-visitor-item {
  174. display: flex;
  175. justify-content: space-between;
  176. align-items: center;
  177. background: white;
  178. border-radius: 16rpx;
  179. padding: 30rpx;
  180. margin-bottom: 20rpx;
  181. box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
  182. }
  183. .visitor-info {
  184. flex: 1;
  185. }
  186. .visitor-name, .visitor-id, .visitor-phone {
  187. font-size: 28rpx;
  188. color: #333;
  189. margin-bottom: 10rpx;
  190. }
  191. .checkbox {
  192. width: 48rpx;
  193. height: 48rpx;
  194. border: 2rpx solid #B1967B;
  195. border-radius: 50%;
  196. display: flex;
  197. align-items: center;
  198. justify-content: center;
  199. font-size: 28rpx;
  200. color: white;
  201. }
  202. .checkbox.checked {
  203. background: #B1967B;
  204. }
  205. .existing-actions {
  206. position: fixed;
  207. bottom: 0;
  208. left: 0;
  209. right: 0;
  210. padding: 30rpx;
  211. }
  212. .confirm-btn {
  213. width: 100%;
  214. padding: 30rpx;
  215. background: #B1967B;
  216. color: white;
  217. border: none;
  218. border-radius: 12rpx;
  219. font-size: 32rpx;
  220. font-weight: bold;
  221. }
  222. /* 成功弹窗样式 */
  223. .modal-overlay {
  224. position: fixed;
  225. top: 0;
  226. left: 0;
  227. right: 0;
  228. bottom: 0;
  229. background: rgba(0, 0, 0, 0.5);
  230. display: flex;
  231. align-items: center;
  232. justify-content: center;
  233. z-index: 1000;
  234. }
  235. .success-modal {
  236. background: white;
  237. border-radius: 20rpx;
  238. padding: 60rpx;
  239. text-align: center;
  240. width: 500rpx;
  241. }
  242. .success-icon {
  243. width: 80rpx;
  244. height: 80rpx;
  245. background: #52c41a;
  246. border-radius: 50%;
  247. display: flex;
  248. align-items: center;
  249. justify-content: center;
  250. margin: 0 auto 30rpx;
  251. color: white;
  252. font-size: 40rpx;
  253. font-weight: bold;
  254. }
  255. .success-text {
  256. font-size: 36rpx;
  257. color: #333;
  258. margin-bottom: 40rpx;
  259. }
  260. .success-btn {
  261. width: 100%;
  262. padding: 24rpx;
  263. background: #B1967B;
  264. color: white;
  265. border: none;
  266. border-radius: 12rpx;
  267. font-size: 32rpx;
  268. }