|
@@ -0,0 +1,198 @@
|
|
1
|
+<template>
|
|
2
|
+ <div>
|
|
3
|
+ <div id="top"></div>
|
|
4
|
+ <div class="nav">
|
|
5
|
+ <img src="@/assets/logo.png" alt="">
|
|
6
|
+ <div @click="go('#top')" :class="{ title: true, highlight: classStyle == '#top' }">首页</div>
|
|
7
|
+ <div @click="go('#classify')" :class="{ title: true, highlight: classStyle == '#classify' }">明星产品</div>
|
|
8
|
+ <div @click="go('#teamwork')" :class="{ title: true, highlight: classStyle == '#teamwork' }">合作伙伴</div>
|
|
9
|
+ <div @click="go('#we')" :class="{ title: true, highlight: classStyle == '#we' }">关于我们</div>
|
|
10
|
+ </div>
|
|
11
|
+ <div class="top_img">
|
|
12
|
+ <img src="@/assets/首页2_01.jpg" alt="">
|
|
13
|
+ </div>
|
|
14
|
+ <div class="classify">
|
|
15
|
+ <img id="classify" src="@/assets/首页2_02.jpg" alt="">
|
|
16
|
+ </div>
|
|
17
|
+ <div id="teamwork" class="teamwork">
|
|
18
|
+ <img src="@/assets/首页2_03.jpg" alt="">
|
|
19
|
+ </div>
|
|
20
|
+ <div class="we">
|
|
21
|
+ <img id="we" src="@/assets/首页2_04.jpg" alt="">
|
|
22
|
+ </div>
|
|
23
|
+ <div class="footer">
|
|
24
|
+ <div class="top-box">
|
|
25
|
+ <img class="bottom-logo" src="@/assets/logo.png" alt="">
|
|
26
|
+ <div @click="go('#classify')" :class="{titlBottom:true,highlight2:classStyle == '#classify'}">明星产品</div>
|
|
27
|
+ <div @click="go('#teamwork')" :class="{titlBottom:true,highlight2:classStyle == '#teamwork'}">合作伙伴</div>
|
|
28
|
+ <div @click="go('#we')" :class="{titlBottom:true,highlight2:classStyle == '#we'}">关于我们</div>
|
|
29
|
+ </div>
|
|
30
|
+ <div class="bot-box">
|
|
31
|
+ <div class="titlBottom">联系我们</div>
|
|
32
|
+ <div>havana@fjpjsxspyxgs.wecom.work</div>
|
|
33
|
+ <div>18680316062</div>
|
|
34
|
+ <div class="img-box">
|
|
35
|
+ <div class="img-box2">
|
|
36
|
+ <img src="@/assets/联系人二维码.png" alt="">
|
|
37
|
+ <div>联系人微信</div>
|
|
38
|
+ </div>
|
|
39
|
+ <div class="img-box2">
|
|
40
|
+ <img src="@/assets/公众号二维码.png" alt="">
|
|
41
|
+ <div>微信公众号</div>
|
|
42
|
+ </div>
|
|
43
|
+ </div>
|
|
44
|
+ </div>
|
|
45
|
+ </div>
|
|
46
|
+ </div>
|
|
47
|
+</template>
|
|
48
|
+
|
|
49
|
+<script>
|
|
50
|
+export default {
|
|
51
|
+ data() {
|
|
52
|
+ return {
|
|
53
|
+ classStyle: '#top'
|
|
54
|
+ }
|
|
55
|
+ },
|
|
56
|
+ methods: {
|
|
57
|
+ go(selector) {
|
|
58
|
+ this.classStyle = selector
|
|
59
|
+ document.querySelector(selector).scrollIntoView({
|
|
60
|
+ // 不想要滚动动画,则设置为"instant"
|
|
61
|
+ behavior: 'smooth', // 滚动动画
|
|
62
|
+ block: 'start',
|
|
63
|
+ alignToTop: 'true'
|
|
64
|
+ });
|
|
65
|
+ }
|
|
66
|
+ }
|
|
67
|
+}
|
|
68
|
+</script>
|
|
69
|
+
|
|
70
|
+<style scoped lang="less">
|
|
71
|
+.highlight {
|
|
72
|
+ font-weight: 700;
|
|
73
|
+ color: #1c4b9d !important;
|
|
74
|
+ position: relative;
|
|
75
|
+ }
|
|
76
|
+ .highlight2{
|
|
77
|
+ font-weight: 700;
|
|
78
|
+ color: #1c4b9d !important;
|
|
79
|
+ }
|
|
80
|
+ .highlight::after {
|
|
81
|
+ position: absolute;
|
|
82
|
+ content: "";
|
|
83
|
+ width: 22px;
|
|
84
|
+ height: 8px;
|
|
85
|
+ display: block;
|
|
86
|
+ background-color: #1c4a9e;
|
|
87
|
+ margin-top: 14px;
|
|
88
|
+ border-radius: 10px;
|
|
89
|
+ left: 50%;
|
|
90
|
+ transform: translateX(-50%);
|
|
91
|
+ }
|
|
92
|
+
|
|
93
|
+ .a {
|
|
94
|
+ height: 1000px;
|
|
95
|
+ color: red;
|
|
96
|
+ }
|
|
97
|
+
|
|
98
|
+ .nav {
|
|
99
|
+ width: 100%;
|
|
100
|
+ height: 115px;
|
|
101
|
+ display: flex;
|
|
102
|
+ justify-content: center;
|
|
103
|
+ align-items: center;
|
|
104
|
+
|
|
105
|
+ img {
|
|
106
|
+ height: 100%;
|
|
107
|
+ margin-right: 98px;
|
|
108
|
+ height: 140px;
|
|
109
|
+ }
|
|
110
|
+
|
|
111
|
+ .title {
|
|
112
|
+ font-family: SiYuanHeiTi;
|
|
113
|
+ margin-right: 98px;
|
|
114
|
+ font-size: 22px;
|
|
115
|
+ color: #555555;
|
|
116
|
+ cursor: pointer;
|
|
117
|
+ }
|
|
118
|
+ }
|
|
119
|
+
|
|
120
|
+ .top_img {
|
|
121
|
+ height: 645px;
|
|
122
|
+ width: 100%;
|
|
123
|
+
|
|
124
|
+ img {
|
|
125
|
+ width: 100%;
|
|
126
|
+ }
|
|
127
|
+ }
|
|
128
|
+
|
|
129
|
+ .classify {
|
|
130
|
+ width: 100%;
|
|
131
|
+
|
|
132
|
+ img {
|
|
133
|
+ width: 100%;
|
|
134
|
+ }
|
|
135
|
+ }
|
|
136
|
+
|
|
137
|
+ .teamwork {
|
|
138
|
+ img {
|
|
139
|
+ width: 100%;
|
|
140
|
+ }
|
|
141
|
+ }
|
|
142
|
+
|
|
143
|
+ .we {
|
|
144
|
+ img {
|
|
145
|
+ width: 100%;
|
|
146
|
+ }
|
|
147
|
+ }
|
|
148
|
+
|
|
149
|
+ .footer {
|
|
150
|
+ height: 395px;
|
|
151
|
+ width: 100%;
|
|
152
|
+ background-color: #eeeeee;
|
|
153
|
+ padding-top: 60px;
|
|
154
|
+ box-sizing: border-box;
|
|
155
|
+ display: flex;
|
|
156
|
+ justify-content: center;
|
|
157
|
+ font-family: SiYuanHeiTi;
|
|
158
|
+ font-size: 22px;
|
|
159
|
+ align-items: flex-start;
|
|
160
|
+ .top-box {
|
|
161
|
+ display: flex;
|
|
162
|
+ justify-content: center;
|
|
163
|
+ align-items: flex-start;
|
|
164
|
+ div {
|
|
165
|
+ cursor: pointer;
|
|
166
|
+ }
|
|
167
|
+
|
|
168
|
+ .bottom-logo {
|
|
169
|
+ height: 140px;
|
|
170
|
+ margin-right: 84px;
|
|
171
|
+ margin-top: -45px;
|
|
172
|
+ }
|
|
173
|
+
|
|
174
|
+ .titlBottom {
|
|
175
|
+ margin-right: 84px;
|
|
176
|
+ color: #575757;
|
|
177
|
+ }
|
|
178
|
+ }
|
|
179
|
+
|
|
180
|
+ .bot-box {
|
|
181
|
+ color: #575757;
|
|
182
|
+ div{
|
|
183
|
+ margin-bottom: 6px;
|
|
184
|
+ }
|
|
185
|
+ .img-box{
|
|
186
|
+ display: flex;
|
|
187
|
+ margin-top: 10px;
|
|
188
|
+ .img-box2{
|
|
189
|
+ text-align: center;
|
|
190
|
+ margin-right: 18px;
|
|
191
|
+ }
|
|
192
|
+ img {
|
|
193
|
+ height: 164px;
|
|
194
|
+ margin-bottom: 4px;
|
|
195
|
+ }
|
|
196
|
+ }
|
|
197
|
+ }
|
|
198
|
+ }</style>
|