Procházet zdrojové kódy

增加后谷咖啡页面

master
suomingxiang před 2 dny
rodič
revize
945ffc4742

binární
dev/static/font/CrimsonText-Bold-2.ttf Zobrazit soubor


+ 4
- 0
dev/static/font/cavan.css Zobrazit soubor

@@ -6,4 +6,8 @@
6 6
 @font-face {
7 7
     font-family: 'MyFont2';
8 8
     src: url('./REGULAR.OTF') format('truetype');
9
+}
10
+@font-face {
11
+    font-family: 'CrimsonTextBold';
12
+    src: url('./CrimsonText-Bold-2.ttf') format('truetype');
9 13
 }

binární
dev/static/images/hgkf/cont.png Zobrazit soubor


binární
dev/static/images/hgkf/p1.png Zobrazit soubor


binární
dev/static/images/hgkf/p2.png Zobrazit soubor


binární
dev/static/images/hgkf/p3.png Zobrazit soubor


binární
dev/static/images/hgkf/p4.png Zobrazit soubor


binární
dev/static/images/hgkf/p5.png Zobrazit soubor


binární
dev/static/images/hgkf/p6.png Zobrazit soubor


binární
dev/static/images/hgkf/tb.mp4 Zobrazit soubor


+ 218
- 0
src/pages/HogoodCoffee/App.js Zobrazit soubor

@@ -0,0 +1,218 @@
1
+import Swiper from 'swiper/bundle';
2
+import LocomotiveScroll from 'locomotive-scroll';
3
+import {
4
+    isMobile
5
+} from '../common/js/utils'
6
+
7
+export default class App {
8
+    constructor() {
9
+        // let common = new Common(document.querySelector('.main'), 0)   //导航菜单高亮,0是首页,后面的按顺序添加
10
+        this.isMobile = isMobile()
11
+
12
+        this.scroll = new LocomotiveScroll();
13
+        // 图片及视频资源懒加载。防止阻塞js执行
14
+        let lazyDoms = document.querySelectorAll(".lazy");
15
+        let Time = null;
16
+        let isMob = this.isMobile;
17
+        lazyDoms.forEach((item) => {
18
+            if (item.nodeName == "PICTURE") {
19
+                item.children[0].setAttribute("srcset", item.children[0].dataset.srcset);
20
+                item.children[1].setAttribute("src", item.children[1].dataset.src);
21
+            }
22
+            if (item.nodeName == "IMG") {
23
+                if (isMob) { item.setAttribute("src", item.dataset.srcm); }
24
+                else {
25
+                    item.setAttribute("src", item.dataset.src);
26
+                }
27
+
28
+            }
29
+            if (item.nodeName == "VIDEO") {
30
+                console.log(item, 'item---2')
31
+                if (isMob) { item.setAttribute("src", item.dataset.srcm); }
32
+                else {
33
+                    item.setAttribute("src", item.dataset.src);
34
+                }
35
+                // item.setAttribute("src", item.dataset.src);
36
+                // item.load();
37
+            }
38
+        });
39
+        //横屏滚动数组值
40
+        this.busGrouds = [];
41
+
42
+        this.headerMenu();
43
+        this.banner();
44
+        this.init();
45
+        this.updateMenu()
46
+    }
47
+    banner() {
48
+        // let isMob=this.isMobile;
49
+        let menuChange = true;
50
+        let menuType = document.querySelector(".headCon");
51
+        menuType.classList.add("menuType");
52
+        let mySwiper = new Swiper('.bannerSwiper', {
53
+            autoplay: false,//可选选项,自动滑动
54
+            // autoplay: {
55
+            //     delay: 1000,//1秒切换一次
56
+            //     disableOnInteraction: false,
57
+            // },
58
+            // autoHeight: true,
59
+            slidesPerView: 6,
60
+            slidesPerGroup: 1,
61
+            spaceBetween: 0,
62
+            allowTouchMove: true,
63
+            allowClickMove: true,
64
+            centeredSlides: true,
65
+            // loop: true,
66
+            effect: "slide",
67
+            speed: 1000,
68
+
69
+            // 如果需要前进后退按钮
70
+            navigation: {
71
+                nextEl: '.btn-nextB',
72
+                prevEl: '.btn-prevB',
73
+            },
74
+            on: {
75
+                slideChange: function (index) {
76
+                },
77
+            },
78
+        });
79
+
80
+        mySwiper.slideTo(2);
81
+        const slides = document.querySelectorAll('.swiper-slide');
82
+        slides.forEach((slide, index) => {
83
+            slide.addEventListener('click', function () {
84
+                mySwiper.slideTo(index); // 切换到对应的幻灯片
85
+            });
86
+        });
87
+
88
+        let isMob = this.isMobile;
89
+
90
+        // 获取滚动条位置并更新显示
91
+        function updateScrollInfo() {
92
+            let scrollY = window.scrollY;
93
+
94
+            if (scrollY > 110) {
95
+                if (menuChange) {
96
+                    menuChange = false;
97
+                    menuType.classList.remove("menuType");
98
+                }
99
+            } else if (scrollY < 110 && menuChange == false) {
100
+                menuChange = true;
101
+                if (mySwiper.activeIndex == 0) {
102
+                    menuType.classList.add("menuType");
103
+                } else {
104
+                    menuType.classList.remove("menuType");
105
+                }
106
+            }
107
+
108
+        }
109
+
110
+
111
+        // 添加滚动事件监听器
112
+        window.addEventListener('scroll', updateScrollInfo);
113
+        // 初始化显示
114
+        updateScrollInfo();
115
+
116
+    }
117
+    //产品轮播
118
+    init() {
119
+        // 获取视频元素
120
+        const video = document.getElementById('myVideo');
121
+
122
+        // 1. 初始化Intersection Observer
123
+        const observer = new IntersectionObserver((entries) => {
124
+            entries.forEach(entry => {
125
+                if (entry.isIntersecting) {
126
+                    playOnceAndPause();
127
+                    observer.unobserve(entry.target); // 仅触发一次
128
+                }
129
+            });
130
+        }, {
131
+            threshold: 0.1 // 元素10%进入视口时触发
132
+        });
133
+
134
+        // 2. 开始观察视频元素
135
+        observer.observe(video);
136
+
137
+        // 3. 播放控制函数
138
+        function playOnceAndPause() {
139
+            // 重置视频到起始位置(防止重复播放残留)
140
+            video.currentTime = 0;
141
+
142
+            // 播放视频
143
+            const playPromise = video.play();
144
+
145
+            // 处理浏览器自动播放策略
146
+            if (playPromise !== undefined) {
147
+                playPromise.catch(error => {
148
+                    // 如果自动播放被阻止,显示播放按钮
149
+                    showPlayButton();
150
+                }).then(() => {
151
+                    // 播放成功后的处理
152
+                    video.addEventListener('ended', handleEnded);
153
+                });
154
+            }
155
+        }
156
+
157
+        // 4. 播放结束处理
158
+        function handleEnded() {
159
+            // 暂停在最后一帧(不同浏览器的兼容写法)
160
+            video.pause();
161
+            video.currentTime = video.duration;
162
+
163
+            // 移除事件监听
164
+            video.removeEventListener('ended', handleEnded);
165
+        }
166
+
167
+        // 可选:添加备用播放按钮(处理自动播放限制)
168
+    }
169
+
170
+    // 获取所有菜单项
171
+    // 函数用于更新菜单状态
172
+    updateMenu() {
173
+        const menuItems = document.querySelectorAll('.menuOne');
174
+        // 获取当前锚点
175
+        const currentHash = window.location.hash;
176
+        // 遍历所有菜单项
177
+        menuItems.forEach(item => {
178
+            // 移除所有菜单项的 menuClicked 类
179
+            item.classList.remove('menuClicked');
180
+            // 如果当前菜单项的 href 与当前锚点匹配,则添加 menuClicked 类
181
+            const link = item.querySelector('a').getAttribute('href');
182
+            // 如果当前菜单项的 href 与当前锚点匹配,则添加 menuClicked 类
183
+            if (link === `./HogoodCoffee.html${currentHash}`) {
184
+                item.classList.add('menuClicked');
185
+            }
186
+        });
187
+        // 监听 hashchange 事件,当锚点变化时更新菜单状态
188
+        window.addEventListener('hashchange', this.updateMenu);
189
+    }
190
+
191
+    headerMenu() {
192
+        let scrollyOld = 0;
193
+        let headerDom = document.querySelector(".headCon");
194
+        let careersType = document.querySelector(".careersType .titleBg");
195
+        let isMobile = this.isMobile;
196
+        function updateScrollChange() {
197
+            try {
198
+                let scrollY = window.scrollY;
199
+                if (scrollyOld < scrollY && !headerDom.classList.contains("hideHeader")) {
200
+                    // 向下滚动
201
+                    headerDom.classList.add("hideHeader");
202
+                    careersType.classList.remove("topType");
203
+                } else if (scrollyOld > scrollY && headerDom.classList.contains("hideHeader")) {
204
+                    // 向上滚动
205
+                    headerDom.classList.remove("hideHeader");
206
+                    if (careersType && !isMobile) {
207
+                        careersType.classList.add("topType");
208
+                    }
209
+                }
210
+                scrollyOld = scrollY; // 更新上一次的滚动位置
211
+            } catch (error) { }
212
+        }
213
+        // 添加滚动事件监听器
214
+        window.addEventListener('scroll', updateScrollChange);
215
+    }
216
+
217
+
218
+}

binární
src/pages/HogoodCoffee/images/aboutbg0.png Zobrazit soubor


binární
src/pages/HogoodCoffee/images/aboutbg0m.png Zobrazit soubor


binární
src/pages/HogoodCoffee/images/newsz.png Zobrazit soubor


binární
src/pages/HogoodCoffee/images/productz.png Zobrazit soubor


+ 293
- 0
src/pages/HogoodCoffee/index.html Zobrazit soubor

@@ -0,0 +1,293 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+
4
+<head>
5
+    <meta charset="utf-8" />
6
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
7
+    <title>首页</title>
8
+    <meta name="description" content="" />
9
+    <meta name="Keywords" content="" />
10
+    <meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" name="viewport" />
11
+    <link href="./static/css/swiper-bundle.min.css" rel="stylesheet" type="text/css" />
12
+    <%= require('../common/tpl/headerLink.tpl') %>
13
+</head>
14
+
15
+<body>
16
+    <div class="headCon hg-header">
17
+        <div class="headerPC">
18
+            <div class="logo"></div>
19
+            <div class="menu">
20
+                <div class="menuOne menuClicked">
21
+                    <a href="./HogoodCoffee.html#m1">Company Profile</a>
22
+                </div>
23
+                <div class="menuOne">
24
+                    <a href="./HogoodCoffee.html#m2">Product Series</a>
25
+                </div>
26
+                <div class="menuOne">
27
+                    <a href="./HogoodCoffee.html#m3">Development History</a>
28
+                </div>
29
+                <div class="menuOne">
30
+                    <a href="./HogoodCoffee.html#m4">Future Plans</a>
31
+                </div>
32
+            </div>
33
+        </div>
34
+    </div>
35
+    <div class="headerMobile hg-headerMb">
36
+        <div class="logo"></div>
37
+        <div class="navFlagBtn">
38
+            <div class="nav_btn_small">
39
+                <div class="lineTop arrowDirBase"></div>
40
+                <div class="lineCenter arrowDirBase" style="display: block;"></div>
41
+                <div class="lineBottom arrowDirBase"></div>
42
+            </div>
43
+        </div>
44
+        <div class="navFlag">
45
+            <div class="navBg"></div>
46
+            <div class="navMenu">
47
+                <div>
48
+                    <div class="title">
49
+                        <a href="./index.html">Company Profile</a></span>
50
+                    </div>
51
+                </div>
52
+                <div>
53
+                    <div class="title">
54
+                        <a href="./product.html">Product Series</a></span>
55
+                    </div>
56
+                </div>
57
+                <div>
58
+                    <div class="title">
59
+                        <a href="./news.html">Development History</a></span>
60
+                    </div>
61
+                </div>
62
+                <div>
63
+                    <div class="title">
64
+                        <a href="./join.html">Future Plans</a></span>
65
+                    </div>
66
+                </div>
67
+            </div>
68
+        </div>
69
+    </div>
70
+    <div class="main">
71
+        <div class="wow fadeInUp content" id="m1">
72
+            <div class="wow fadeInUp title" data-wow-delay="0.2s">Company Profile</div>
73
+            <div class="contents">
74
+                <p class="p1">Dehong Hogood Coffee Co., Ltd. (hereinafter referred to as "the Company") is
75
+                    a national key leading enterprise in agricultural industrialization, with roots tracing back
76
+                    to 1984 and its brand established in 2007. As a full-industry-chain specialist in China's coffee
77
+                    sector, it integrates coffee cultivation, processing, sales, and import/export operations.</p>
78
+                <p class="p1">The Company owns 12,000 hectares of coffee plantations, and its "Hogood" brand,
79
+                    recognized as a "China Well-Known Trademark", is the first and largest domestic coffee brand in
80
+                    China.</p>
81
+                <div class="p2">
82
+                    <div class="cont">
83
+                        <div class="p1">With proprietary technology and production processes for instant coffee
84
+                            powder,</div>
85
+                        <div class="flexBox">
86
+                            <div class="p3">the Company currently has an annual production capacity of</div>
87
+                            <div class="p4">13,000 tons</div>
88
+                        </div>
89
+                        <div class="flexBox">
90
+                            <div class="p3">by 2025 capacity expansion will be completed</div>
91
+                            <div class="p4">10,000 tons</div>
92
+                        </div>
93
+                    </div>
94
+                    <img src="./static/images/hgkf/cont.png" alt="">
95
+                </div>
96
+                <p class="p1">Main products include coffee beans, instant coffee powder, and the Hogood series
97
+                    "3-in-1" coffee. The
98
+                    products have obtained certifications including ISO9001:2008 International Quality Management
99
+                    System,
100
+                    GAP (Good Agricultural Practice), 4C (Common Code for the Coffee Community), UTZ (Certified
101
+                    Sustainable
102
+                    Coffee), HACCP (Hazard Analysis and Critical Control Points), Green Food, and Conversion to
103
+                    Organic.
104
+                    Currently, the products are mainly sold in domestic markets such as Shanghai, Beijing, and
105
+                    Shenzhen,
106
+                    with e-commerce channels covering Tmall、Taobao、JD、Pinduoduo、Alibaba and Douyin online
107
+                    marketplaces.</p>
108
+                <div class="flexBox">
109
+                    <div class="p5">Internationally, the products are exported to more than 20 countries and
110
+                        regions including the UK, USA, Russia, South Korea, Singapore, and Japan.
111
+                    </div>
112
+                    <div style="padding-right: 40px;">
113
+                        <div class="p4">>20</div>
114
+                        <div class="p6">countries and regions</div>
115
+                    </div>
116
+                </div>
117
+            </div>
118
+        </div>
119
+
120
+        <div class="wow fadeInUp atlas" id="m2">
121
+            <div class="wow fadeInUp title">Product Series</div>
122
+            <div class="atlasCon">
123
+                <div class="tit"><span>Business clients</span></div>
124
+                <div class="imgCon">
125
+                    <div class="imgLi">
126
+                        <img src="./static/images/hgkf/p1.png" alt="">
127
+                        <span>Roasted coffee beans</span>
128
+                    </div>
129
+                    <div class="imgLi">
130
+                        <img src="./static/images/hgkf/p2.png" alt="">
131
+                        <span>Roasted coffee beans</span>
132
+                    </div>
133
+                </div>
134
+            </div>
135
+            <div class="atlasCon">
136
+                <div class="tit"><span>Mass consumers</span></div>
137
+                <div class="imgCon">
138
+                    <div class="imgLi">
139
+                        <img src="./static/images/hgkf/p3.png" alt="">
140
+                        <span>Roasted coffee beans</span>
141
+                    </div>
142
+                    <div class="imgLi">
143
+                        <img src="./static/images/hgkf/p4.png" alt="">
144
+                        <span>3-in-1 coffee</span>
145
+                    </div>
146
+                    <div class="imgLi">
147
+                        <img src="./static/images/hgkf/p5.png" alt="">
148
+                        <span>Spray-dried coffee</span>
149
+                    </div>
150
+                    <div class="imgLi">
151
+                        <img src="./static/images/hgkf/p6.png" alt="">
152
+                        <span>Freeze-dried coffee</span>
153
+                    </div>
154
+                </div>
155
+            </div>
156
+        </div>
157
+        <div class="wow domInUp banner" id="m3">
158
+            <div class="gradientBg"></div>
159
+            <div class="wow fadeInUp title">Product Series</div>
160
+
161
+            <div class="swiper bannerSwiper">
162
+                <div class="swiper-wrapper">
163
+                    <div class="swiper-slide">
164
+                        <div class="slideCon">
165
+                            <div class="swiper-title">1984
166
+                                <div class="pop">
167
+                                    Started the coffee journey with <span>0.4</span> ha of coffee land</div>
168
+                            </div>
169
+                            <div class="line"></div>
170
+                        </div>
171
+                    </div>
172
+                    <div class="swiper-slide">
173
+                        <div class="slideCon">
174
+                            <div class="swiper-title">1995<div class="pop">Planting area reached <span>133.33</span>
175
+                                    ha</div>
176
+                            </div>
177
+                            <div class="line"></div>
178
+                        </div>
179
+                    </div>
180
+                    <div class="swiper-slide">
181
+                        <div class="slideCon">
182
+                            <div class="swiper-title">1997<div class="pop">Planting area reached <span>466.67</span>
183
+                                    ha</div>
184
+                            </div>
185
+                            <div class="line"></div>
186
+                        </div>
187
+                    </div>
188
+                    <div class="swiper-slide">
189
+                        <div class="slideCon">
190
+                            <div class="swiper-title">2002<div class="pop">Awarded as a "Key Leading Enterprise in
191
+                                    Agricultural Industrialization Countries"</div>
192
+                            </div>
193
+                            <div class="line"></div>
194
+                        </div>
195
+                    </div>
196
+                    <div class="swiper-slide">
197
+                        <div class="slideCon">
198
+                            <div class="swiper-title">2007<div class="pop">Dehong Hogood Coffee Co., Ltd. was
199
+                                    established, and the planting area reached over <span>13,333.33</span> ha</div>
200
+                            </div>
201
+                            <div class="line"></div>
202
+                        </div>
203
+                    </div>
204
+                    <div class="swiper-slide">
205
+                        <div class="slideCon">
206
+                            <div class="swiper-title">2008<div class="pop">The first instant coffee production line
207
+                                    was completed, with an annual output of <span>3,000</span> tons</div>
208
+                            </div>
209
+                            <div class="line"></div>
210
+                        </div>
211
+                    </div>
212
+                    <div class="swiper-slide">
213
+                        <div class="slideCon">
214
+                            <div class="swiper-title">2011<div class="pop">The second instant coffee production line
215
+                                    was completed, with an annual output of <span>10,000</span> tons</div>
216
+                            </div>
217
+                            <div class="line"></div>
218
+                        </div>
219
+                    </div>
220
+                    <div class="swiper-slide">
221
+                        <div class="slideCon">
222
+                            <div class="swiper-title swiper-title2">2012<div class="pop">The Hogood brand was
223
+                                    awarded as Well-known Trademark in China and the company started e-commerce
224
+                                    business in the same year</div>
225
+                            </div>
226
+                            <div class="line"></div>
227
+                        </div>
228
+                    </div>
229
+                    <div class="swiper-slide">
230
+                        <div class="slideCon">
231
+                            <div class="swiper-title swiper-title2">2013<div class="pop">Jointly established the
232
+                                    China Coffee Engineering Research Center with the Chinese Academy of Sciences
233
+                                    and the municipal government</div>
234
+                            </div>
235
+                            <div class="line"></div>
236
+                        </div>
237
+                    </div>
238
+                    <div class="swiper-slide">
239
+                        <div class="slideCon">
240
+                            <div class="swiper-title">2016<div class="pop">Hosted the first Asian Coffee Conference
241
+                                    and the 26th World Coffee Science Conference</div>
242
+                            </div>
243
+                            <div class="line"></div>
244
+                        </div>
245
+                    </div>
246
+                    <div class="swiper-slide">
247
+                        <div class="slideCon">
248
+                            <div class="swiper-title">2018<div class="pop">Recognized as a national enterprise
249
+                                    technology center by the National Development and Reform Commission</div>
250
+                            </div>
251
+                            <div class="line"></div>
252
+                        </div>
253
+                    </div>
254
+                    <div class="swiper-slide">
255
+                        <div class="slideCon">
256
+                            <div class="swiper-title swiper-title2">2020<div class="pop">Ranked among the Top 100
257
+                                    Agricultural Product Processing Enterprises in China and the Top 100 in the
258
+                                    Chinese Food and Beverage Industry</div>
259
+                            </div>
260
+                            <div class="line"></div>
261
+                        </div>
262
+                    </div>
263
+                    <div class="swiper-slide swiper-slide2">
264
+                        <div class="slideCon">
265
+                            <div class="swiper-title">2024<div class="pop">Acquired by Zhongze Group</div>
266
+                            </div>
267
+                        </div>
268
+                    </div>
269
+                </div>
270
+                <!-- <div class="swiper-pagination swiper-paginationB"></div> -->
271
+            </div>
272
+            <div class="btn-prev btn-prevB"><span class="icon iconfont icon-left"></span></div>
273
+            <div class="btn-next btn-nextB"><span class="icon iconfont icon-right"></span></div>
274
+            <div class="bannerFooter">Click on the year with the mouse to expand more content</div>
275
+        </div>
276
+
277
+
278
+        <div class="wow fadeInUp chart" id="m4">
279
+            <div class="wow fadeInUp title">Future Plans</div>
280
+            <div class="tbGif">
281
+                <video class="lazy" id="myVideo" data-src="./static/images/hgkf/tb.mp4"
282
+                    data-srcM="./static/images/hgkf/tb.mp4" muted playsinline>
283
+                    <source src="" type="video/mp4">
284
+                    您的浏览器不支持视频标签。
285
+
286
+                </video>
287
+            </div>
288
+        </div>
289
+
290
+    </div>
291
+</body>
292
+
293
+</html>

+ 15
- 0
src/pages/HogoodCoffee/index.js Zobrazit soubor

@@ -0,0 +1,15 @@
1
+import "./../common/css/common.less";
2
+import "./index.less";
3
+import vhCheck from "vh-check"; //移动端浏览器100vh高度不一致
4
+import App from './App.js';
5
+
6
+// swiper的css目前环境解析不出来,放static下,不走webpack 
7
+//import 'swiper/swiper-bundle.css';
8
+
9
+vhCheck();
10
+//禁止浏览器刷新后回到上一个页面滚动位置
11
+if ('scrollRestoration' in history) {
12
+    history.scrollRestoration = 'manual';
13
+}
14
+
15
+new App();

+ 626
- 0
src/pages/HogoodCoffee/index.less Zobrazit soubor

@@ -0,0 +1,626 @@
1
+//pc端样式
2
+.hg-header {
3
+
4
+    width: 100%;
5
+    position: fixed;
6
+    z-index: 9;
7
+    transition: all 0.3s ease-in-out;
8
+    background-color: #fff;
9
+    .headerPC {
10
+        height: 120px;
11
+        box-shadow: 0px 1px 1px 0px #00000040;
12
+        padding: 0 114px;
13
+    }
14
+
15
+    .logo {
16
+        width: 339px;
17
+        height: 106px;
18
+        background: url("../common/images/hgkf.png") no-repeat center;
19
+        background-size: 339px 106px;
20
+    }
21
+
22
+    .menu {
23
+        height: 100%;
24
+        display: flex;
25
+        align-items: center;
26
+
27
+        &>div {
28
+            display: inline-block;
29
+            padding: 0 30px;
30
+            position: relative;
31
+            height: 70px;
32
+            cursor: pointer;
33
+
34
+            &>a {
35
+                line-height: 70px;
36
+                z-index: 11;
37
+                transition: all .3s ease;
38
+                font-size: 26px;
39
+            }
40
+
41
+            &:hover {
42
+                &>a {
43
+                    color: #4D048C;
44
+                }
45
+            }
46
+        }
47
+
48
+        .menuClicked {
49
+            &::before {
50
+                display: none;
51
+            }
52
+
53
+            &>a {
54
+                color: #4D048C;
55
+                font-weight: bold;
56
+            }
57
+        }
58
+    }
59
+}
60
+
61
+.hg-headerMb {
62
+    .logo {
63
+        display: none;
64
+    }
65
+}
66
+
67
+.main {
68
+    width: 100%;
69
+    max-width: 1920px;
70
+    margin: 0 auto;
71
+
72
+    .content {
73
+        .title {
74
+            font-size: 70px;
75
+            color: #000000;
76
+            text-align: center;
77
+            font-family: 'CrimsonTextBold';
78
+            padding: 210px 0 50px 0;
79
+        }
80
+        .contents{
81
+            width: 1300px;
82
+            margin: 0 auto;
83
+            line-height: 1.5;
84
+            font-size: 26px;
85
+            color: #000;
86
+            .flexBox{
87
+                display: flex;
88
+                align-items: center;
89
+                justify-content: space-between;
90
+                margin-bottom: 50px;
91
+            }
92
+            .p1{
93
+                margin-bottom: 50px;
94
+                line-height: 50px;
95
+            }
96
+            .p2{
97
+                display: flex;
98
+                align-items: center;
99
+                justify-content: space-between;
100
+                margin-bottom: 65px;
101
+                .cont{
102
+                    flex: 1;
103
+                    margin-right: 44px;
104
+                }
105
+                img{
106
+                    width: 568px;
107
+                    height: 386px;
108
+                }
109
+            }
110
+            .p3{
111
+                width: 380px;
112
+            }
113
+            .p4{
114
+                font-size: 51px;
115
+                font-weight: bold;
116
+                text-align: center;
117
+                font-family: DIN, DIN;
118
+            }
119
+            .p5{
120
+                width: 898px;
121
+            }
122
+
123
+            .p6{
124
+                font-size: 26px;
125
+                font-weight: 700;
126
+            }
127
+        }
128
+    }
129
+
130
+    .atlas {
131
+        .title {
132
+            font-size: 70px;
133
+            color: #000000;
134
+            text-align: center;
135
+            font-family: 'CrimsonTextBold';
136
+            padding: 90px 0 50px 0;
137
+        }
138
+
139
+        .atlasCon {
140
+            width: 1300px;
141
+            margin: 0 auto 85px;
142
+
143
+            .tit {
144
+                width: 100%;
145
+                font-size: 30px;
146
+                text-align: center;
147
+                margin-bottom: 35px;
148
+
149
+                span {
150
+                    position: relative;
151
+
152
+                    &::after {
153
+                        content: '';
154
+                        position: absolute;
155
+                        width: 10px;
156
+                        height: 10px;
157
+                        border-radius: 50px;
158
+                        background-color: #4D048C;
159
+                        left: -15px;
160
+                        top: 50%;
161
+                        margin-top: -5px;
162
+                    }
163
+                }
164
+            }
165
+
166
+            .imgCon {
167
+                width: 100%;
168
+                display: flex;
169
+                flex-wrap: wrap;
170
+                justify-content: space-between;
171
+
172
+                .imgLi {
173
+                    width: 640px;
174
+                    height: 450px;
175
+                    position: relative;
176
+                    margin-bottom: 20px;
177
+
178
+                    img {
179
+                        width: 100%;
180
+                        height: 100%;
181
+                        object-fit: cover;
182
+                    }
183
+
184
+                    span {
185
+                        font-size: 20px;
186
+                        width: 100%;
187
+                        text-align: center;
188
+                        position: absolute;
189
+                        bottom: 15px;
190
+                        left: 0;
191
+                        -webkit-user-select: none;
192
+                        -moz-user-select: none;
193
+                        -ms-user-select: none;
194
+                        user-select: none;
195
+                    }
196
+                }
197
+            }
198
+        }
199
+    }
200
+
201
+    .chart {
202
+        width: 100%;
203
+        height: 1000px;
204
+        max-width: 1920px;
205
+        background: url("../common/images/tbBj.png") no-repeat center;
206
+        background-size: 1920px 838px;
207
+        background-position: 0 0;
208
+
209
+        .title {
210
+            font-size: 70px;
211
+            color: #000000;
212
+            text-align: center;
213
+            font-family: 'CrimsonTextBold';
214
+            padding: 150px 0 0 0;
215
+        }
216
+
217
+        .tbGif {
218
+            width: 1600px;
219
+            height: 660px;
220
+            margin: 0 auto;
221
+            -webkit-user-select: none;
222
+            -moz-user-select: none;
223
+            -ms-user-select: none;
224
+            user-select: none;
225
+
226
+            video {
227
+                width: 100%;
228
+                height: 100%;
229
+
230
+            }
231
+        }
232
+    }
233
+}
234
+
235
+p{
236
+    margin: 0;
237
+    padding: 0;
238
+}
239
+.banner {
240
+
241
+    width: 100%;
242
+    height: 1079px;
243
+    background: url("../common/images/bannerBj.jpg") no-repeat center;
244
+    background-size: 100% 1079px;
245
+    position: relative;
246
+    .title {
247
+        font-size: 70px;
248
+        color: #000000;
249
+        text-align: center;
250
+        font-family: 'CrimsonTextBold';
251
+        padding: 120px 0 50px 0;
252
+        z-index: 2;
253
+        position: relative;
254
+    }
255
+    .gradientBg{
256
+        width: 100%;
257
+        height: 458px;
258
+        background: linear-gradient( 180deg, #FFFFFF 0%, rgba(255,255,255,0) 100%);
259
+        position: absolute;
260
+        left: 0;
261
+        top: 0;
262
+        z-index: 1;
263
+    }
264
+    .bannerSwiper {
265
+        width: 1100px;
266
+        height: 400px;
267
+        margin: 0 auto;
268
+        position: relative;
269
+        img {
270
+            width: 100%;
271
+            height: 100%;
272
+            object-fit: cover;
273
+        }
274
+
275
+        video {
276
+            width: 100%;
277
+            height: 100%;
278
+            object-fit: cover;
279
+        }
280
+
281
+        .bannerS1 {
282
+            img {
283
+                display: none;
284
+            }
285
+        }
286
+
287
+        .title {
288
+            text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.28);
289
+        }
290
+
291
+       
292
+
293
+        .swiper-button-disabled {
294
+            cursor: no-drop;
295
+            background: transparent;
296
+            color: #ecf6fb;
297
+            opacity: 0.6;
298
+
299
+            &:hover {
300
+                color: #ecf6fb;
301
+                background: transparent;
302
+            }
303
+        }
304
+
305
+    }
306
+    .btn-prev,
307
+    .btn-next {
308
+        position: absolute;
309
+        top: 258px;
310
+        left: 50%;
311
+
312
+        width: 85px;
313
+        height: 85px;
314
+        z-index: 2;
315
+        text-align: center;
316
+        color: #000000;
317
+        background: transparent;
318
+        transition: all .3s ease-in-out;
319
+        cursor: pointer;
320
+        border-radius: 45px;
321
+        line-height: 85px;
322
+        box-sizing: border-box;
323
+        border: 1px solid #000000;
324
+
325
+        span {
326
+            font-size: 32px;
327
+            display: inline-block;
328
+            line-height: 85px;
329
+            // transform: rotate(90deg);
330
+        }
331
+
332
+        &:hover {
333
+            color: #fff;
334
+            background: #4D048C;
335
+        }
336
+    }
337
+
338
+    .btn-prev {
339
+        margin-left: -650px;
340
+    }
341
+
342
+    .btn-next {
343
+        margin-left: 575px;
344
+    }
345
+    .swiper-slide{
346
+        height: 100%;
347
+    }
348
+    .swiper-slide-active{
349
+        .slideCon{
350
+            .swiper-title{
351
+                background-color: #4D048C;
352
+                color: #fff;
353
+                border-radius: 50%;
354
+                position: relative;
355
+                &::after{
356
+                    content: '';
357
+                    position: absolute;
358
+                    left: -6px;
359
+                    top: -6px;
360
+                    width: 90px;
361
+                    height: 90px;
362
+                    border: 1px solid #4D048C;
363
+                    border-radius: 50%;
364
+                }
365
+                &::before{
366
+                    content: '';
367
+                    position: absolute;
368
+                    left: 50%;
369
+                    top: 86px;
370
+                    width: 1px;
371
+                    height: 100px;
372
+                    background-color: #4D048C;
373
+                }
374
+                .pop{
375
+                    // display: block;
376
+                    opacity: 1;
377
+                    visibility: visible; /* 使元素可见 */
378
+                }
379
+             }   
380
+        }
381
+     
382
+    }
383
+
384
+    .slideCon {
385
+        // width: 175px;
386
+        max-width: 1300px;
387
+        height: 100%;
388
+        box-sizing: border-box;
389
+        margin: 0 auto;
390
+        position: absolute;
391
+        top: 0px;
392
+        left: 50%;
393
+        transform: translateX(-50%);
394
+        color: #fff;
395
+        display: flex;
396
+        padding-top: 12px;
397
+        // align-items: center;
398
+        // justify-content: center;
399
+        cursor: pointer;
400
+        .swiper-title {
401
+            width: 80px;
402
+            height: 80px;
403
+            font-size: 26px;
404
+            color: #000;
405
+            margin-right: 15px;
406
+            display: flex;
407
+            align-items: center;
408
+            justify-content: center;
409
+            position: relative;
410
+            .pop{
411
+                // display: none;
412
+                width: 725px;
413
+                height: auto;
414
+                background-color: #4D048C;
415
+                color: #fff;
416
+                line-height: 1.5;
417
+                padding: 20px 10px;
418
+                border-radius: 15px;
419
+                position: absolute;
420
+                left: -328.5px;
421
+                top: 193px;
422
+                box-sizing: border-box;
423
+                font-size: 26px;
424
+                opacity: 0;
425
+                visibility: hidden; /* 使元素不可见 */
426
+                transition: opacity .2s linear, visibility .2s linear; /* 添加过渡效果 */
427
+                &::after{
428
+                    content: '';
429
+                    position: absolute;
430
+                    left: -7px;
431
+                    top: -7px;
432
+                    width: 737px;
433
+                    height: calc(100% + 12px);
434
+                    border: 1px solid #4D048C;
435
+                    border-radius: 22px;
436
+                }
437
+                span{
438
+                    font-weight: 700;
439
+                }
440
+            }
441
+        }
442
+        .swiper-title2{
443
+            .pop{
444
+                width: 725px;
445
+                height: 160px;
446
+                &::after{
447
+                    content: '';
448
+                    position: absolute;
449
+                    left: -7px;
450
+                    top: -7px;
451
+                    width: 737px;
452
+                    height: 172px;
453
+                    border: 1px solid #4D048C;
454
+                    border-radius: 22px;
455
+                }
456
+            }
457
+        }
458
+        
459
+    }
460
+    .line{
461
+        width: 80px;
462
+        height: 1px;
463
+        background-color: #000;
464
+        margin-top: 40.5px;
465
+    }
466
+
467
+    .bannerFooter{
468
+        width: 100%;
469
+        height: 115px;
470
+        background: linear-gradient( 180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
471
+        position: absolute;
472
+        bottom: 0;
473
+        left: 0;
474
+        font-weight: bold;
475
+        font-size: 24px;
476
+        color: #FFFFFF;
477
+        text-align: center;
478
+        line-height: 115px;
479
+    }
480
+}
481
+
482
+
483
+
484
+@media screen and (min-width: 1300px) and (max-width: 1600px) {
485
+    .banner {
486
+        // .slideCon {
487
+        //     padding: 180px 10px 0px;
488
+        //     box-sizing: border-box;
489
+        // }
490
+    }
491
+}
492
+
493
+@media screen and (min-width: 801px) and (max-width: 1300px) {
494
+    .banner {
495
+        // .slideCon {
496
+        //     padding: 120px 10px 0px;
497
+        //     box-sizing: border-box;
498
+        // }
499
+    }
500
+
501
+}
502
+
503
+// @media screen and (min-width:800px) {
504
+
505
+//     .goTop {
506
+//         .goTopBtn {
507
+//             background: #ffffff;
508
+
509
+//             .btnShow {
510
+//                 .btnIcon {
511
+//                     background-color: #0056A7;
512
+//                 }
513
+//             }
514
+
515
+//             &:hover {
516
+//                 background: #ffffff;
517
+
518
+//             }
519
+//         }
520
+//     }
521
+// }
522
+
523
+.mTxt {
524
+    display: none;
525
+}
526
+
527
+//移动端样式
528
+// @media screen and (max-width:800px) {
529
+//     .pcTxt {
530
+//         display: none;
531
+//     }
532
+
533
+//     .mTxt {
534
+//         display: block;
535
+//     }
536
+
537
+//     .banner {
538
+//         width: 100%;
539
+//         height: 100vh;
540
+
541
+//         .swiper {
542
+//             width: 100%;
543
+//             height: 100%;
544
+//         }
545
+
546
+//         .slideCon {
547
+//             padding: 0 15px;
548
+//             padding-top: 130px;
549
+//             height: auto;
550
+
551
+//             .title {
552
+//                 font-size: 30px;
553
+//                 line-height: 48px;
554
+
555
+//                 br {
556
+//                     display: block;
557
+//                 }
558
+//             }
559
+//         }
560
+
561
+//         .btn-prev,
562
+//         .btn-next {
563
+//             display: none;
564
+//         }
565
+
566
+//         .bannerSwiper {
567
+//             .bannerS1 {
568
+//                 img {
569
+//                     display: block;
570
+//                 }
571
+
572
+//                 video {
573
+//                     display: none;
574
+//                 }
575
+//             }
576
+
577
+//             .swiper-pagination {
578
+//                 display: block;
579
+//                 bottom: 60px;
580
+
581
+//                 .swiper-pagination-bullet {
582
+//                     width: 6px;
583
+//                     height: 6px;
584
+//                     margin: 0 6px;
585
+
586
+//                     &::before {
587
+//                         left: -3px;
588
+//                         top: -3px;
589
+//                         width: 10px;
590
+//                         height: 10px;
591
+//                     }
592
+//                 }
593
+//             }
594
+//         }
595
+//     }
596
+
597
+
598
+//     .society {
599
+//         padding-bottom: 110px;
600
+//         display: flex;
601
+//         flex-direction: column-reverse;
602
+
603
+//         .societyCon {
604
+//             position: relative;
605
+//             color: #231F20;
606
+//             padding-top: 0px;
607
+//             padding-left: 15px;
608
+//             padding-right: 15px;
609
+//             box-sizing: border-box;
610
+
611
+//             .text {
612
+//                 margin-top: 40px;
613
+//                 margin-bottom: 30px;
614
+//             }
615
+
616
+//             .btn {
617
+//                 display: none;
618
+//             }
619
+//         }
620
+
621
+//         &>.btn {
622
+//             display: block;
623
+//             margin-top: 80px;
624
+//         }
625
+//     }
626
+// }

binární
src/pages/common/images/bannerBj.jpg Zobrazit soubor


binární
src/pages/common/images/hgkf.png Zobrazit soubor


binární
src/pages/common/images/tbBj.png Zobrazit soubor


+ 7
- 4
src/pages/common/js/Common.js Zobrazit soubor

@@ -237,11 +237,14 @@ export default class Common {
237 237
     let searchClose=document.querySelector(".searchClose");
238 238
     let searchDw=document.querySelector(".searchDw");
239 239
     let newsType=document.querySelector(".searchDw .newsType");
240
-    searchDiv.addEventListener("click",(e)=>{
241
-      // newsType.innerHTML='';
242
-      searchCon.classList.add("searchConShow");
240
+    if(searchDiv){
243 241
 
244
-    });
242
+      searchDiv.addEventListener("click",(e)=>{
243
+        // newsType.innerHTML='';
244
+        searchCon.classList.add("searchConShow");
245
+       
246
+      });
247
+    }
245 248
     searchClose.addEventListener("click",(e)=>{
246 249
       searchCon.classList.remove("searchConShow");
247 250
       newsType.innerHTML='';

+ 93
- 87
src/pages/common/tpl/header.tpl Zobrazit soubor

@@ -1,37 +1,38 @@
1 1
 <header>
2
-    <div class="headCon"><div class="headerPC">
3
-        <div class="logo"></div>
4
-        <div class="menu">
5
-            <div class="menuOne">
6
-                <a href="./index.html">走进中泽</a>
7
-                <div class="menuSon">
8
-                    <div class="menuUp"></div>
9
-                    <a href="./index.html#jtjs"><span>集团介绍</span></a>
10
-                    <a href="./index.html#fzlc"><span>发展历程</span></a>
11
-                    <a href="./index.html#qyxw"><span>企业文化</span></a>
12
-                    <a href="./index.html#xwdt"><span>新闻动态</span></a>
2
+    <div class="headCon">
3
+        <div class="headerPC">
4
+            <div class="logo"></div>
5
+            <div class="menu">
6
+                <div class="menuOne">
7
+                    <a href="./index.html">走进中泽</a>
8
+                    <div class="menuSon">
9
+                        <div class="menuUp"></div>
10
+                        <a href="./index.html#jtjs"><span>集团介绍</span></a>
11
+                        <a href="./index.html#fzlc"><span>发展历程</span></a>
12
+                        <a href="./index.html#qyxw"><span>企业文化</span></a>
13
+                        <a href="./index.html#xwdt"><span>新闻动态</span></a>
14
+                    </div>
13 15
                 </div>
14
-            </div>
15
-            <div class="menuOne">
16
-                <a href="./product.html">产业布局</a>
17
-                <div class="menuSon">
18
-                    <div class="menuUp"></div>
19
-                    <a href="./product.html#hxbk"><span>核心板块</span></a>
20
-                    <a href="./product.html#cyhl"><span>产业互联</span></a>
21
-                    <a href="./product.html#cyml"><span>成员名录</span></a>
16
+                <div class="menuOne">
17
+                    <a href="./product.html">产业布局</a>
18
+                    <div class="menuSon">
19
+                        <div class="menuUp"></div>
20
+                        <a href="./product.html#hxbk"><span>核心板块</span></a>
21
+                        <a href="./product.html#cyhl"><span>产业互联</span></a>
22
+                        <a href="./product.html#cyml"><span>成员名录</span></a>
23
+                    </div>
22 24
                 </div>
23
-            </div>
24
-            <div class="menuOne">
25
-                <a href="./news.html">新闻动态</a>
26
-                <div class="menuSon">
27
-                    <div class="menuUp"></div>
28
-                    <a href="./news.html#point"><span>集团新闻</span></a>
29
-                    <a href="./news.html#point"><span>行业资讯</span></a>
30
-                    <a href="./partyBuilding.html"><span>党建工作</span></a>
31
-                    <a href="./socialResponsibility.html"><span>社会责任</span></a>
25
+                <div class="menuOne">
26
+                    <a href="./news.html">新闻动态</a>
27
+                    <div class="menuSon">
28
+                        <div class="menuUp"></div>
29
+                        <a href="./news.html#point"><span>集团新闻</span></a>
30
+                        <a href="./news.html#point"><span>行业资讯</span></a>
31
+                        <a href="./partyBuilding.html"><span>党建工作</span></a>
32
+                        <a href="./socialResponsibility.html"><span>社会责任</span></a>
33
+                    </div>
32 34
                 </div>
33
-            </div>
34
-            <!--<div class="menuOne">
35
+                <!--<div class="menuOne">
35 36
                 <a href="./partyBuilding.html">党建工作</a>
36 37
                 <div class="menuSon">
37 38
                     <div class="menuUp"></div>
@@ -47,63 +48,68 @@
47 48
                     <a href="./socialResponsibility.html#p2"><span>绿色转型</span></a>
48 49
                 </div>
49 50
             </div>-->
50
-            <div class="menuOne">
51
-                <a href="./join.html">加入中泽</a>
52
-                <div class="menuSon">
53
-                    <div class="menuUp"></div>
54
-                    <a href="./join.html#careersInfo"><span>招聘信息</span></a>
55
-                    <a href="./join.html?type=b#careersInfo"><span>招标信息</span></a>
51
+                <div class="menuOne">
52
+                    <a href="./join.html">加入中泽</a>
53
+                    <div class="menuSon">
54
+                        <div class="menuUp"></div>
55
+                        <a href="./join.html#careersInfo"><span>招聘信息</span></a>
56
+                        <a href="./join.html?type=b#careersInfo"><span>招标信息</span></a>
57
+                    </div>
58
+                </div>
59
+                <div class="menuOne">
60
+                    <a href="./HogoodCoffee.html">后谷咖啡</a>
56 61
                 </div>
57 62
             </div>
58
-        </div>
59
-        <div class="language menuOne">
60
-            <div class="btn2 btnW searchDiv"><span class="iconfont icon-search"></span></div>
61
-            <!--<span class="line" style="display:none"></span>
63
+            <div class="language menuOne">
64
+                <div class="btn2 btnW searchDiv"><span class="iconfont icon-search"></span></div>
65
+                <!--<span class="line" style="display:none"></span>
62 66
             <a href="./join.html#contactUs" class="aborder">联系我们</a>-->
63
-        </div>
64
-    </div>
65
-    <div class="headerMobile">
66
-        <div class="logo"></div>
67
-        <div class="navFlagBtn">
68
-            <div class="nav_btn_small">
69
-                <div class="lineTop arrowDirBase"></div>
70
-                <div class="lineCenter arrowDirBase" style="display: block;"></div>
71
-                <div class="lineBottom arrowDirBase"></div>
72 67
             </div>
73 68
         </div>
74
-        <div class="navFlag">
75
-            <div class="navBg"></div>
76
-            <div class="navMenu">
77
-                <!--<div>
69
+        <div class="headerMobile">
70
+            <div class="logo"></div>
71
+            <div class="navFlagBtn">
72
+                <div class="nav_btn_small">
73
+                    <div class="lineTop arrowDirBase"></div>
74
+                    <div class="lineCenter arrowDirBase" style="display: block;"></div>
75
+                    <div class="lineBottom arrowDirBase"></div>
76
+                </div>
77
+            </div>
78
+            <div class="navFlag">
79
+                <div class="navBg"></div>
80
+                <div class="navMenu">
81
+                    <!--<div>
78 82
                     <a class="title" href="./index.html">首页</a>
79 83
                 </div>-->
80
-                <div>
81
-                    <div class="title"><a href="./index.html">走进中泽</a><span class="iconfont icon-xiala"></span></div>
82
-                    <div class="menuSon">
83
-                        <a href="./index.html#jtjs"><span>集团介绍</span></a>
84
-                        <a href="./index.html#fzlc"><span>发展历程</span></a>
85
-                        <a href="./index.html#qywh"><span>企业文化</span></a>
86
-                        <a href="./index.html#xwdt"><span>新闻动态</span></a>
84
+                    <div>
85
+                        <div class="title"><a href="./index.html">走进中泽</a><span class="iconfont icon-xiala"></span>
86
+                        </div>
87
+                        <div class="menuSon">
88
+                            <a href="./index.html#jtjs"><span>集团介绍</span></a>
89
+                            <a href="./index.html#fzlc"><span>发展历程</span></a>
90
+                            <a href="./index.html#qywh"><span>企业文化</span></a>
91
+                            <a href="./index.html#xwdt"><span>新闻动态</span></a>
92
+                        </div>
87 93
                     </div>
88
-                </div>
89
-                <div>
90
-                    <div class="title"><a href="./product.html">产业布局</a><span class="iconfont icon-xiala"></span></div>
91
-                    <div class="menuSon">
92
-                        <a href="./product.html#hxbk"><span>核心板块</span></a>
93
-                        <a href="./product.html#cyhl"><span>产业互联</span></a>
94
-                        <a href="./product.html#cyml"><span>成员名录</span></a>
94
+                    <div>
95
+                        <div class="title"><a href="./product.html">产业布局</a><span class="iconfont icon-xiala"></span>
96
+                        </div>
97
+                        <div class="menuSon">
98
+                            <a href="./product.html#hxbk"><span>核心板块</span></a>
99
+                            <a href="./product.html#cyhl"><span>产业互联</span></a>
100
+                            <a href="./product.html#cyml"><span>成员名录</span></a>
101
+                        </div>
95 102
                     </div>
96
-                </div>
97
-                <div>
98
-                    <div class="title"><a href="./news.html">新闻动态</a><span class="iconfont icon-xiala"></span></div>
99
-                    <div class="menuSon">
100
-                        <a href="./news.html#point"><span>集团新闻</span></a>
101
-                        <a href="./news.html#point"><span>行业资讯</span></a>
102
-                        <a href="./partyBuilding.html"><span>党建工作</span></a>
103
-                        <a href="./socialResponsibility.html"><span>社会责任</span></a>
103
+                    <div>
104
+                        <div class="title"><a href="./news.html">新闻动态</a><span class="iconfont icon-xiala"></span></div>
105
+                        <div class="menuSon">
106
+                            <a href="./news.html#point"><span>集团新闻</span></a>
107
+                            <a href="./news.html#point"><span>行业资讯</span></a>
108
+                            <a href="./partyBuilding.html"><span>党建工作</span></a>
109
+                            <a href="./socialResponsibility.html"><span>社会责任</span></a>
110
+                        </div>
104 111
                     </div>
105
-                </div>
106
-                <!--<div>
112
+                    <!--<div>
107 113
                     <div class="title"><a href="./partyBuilding.html">党建工作</a><span class="iconfont icon-xiala"></span></div>
108 114
                     <div class="menuSon">
109 115
                         <a href="./partyBuilding.html#p1"><span>企业党建</span></a>
@@ -117,20 +123,20 @@
117 123
                         <a href="./socialResponsibility.html#p2"><span>绿色转型</span></a>
118 124
                     </div>
119 125
                 </div>-->
120
-                <div>
121
-                    <div class="title"><a href="./join.html">加入中泽</a><span class="iconfont icon-xiala"></span></div>
122
-                    <div class="menuSon">
123
-                        <a href="./join.html#careersInfo"><span>招聘信息</span></a>
124
-                        <a href="./join.html?type=b#careersInfo"><span>招标信息</span></a>
126
+                    <div>
127
+                        <div class="title"><a href="./join.html">加入中泽</a><span class="iconfont icon-xiala"></span></div>
128
+                        <div class="menuSon">
129
+                            <a href="./join.html#careersInfo"><span>招聘信息</span></a>
130
+                            <a href="./join.html?type=b#careersInfo"><span>招标信息</span></a>
131
+                        </div>
125 132
                     </div>
126 133
                 </div>
127
-            </div>
128
-            <!--<div class="language">
134
+                <!--<div class="language">
129 135
                 <a href=""><span class="iconfont icon-search"></span></a>
130 136
                 <div></div>
131 137
                 <a href="">联系我们</a>
132 138
             </div>-->
139
+            </div>
133 140
         </div>
134
-    </div></div>
135
-</header>
136
-
141
+    </div>
142
+</header>

+ 8
- 8
src/pages/index/App.js Zobrazit soubor

@@ -253,14 +253,14 @@ export default class App {
253 253
                 on:{
254 254
                     slideChange: function(){
255 255
                         let index0=this.realIndex;
256
-                        scrollLeft(index0)
257
-                        productCks.forEach((item,index)=>{
258
-                            if(index==index0){
259
-                                item.classList.add("productCk");
260
-                            }else{
261
-                                item.classList.remove("productCk");
262
-                            }
263
-                        });
256
+                        // scrollLeft(index0)
257
+                        // productCks.forEach((item,index)=>{
258
+                        //     if(index==index0){
259
+                        //         item.classList.add("productCk");
260
+                        //     }else{
261
+                        //         item.classList.remove("productCk");
262
+                        //     }
263
+                        // });
264 264
                     },
265 265
                 },
266 266
         });

Načítá se…
Zrušit
Uložit