|
@@ -116,7 +116,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { ref, computed, unref, watch } from "vue";
|
|
|
+import { ref, computed, unref } from "vue";
|
|
|
import { useFullscreen } from "@vueuse/core";
|
|
|
|
|
|
const iframeRef = ref();
|
|
@@ -184,6 +184,7 @@ const audioPlay = () => {
|
|
|
const audioPause = () => {
|
|
|
audioSound.value && audioSound.value.pause();
|
|
|
};
|
|
|
+
|
|
|
const handleSlideUpdate = (index) => {
|
|
|
if (unref(props.gallery).length > 1) {
|
|
|
currentSlideIndex.value = index + 1;
|
|
@@ -275,7 +276,7 @@ const handleExitFullScreen = () => {
|
|
|
justify-content: center;
|
|
|
position: absolute;
|
|
|
opacity: 0;
|
|
|
- transition: opacity 0.3s cubic-bezier(.4, 0, .2, 1);
|
|
|
+ transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
&:hover {
|
|
|
opacity: 1;
|
|
|
}
|