|
|
|
@ -5,7 +5,8 @@
|
|
|
|
|
<div class="home">
|
|
|
|
|
|
|
|
|
|
<!-- <div class="bg-overlay"></div> -->
|
|
|
|
|
<div class="container" >
|
|
|
|
|
<div>
|
|
|
|
|
<div class="container " >
|
|
|
|
|
<div class="button-group " style="position: absolute;top:630px; z-index: 100;">
|
|
|
|
|
<!-- <div style="position: absolute;left:0" >
|
|
|
|
|
<div id="buttonddd" >
|
|
|
|
@ -13,7 +14,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
<div class="flx-center" id="follower-button">
|
|
|
|
|
<div class="flx-center " id="follower-button" >
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
v-for="(item, index) in buttons"
|
|
|
|
@ -40,7 +41,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="container" style="margin-top: 100px;margin-bottom: 40px;">
|
|
|
|
|
<div class="container" style="margin-top: 100px;margin-bottom: 40px;" >
|
|
|
|
|
<div class="flx-justify-around" style="width: 100%;">
|
|
|
|
|
|
|
|
|
|
<img src="@/assets/images/home/internetImages/title1.png" alt="">
|
|
|
|
@ -51,7 +52,9 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="service-text-bg" style="">
|
|
|
|
|
<div ref="section1">
|
|
|
|
|
<div class="service-text" style="padding-top: 70px;margin-bottom: 70px;">
|
|
|
|
|
What <div class="service">service</div> do I provide<i></i>
|
|
|
|
|
</div>
|
|
|
|
@ -74,7 +77,8 @@
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="container " style="margin-top: 87px;display: flex;position: relative;">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="container " ref="section2" style="margin-top: 60px;display: flex;position: relative;">
|
|
|
|
|
<div class="hotLinePadding" >
|
|
|
|
|
<div class="hotLine">Hot Line</div>
|
|
|
|
|
<div class="toggle-buttons">
|
|
|
|
@ -101,13 +105,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 地球 -->
|
|
|
|
|
|
|
|
|
|
<div style="position: absolute;right: 0;top: 0;z-index:1;">
|
|
|
|
|
<div style="position: absolute;right: 0;top: -100px;z-index:1;">
|
|
|
|
|
<Earth />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="container card card-padding">
|
|
|
|
|
<div class="container card card-padding" ref="section3" style="box-shadow: 0px 4px 47.3px 0px #F6F6F6;z-index:2;">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<div class="statistic-item statistic-item-padding">
|
|
|
|
@ -162,6 +164,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="container card " >
|
|
|
|
|
<div ref="section4">
|
|
|
|
|
<div class="service-text" style="padding-top: 50px;margin-bottom: 70px;">
|
|
|
|
|
<div >News</div><i class="serviceNews"></i>
|
|
|
|
|
</div>
|
|
|
|
@ -187,38 +190,42 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div style="position: relative;">
|
|
|
|
|
<div style="position: relative;" ref="section5">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class=" flx-center" style="margin-top: 69px;">
|
|
|
|
|
<div class="viewBox" @click="$router.push({name:'news'})">View More</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="NewsTrends flx-only-justify-between " style="margin-top: 80px;padding: 45px 165px 65px 107px;">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="container flx-align ">
|
|
|
|
|
<div class="NewsTrends flx-only-justify-between " style="margin-top: 69px;padding: 45px 30px 58px 35px;">
|
|
|
|
|
<div class="flx-column-justify-around ">
|
|
|
|
|
<div class="NewsTrendsTitle">新闻动态</div>
|
|
|
|
|
<!-- <div class="NewsTrendsTag">Tag</div> -->
|
|
|
|
|
<div class="NewsTrendsDetail">See Detail Project</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<img src="@/assets/images/home/NewsTrends1.png" alt="">
|
|
|
|
|
<img style="width: 269px;" src="@/assets/images/home/NewsTrends1.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="NewsTrends flx-only-justify-between " style="margin-top: 40px;padding: 45px 165px 65px 107px;background-color:#5F9FFE ;">
|
|
|
|
|
<div class="NewsTrends " style="margin-top: 69px;padding: 45px 42px 58px 35px;background-color:#307ef3 ;">
|
|
|
|
|
<div class="NewsTrendsImage">
|
|
|
|
|
<img src="@/assets/images/home/NewsTrends2.png" alt="">
|
|
|
|
|
<img style="width: 289px;" src="@/assets/images/home/NewsTrends2.png" alt="">
|
|
|
|
|
</div>
|
|
|
|
|
<div></div>
|
|
|
|
|
<div class="flx-column-justify-around " style="margin-right: 190px;">
|
|
|
|
|
<div class="flx-column-justify-around " style="margin-right: 190px;height: 200px;">
|
|
|
|
|
<div class="NewsTrendsTitle">干货分享</div>
|
|
|
|
|
<!-- <div class="NewsTrendsTag">Tag</div> -->
|
|
|
|
|
<div class="NewsTrendsDetail">See Detail Project</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class=" service-text-bg " style="margin-top: -70px;">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="service-text" style="padding-top: 140px;margin-bottom: 40px;">
|
|
|
|
|
<div class=" service-text-bg " style="margin-top: 80px;" >
|
|
|
|
|
<div class="container" ref="section6">
|
|
|
|
|
<div class="service-text" style="padding-top: 20px;margin-bottom: 40px;">
|
|
|
|
|
<div >Question</div><i class="serviceNews"></i>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="commonUI">
|
|
|
|
@ -296,9 +303,11 @@ export default {
|
|
|
|
|
// Switcher
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
|
|
window.addEventListener('scroll', this.handleScroll);
|
|
|
|
|
},
|
|
|
|
|
beforeDestroy() {
|
|
|
|
|
window.removeEventListener('scroll', this.handleScroll);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
this.toTotal();
|
|
|
|
@ -356,6 +365,14 @@ export default {
|
|
|
|
|
{ id:'3',title: '重磅!美通正式成为亚马逊TSPN服务商',content:"美通正式上线亚马逊ShipTrack承运商,"},
|
|
|
|
|
{ id:'4',title: '重磅!美通正式成为亚马逊TSPN服务商',content:"美通正式上线亚马逊ShipTrack承运商,"},
|
|
|
|
|
],
|
|
|
|
|
sections: [
|
|
|
|
|
'1',
|
|
|
|
|
'2',
|
|
|
|
|
'3',
|
|
|
|
|
'4',
|
|
|
|
|
'5',
|
|
|
|
|
'6',
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
@ -380,23 +397,26 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
// 更新follower位置
|
|
|
|
|
},
|
|
|
|
|
// hoverActiveHover(){
|
|
|
|
|
// this.hoverActive = !this.hoverActive
|
|
|
|
|
// document.getElementById('buttonddd').addEventListener('mousemove', function(e) {
|
|
|
|
|
// var follower = document.getElementById('follower');
|
|
|
|
|
// // Get the mouse position relative to the container
|
|
|
|
|
// var rect = this.getBoundingClientRect();
|
|
|
|
|
// console.log(rect);
|
|
|
|
|
// var mouseX = e.clientX - rect.left - (follower.offsetWidth / 2); // Center the follower
|
|
|
|
|
// this.translateX_hover =mouseX
|
|
|
|
|
// // Update the position of the follower
|
|
|
|
|
// // follower.style.transform = `translate(${mouseX}px)`;
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
handleScroll() {
|
|
|
|
|
this.sections.forEach(section => {
|
|
|
|
|
const refName = `section${section}`;
|
|
|
|
|
const element = this.$refs[refName];
|
|
|
|
|
element.style.opacity = '0';
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
if (element && this.isElementInViewport(element)) {
|
|
|
|
|
element.classList.add('slide-up-enter-active');
|
|
|
|
|
element.style.opacity = '1';
|
|
|
|
|
|
|
|
|
|
// },
|
|
|
|
|
}
|
|
|
|
|
}, 500);
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
isElementInViewport(el) {
|
|
|
|
|
const rect = el.getBoundingClientRect();
|
|
|
|
|
return (
|
|
|
|
|
rect.top <= (document.documentElement.clientHeight / 2 )
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
setNewsActive(item,index) {
|
|
|
|
|
console.log(item,index);
|
|
|
|
|
// this.newIndex = index;
|
|
|
|
|