|
@@ -1,18 +1,18 @@
|
|
|
<template>
|
|
|
<div
|
|
|
class="home"
|
|
|
- draggable="false"
|
|
|
@mousedown="onMouseDown"
|
|
|
@mousemove="onMouseMove"
|
|
|
@mouseup="onMouseUp"
|
|
|
@mouseleave="onMouseLeave"
|
|
|
@wheel.passive="onWheel"
|
|
|
+ @dragstart.prevent
|
|
|
>
|
|
|
<img
|
|
|
class="landscape"
|
|
|
src="@/assets/landscape.png"
|
|
|
alt=""
|
|
|
- draggable="false"
|
|
|
+ @dragstart.prevent
|
|
|
>
|
|
|
<div
|
|
|
class="people-far"
|
|
@@ -23,7 +23,7 @@
|
|
|
<img
|
|
|
src="@/assets/people-far.png"
|
|
|
alt=""
|
|
|
- draggable="false"
|
|
|
+ @dragstart.prevent
|
|
|
>
|
|
|
</div>
|
|
|
<div
|
|
@@ -37,7 +37,7 @@
|
|
|
:class="peopleNearColorStatus"
|
|
|
src="@/assets/people-near-serial-frame.png"
|
|
|
alt=""
|
|
|
- draggable="false"
|
|
|
+ @dragstart.prevent
|
|
|
>
|
|
|
<HotSpot
|
|
|
class="hot-spot"
|
|
@@ -51,7 +51,7 @@
|
|
|
}"
|
|
|
src="@/assets/introduce.png"
|
|
|
alt=""
|
|
|
- draggable="false"
|
|
|
+ @dragstart.prevent
|
|
|
>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -82,7 +82,6 @@ export default {
|
|
|
watch: {
|
|
|
translateLength: {
|
|
|
handler(v) {
|
|
|
- console.log(v)
|
|
|
if (v > 0) {
|
|
|
v = 0
|
|
|
this.translateLength = v
|