|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <div class="section-loading" v-if="progress != 100">
|
|
|
|
|
|
+ <div class="section section-loading" v-if="progress != 100">
|
|
<div class="section1-wwbox">
|
|
<div class="section1-wwbox">
|
|
<img src="/img/section1/section1-ww.webp" alt="" class="fadeIn">
|
|
<img src="/img/section1/section1-ww.webp" alt="" class="fadeIn">
|
|
<div class="title2 fadeIn"></div>
|
|
<div class="title2 fadeIn"></div>
|
|
@@ -26,12 +26,15 @@ onMounted(()=>{
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
fullpage: Object,
|
|
fullpage: Object,
|
|
});
|
|
});
|
|
|
|
+const emit = defineEmits(['changePer'])
|
|
const progress = ref(0);
|
|
const progress = ref(0);
|
|
const framePro = ref(0)
|
|
const framePro = ref(0)
|
|
const imgPro = ref(0)
|
|
const imgPro = ref(0)
|
|
watchEffect(() => {
|
|
watchEffect(() => {
|
|
if (props.fullpage && progress.value == 100) {
|
|
if (props.fullpage && progress.value == 100) {
|
|
props.fullpage.api.setAllowScrolling(true);
|
|
props.fullpage.api.setAllowScrolling(true);
|
|
|
|
+ props.fullpage.api.moveTo(0);
|
|
|
|
+ // emit('changePer', progress.value)
|
|
}
|
|
}
|
|
});
|
|
});
|
|
emitter.on("updatePress", (val) => {
|
|
emitter.on("updatePress", (val) => {
|