visit-people.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. .visit-people-container {
  2. height: 97vh;
  3. background: url('https://sit-kelamayi.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. line-height: 36rpx;
  91. }
  92. .delete-img{
  93. width: 32rpx;
  94. height: 32rpx;
  95. margin-right: 4rpx;
  96. }
  97. .visitor-form {
  98. padding: 0;
  99. }
  100. .form-item {
  101. display: flex;
  102. align-items: flex-start;
  103. margin-bottom: 32rpx;
  104. min-height: 80rpx;
  105. }
  106. .form-label {
  107. width: 160rpx;
  108. font-size: 28rpx;
  109. color: #333;
  110. margin-top: 20rpx;
  111. flex-shrink: 0;
  112. }
  113. .form-input {
  114. flex: 1;
  115. margin-left: 20rpx;
  116. }
  117. .bottom-line-input {
  118. width: 100%;
  119. padding: 20rpx 0;
  120. border: none;
  121. border-bottom: 2rpx solid #ddd;
  122. font-size: 28rpx;
  123. background: transparent;
  124. }
  125. .bottom-line-input.error-line {
  126. border-bottom-color: #F45151;
  127. }
  128. .bottom-line-select {
  129. width: 100%;
  130. padding: 20rpx 0;
  131. border-bottom: 2rpx solid #ddd;
  132. font-size: 28rpx;
  133. }
  134. .picker-text {
  135. color: #333;
  136. }
  137. .error-msg {
  138. color: #F45151;
  139. font-size: 24rpx;
  140. margin-top: 10rpx;
  141. }
  142. .next-button-container {
  143. position: fixed;
  144. bottom: 0;
  145. left: 0;
  146. right: 0;
  147. padding: 30rpx;
  148. }
  149. .next-btn {
  150. display: flex;
  151. align-items: center;
  152. justify-content: center;
  153. width: 90%;
  154. padding: 30rpx;
  155. background: #B1967B;
  156. color: white;
  157. border: none;
  158. border-radius: 12rpx;
  159. font-size: 32rpx;
  160. font-weight: bold;
  161. }
  162. .next-btn.disabled {
  163. background: #ccc;
  164. }
  165. /* 选择已有参观人页面样式 */
  166. .existing-page {
  167. padding: 32rpx;
  168. height: 100vh;
  169. }
  170. .existing-visitors-list {
  171. height: calc(100vh - 200rpx);
  172. overflow-y: auto;
  173. }
  174. .existing-visitor-item {
  175. display: flex;
  176. justify-content: space-between;
  177. align-items: center;
  178. background: white;
  179. border-radius: 16rpx;
  180. padding: 30rpx;
  181. margin-bottom: 20rpx;
  182. box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.1);
  183. }
  184. .visitor-info {
  185. flex: 1;
  186. }
  187. .visitor-name, .visitor-id, .visitor-phone {
  188. font-size: 28rpx;
  189. color: #333;
  190. margin-bottom: 10rpx;
  191. }
  192. .checkbox {
  193. width: 48rpx;
  194. height: 48rpx;
  195. border: 2rpx solid #B1967B;
  196. border-radius: 50%;
  197. display: flex;
  198. align-items: center;
  199. justify-content: center;
  200. font-size: 28rpx;
  201. color: white;
  202. }
  203. .checkbox.checked {
  204. background: #B1967B;
  205. }
  206. .existing-actions {
  207. position: fixed;
  208. bottom: 0;
  209. left: 0;
  210. right: 0;
  211. padding: 30rpx;
  212. background: white;
  213. border-top: 2rpx solid #eee;
  214. }
  215. .confirm-btn {
  216. width: 100%;
  217. padding: 30rpx;
  218. background: #B1967B;
  219. color: white;
  220. border: none;
  221. border-radius: 12rpx;
  222. font-size: 32rpx;
  223. font-weight: bold;
  224. }
  225. /* 成功弹窗样式 */
  226. .modal-overlay {
  227. position: fixed;
  228. top: 0;
  229. left: 0;
  230. right: 0;
  231. bottom: 0;
  232. background: rgba(0, 0, 0, 0.5);
  233. display: flex;
  234. align-items: center;
  235. justify-content: center;
  236. z-index: 1000;
  237. }
  238. .success-modal {
  239. background: white;
  240. border-radius: 20rpx;
  241. padding: 60rpx;
  242. text-align: center;
  243. width: 500rpx;
  244. }
  245. .success-icon {
  246. width: 80rpx;
  247. height: 80rpx;
  248. background: #52c41a;
  249. border-radius: 50%;
  250. display: flex;
  251. align-items: center;
  252. justify-content: center;
  253. margin: 0 auto 30rpx;
  254. color: white;
  255. font-size: 40rpx;
  256. font-weight: bold;
  257. }
  258. .success-text {
  259. font-size: 36rpx;
  260. color: #333;
  261. margin-bottom: 40rpx;
  262. }
  263. .success-btn {
  264. width: 100%;
  265. padding: 24rpx;
  266. background: #B1967B;
  267. color: white;
  268. border: none;
  269. border-radius: 12rpx;
  270. font-size: 32rpx;
  271. }