|
@@ -1,5 +1,5 @@
|
|
|
<script setup>
|
|
|
-import { ref } from 'vue'
|
|
|
+import { ref, onMounted } from 'vue'
|
|
|
import useSizeAdapt from "@/useFunctions/useSizeAdapt"
|
|
|
|
|
|
const {
|
|
@@ -24,6 +24,16 @@ const touchMove = (event) => {
|
|
|
}
|
|
|
|
|
|
const emit = defineEmits(['slide', 'close'])
|
|
|
+
|
|
|
+const x = window.innerHeight / 1018
|
|
|
+
|
|
|
+const innerWidth = ref((15523 / 33) * x + 'px')
|
|
|
+const innerHeight = ref(window.innerHeight + 'px')
|
|
|
+
|
|
|
+// onMounted(()=> {
|
|
|
+
|
|
|
+// })
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
@@ -32,6 +42,8 @@ const emit = defineEmits(['slide', 'close'])
|
|
|
@touchstart="handletouchstart($event)"
|
|
|
@touchmove="touchMove($event)"
|
|
|
>
|
|
|
+ <!-- 竹叶序列帧 -->
|
|
|
+ <div class="xuliezheng" />
|
|
|
<div class="screen-box1">
|
|
|
<div class="title-box">
|
|
|
芥子园画谱
|
|
@@ -39,11 +51,17 @@ const emit = defineEmits(['slide', 'close'])
|
|
|
<div class="zhupu-box">
|
|
|
竹谱
|
|
|
</div>
|
|
|
- <img
|
|
|
+ <!-- <img
|
|
|
+ v-if="isShowOperationH"
|
|
|
class="operation-h"
|
|
|
src="@/assets/images/icon_operation_h_white.png"
|
|
|
alt=""
|
|
|
- >
|
|
|
+ > -->
|
|
|
+ <OperationTip
|
|
|
+ class="operation-h"
|
|
|
+ text=""
|
|
|
+ direction="h"
|
|
|
+ />
|
|
|
<img
|
|
|
class="disc-img"
|
|
|
src="@/assets/images/zhupu-disc.png"
|
|
@@ -65,6 +83,34 @@ const emit = defineEmits(['slide', 'close'])
|
|
|
height: 100%;
|
|
|
position: relative;
|
|
|
|
|
|
+ .xuliezheng {
|
|
|
+ width: v-bind(innerWidth);
|
|
|
+ height: v-bind(innerHeight);
|
|
|
+ background-image: url(@/assets/images/zhupu-min.png);
|
|
|
+ background-size: cover;
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ background-position-x: 0;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+
|
|
|
+ animation-name: xuliezhen-animation;
|
|
|
+ animation-timing-function: steps(33);
|
|
|
+ animation-duration: 4s;
|
|
|
+ animation-iteration-count: infinite;
|
|
|
+ transition-property: bottom;
|
|
|
+
|
|
|
+ @keyframes xuliezhen-animation {
|
|
|
+ 0% {
|
|
|
+ background-position-x: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ 100% {
|
|
|
+ background-position-x: calc(100% - v-bind(innerWidth));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.screen-box1 {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
@@ -82,7 +128,8 @@ const emit = defineEmits(['slide', 'close'])
|
|
|
font-family: 'KingHwa_OldSong';
|
|
|
letter-spacing: .3em;
|
|
|
top: calc(95 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- right: calc(50 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ // right: calc(50 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ right: 13%;
|
|
|
}
|
|
|
|
|
|
.zhupu-box {
|
|
@@ -93,19 +140,27 @@ const emit = defineEmits(['slide', 'close'])
|
|
|
font-family: 'KingHwa_OldSong';
|
|
|
letter-spacing: .3em;
|
|
|
top: 50%;
|
|
|
- right: calc(75 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ right: 20%;
|
|
|
+ // right: calc(75 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
}
|
|
|
|
|
|
>.operation-h {
|
|
|
position: absolute;
|
|
|
- right: calc(55 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- bottom: 30%;
|
|
|
+ right: 14%;
|
|
|
+ // right: calc(55 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ bottom: 35%;
|
|
|
width: calc(50 / v-bind('windowSizeWhenDesignForRef')* v-bind('windowSizeInCssForRef'));
|
|
|
}
|
|
|
|
|
|
>.disc-img {
|
|
|
- margin-right: calc(170 /v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
- margin-bottom: calc(230 /v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ width: calc(151 / v-bind('windowSizeWhenDesignForRef')* v-bind('windowSizeInCssForRef'));
|
|
|
+ height: calc(456 / v-bind('windowSizeWhenDesignForRef')* v-bind('windowSizeInCssForRef'));
|
|
|
+ position: absolute;
|
|
|
+ left: calc(75 / v-bind('windowSizeWhenDesignForRef')* v-bind('windowSizeInCssForRef'));
|
|
|
+ top: calc(153 / v-bind('windowSizeWhenDesignForRef')* v-bind('windowSizeInCssForRef'));
|
|
|
+ // left: 12%;
|
|
|
+ // margin-right: calc(170 /v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
+ // margin-bottom: calc(250 /v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
}
|
|
|
|
|
|
>.system-btns {
|