|
|
@ -5,7 +5,8 @@
|
|
|
|
<div class="home">
|
|
|
|
<div class="home">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <div class="bg-overlay"></div> -->
|
|
|
|
<!-- <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 class="button-group " style="position: absolute;top:630px; z-index: 100;">
|
|
|
|
<!-- <div style="position: absolute;left:0" >
|
|
|
|
<!-- <div style="position: absolute;left:0" >
|
|
|
|
<div id="buttonddd" >
|
|
|
|
<div id="buttonddd" >
|
|
|
@ -13,7 +14,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="flx-center" id="follower-button">
|
|
|
|
<div class="flx-center " id="follower-button" >
|
|
|
|
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
v-for="(item, index) in buttons"
|
|
|
|
v-for="(item, index) in buttons"
|
|
|
@ -40,7 +41,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</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%;">
|
|
|
|
<div class="flx-justify-around" style="width: 100%;">
|
|
|
|
|
|
|
|
|
|
|
|
<img src="@/assets/images/home/internetImages/title1.png" alt="">
|
|
|
|
<img src="@/assets/images/home/internetImages/title1.png" alt="">
|
|
|
@ -51,31 +52,34 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="service-text-bg" style="">
|
|
|
|
|
|
|
|
<div class="service-text" style="padding-top: 70px;margin-bottom: 70px;">
|
|
|
|
|
|
|
|
What <div class="service">service</div> do I provide<i></i>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container" style="display: -webkit-box;" >
|
|
|
|
<div class="service-text-bg" style="">
|
|
|
|
<div
|
|
|
|
<div ref="section1">
|
|
|
|
v-for="(card, index) in cards"
|
|
|
|
<div class="service-text" style="padding-top: 70px;margin-bottom: 70px;">
|
|
|
|
:key="index"
|
|
|
|
What <div class="service">service</div> do I provide<i></i>
|
|
|
|
:class="['cardBox', { 'card-active': activeCardIndex === index }]"
|
|
|
|
</div>
|
|
|
|
@click="activeCardIndex = index"
|
|
|
|
<div class="container" style="display: -webkit-box;" >
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
<div class="card-icon">
|
|
|
|
v-for="(card, index) in cards"
|
|
|
|
<!-- 这里放置图标,可以使用图片或图标库 -->
|
|
|
|
:key="index"
|
|
|
|
<img :src="card.icon" alt="icon" />
|
|
|
|
:class="['cardBox', { 'card-active': activeCardIndex === index }]"
|
|
|
|
</div>
|
|
|
|
@click="activeCardIndex = index"
|
|
|
|
<div class="card-title">{{ card.title }}</div>
|
|
|
|
>
|
|
|
|
<div class="card-description">
|
|
|
|
<div class="card-icon">
|
|
|
|
<div>{{ card.desc_1 }}</div>
|
|
|
|
<!-- 这里放置图标,可以使用图片或图标库 -->
|
|
|
|
<div>{{ card.desc_2 }}</div>
|
|
|
|
<img :src="card.icon" alt="icon" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-title">{{ card.title }}</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-description">
|
|
|
|
</div>
|
|
|
|
<div>{{ card.desc_1 }}</div>
|
|
|
|
<div class="container " style="margin-top: 87px;display: flex;position: relative;">
|
|
|
|
<div>{{ card.desc_2 }}</div>
|
|
|
|
<div class="hotLinePadding" >
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</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="hotLine">Hot Line</div>
|
|
|
|
<div class="toggle-buttons">
|
|
|
|
<div class="toggle-buttons">
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
@ -99,15 +103,13 @@
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 地球 -->
|
|
|
|
|
|
|
|
<div style="position: absolute;right: 0;top: -100px;z-index:1;">
|
|
|
|
|
|
|
|
<Earth />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 地球 -->
|
|
|
|
<div class="container card card-padding" ref="section3" style="box-shadow: 0px 4px 47.3px 0px #F6F6F6;z-index:2;">
|
|
|
|
|
|
|
|
|
|
|
|
<div style="position: absolute;right: 0;top: 0;z-index:1;">
|
|
|
|
|
|
|
|
<Earth />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container card card-padding">
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="6">
|
|
|
|
<el-col :span="6">
|
|
|
|
<div class="statistic-item statistic-item-padding">
|
|
|
|
<div class="statistic-item statistic-item-padding">
|
|
|
@ -162,15 +164,16 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container card " >
|
|
|
|
<div class="container card " >
|
|
|
|
<div class="service-text" style="padding-top: 50px;margin-bottom: 70px;">
|
|
|
|
<div ref="section4">
|
|
|
|
<div >News</div><i class="serviceNews"></i>
|
|
|
|
<div class="service-text" style="padding-top: 50px;margin-bottom: 70px;">
|
|
|
|
</div>
|
|
|
|
<div >News</div><i class="serviceNews"></i>
|
|
|
|
<div class="flx">
|
|
|
|
|
|
|
|
<div >
|
|
|
|
|
|
|
|
<img class="newsBig" src="@/assets/images/home/news.jpg" alt="">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div class="flx">
|
|
|
|
<div class="newsSmallTag">
|
|
|
|
<div >
|
|
|
|
|
|
|
|
<img class="newsBig" src="@/assets/images/home/news.jpg" alt="">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<div class="newsSmallTag">
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
v-for="(item, index) in news"
|
|
|
|
v-for="(item, index) in news"
|
|
|
|
:key="index"
|
|
|
|
:key="index"
|
|
|
@ -184,43 +187,47 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="position: relative;">
|
|
|
|
<div style="position: relative;" ref="section5">
|
|
|
|
<div class="container">
|
|
|
|
<div class="container">
|
|
|
|
<div class=" flx-center" style="margin-top: 69px;">
|
|
|
|
<div class=" flx-center" style="margin-top: 69px;">
|
|
|
|
<div class="viewBox" @click="$router.push({name:'news'})">View More</div>
|
|
|
|
<div class="viewBox" @click="$router.push({name:'news'})">View More</div>
|
|
|
|
</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="flx-column-justify-around ">
|
|
|
|
<div class="NewsTrendsTitle">新闻动态</div>
|
|
|
|
<div class="NewsTrendsTitle">新闻动态</div>
|
|
|
|
<!-- <div class="NewsTrendsTag">Tag</div> -->
|
|
|
|
<!-- <div class="NewsTrendsTag">Tag</div> -->
|
|
|
|
<div class="NewsTrendsDetail">See Detail Project</div>
|
|
|
|
<div class="NewsTrendsDetail">See Detail Project</div>
|
|
|
|
</div>
|
|
|
|
</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>
|
|
|
|
</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">
|
|
|
|
<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>
|
|
|
|
<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="NewsTrendsTitle">干货分享</div>
|
|
|
|
<!-- <div class="NewsTrendsTag">Tag</div> -->
|
|
|
|
<!-- <div class="NewsTrendsTag">Tag</div> -->
|
|
|
|
<div class="NewsTrendsDetail">See Detail Project</div>
|
|
|
|
<div class="NewsTrendsDetail">See Detail Project</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class=" service-text-bg " style="margin-top: -70px;">
|
|
|
|
<div class=" service-text-bg " style="margin-top: 80px;" >
|
|
|
|
<div class="container">
|
|
|
|
<div class="container" ref="section6">
|
|
|
|
<div class="service-text" style="padding-top: 140px;margin-bottom: 40px;">
|
|
|
|
<div class="service-text" style="padding-top: 20px;margin-bottom: 40px;">
|
|
|
|
<div >Question</div><i class="serviceNews"></i>
|
|
|
|
<div >Question</div><i class="serviceNews"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="commonUI">
|
|
|
|
<div class="commonUI">
|
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
|
<el-tab-pane label="发货前" name="first">
|
|
|
|
<el-tab-pane label="发货前" name="first">
|
|
|
@ -296,9 +303,11 @@ export default {
|
|
|
|
// Switcher
|
|
|
|
// Switcher
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
window.addEventListener('scroll', this.handleScroll);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
beforeDestroy() {
|
|
|
|
|
|
|
|
window.removeEventListener('scroll', this.handleScroll);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
|
|
this.toTotal();
|
|
|
|
this.toTotal();
|
|
|
@ -356,6 +365,14 @@ export default {
|
|
|
|
{ id:'3',title: '重磅!美通正式成为亚马逊TSPN服务商',content:"美通正式上线亚马逊ShipTrack承运商,"},
|
|
|
|
{ id:'3',title: '重磅!美通正式成为亚马逊TSPN服务商',content:"美通正式上线亚马逊ShipTrack承运商,"},
|
|
|
|
{ id:'4',title: '重磅!美通正式成为亚马逊TSPN服务商',content:"美通正式上线亚马逊ShipTrack承运商,"},
|
|
|
|
{ id:'4',title: '重磅!美通正式成为亚马逊TSPN服务商',content:"美通正式上线亚马逊ShipTrack承运商,"},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
sections: [
|
|
|
|
|
|
|
|
'1',
|
|
|
|
|
|
|
|
'2',
|
|
|
|
|
|
|
|
'3',
|
|
|
|
|
|
|
|
'4',
|
|
|
|
|
|
|
|
'5',
|
|
|
|
|
|
|
|
'6',
|
|
|
|
|
|
|
|
],
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
@ -380,23 +397,26 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 更新follower位置
|
|
|
|
// 更新follower位置
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// hoverActiveHover(){
|
|
|
|
handleScroll() {
|
|
|
|
// this.hoverActive = !this.hoverActive
|
|
|
|
this.sections.forEach(section => {
|
|
|
|
// document.getElementById('buttonddd').addEventListener('mousemove', function(e) {
|
|
|
|
const refName = `section${section}`;
|
|
|
|
// var follower = document.getElementById('follower');
|
|
|
|
const element = this.$refs[refName];
|
|
|
|
// // Get the mouse position relative to the container
|
|
|
|
element.style.opacity = '0';
|
|
|
|
// var rect = this.getBoundingClientRect();
|
|
|
|
setTimeout(() => {
|
|
|
|
// console.log(rect);
|
|
|
|
if (element && this.isElementInViewport(element)) {
|
|
|
|
// var mouseX = e.clientX - rect.left - (follower.offsetWidth / 2); // Center the follower
|
|
|
|
element.classList.add('slide-up-enter-active');
|
|
|
|
// this.translateX_hover =mouseX
|
|
|
|
element.style.opacity = '1';
|
|
|
|
// // Update the position of the follower
|
|
|
|
|
|
|
|
// // follower.style.transform = `translate(${mouseX}px)`;
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}, 500);
|
|
|
|
// },
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
isElementInViewport(el) {
|
|
|
|
|
|
|
|
const rect = el.getBoundingClientRect();
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
|
|
|
rect.top <= (document.documentElement.clientHeight / 2 )
|
|
|
|
|
|
|
|
);
|
|
|
|
|
|
|
|
},
|
|
|
|
setNewsActive(item,index) {
|
|
|
|
setNewsActive(item,index) {
|
|
|
|
console.log(item,index);
|
|
|
|
console.log(item,index);
|
|
|
|
// this.newIndex = index;
|
|
|
|
// this.newIndex = index;
|
|
|
|