|
|
@ -4,13 +4,7 @@ |
|
|
|
class="relative h-[428px] w-full bg-gradient-to-b from-[#0C0C16] to-[#0C131E] lg:h-[888px]" |
|
|
|
class="relative h-[428px] w-full bg-gradient-to-b from-[#0C0C16] to-[#0C131E] lg:h-[888px]" |
|
|
|
> |
|
|
|
> |
|
|
|
<ClientOnly> |
|
|
|
<ClientOnly> |
|
|
|
<swiper-container |
|
|
|
<swiper-container ref="containerRef" class="size-full mx-auto" loop pagination> |
|
|
|
ref="containerRef" |
|
|
|
|
|
|
|
class="size-full mx-auto" |
|
|
|
|
|
|
|
:autoplay="{ delay: 3000 }" |
|
|
|
|
|
|
|
loop |
|
|
|
|
|
|
|
pagination |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<swiper-slide v-for="(slide, idx) in slides" :key="idx" class="size-full relative"> |
|
|
|
<swiper-slide v-for="(slide, idx) in slides" :key="idx" class="size-full relative"> |
|
|
|
<div class="size-full relative flex overflow-hidden items-center sm:items-start"> |
|
|
|
<div class="size-full relative flex overflow-hidden items-center sm:items-start"> |
|
|
|
<picture class="absolute w-full h-full left-0 top-0 -z-10"> |
|
|
|
<picture class="absolute w-full h-full left-0 top-0 -z-10"> |
|
|
@ -28,16 +22,17 @@ |
|
|
|
> |
|
|
|
> |
|
|
|
{{ slide.subtitle }} |
|
|
|
{{ slide.subtitle }} |
|
|
|
</h2> |
|
|
|
</h2> |
|
|
|
<div |
|
|
|
<div v-if="slide.tags" class="flex text-lg lg:text-base md:text-base sm:text-sm"> |
|
|
|
v-if="slide.tags" |
|
|
|
|
|
|
|
class="flex gap-4 sm:gap-2 text-lg lg:text-base md:text-base sm:text-sm" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<p |
|
|
|
<p |
|
|
|
v-for="(tag, index) in slide.tags" |
|
|
|
v-for="(tag, index) in slide.tags" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
class="rounded-full bg-gradient-to-r from-[#69AA25] to-[#13A892] px-[28px] py-[6px] md:px-[16px] md:py-[4px] sm:px-[12px] sm:py-[4px]" |
|
|
|
:class="tag.clx" |
|
|
|
|
|
|
|
class="bg-cover bg-no-repeat bg-center bg-size-full flex items-center justify-center" |
|
|
|
|
|
|
|
:style="{ |
|
|
|
|
|
|
|
backgroundImage: `url(${tag.bg})`, |
|
|
|
|
|
|
|
}" |
|
|
|
> |
|
|
|
> |
|
|
|
{{ tag }} |
|
|
|
{{ tag.name }} |
|
|
|
</p> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -83,14 +78,46 @@ const slides = [ |
|
|
|
bgSm: '/images/banner/device_sm.png', |
|
|
|
bgSm: '/images/banner/device_sm.png', |
|
|
|
title: '储能工业控制主机 BK-1000', |
|
|
|
title: '储能工业控制主机 BK-1000', |
|
|
|
subtitle: '超高性价比|开发周期缩短50%|电力四级防护', |
|
|
|
subtitle: '超高性价比|开发周期缩短50%|电力四级防护', |
|
|
|
tags: ['低成本', '高可靠性', '全场景适配'], |
|
|
|
tags: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: '低成本', |
|
|
|
|
|
|
|
bg: '/images/banner/tag1.png', |
|
|
|
|
|
|
|
clx: 'w-[126px] h-[38px] md:w-[100px] md:h-[30px] sm:w-[80px] sm:h-[24px]', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: '高可靠性', |
|
|
|
|
|
|
|
bg: '/images/banner/tag2.png', |
|
|
|
|
|
|
|
clx: 'w-[126px] h-[38px] md:w-[100px] md:h-[30px] sm:w-[80px] sm:h-[24px]', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: '全场景适配', |
|
|
|
|
|
|
|
bg: '/images/banner/tag3.png', |
|
|
|
|
|
|
|
clx: 'w-[148px] h-[38px] md:w-[116px] md:h-[30px] sm:w-[94px] sm:h-[24px]', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
bgLg: '/images/banner/bk2000.png', |
|
|
|
bgLg: '/images/banner/bk2000.png', |
|
|
|
bgSm: '/images/banner/device_sm.png', |
|
|
|
bgSm: '/images/banner/device_sm.png', |
|
|
|
title: '储能工业控制主机 BK-2000', |
|
|
|
title: '储能工业控制主机 BK-2000', |
|
|
|
subtitle: '超高性价比|开发周期缩短50%|电力四级防护', |
|
|
|
subtitle: '超高性价比|开发周期缩短50%|电力四级防护', |
|
|
|
tags: ['低成本', '高可靠性', '全场景适配'], |
|
|
|
tags: [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: '低成本', |
|
|
|
|
|
|
|
bg: '/images/banner/tag1.png', |
|
|
|
|
|
|
|
clx: 'w-[126px] h-[38px] md:w-[100px] md:h-[30px] sm:w-[80px] sm:h-[24px]', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: '高可靠性', |
|
|
|
|
|
|
|
bg: '/images/banner/tag2.png', |
|
|
|
|
|
|
|
clx: 'w-[126px] h-[38px] md:w-[100px] md:h-[30px] sm:w-[80px] sm:h-[24px]', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
name: '全场景适配', |
|
|
|
|
|
|
|
bg: '/images/banner/tag3.png', |
|
|
|
|
|
|
|
clx: 'w-[148px] h-[38px] md:w-[116px] md:h-[30px] sm:w-[94px] sm:h-[24px]', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
], |
|
|
|
}, |
|
|
|
}, |
|
|
|
] |
|
|
|
] |
|
|
|
</script> |
|
|
|
</script> |
|
|
|