master
parent
80297a3e89
commit
473f046ee1
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
<!--音乐-->
|
<!--音乐-->
|
||||||
<audio controls autoplay loop muted style="z-index: 999; position: fixed;display: none;">
|
<audio controls autoplay loop muted style="z-index: 999; position: fixed;display: none;">
|
||||||
<source src="muz/829094.mp3" type="audio/mpeg">
|
<source src="muz/机械 Dubstep 潮电0.1.mp3" type="audio/mpeg">
|
||||||
</audio>
|
</audio>
|
||||||
<!--点击播放音乐-->
|
<!--点击播放音乐-->
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -121,7 +121,7 @@ function leftMove(obj){
|
||||||
// 右
|
// 右
|
||||||
function rightMove(obj){
|
function rightMove(obj){
|
||||||
rightTimer = setInterval(()=>{
|
rightTimer = setInterval(()=>{
|
||||||
if(obj.offsetLeft < 1500){
|
if(obj.offsetLeft < 500){
|
||||||
clearInterval(rightTimer);
|
clearInterval(rightTimer);
|
||||||
leftMove(obj);
|
leftMove(obj);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue