|
@@ -530,10 +530,11 @@
|
|
/>
|
|
/>
|
|
</div> -->
|
|
</div> -->
|
|
<ProgressBar
|
|
<ProgressBar
|
|
- v-show="curStep != 0"
|
|
|
|
|
|
+ :style="{ opacity: curStep != 0 ? 1: 0}"
|
|
class="progress-bar"
|
|
class="progress-bar"
|
|
:totle-unit="5"
|
|
:totle-unit="5"
|
|
:cur-percentage="curPercentage"
|
|
:cur-percentage="curPercentage"
|
|
|
|
+ @go-to-slide="goToSlide"
|
|
/>
|
|
/>
|
|
<OperationTip
|
|
<OperationTip
|
|
v-if="isStartupOver"
|
|
v-if="isStartupOver"
|
|
@@ -653,6 +654,8 @@ const isShowPaintingDesc = ref(false)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
const homepagePaintingDesc = configText.homepagePaintingDesc
|
|
const homepagePaintingDesc = configText.homepagePaintingDesc
|
|
const homepageAuthorDesc = configText.homepageAuthorDesc
|
|
const homepageAuthorDesc = configText.homepageAuthorDesc
|
|
const detailDescStem1 = configText.homepagePaintingDetailDescStem1
|
|
const detailDescStem1 = configText.homepagePaintingDetailDescStem1
|
|
@@ -1305,9 +1308,35 @@ const scrollerPositionList = [0, 0.078, 0.166, 0.228, 0.290, 0.353, 0.436, 0.509
|
|
const scrollerPositionTimeRight = [500, 300, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000]
|
|
const scrollerPositionTimeRight = [500, 300, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000]
|
|
const scrollerPositionTimeLeft = [500, 300, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 300]
|
|
const scrollerPositionTimeLeft = [500, 300, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 6000, 300]
|
|
|
|
|
|
|
|
+// 进度条跳转
|
|
|
|
+const goToSlide = (index) => {
|
|
|
|
+ let step = 0
|
|
|
|
+ switch (index) {
|
|
|
|
+ case 0:
|
|
|
|
+ step = 0
|
|
|
|
+ break
|
|
|
|
+ case 1:
|
|
|
|
+ step = 2
|
|
|
|
+ break
|
|
|
|
+ case 2:
|
|
|
|
+ step = 5
|
|
|
|
+ break
|
|
|
|
+ case 3:
|
|
|
|
+ step = 9
|
|
|
|
+ break
|
|
|
|
+ case 4:
|
|
|
|
+ step = 13
|
|
|
|
+ break
|
|
|
|
+ }
|
|
|
|
+ curStep.value = step
|
|
|
|
+ const pp = scrollerPositionList[curStep.value]
|
|
|
|
+ const startTime = performance.now()
|
|
|
|
+ requestAnimationFrame(() => { smoothScrollTo(scrollerEl.value, pp * scrollerEl.value.scrollHeight, scrollerPositionTimeRight[curStep.value], startTime) })
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
// 进度条百分比
|
|
// 进度条百分比
|
|
const curPercentage = computed(() => {
|
|
const curPercentage = computed(() => {
|
|
-
|
|
|
|
if (curStep.value == scrollerPositionList.length - 1) {
|
|
if (curStep.value == scrollerPositionList.length - 1) {
|
|
return 100
|
|
return 100
|
|
} else if (curStep.value == 2) {
|
|
} else if (curStep.value == 2) {
|
|
@@ -1685,7 +1714,7 @@ function onClickGoNextPage() {
|
|
// align-content: center;
|
|
// align-content: center;
|
|
align-items: center;
|
|
align-items: center;
|
|
// justify-content: center;
|
|
// justify-content: center;
|
|
- z-index: 12;
|
|
|
|
|
|
+ z-index: 15;
|
|
padding-top: 15%;
|
|
padding-top: 15%;
|
|
padding-left: 10%;
|
|
padding-left: 10%;
|
|
padding-right: 10%;
|
|
padding-right: 10%;
|
|
@@ -1700,9 +1729,10 @@ function onClickGoNextPage() {
|
|
overflow: auto;
|
|
overflow: auto;
|
|
|
|
|
|
>p {
|
|
>p {
|
|
|
|
+ text-indent: 2em;
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
- font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
|
|
+ font-size: calc(24 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
line-height: calc(30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
line-height: calc(30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
font-family: KaiTi, KaiTi;
|
|
font-family: KaiTi, KaiTi;
|
|
}
|
|
}
|
|
@@ -1740,7 +1770,7 @@ function onClickGoNextPage() {
|
|
top: 0;
|
|
top: 0;
|
|
left: 0;
|
|
left: 0;
|
|
padding: 0 10%;
|
|
padding: 0 10%;
|
|
- z-index: 12;
|
|
|
|
|
|
+ z-index: 15;
|
|
padding-top: 15%;
|
|
padding-top: 15%;
|
|
padding-left: 10%;
|
|
padding-left: 10%;
|
|
padding-right: 10%;
|
|
padding-right: 10%;
|
|
@@ -1773,9 +1803,10 @@ function onClickGoNextPage() {
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
|
|
>p {
|
|
>p {
|
|
|
|
+ text-indent: 2em;
|
|
margin-bottom: 10px;
|
|
margin-bottom: 10px;
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
- font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
|
|
+ font-size: calc(24 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
line-height: calc(30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
line-height: calc(30 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
font-family: KaiTi, KaiTi;
|
|
font-family: KaiTi, KaiTi;
|
|
}
|
|
}
|
|
@@ -1870,13 +1901,15 @@ function onClickGoNextPage() {
|
|
>.progress-bar {
|
|
>.progress-bar {
|
|
position: absolute;
|
|
position: absolute;
|
|
left: 0;
|
|
left: 0;
|
|
- bottom: 10px;
|
|
|
|
|
|
+ bottom: 15px;
|
|
left: 50%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
width: 90%;
|
|
width: 90%;
|
|
height: 15px;
|
|
height: 15px;
|
|
z-index: 3;
|
|
z-index: 3;
|
|
color: #e1edd95d;
|
|
color: #e1edd95d;
|
|
|
|
+ transition: all 1s;
|
|
|
|
+ z-index: 12;
|
|
|
|
|
|
>.bar-artwork-desc {
|
|
>.bar-artwork-desc {
|
|
position: absolute;
|
|
position: absolute;
|