|
@@ -114,28 +114,30 @@ const curPercentage = computed(() => {
|
|
|
<template>
|
|
|
<div
|
|
|
class="home"
|
|
|
- @touchstart="handletouchstart($event)"
|
|
|
- @touchend="touchEnd($event)"
|
|
|
>
|
|
|
<div class="title">
|
|
|
<span
|
|
|
:style="{ color: curIndex == 1 ? 'rgba(71, 71, 71, 0.15)' : '' }"
|
|
|
- @click="curIndex == 0 ? openVideoBox() : ''"
|
|
|
+ @click="curIndex = 0"
|
|
|
>双钩</span>
|
|
|
<span
|
|
|
:style="{ color: curIndex == 0 ? 'rgba(71, 71, 71, 0.15)' : '' }"
|
|
|
- @click="curIndex == 1 ? openVideoBox() : ''"
|
|
|
+ @click="curIndex = 1"
|
|
|
>设色</span>
|
|
|
- <!-- <img
|
|
|
- src="@/assets/images/icon_video.png"
|
|
|
+ <img
|
|
|
+ src="@/assets/images/icon_video_active.png"
|
|
|
class="icon-video"
|
|
|
@click="openVideoBox"
|
|
|
- > -->
|
|
|
+ >
|
|
|
+ <span
|
|
|
+ class="video-text"
|
|
|
+ @click="openVideoBox"
|
|
|
+ >观看视频</span>
|
|
|
<!-- 两个提示 -->
|
|
|
<div
|
|
|
- v-show="curIndex == 0"
|
|
|
+ v-show="curIndex == 1"
|
|
|
class="operation-video-tip"
|
|
|
- style="top: -55%; right: -50%"
|
|
|
+ style="top: -10vh; right: -30%"
|
|
|
>
|
|
|
<div>点击查看</div>
|
|
|
<img
|
|
@@ -146,9 +148,9 @@ const curPercentage = computed(() => {
|
|
|
>
|
|
|
</div>
|
|
|
<div
|
|
|
- v-show="curIndex == 1"
|
|
|
+ v-show="curIndex == 0"
|
|
|
class="operation-video-tip"
|
|
|
- style="bottom: -55%; right: -50%"
|
|
|
+ style="top:38%; right: -52%"
|
|
|
>
|
|
|
<img
|
|
|
class=""
|
|
@@ -158,12 +160,6 @@ const curPercentage = computed(() => {
|
|
|
>
|
|
|
<div>点击查看</div>
|
|
|
</div>
|
|
|
- <!-- <img
|
|
|
- class=""
|
|
|
- :src="require(`@/assets/images/icon-click-tip-green.png`)"
|
|
|
- alt=""
|
|
|
- draggable="false"
|
|
|
- > -->
|
|
|
</div>
|
|
|
|
|
|
<div class="shuanggou-yezi">
|
|
@@ -223,13 +219,13 @@ const curPercentage = computed(() => {
|
|
|
@click="goBack"
|
|
|
/>
|
|
|
|
|
|
- <OperationTip
|
|
|
+ <!-- <OperationTip
|
|
|
id="operationH"
|
|
|
class="operation-h"
|
|
|
text=""
|
|
|
direction="h"
|
|
|
:is-show="isShowOperationTip"
|
|
|
- />
|
|
|
+ /> -->
|
|
|
|
|
|
<!-- <OperationTip
|
|
|
class="operation-h"
|
|
@@ -310,15 +306,29 @@ const curPercentage = computed(() => {
|
|
|
top: 26%;
|
|
|
letter-spacing: 10px;
|
|
|
z-index: 10;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
.icon-video {
|
|
|
width: calc(
|
|
|
- 48 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
+ 36 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
v-bind("windowSizeInCssForRef")
|
|
|
);
|
|
|
height: calc(
|
|
|
- 48 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
+ 36 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
v-bind("windowSizeInCssForRef")
|
|
|
);
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+ .video-text{
|
|
|
+ color: #7b916b;
|
|
|
+ font-family: KaiTi;
|
|
|
+ writing-mode: horizontal-tb;
|
|
|
+ font-size: calc(
|
|
|
+ 14 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
+ v-bind("windowSizeInCssForRef")
|
|
|
+ );
|
|
|
+ letter-spacing: 0px;
|
|
|
}
|
|
|
.operation-video-tip {
|
|
|
position: absolute;
|
|
@@ -326,6 +336,7 @@ const curPercentage = computed(() => {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
pointer-events: none;
|
|
|
+ letter-spacing: 1px;
|
|
|
& > img {
|
|
|
width: 40px;
|
|
|
}
|
|
@@ -342,6 +353,24 @@ const curPercentage = computed(() => {
|
|
|
writing-mode: vertical-rl;
|
|
|
}
|
|
|
}
|
|
|
+ .video-btn{
|
|
|
+ width: calc(
|
|
|
+ 36 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
+ v-bind("windowSizeInCssForRef")
|
|
|
+ );
|
|
|
+ height: calc(
|
|
|
+ 36 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
+ v-bind("windowSizeInCssForRef")
|
|
|
+ );
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ font-size: calc(
|
|
|
+ 14 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
+ v-bind("windowSizeInCssForRef")
|
|
|
+ );
|
|
|
+ font-family: KaiTi;
|
|
|
+ color: #7b916b;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.shuanggou-yezi {
|
|
@@ -377,7 +406,7 @@ const curPercentage = computed(() => {
|
|
|
.text {
|
|
|
display: flex;
|
|
|
position: absolute;
|
|
|
- right: 30%;
|
|
|
+ right: 32%;
|
|
|
top: 40vh;
|
|
|
// top: calc(50 /v-bind('windowSizeWhenDesignForRef')/v-bind('windowSizeInCssForRef'));
|
|
|
color: #707f48;
|
|
@@ -464,7 +493,7 @@ const curPercentage = computed(() => {
|
|
|
v-bind("windowSizeInCssForRef")
|
|
|
);
|
|
|
bottom: calc(
|
|
|
- 20 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
+ 35 / v-bind("windowSizeWhenDesignForRef") *
|
|
|
v-bind("windowSizeInCssForRef")
|
|
|
);
|
|
|
}
|