|
@@ -26,6 +26,47 @@
|
|
</button>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</Transition>
|
|
</Transition>
|
|
|
|
+
|
|
|
|
+ <Transition name="fade-in">
|
|
|
|
+ <div
|
|
|
|
+ v-show="isShowBtnGroup"
|
|
|
|
+ class="btn-right"
|
|
|
|
+ >
|
|
|
|
+ <div
|
|
|
|
+ class="right-item"
|
|
|
|
+ @click="isShowForeword = true"
|
|
|
|
+ >
|
|
|
|
+ <div class="item-circle">
|
|
|
|
+ <img
|
|
|
|
+ src="@/assets/images/foreword-icon.png"
|
|
|
|
+ alt=""
|
|
|
|
+ >
|
|
|
|
+ </div>
|
|
|
|
+ 策展人说
|
|
|
|
+ </div>
|
|
|
|
+ <div class="right-item">
|
|
|
|
+ <div
|
|
|
|
+ class="item-circle"
|
|
|
|
+ style="background: #E89795;"
|
|
|
|
+ @click="router.push({
|
|
|
|
+ name: 'StartView',
|
|
|
|
+ })"
|
|
|
|
+ >
|
|
|
|
+ <img
|
|
|
|
+ src="@/assets/images/pic-icon.png"
|
|
|
|
+ alt=""
|
|
|
|
+ >
|
|
|
|
+ </div>
|
|
|
|
+ 体验版画
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </Transition>
|
|
|
|
+
|
|
|
|
+ <!-- 序言 -->
|
|
|
|
+ <ForeWord
|
|
|
|
+ v-show="isShowForeword"
|
|
|
|
+ @close="close"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -34,6 +75,7 @@ import Clipboard from "clipboard"
|
|
import { showToast } from "@/store/index.js"
|
|
import { showToast } from "@/store/index.js"
|
|
import { useRoute, useRouter } from "vue-router"
|
|
import { useRoute, useRouter } from "vue-router"
|
|
import { ref } from "vue"
|
|
import { ref } from "vue"
|
|
|
|
+import ForeWord from "@/components/ForeWord.vue"
|
|
const {
|
|
const {
|
|
windowSizeInCssForRef,
|
|
windowSizeInCssForRef,
|
|
windowSizeWhenDesignForRef,
|
|
windowSizeWhenDesignForRef,
|
|
@@ -47,6 +89,11 @@ setTimeout(() => {
|
|
isShowBtnGroup.value = true
|
|
isShowBtnGroup.value = true
|
|
}, 2500)
|
|
}, 2500)
|
|
|
|
|
|
|
|
+const isShowForeword = ref(false)
|
|
|
|
+const close = () => {
|
|
|
|
+ isShowForeword.value = false
|
|
|
|
+}
|
|
|
|
+
|
|
const shareUrl = location.origin + location.pathname
|
|
const shareUrl = location.origin + location.pathname
|
|
function onClickBegin() {
|
|
function onClickBegin() {
|
|
router.push({
|
|
router.push({
|
|
@@ -91,28 +138,55 @@ function onClickCopy() {
|
|
align-items: center;
|
|
align-items: center;
|
|
>button{
|
|
>button{
|
|
flex: 0 0 auto;
|
|
flex: 0 0 auto;
|
|
- font-size: calc(20 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
- font-family: Source Han Serif CN-Bold, Source Han Serif CN;
|
|
|
|
- font-weight: bold;
|
|
|
|
- color: #484238;
|
|
|
|
|
|
+ // letter-spacing: .3em;
|
|
|
|
+ font-size: calc(22 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ font-family: 'jiangxizhuokai-Regular';
|
|
|
|
+ // font-weight: bold;
|
|
|
|
+ color: white;
|
|
|
|
+ background-color: rgba(239, 196, 27, 1);
|
|
|
|
+ border-radius: calc(50 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ border: solid calc(4 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef')) #fff;
|
|
line-height: calc(23 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
line-height: calc(23 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
height: calc(55 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));;
|
|
height: calc(55 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));;
|
|
}
|
|
}
|
|
>button:first-of-type{
|
|
>button:first-of-type{
|
|
- background-image: url(@/assets/images/btn-long-bright.png);
|
|
|
|
- background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-position: center center;
|
|
width: calc(186 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
width: calc(186 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
margin-right: calc(17 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
margin-right: calc(17 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
}
|
|
}
|
|
>button:last-of-type{
|
|
>button:last-of-type{
|
|
- background-image: url(@/assets/images/btn-short-dark.png);
|
|
|
|
- background-size: contain;
|
|
|
|
|
|
+ background-color: #4ABBFF;
|
|
background-repeat: no-repeat;
|
|
background-repeat: no-repeat;
|
|
background-position: center center;
|
|
background-position: center center;
|
|
width: calc(144 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));;
|
|
width: calc(144 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ >.btn-right {
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 2%;
|
|
|
|
+ top:8%;
|
|
|
|
+ >.right-item {
|
|
|
|
+ margin-bottom: calc(15 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ font-size: calc(14 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ color: white;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ >.item-circle {
|
|
|
|
+ border-radius: calc(50 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ border: 2px solid white;
|
|
|
|
+ padding: 13%;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ align-items: center;
|
|
|
|
+ margin-bottom: calc(5 / v-bind('windowSizeWhenDesignForRef') * v-bind('windowSizeInCssForRef'));
|
|
|
|
+ background: #549E7E;
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|