|
@@ -19,7 +19,7 @@
|
|
|
draggable="false"
|
|
|
>
|
|
|
|
|
|
- <Transition name="fade-in-out">
|
|
|
+ <Transition name="fade-in">
|
|
|
<img
|
|
|
v-if="isShowLoadingTip"
|
|
|
class="loading-tip"
|
|
@@ -27,19 +27,19 @@
|
|
|
alt=""
|
|
|
draggable="false"
|
|
|
>
|
|
|
- <button
|
|
|
- v-else-if="isShowStartBtn"
|
|
|
- class="start"
|
|
|
- @click="onClickStart"
|
|
|
- >
|
|
|
- <img
|
|
|
- class="bg"
|
|
|
- src="@/assets/images/start-btn-bg.png"
|
|
|
- alt=""
|
|
|
- draggable="false"
|
|
|
- >
|
|
|
- </button>
|
|
|
</Transition>
|
|
|
+ <SerialFrames
|
|
|
+ v-if="!isShowLoadingTip"
|
|
|
+ class="btn-start"
|
|
|
+ :class="isStartBtnBlink ? 'animation-show-hide' : ''"
|
|
|
+ :image-src="require(`@/assets/images/btn-start.png`)"
|
|
|
+ :total-width="864"
|
|
|
+ :height="72"
|
|
|
+ :frame-number="12"
|
|
|
+ :loop="false"
|
|
|
+ @over="isStartBtnBlink = true"
|
|
|
+ @click="onClickStart"
|
|
|
+ />
|
|
|
|
|
|
<Transition name="fade-in">
|
|
|
<video
|
|
@@ -83,13 +83,10 @@ const {
|
|
|
|
|
|
|
|
|
const isShowLoadingTip = ref(true)
|
|
|
-const isShowStartBtn = ref(false)
|
|
|
setTimeout(() => {
|
|
|
isShowLoadingTip.value = false
|
|
|
-}, 2000)
|
|
|
-setTimeout(() => {
|
|
|
- isShowStartBtn.value = true
|
|
|
-}, 4000)
|
|
|
+}, 3000)
|
|
|
+const isStartBtnBlink = ref(false)
|
|
|
|
|
|
const isShowVideo = ref(false)
|
|
|
const isShowSkip = ref(false)
|
|
@@ -148,30 +145,13 @@ function onVideoEnd() {
|
|
|
width: calc(72 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
height: calc(72 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
}
|
|
|
- >button.start{
|
|
|
+ >.btn-start{
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
- bottom: calc(56 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- transform: translateX(-50%);
|
|
|
- width: calc(100 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- height: calc(100 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- font-family: KaiTi, KaiTi;
|
|
|
- font-weight: 400;
|
|
|
- font-size: calc(24 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- color: #FFFFFF;
|
|
|
- line-height: calc(29 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- >img.bg{
|
|
|
- position: absolute;
|
|
|
- left: 50%;
|
|
|
- top: 50%;
|
|
|
- transform: translate(-47%, -47%);
|
|
|
- width: calc(90 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- height: calc(90 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- // animation-name: spin;
|
|
|
- // animation-duration: 1s;
|
|
|
- // animation-timing-function: linear;
|
|
|
- // animation-iteration-count: infinite;
|
|
|
- }
|
|
|
+ bottom: calc(75 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ transform: translateX(-48%);
|
|
|
+ width: calc(72 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ height: calc(72 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
}
|
|
|
|
|
|
>video.transition-video{
|