Yansen 2 years ago
parent
commit
8c6159f1db

+ 1
- 1
index.html View File

@@ -13,7 +13,7 @@
13 13
 
14 14
     <!-- <link rel="stylesheet" href="./slidePage/slidePage.min.css"> -->
15 15
 
16
-    <link rel="stylesheet" href="./fonts/SourceHanSansCN-Medium/SourceHanSansCN-Medium.css">
16
+    <link rel="stylesheet" href="./fonts/SourceHanSerifCN-Medium/SourceHanSerifCN-Medium.css">
17 17
     <title>南京-紫金草行动</title>
18 18
     <!-- <script src="./vconsole.min.js"></script>
19 19
     <script>

+ 8
- 0
public/fonts/SourceHanSerifCN-Medium/SourceHanSerifCN-Medium.css View File

@@ -0,0 +1,8 @@
1
+@font-face {
2
+  font-family: "SourceHanSerifCN-Medium";
3
+  src: url("SourceHanSerifCN-Medium.ttf") format("truetype"); /* iOS 4.1- */
4
+  font-style: normal;
5
+  font-weight: normal;
6
+}
7
+
8
+

BIN
public/fonts/SourceHanSerifCN-Medium/SourceHanSerifCN-Medium.ttf View File


BIN
public/images/down.png View File


+ 30
- 0
src/components/DownArrow.vue View File

@@ -0,0 +1,30 @@
1
+<template>
2
+  <img class="down-arrow" src="/images/down.png" alt="">
3
+</template>
4
+
5
+<script setup>
6
+
7
+</script>
8
+
9
+<style lang="less" scoped>
10
+  .down-arrow {
11
+    width: 15vw;
12
+    position: absolute;
13
+    bottom: 5vh;
14
+    left: calc(50% - 8vw);
15
+
16
+    animation: mv-down 2s ease-in-out infinite forwards;
17
+  }
18
+
19
+  @keyframes mv-down {
20
+    from {
21
+      transform: translateY(0);
22
+      opacity: 1;
23
+    }
24
+
25
+    to {
26
+      transform: translateY(2vh);
27
+      opacity: 0;
28
+    }
29
+  }
30
+</style>

+ 3
- 0
src/pages/pg1/index.vue View File

@@ -19,6 +19,8 @@
19 19
     <div class="footer abs animate__animated animate__fadeInUp">
20 20
       <img src="/images/pg1/bg2.png" alt="" parallax-offset='-200'>
21 21
     </div>
22
+
23
+    <DownArrow />
22 24
     <Md1 v-if="mdActive == 1" @cancel="onCancel(1)" />
23 25
     <Md2 v-if="mdActive == 2" @cancel="onCancel(2)" />
24 26
     <Md3 v-if="mdActive == 3" @cancel="onCancel(3)" />
@@ -29,6 +31,7 @@
29 31
   import { onMounted, ref } from 'vue';
30 32
   import { useRouter } from 'vue-router';
31 33
   import InkEffect from '@/components/InkEffect.vue';
34
+  import DownArrow from '@/components/DownArrow.vue';
32 35
   import Logo from './Logo.vue';
33 36
   import Part1 from './P1.vue';
34 37
   import Part2 from './P2.vue';

+ 3
- 0
src/pages/pg2/index.vue View File

@@ -66,6 +66,8 @@
66 66
       了解故事
67 67
       <img src="/images/pg2/箭头-右.png" alt />
68 68
     </div>
69
+
70
+    <DownArrow />
69 71
   </div>
70 72
 </template>
71 73
 
@@ -75,6 +77,7 @@
75 77
   import Bell from "@/components/Bell.vue";
76 78
   import Animate from "@/components/Animate.vue";
77 79
   import InkEffect from "@/components/InkEffect.vue";
80
+  import DownArrow from '@/components/DownArrow.vue';
78 81
   import Cloud from "./Cloud.vue";
79 82
   import Smoke from "./smoke.vue";
80 83
   import Flower1 from "./flower/Flower1.vue";

+ 1
- 1
src/style.less View File

@@ -1,5 +1,5 @@
1 1
 :root {
2
-  font-family: "SourceHanSansCN-Medium";
2
+  font-family: "SourceHanSerifCN-Medium";
3 3
   font-size: 16px;
4 4
   line-height: 24px;
5 5
   font-weight: 400;