|
@@ -1,5 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<div
|
|
<div
|
|
|
|
+
|
|
class="home"
|
|
class="home"
|
|
>
|
|
>
|
|
<div class="bg-mask" />
|
|
<div class="bg-mask" />
|
|
@@ -75,7 +76,6 @@
|
|
>
|
|
>
|
|
<img
|
|
<img
|
|
class="painting"
|
|
class="painting"
|
|
-
|
|
|
|
src="@/assets/images/home-painting.jpg"
|
|
src="@/assets/images/home-painting.jpg"
|
|
alt=""
|
|
alt=""
|
|
draggable="false"
|
|
draggable="false"
|
|
@@ -136,6 +136,8 @@
|
|
<!-- 文字介绍 -->
|
|
<!-- 文字介绍 -->
|
|
<div
|
|
<div
|
|
ref="longDesc"
|
|
ref="longDesc"
|
|
|
|
+ v-touch:swipe.left="onSwipeLeft"
|
|
|
|
+ v-touch:swipe.right="onSwipeRight"
|
|
class="long-desc"
|
|
class="long-desc"
|
|
:style="{
|
|
:style="{
|
|
top: `${(paintingTop + paintingHeight + 53) / windowSizeWhenDesignForRef * windowSizeInCssForRef.substring(0, windowSizeInCssForRef.length - 2)}px`,
|
|
top: `${(paintingTop + paintingHeight + 53) / windowSizeWhenDesignForRef * windowSizeInCssForRef.substring(0, windowSizeInCssForRef.length - 2)}px`,
|
|
@@ -194,9 +196,7 @@
|
|
{{ summaryDesc }}
|
|
{{ summaryDesc }}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div
|
|
|
|
- class="progress-bar"
|
|
|
|
- >
|
|
|
|
|
|
+ <div class="progress-bar">
|
|
<div class="bar-artwork-desc" />
|
|
<div class="bar-artwork-desc" />
|
|
<img
|
|
<img
|
|
class="progress-bar-node-1"
|
|
class="progress-bar-node-1"
|
|
@@ -236,6 +236,8 @@
|
|
|
|
|
|
<div
|
|
<div
|
|
ref="scrollerEl"
|
|
ref="scrollerEl"
|
|
|
|
+ v-touch:swipe.left="onSwipeLeft"
|
|
|
|
+ v-touch:swipe.right="onSwipeRight"
|
|
class="scroller"
|
|
class="scroller"
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
@@ -346,6 +348,8 @@ const scrollerEl = ref(null)
|
|
const scrollerElScrollTop = ref(0)
|
|
const scrollerElScrollTop = ref(0)
|
|
function onScroll() {
|
|
function onScroll() {
|
|
scrollerElScrollTop.value = scrollerEl.value.scrollTop
|
|
scrollerElScrollTop.value = scrollerEl.value.scrollTop
|
|
|
|
+
|
|
|
|
+ // console.log('当前高度', scrollerElScrollTop.value / scrollerEl.value.scrollHeight )
|
|
}
|
|
}
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
scrollerEl.value.addEventListener('scroll', onScroll)
|
|
scrollerEl.value.addEventListener('scroll', onScroll)
|
|
@@ -465,9 +469,9 @@ const longDescOpacity = computed(() => {
|
|
})
|
|
})
|
|
watch(scrollerElScrollTop, (vNew, vOld) => {
|
|
watch(scrollerElScrollTop, (vNew, vOld) => {
|
|
if (vNew > paintingMoveUpFinishAt) {
|
|
if (vNew > paintingMoveUpFinishAt) {
|
|
- longDesc.value.scrollTop = vNew - paintingMoveUpFinishAt
|
|
|
|
|
|
+ // longDesc.value.scrollTop = vNew - paintingMoveUpFinishAt
|
|
} else if (vNew < vOld && vNew <= paintingMoveUpFinishAt) {
|
|
} else if (vNew < vOld && vNew <= paintingMoveUpFinishAt) {
|
|
- longDesc.value.scrollTop = 0
|
|
|
|
|
|
+ // longDesc.value.scrollTop = 0
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
|
|
@@ -628,6 +632,109 @@ watch(scrollerElScrollTop, (v) => {
|
|
isShowBtnGoNextPage.value = false
|
|
isShowBtnGoNextPage.value = false
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+
|
|
|
|
+// const lastX = ref(0)
|
|
|
|
+// function isDesktopUsingViewportWidth() {
|
|
|
|
+// return window.matchMedia('(min-width: 769px)').matches
|
|
|
|
+// }
|
|
|
|
+
|
|
|
|
+// 开始滑动
|
|
|
|
+// const handletouchstart = (event) => {
|
|
|
|
+// // pc端通过mouse移动
|
|
|
|
+// if (isDesktopUsingViewportWidth) {
|
|
|
|
+// lastX.value = event.pageX
|
|
|
|
+// } else {
|
|
|
|
+// lastX.value = event.changedTouches[0].pageX
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
+
|
|
|
|
+const direction = ref(null)
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+// 监听活动
|
|
|
|
+// const touchMove = (event) => {
|
|
|
|
+// let currentX = event.changedTouches[0].pageX
|
|
|
|
+// let tx = currentX - lastX.value
|
|
|
|
+
|
|
|
|
+// if (tx < -30) {
|
|
|
|
+// // 右滑
|
|
|
|
+// direction.value = 'right'
|
|
|
|
+// // 页面2--600,页面3--1000
|
|
|
|
+
|
|
|
|
+// } else if (tx > 30) {
|
|
|
|
+// // 左滑
|
|
|
|
+// direction.value = 'left'
|
|
|
|
+// } else {
|
|
|
|
+// direction.value = null
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+function smoothScrollTo(element, finalPosition, duration = 500, startTime = performance.now()) {
|
|
|
|
+
|
|
|
|
+ const currentTime = performance.now()
|
|
|
|
+ const timeElapsed = currentTime - startTime
|
|
|
|
+ const progress = Math.min(timeElapsed / duration, 1) // 确保进度不超过1
|
|
|
|
+ const currentPos = element.scrollTop
|
|
|
|
+ const newPos = currentPos + (finalPosition - currentPos) * progress
|
|
|
|
+ element.scrollTop = newPos
|
|
|
|
+
|
|
|
|
+ if (progress < 1 && finalPosition == scrollerPositionList[curStep.value] * scrollerEl.value.scrollHeight) {
|
|
|
|
+ console.log('最后位置', finalPosition)
|
|
|
|
+ requestAnimationFrame(() => smoothScrollTo(element, finalPosition, duration, startTime))
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+const curStep = ref(0)
|
|
|
|
+
|
|
|
|
+const scrollerPositionList = [0, 0.17, 0.33, 0.46, 0.62, 1]
|
|
|
|
+const scrollerPositionTimeRight = [6000, 6000, 15000, 15000, 15000, 4000]
|
|
|
|
+const scrollerPositionTimeLeft = [6000, 6000, 15000, 15000, 15000, 15000]
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+// const handletouchend = () => {
|
|
|
|
+// if (direction.value == 'right' && curStep.value < scrollerPositionList.length - 1) {
|
|
|
|
+// curStep.value ++
|
|
|
|
+// console.log('right', curStep.value)
|
|
|
|
+// const pp = scrollerPositionList[curStep.value]
|
|
|
|
+// const startTime = performance.now()
|
|
|
|
+// requestAnimationFrame(() => {smoothScrollTo(scrollerEl.value, pp * scrollerEl.value.scrollHeight, scrollerPositionTimeRight[curStep.value], startTime)})
|
|
|
|
+// } else if (direction.value == 'left' && curStep.value > 0) {
|
|
|
|
+// curStep.value --
|
|
|
|
+// const pp = scrollerPositionList[curStep.value] * scrollerEl.value.scrollHeight
|
|
|
|
+// const startTime = performance.now()
|
|
|
|
+// requestAnimationFrame(() => {smoothScrollTo(scrollerEl.value, pp, scrollerPositionTimeLeft[curStep.value], startTime)})
|
|
|
|
+// }
|
|
|
|
+// direction.value = null
|
|
|
|
+
|
|
|
|
+// }
|
|
|
|
+
|
|
|
|
+const onSwipeLeft = () => {
|
|
|
|
+ if (curStep.value < scrollerPositionList.length - 1) {
|
|
|
|
+ console.log('右滑下一步', curStep.value)
|
|
|
|
+ curStep.value ++
|
|
|
|
+ console.log('right', curStep.value)
|
|
|
|
+ const pp = scrollerPositionList[curStep.value]
|
|
|
|
+ const startTime = performance.now()
|
|
|
|
+ requestAnimationFrame(() => {smoothScrollTo(scrollerEl.value, pp * scrollerEl.value.scrollHeight, scrollerPositionTimeRight[curStep.value], startTime)})
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+const onSwipeRight = () => {
|
|
|
|
+ if (curStep.value > 0) {
|
|
|
|
+ console.log('左滑返回', curStep.value)
|
|
|
|
+ curStep.value --
|
|
|
|
+ const pp = scrollerPositionList[curStep.value] * scrollerEl.value.scrollHeight
|
|
|
|
+ const startTime = performance.now()
|
|
|
|
+ requestAnimationFrame(() => {smoothScrollTo(scrollerEl.value, pp, scrollerPositionTimeLeft[curStep.value], startTime)})
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
function onClickGoNextPage() {
|
|
function onClickGoNextPage() {
|
|
isShowBtnGoNextPage.value = false
|
|
isShowBtnGoNextPage.value = false
|
|
isShowVideoFadeToNextPage.value = true
|
|
isShowVideoFadeToNextPage.value = true
|
|
@@ -648,9 +755,14 @@ function onClickGoNextPage() {
|
|
background-size: cover;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-position: center center;
|
|
|
|
+
|
|
// 滚动条,只设置某一项可能导致不生效。
|
|
// 滚动条,只设置某一项可能导致不生效。
|
|
- ::-webkit-scrollbar { width: 0; height: 0; }
|
|
|
|
- >.bg-mask{
|
|
|
|
|
|
+ ::-webkit-scrollbar {
|
|
|
|
+ width: 0;
|
|
|
|
+ height: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ >.bg-mask {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
top: 0;
|
|
top: 0;
|
|
@@ -659,10 +771,12 @@ function onClickGoNextPage() {
|
|
background: rgba(60, 89, 71, 0.65);
|
|
background: rgba(60, 89, 71, 0.65);
|
|
backdrop-filter: blur(calc(22 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef')));
|
|
backdrop-filter: blur(calc(22 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef')));
|
|
}
|
|
}
|
|
- >.startup{
|
|
|
|
|
|
+
|
|
|
|
+ >.startup {
|
|
z-index: 10;
|
|
z-index: 10;
|
|
}
|
|
}
|
|
- >.title-wrap{
|
|
|
|
|
|
+
|
|
|
|
+ >.title-wrap {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
top: calc(36 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
top: calc(36 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
@@ -670,14 +784,16 @@ function onClickGoNextPage() {
|
|
width: calc(43 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
width: calc(43 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
height: calc(180 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
height: calc(180 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
z-index: 5;
|
|
z-index: 5;
|
|
- >img.title{
|
|
|
|
|
|
+
|
|
|
|
+ >img.title {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
top: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
- >.sub-text{
|
|
|
|
|
|
+
|
|
|
|
+ >.sub-text {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 110%;
|
|
left: 110%;
|
|
top: 46%;
|
|
top: 46%;
|
|
@@ -693,20 +809,24 @@ function onClickGoNextPage() {
|
|
text-align: center;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- >.painting-wrap{
|
|
|
|
|
|
+
|
|
|
|
+ >.painting-wrap {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
transform: translate(-50%, 0);
|
|
- >.size-sign-h{
|
|
|
|
|
|
+
|
|
|
|
+ >.size-sign-h {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
top: 0;
|
|
top: 0;
|
|
transform: translate(-50%, -105%);
|
|
transform: translate(-50%, -105%);
|
|
width: calc(245 / 308 * 100%);
|
|
width: calc(245 / 308 * 100%);
|
|
- >img{
|
|
|
|
|
|
+
|
|
|
|
+ >img {
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
- >span{
|
|
|
|
|
|
+
|
|
|
|
+ >span {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
top: 50%;
|
|
top: 50%;
|
|
@@ -719,16 +839,19 @@ function onClickGoNextPage() {
|
|
text-shadow: 0px 0px calc(4 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef')) #F8DD86;
|
|
text-shadow: 0px 0px calc(4 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef')) #F8DD86;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- >.size-sign-v{
|
|
|
|
|
|
+
|
|
|
|
+ >.size-sign-v {
|
|
position: absolute;
|
|
position: absolute;
|
|
right: 0;
|
|
right: 0;
|
|
top: 54%;
|
|
top: 54%;
|
|
transform: translate(80%, -50%);
|
|
transform: translate(80%, -50%);
|
|
height: calc(371 / 523 * 100%);
|
|
height: calc(371 / 523 * 100%);
|
|
- >img{
|
|
|
|
|
|
+
|
|
|
|
+ >img {
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
- >span{
|
|
|
|
|
|
+
|
|
|
|
+ >span {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
top: 50%;
|
|
top: 50%;
|
|
@@ -742,14 +865,19 @@ function onClickGoNextPage() {
|
|
writing-mode: vertical-lr;
|
|
writing-mode: vertical-lr;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- >img.painting-border{
|
|
|
|
|
|
+
|
|
|
|
+ >img.painting-border {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
top: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
- >img.painting, img.painting-stem, img.painting-leaf, img.painting-stone{
|
|
|
|
|
|
+
|
|
|
|
+ >img.painting,
|
|
|
|
+ img.painting-stem,
|
|
|
|
+ img.painting-leaf,
|
|
|
|
+ img.painting-stone {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
top: 54%;
|
|
top: 54%;
|
|
@@ -757,7 +885,8 @@ function onClickGoNextPage() {
|
|
width: calc(245 / 308 * 100%);
|
|
width: calc(245 / 308 * 100%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- >.hotspot-wrap{
|
|
|
|
|
|
+
|
|
|
|
+ >.hotspot-wrap {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
transform: translate(-50%, 0);
|
|
@@ -765,29 +894,34 @@ function onClickGoNextPage() {
|
|
height: calc(522 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
height: calc(522 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
z-index: 7;
|
|
z-index: 7;
|
|
pointer-events: none;
|
|
pointer-events: none;
|
|
- &>div{
|
|
|
|
|
|
+
|
|
|
|
+ &>div {
|
|
z-index: 100;
|
|
z-index: 100;
|
|
}
|
|
}
|
|
- >.hotspot-1{
|
|
|
|
|
|
+
|
|
|
|
+ >.hotspot-1 {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: calc(54 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
top: calc(54 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
right: calc(0 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
right: calc(0 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
pointer-events: initial;
|
|
pointer-events: initial;
|
|
}
|
|
}
|
|
- >.hotspot-2{
|
|
|
|
|
|
+
|
|
|
|
+ >.hotspot-2 {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: calc(60 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
left: calc(60 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
top: calc(222 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
top: calc(222 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
pointer-events: initial;
|
|
pointer-events: initial;
|
|
}
|
|
}
|
|
- >.hotspot-3{
|
|
|
|
|
|
+
|
|
|
|
+ >.hotspot-3 {
|
|
position: absolute;
|
|
position: absolute;
|
|
bottom: calc(-10 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
bottom: calc(-10 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
right: calc(-10 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
right: calc(-10 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
pointer-events: initial;
|
|
pointer-events: initial;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- >.long-desc{
|
|
|
|
|
|
+
|
|
|
|
+ >.long-desc {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
bottom: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
bottom: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
@@ -797,12 +931,16 @@ function onClickGoNextPage() {
|
|
overflow: auto;
|
|
overflow: auto;
|
|
font-family: KaiTi, KaiTi;
|
|
font-family: KaiTi, KaiTi;
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
- >h3{
|
|
|
|
|
|
+ animation: none;
|
|
|
|
+ z-index: 10;
|
|
|
|
+
|
|
|
|
+ >h3 {
|
|
font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
margin-bottom: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
font-weight: 600;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
- >p{
|
|
|
|
|
|
+
|
|
|
|
+ >p {
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
line-height: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
line-height: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
@@ -810,7 +948,8 @@ function onClickGoNextPage() {
|
|
margin-bottom: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- >.fixed-desc{
|
|
|
|
|
|
+
|
|
|
|
+ >.fixed-desc {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
@@ -826,13 +965,15 @@ function onClickGoNextPage() {
|
|
line-height: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
line-height: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
text-align: justify;
|
|
text-align: justify;
|
|
}
|
|
}
|
|
- >.progress-bar{
|
|
|
|
|
|
+
|
|
|
|
+ >.progress-bar {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 15px;
|
|
height: 15px;
|
|
- >.bar-artwork-desc{
|
|
|
|
|
|
+
|
|
|
|
+ >.bar-artwork-desc {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
@@ -840,14 +981,16 @@ function onClickGoNextPage() {
|
|
height: 3px;
|
|
height: 3px;
|
|
background-color: #A9D185;
|
|
background-color: #A9D185;
|
|
}
|
|
}
|
|
- >img.progress-bar-node-1{
|
|
|
|
|
|
+
|
|
|
|
+ >img.progress-bar-node-1 {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: calc(0.6 * v-bind('longDescHideFinishAt') / v-bind('summaryHideAt') * 100%);
|
|
left: calc(0.6 * v-bind('longDescHideFinishAt') / v-bind('summaryHideAt') * 100%);
|
|
bottom: 1px;
|
|
bottom: 1px;
|
|
width: 2.41px;
|
|
width: 2.41px;
|
|
height: 10.23px
|
|
height: 10.23px
|
|
}
|
|
}
|
|
- >.bar-author-desc{
|
|
|
|
|
|
+
|
|
|
|
+ >.bar-author-desc {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 12px;
|
|
left: 12px;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
@@ -855,14 +998,16 @@ function onClickGoNextPage() {
|
|
height: 3px;
|
|
height: 3px;
|
|
background: #A9D185;
|
|
background: #A9D185;
|
|
}
|
|
}
|
|
- >img.progress-bar-node-2{
|
|
|
|
|
|
+
|
|
|
|
+ >img.progress-bar-node-2 {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: calc(v-bind('longDescHideFinishAt') / v-bind('summaryHideAt') * 100%);
|
|
left: calc(v-bind('longDescHideFinishAt') / v-bind('summaryHideAt') * 100%);
|
|
bottom: 1px;
|
|
bottom: 1px;
|
|
width: 7.5px;
|
|
width: 7.5px;
|
|
height: 10.8px
|
|
height: 10.8px
|
|
}
|
|
}
|
|
- >.bar-artwork-enjoy{
|
|
|
|
|
|
+
|
|
|
|
+ >.bar-artwork-enjoy {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: calc(v-bind('stoneShowAt') / v-bind('summaryHideAt') * 100%);
|
|
left: calc(v-bind('stoneShowAt') / v-bind('summaryHideAt') * 100%);
|
|
bottom: 0;
|
|
bottom: 0;
|
|
@@ -870,7 +1015,8 @@ function onClickGoNextPage() {
|
|
height: 3px;
|
|
height: 3px;
|
|
background: #A9D185;
|
|
background: #A9D185;
|
|
}
|
|
}
|
|
- >img.progress-bar-node-3{
|
|
|
|
|
|
+
|
|
|
|
+ >img.progress-bar-node-3 {
|
|
position: absolute;
|
|
position: absolute;
|
|
right: 0;
|
|
right: 0;
|
|
bottom: 1px;
|
|
bottom: 1px;
|
|
@@ -878,7 +1024,7 @@ function onClickGoNextPage() {
|
|
height: 10.8px
|
|
height: 10.8px
|
|
}
|
|
}
|
|
|
|
|
|
- > .mask{
|
|
|
|
|
|
+ >.mask {
|
|
position: absolute;
|
|
position: absolute;
|
|
right: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
@@ -886,30 +1032,38 @@ function onClickGoNextPage() {
|
|
background-color: #6e8175;
|
|
background-color: #6e8175;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- >.operation-tip{
|
|
|
|
|
|
+
|
|
|
|
+ >.operation-tip {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
- bottom: calc(77 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
|
|
+ // bottom: calc(77 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ bottom: calc(30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
}
|
|
}
|
|
- >.scroller{
|
|
|
|
|
|
+
|
|
|
|
+ >.scroller {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
top: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
- overflow: auto;
|
|
|
|
- >.inner{
|
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ transition: transform 2s ease;
|
|
|
|
+
|
|
|
|
+ >.inner {
|
|
width: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- >.hotspot-detail{
|
|
|
|
|
|
+
|
|
|
|
+ >.hotspot-detail {
|
|
z-index: 10;
|
|
z-index: 10;
|
|
}
|
|
}
|
|
- >.hotspot-detail.painting-detail{
|
|
|
|
|
|
+
|
|
|
|
+ >.hotspot-detail.painting-detail {
|
|
backdrop-filter: blur(calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef')));
|
|
backdrop-filter: blur(calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef')));
|
|
}
|
|
}
|
|
- >video.fade-to-next-page{
|
|
|
|
|
|
+
|
|
|
|
+ >video.fade-to-next-page {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
top: 0;
|
|
top: 0;
|
|
@@ -919,7 +1073,7 @@ function onClickGoNextPage() {
|
|
z-index: 20;
|
|
z-index: 20;
|
|
}
|
|
}
|
|
|
|
|
|
- >button.go-next-page{
|
|
|
|
|
|
+ >button.go-next-page {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 50%;
|
|
left: 50%;
|
|
bottom: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
bottom: calc(25 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|