主页登录页
							
								
								
									
										4487
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						| @ -1,5 +1,5 @@ | ||||
| window.GLOBAL_CONFIG = { | ||||
| 	apiURL: "http://127.0.0.1:8889/face", | ||||
| 	apiURL: "http://192.168.1.108:8889/face", | ||||
| 	IMG_SERVER_URL: "http://192.168.1.133:9000", | ||||
| 	SOCKET_URL: "ws://127.0.0.1:8889/face/webSocketServer", | ||||
| 	rtspApi_URL: window.location.protocol + '//' + window.location.hostname + ':' + window.location.port, | ||||
|  | ||||
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/bg2.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 747 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/images/bg3.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 375 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/img/1705062607544.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 26 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/img/camera2.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 35 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/img/home_02_01.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 299 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/img/login_bg_tech1.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 438 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/img/login_bg_tech2.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 60 KiB | 
							
								
								
									
										
											BIN
										
									
								
								src/assets/img/login_bg_tech3.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 546 KiB | 
							
								
								
									
										0
									
								
								src/mixins/resize.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -112,3 +112,25 @@ export function replaceImgUrl(url) { | ||||
| 		return url | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| export function debounce(func, wait, immediate) { | ||||
| 	let timeout, args, context, timestamp, result | ||||
|    | ||||
| 	const later = function() { | ||||
| 	  // 据上一次触发时间间隔
 | ||||
| 	  const last = +new Date() - timestamp | ||||
|    | ||||
| 	  // 上次被包装函数被调用时间间隔 last 小于设定时间间隔 wait
 | ||||
| 	  if (last < wait && last > 0) { | ||||
| 		timeout = setTimeout(later, wait - last) | ||||
| 	  } else { | ||||
| 		timeout = null | ||||
| 		// 如果设定为immediate===true,因为开始边界已经调用过了此处无需调用
 | ||||
| 		if (!immediate) { | ||||
| 		  result = func.apply(context, args) | ||||
| 		  if (!timeout) context = args = null | ||||
| 		} | ||||
| 	  } | ||||
| 	} | ||||
| } | ||||
|    | ||||
| @ -98,6 +98,7 @@ export default { | ||||
|                 count: '209' | ||||
|                 }, { | ||||
|                 id: '2', | ||||
|                  | ||||
|                 name: '设备2', | ||||
|                 count: '126' | ||||
|                 }, { | ||||
|  | ||||