Commit 0ac7e068 by 张立顺

fix 调整动画速度

1 parent db475533
...@@ -9,12 +9,12 @@ ...@@ -9,12 +9,12 @@
:data-step="`${index}`" :data-step="`${index}`"
:style="{ height: getImageHeight(index) }" :style="{ height: getImageHeight(index) }"
> >
<img :src="require(`${baseimgUrl}${index + 1}.jpg`)" alt="" /> <img :src="`${baseimgUrl}${index + 1}.jpg`" alt="" />
<!-- <div v-if="index ==4" :ref="`count${index}`"></div> --> <!-- <div v-if="index ==4" :ref="`count${index}`"></div> -->
<img <img
class="mapstar" class="mapstar"
v-if="index == 3" v-if="index == 3"
:src="require(`${baseimgUrl}mapstar.gif`)" :src="`${baseimgUrl}mapstar.gif`"
alt="" alt=""
/> />
<!-- :suffix="item.suffix || ''" --> <!-- :suffix="item.suffix || ''" -->
...@@ -75,7 +75,7 @@ export default { ...@@ -75,7 +75,7 @@ export default {
startVal: 0, startVal: 0,
endVal: 4.3, endVal: 4.3,
decimals: 1, decimals: 1,
duration: 3000, duration: 4000,
className: "count02", className: "count02",
style: { style: {
top: "49.1%", top: "49.1%",
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
refName: "count32", refName: "count32",
startVal: 0, startVal: 0,
endVal: 4000, endVal: 4000,
duration: 1000, duration: 1500,
suffix: "+", suffix: "+",
style: { style: {
top: "86.79%", top: "86.79%",
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
refName: "count62", refName: "count62",
startVal: 0, startVal: 0,
endVal: 4, endVal: 4,
duration: 3000, duration: 5000,
style: { style: {
fontSize: "7vw", fontSize: "7vw",
top: "75.5%", top: "75.5%",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!