|
@@ -10,21 +10,26 @@
|
|
|
<div class="swiper-wrapper">
|
|
|
<div v-for="(item, i) in dataList" :key="i" class="swiper-slide swiper-slide__card">
|
|
|
<div class="swiper-slide__card-head">
|
|
|
- <div class="swiper-slide__card-content">{{ $t(`paragraph["${item.content}"]`) }}</div>
|
|
|
+ <div class="swiper-slide__card-content">{{ $t(`comments["${item.content}"]`) }}</div>
|
|
|
</div>
|
|
|
<div class="swiper-slide__card-body">
|
|
|
<div class="swiper-slide__card-avatar">
|
|
|
- <img src="@/public/images/avatar_1.jpg" alt="" v-if="i == 0" />
|
|
|
- <img src="@/public/images/avatar_3.jpg" alt="" v-if="i == 1" />
|
|
|
- <img src="@/public/images/avatar_4.jpg" alt="" v-if="i == 2" />
|
|
|
+ <img src="@/public/images/avatar/avatar_1.jpg" alt="" v-if="i == 0" />
|
|
|
+ <img src="@/public/images/avatar/avatar_2.jpg" alt="" v-if="i == 1" />
|
|
|
+ <img src="@/public/images/avatar/avatar_3.jpg" alt="" v-if="i == 2" />
|
|
|
+ <img src="@/public/images/avatar/avatar_4.jpg" alt="" v-if="i == 3" />
|
|
|
+ <img src="@/public/images/avatar/avatar_5.jpg" alt="" v-if="i == 4" />
|
|
|
+ <img src="@/public/images/avatar/avatar_6.jpg" alt="" v-if="i == 5" />
|
|
|
+ <img src="@/public/images/avatar/avatar_7.jpg" alt="" v-if="i == 6" />
|
|
|
+ <img src="@/public/images/avatar/avatar_8.jpg" alt="" v-if="i == 7" />
|
|
|
+ <img src="@/public/images/avatar/avatar_9.jpg" alt="" v-if="i == 8" />
|
|
|
+ <img src="@/public/images/avatar/avatar_10.jpg" alt="" v-if="i == 9" />
|
|
|
+ <img src="@/public/images/avatar/avatar_11.jpg" alt="" v-if="i == 10" />
|
|
|
<img src="../../../../public/images/logo_icon.png" />
|
|
|
- <!-- <img src="../../../../public/images/icons/xinxilan_logo_icon.png" v-if="i == 0" />
|
|
|
- <img src="../../../../public/images/icons/aodaliya_logo_icon.png" v-if="i == 1" />
|
|
|
- <img src="../../../../public/images/icons/yidali_logo_icon.png" v-if="i == 2" /> -->
|
|
|
</div>
|
|
|
<div>
|
|
|
- <div class="swiper-slide__card-name">{{ $t(`system["${item.name}"]`) }}</div>
|
|
|
- <div class="swiper-slide__card-desc">{{ $t(`system["${item.address}"]`) }}</div>
|
|
|
+ <div class="swiper-slide__card-name">{{ $t(`comments["${item.name}"]`) }}</div>
|
|
|
+ <div class="swiper-slide__card-desc">{{ $t(`comments["${item.address}"]`) }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -45,9 +50,14 @@ import Swiper from 'swiper'
|
|
|
onMounted(() => {
|
|
|
new Swiper('.mySwiper', {
|
|
|
speed: 600,
|
|
|
- // loop: true,
|
|
|
+ loop: true,
|
|
|
slidesPerView: 'auto',
|
|
|
- // centeredSlides: true,
|
|
|
+ centeredSlides: true,
|
|
|
+ autoplay: {
|
|
|
+ delay: 1500,
|
|
|
+ disableOnInteraction: false,
|
|
|
+ stopOnLastSlide: false,
|
|
|
+ },
|
|
|
navigation: {
|
|
|
nextEl: '.swiper-button-next',
|
|
|
prevEl: '.swiper-button-prev',
|
|
@@ -57,24 +67,72 @@ onMounted(() => {
|
|
|
|
|
|
const dataList = [
|
|
|
{
|
|
|
- name: 'Lawrence',
|
|
|
+ name: '马库斯',
|
|
|
+ address: '奥地利',
|
|
|
+ avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
+ content: '商品易于使用,质量很棒。物流给力,包装精美,客服态度热情!',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '劳伦斯',
|
|
|
address: '新西兰',
|
|
|
avatar: ['../../../../public/images/icons/xinxilan_logo_icon.png'],
|
|
|
content: '如果你想买其他东西,没有比 Vava buy 更好的了',
|
|
|
locale: '',
|
|
|
},
|
|
|
{
|
|
|
- name: 'John',
|
|
|
+ name: '皮埃尔',
|
|
|
+ address: '法国',
|
|
|
+ avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
+ content: '飞快送达,包装妥帖,商品完美。会再来光顾的!',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '约翰',
|
|
|
address: '澳大利亚',
|
|
|
avatar: ['../../../../public/images/icons/aodaliya_logo_icon.png'],
|
|
|
content: '太棒了!一切都很顺利,接收订单并快速发货的速度让人印象深刻',
|
|
|
},
|
|
|
{
|
|
|
- name: 'Anna',
|
|
|
+ name: '安娜',
|
|
|
address: '意大利',
|
|
|
avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
content: '非常易于使用,包装很精美,会收获很多惊喜',
|
|
|
},
|
|
|
+ {
|
|
|
+ name: '杰森',
|
|
|
+ address: '英国',
|
|
|
+ avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
+ content: '国际物流送货上门太赞了!商品没瑕疵,包装抗摔,全程追踪清晰~',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '伊莎贝拉',
|
|
|
+ address: '西班牙',
|
|
|
+ avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
+ content: '这商品太好用了,操作简单。国际物流全程顺畅,包装精美又牢固!',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '杰克',
|
|
|
+ address: '美国',
|
|
|
+ avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
+ content: '到货比想的快,包装抗造,东西超棒。',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '埃里克',
|
|
|
+ address: '瑞典',
|
|
|
+ avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
+ content: '商品易于使用,完全满足需求。物流比预期快,客服响应迅速,体验非常好!',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '亚历山德罗',
|
|
|
+ address: '意大利',
|
|
|
+ avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
+ content: '清关过程很顺利,物流速度很快。包装处理得很棒,连说明书都套了保护袋!',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '卢卡',
|
|
|
+ address: '意大利',
|
|
|
+ avatar: ['../../../../public/images/icons/yidali_logo_icon.png'],
|
|
|
+ content: '物流全程透明,从出库到派送都能看到。包装很结实,拆开后商品崭新如初!',
|
|
|
+ },
|
|
|
]
|
|
|
</script>
|
|
|
|
|
@@ -107,8 +165,8 @@ const dataList = [
|
|
|
.wrap__five-box {
|
|
|
display: inline-block;
|
|
|
width: auto;
|
|
|
- max-width: 1400px;
|
|
|
- max-width: 87.5rem;
|
|
|
+ max-width: 1024px;
|
|
|
+ max-width: 64rem;
|
|
|
}
|
|
|
|
|
|
.mySwiper {
|