|
|
@ -20,14 +20,12 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<!--右--> |
|
|
|
<div class="rightButton" @mousedown="rightStart()" |
|
|
|
@mouseup="stopMove()"> |
|
|
|
<div class="rightButton" @mousedown="rightStart()" @mouseup="stopMove()"> |
|
|
|
</div> |
|
|
|
</a-row> |
|
|
|
<a-row> |
|
|
|
<!--下--> |
|
|
|
<div class="downButton" @mousedown="downStart()" |
|
|
|
@mouseup="stopMove()"> |
|
|
|
<div class="downButton" @mousedown="downStart()" @mouseup="stopMove()"> |
|
|
|
</div> |
|
|
|
</a-row> |
|
|
|
|
|
|
@ -462,11 +460,13 @@ input[type='range']::-webkit-slider-thumb:active { |
|
|
|
width: 60vw; |
|
|
|
// background: red; |
|
|
|
} |
|
|
|
|
|
|
|
.upButton:hover { |
|
|
|
background: linear-gradient(to top, transparent, 80%, rgba(59, 59, 238, 0.637)); |
|
|
|
transition: all 1s ease-out; |
|
|
|
cursor: pointer |
|
|
|
} |
|
|
|
|
|
|
|
.leftButton { |
|
|
|
position: fixed; |
|
|
|
top: 50%; |
|
|
@ -475,6 +475,7 @@ input[type='range']::-webkit-slider-thumb:active { |
|
|
|
width: 50px; |
|
|
|
// background: green; |
|
|
|
} |
|
|
|
|
|
|
|
.leftButton:hover { |
|
|
|
background: linear-gradient(to left, transparent, 80%, rgba(59, 59, 238, 0.637)); |
|
|
|
transition: all 1s ease-out; |
|
|
@ -483,7 +484,7 @@ input[type='range']::-webkit-slider-thumb:active { |
|
|
|
|
|
|
|
.rightButton { |
|
|
|
position: fixed; |
|
|
|
left: 85%; |
|
|
|
left: 97.4%; |
|
|
|
transform: translateY(-50%); |
|
|
|
top: 50%; |
|
|
|
height: 80vh; |
|
|
@ -492,6 +493,7 @@ input[type='range']::-webkit-slider-thumb:active { |
|
|
|
// background-size: contain; |
|
|
|
// transition:1s |
|
|
|
} |
|
|
|
|
|
|
|
.rightButton:hover { |
|
|
|
background: linear-gradient(to right, transparent, 80%, rgba(59, 59, 238, 0.637)); |
|
|
|
transition: all 1s ease-out; |
|
|
@ -509,10 +511,10 @@ input[type='range']::-webkit-slider-thumb:active { |
|
|
|
width: 60vw; |
|
|
|
// background: yellow; |
|
|
|
} |
|
|
|
|
|
|
|
.downButton:hover { |
|
|
|
background: linear-gradient(transparent, 80%, rgba(59, 59, 238, 0.637)); |
|
|
|
transition: all 1s ease-out; |
|
|
|
cursor: pointer |
|
|
|
} |
|
|
|
|
|
|
|
</style> |
|
|
|