|
@@ -55,7 +55,14 @@ const isShowOperationTip = ref(true)
|
|
const touchEnd = (event) => {
|
|
const touchEnd = (event) => {
|
|
let currentY = event.changedTouches[0].pageY
|
|
let currentY = event.changedTouches[0].pageY
|
|
let ty = currentY - lastY.value
|
|
let ty = currentY - lastY.value
|
|
- if (ty > 0 && curPageIndex.value == 1 && !isShowHotspotDetail1.value && !isShowHotspotDetail3.value && !isShowPaintingDesc.value && ! isShowAuthorDesc.value) {
|
|
|
|
|
|
+ if (
|
|
|
|
+ ty > 0 &&
|
|
|
|
+ curPageIndex.value == 1 &&
|
|
|
|
+ !isShowHotspotDetail1.value &&
|
|
|
|
+ !isShowHotspotDetail3.value &&
|
|
|
|
+ !isShowPaintingDesc.value &&
|
|
|
|
+ !isShowAuthorDesc.value
|
|
|
|
+ ) {
|
|
isShowOperationTip.value = true
|
|
isShowOperationTip.value = true
|
|
curPageIndex.value = 0
|
|
curPageIndex.value = 0
|
|
} else if (ty < 0 && curPageIndex.value == 0) {
|
|
} else if (ty < 0 && curPageIndex.value == 0) {
|
|
@@ -132,7 +139,17 @@ const backFu = () => {
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<template>
|
|
<template>
|
|
- <div style="opacity: 0; pointer-events: none;font-family: KingHwa_OldSong;position: absolute;top:0;left:0;z-index: -1;">
|
|
|
|
|
|
+ <div
|
|
|
|
+ style="
|
|
|
|
+ opacity: 0;
|
|
|
|
+ pointer-events: none;
|
|
|
|
+ font-family: KingHwa_OldSong;
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ z-index: -1;
|
|
|
|
+ "
|
|
|
|
+ >
|
|
123
|
|
123
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
@@ -302,7 +319,10 @@ const backFu = () => {
|
|
@click="curPageIndex = 5"
|
|
@click="curPageIndex = 5"
|
|
/>
|
|
/>
|
|
<img
|
|
<img
|
|
- :style="{ opacity: curPageIndex == 2 ? 1 : 0,display: curPageIndex == 2 ? 'block' : 'none' }"
|
|
|
|
|
|
+ :style="{
|
|
|
|
+ opacity: curPageIndex == 2 ? 1 : 0,
|
|
|
|
+ display: curPageIndex == 2 ? 'block' : 'none',
|
|
|
|
+ }"
|
|
class="icon_scale"
|
|
class="icon_scale"
|
|
src="@/assets/images/icon_scale.png"
|
|
src="@/assets/images/icon_scale.png"
|
|
alt=""
|
|
alt=""
|
|
@@ -330,7 +350,7 @@ const backFu = () => {
|
|
<div
|
|
<div
|
|
class="center-text"
|
|
class="center-text"
|
|
:style="{ opacity: curPageIndex == 3 || curPageIndex == 4 ? 1 : 0 }"
|
|
:style="{ opacity: curPageIndex == 3 || curPageIndex == 4 ? 1 : 0 }"
|
|
- :class="{'center-text4': curPageIndex == 4}"
|
|
|
|
|
|
+ :class="{ 'center-text4': curPageIndex == 4 }"
|
|
>
|
|
>
|
|
{{ curCenterTag }}
|
|
{{ curCenterTag }}
|
|
</div>
|
|
</div>
|
|
@@ -338,8 +358,8 @@ const backFu = () => {
|
|
<!-- 底部文字介绍 -->
|
|
<!-- 底部文字介绍 -->
|
|
<div
|
|
<div
|
|
class="fixed-desc"
|
|
class="fixed-desc"
|
|
- :class="{'fixed-desc4': curPageIndex == 4}"
|
|
|
|
- :style="{ opacity: curPageIndex == 3 || curPageIndex == 4 ? 1 : 0 }"
|
|
|
|
|
|
+ :class="{ 'fixed-desc4': curPageIndex == 4 }"
|
|
|
|
+ :style="{ opacity: curPageIndex == 3 || curPageIndex == 4 ? 1 : 0,textIndent:'2em' }"
|
|
v-html="curFixedDesc"
|
|
v-html="curFixedDesc"
|
|
/>
|
|
/>
|
|
<!-- 左滑提示 -->
|
|
<!-- 左滑提示 -->
|
|
@@ -400,7 +420,7 @@ const backFu = () => {
|
|
class="learn-more"
|
|
class="learn-more"
|
|
@click="onClickGoNextPage"
|
|
@click="onClickGoNextPage"
|
|
>
|
|
>
|
|
- 了解更多
|
|
|
|
|
|
+ 知识探索
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- 返回按钮 -->
|
|
<!-- 返回按钮 -->
|
|
@@ -466,6 +486,8 @@ const backFu = () => {
|
|
{{ item }}
|
|
{{ item }}
|
|
</p>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
+ <!-- 遮罩 -->
|
|
|
|
+ <div class="shandow-box" />
|
|
<!-- <div class="bottom-box" /> -->
|
|
<!-- <div class="bottom-box" /> -->
|
|
<BtnBack
|
|
<BtnBack
|
|
class="back-btn"
|
|
class="back-btn"
|
|
@@ -506,8 +528,8 @@ const backFu = () => {
|
|
</p>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <!-- 底部遮罩 -->
|
|
|
|
- <!-- <div class="bottom-box" /> -->
|
|
|
|
|
|
+ <!-- 遮罩 -->
|
|
|
|
+ <div class="shandow-box" />
|
|
<BtnBack
|
|
<BtnBack
|
|
class="back-btn"
|
|
class="back-btn"
|
|
@click="isShowAuthorDesc = false"
|
|
@click="isShowAuthorDesc = false"
|
|
@@ -931,9 +953,9 @@ div {
|
|
text-align: justify;
|
|
text-align: justify;
|
|
z-index: 2;
|
|
z-index: 2;
|
|
}
|
|
}
|
|
- > .center-text4{
|
|
|
|
|
|
+ > .center-text4 {
|
|
top: calc(
|
|
top: calc(
|
|
- 630 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
|
|
+ 616 / v-bind("windowSizeWhenDesignForRef") *
|
|
v-bind("windowSizeInCssForRef")
|
|
v-bind("windowSizeInCssForRef")
|
|
);
|
|
);
|
|
}
|
|
}
|
|
@@ -973,9 +995,9 @@ div {
|
|
v-bind("windowSizeInCssForRef")
|
|
v-bind("windowSizeInCssForRef")
|
|
);
|
|
);
|
|
}
|
|
}
|
|
- > .fixed-desc4{
|
|
|
|
|
|
+ > .fixed-desc4 {
|
|
top: calc(
|
|
top: calc(
|
|
- 645 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
|
|
+ 627 / v-bind("windowSizeWhenDesignForRef") *
|
|
v-bind("windowSizeInCssForRef")
|
|
v-bind("windowSizeInCssForRef")
|
|
);
|
|
);
|
|
}
|
|
}
|
|
@@ -1032,7 +1054,7 @@ div {
|
|
z-index: 3;
|
|
z-index: 3;
|
|
width: calc(
|
|
width: calc(
|
|
224 / v-bind("windowSizeWhenDesignForRef") *
|
|
224 / v-bind("windowSizeWhenDesignForRef") *
|
|
- v-bind("windowSizeInCssForRef")
|
|
|
|
|
|
+ v-bind("windowSizeInCssForRef")
|
|
);
|
|
);
|
|
background: linear-gradient(78deg, rgba(0, 0, 0, 0) 38%, #00000087 75%);
|
|
background: linear-gradient(78deg, rgba(0, 0, 0, 0) 38%, #00000087 75%);
|
|
height: 100%;
|
|
height: 100%;
|
|
@@ -1091,14 +1113,14 @@ div {
|
|
> .back-btn-main {
|
|
> .back-btn-main {
|
|
position: absolute;
|
|
position: absolute;
|
|
z-index: 3;
|
|
z-index: 3;
|
|
- left: calc(
|
|
|
|
- 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
- v-bind("windowSizeInCssForRef")
|
|
|
|
- );
|
|
|
|
- bottom: calc(
|
|
|
|
- 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
- v-bind("windowSizeInCssForRef")
|
|
|
|
- );
|
|
|
|
|
|
+ // left: calc(
|
|
|
|
+ // 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
+ // v-bind("windowSizeInCssForRef")
|
|
|
|
+ // );
|
|
|
|
+ // bottom: calc(
|
|
|
|
+ // 25 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
+ // v-bind("windowSizeInCssForRef")
|
|
|
|
+ // );
|
|
}
|
|
}
|
|
|
|
|
|
> .long-desc {
|
|
> .long-desc {
|
|
@@ -1171,15 +1193,26 @@ div {
|
|
padding-left: 10%;
|
|
padding-left: 10%;
|
|
padding-right: 10%;
|
|
padding-right: 10%;
|
|
|
|
|
|
|
|
+ > .shandow-box {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 140px;
|
|
|
|
+ left: 0;
|
|
|
|
+ background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ pointer-events: none;
|
|
|
|
+ // z-index: 1;
|
|
|
|
+ }
|
|
|
|
+
|
|
> .back-btn {
|
|
> .back-btn {
|
|
- left: calc(
|
|
|
|
- 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
- v-bind("windowSizeInCssForRef")
|
|
|
|
- );
|
|
|
|
- bottom: calc(
|
|
|
|
- 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
- v-bind("windowSizeInCssForRef")
|
|
|
|
- );
|
|
|
|
|
|
+ // left: calc(
|
|
|
|
+ // 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
+ // v-bind("windowSizeInCssForRef")
|
|
|
|
+ // );
|
|
|
|
+ // bottom: calc(
|
|
|
|
+ // 25 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
+ // v-bind("windowSizeInCssForRef")
|
|
|
|
+ // );
|
|
position: absolute;
|
|
position: absolute;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -1191,9 +1224,10 @@ div {
|
|
> .text-box {
|
|
> .text-box {
|
|
width: 100%;
|
|
width: 100%;
|
|
overflow: auto;
|
|
overflow: auto;
|
|
|
|
+ padding:0 0px 40px 0px;
|
|
&::-webkit-scrollbar {
|
|
&::-webkit-scrollbar {
|
|
- display: none;
|
|
|
|
- }
|
|
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
|
|
> p {
|
|
> p {
|
|
text-indent: 2em;
|
|
text-indent: 2em;
|
|
@@ -1256,14 +1290,25 @@ div {
|
|
padding-top: 15%;
|
|
padding-top: 15%;
|
|
padding-left: 10%;
|
|
padding-left: 10%;
|
|
padding-right: 10%;
|
|
padding-right: 10%;
|
|
|
|
+ > .shandow-box {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 140px;
|
|
|
|
+ left: 0;
|
|
|
|
+ background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
|
|
|
|
+ // background: linear-gradient( 180deg, #d9d9d93f 0%, rgba(115,115,115,0) 100%);
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ pointer-events: none;
|
|
|
|
+ // z-index: 1;
|
|
|
|
+ }
|
|
|
|
|
|
> .author-content {
|
|
> .author-content {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
overflow: auto;
|
|
&::-webkit-scrollbar {
|
|
&::-webkit-scrollbar {
|
|
- display: none;
|
|
|
|
- }
|
|
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
display: flex;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
align-items: center;
|
|
@@ -1301,6 +1346,7 @@ div {
|
|
|
|
|
|
> .text-box {
|
|
> .text-box {
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
+ padding-bottom: 40px;
|
|
|
|
|
|
> p {
|
|
> p {
|
|
text-indent: 2em;
|
|
text-indent: 2em;
|
|
@@ -1333,14 +1379,14 @@ div {
|
|
}
|
|
}
|
|
|
|
|
|
> .back-btn {
|
|
> .back-btn {
|
|
- left: calc(
|
|
|
|
- 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
- v-bind("windowSizeInCssForRef")
|
|
|
|
- );
|
|
|
|
- bottom: calc(
|
|
|
|
- 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
- v-bind("windowSizeInCssForRef")
|
|
|
|
- );
|
|
|
|
|
|
+ // left: calc(
|
|
|
|
+ // 17 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
+ // v-bind("windowSizeInCssForRef")
|
|
|
|
+ // );
|
|
|
|
+ // bottom: calc(
|
|
|
|
+ // 25 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
|
+ // v-bind("windowSizeInCssForRef")
|
|
|
|
+ // );
|
|
position: absolute;
|
|
position: absolute;
|
|
}
|
|
}
|
|
|
|
|