alse

				//打开过渡
				imgs.style.transition = 'all .5s linear'
				offset += 1000
				imgs.style.left = `-${offset}px`

				setTimeout(() => {
					isDone = true
					refresh('+')

					//关掉过渡
					imgs.style.transition = 'all 0s linear'
					//拉到开始
					offset = 1000
					imgs.style.left = `-${offset}px`
					imgs.offsetTop		//强制重绘
				}, 1000)
			}
		}

		setInterval(nextImg, 4000)
 	</script>
</body>
</html>