Home.vue
3.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<template>
<v-container class="mx-auto content">
<v-carousel cycle height="360" hide-delimiter-background show-arrows="hover" class="tw-mb-16">
<v-carousel-item src="/banner1.png" cover> </v-carousel-item>
<v-carousel-item src="/banner2.jpeg" cover> </v-carousel-item>
<v-carousel-item src="/banner3.jpeg" cover> </v-carousel-item>
</v-carousel>
<!-- 优势 -->
<div class="tw-mb-[64px]">
<HomeProductList
:cardNum="3"
:title="t('优势')"
:list="strengths"
desc="Canrd is aimed to be the world's top one-stop service provider in the field of new energy research Dedicated, professional, and quick response/solution"
/>
</div>
<!-- 能源材料 -->
<div class="tw-mb-[64px]">
<HomeProductList
:cardNum="3"
:title="t('材料试剂')"
:list="materials"
desc="Leading global provider of energy storage research materials and providing other professional/universal experimental materials"
/>
</div>
<!-- 设备 -->
<div class="tw-mb-[64px]">
<HomeProductList
:title="t(store.list[3].categoryDisplayName)"
:list="store.list[3].list"
desc="Leading global provider of energy storage research materials and providing other professional/universal experimental materials
"
/>
</div>
<!-- Customized Battery -->
<div class="tw-mb-[64px]">
<HomeProductList
:title="t('Customized Battery')"
:list="batteries"
desc="200mAh~10Ah, winding/laminating, non liquid filled cell/liquid filled cell/three electrode, etc"
/>
</div>
<!-- Testing -->
<div class="tw-mb-[64px]">
<HomeProductList
:title="t('Testing')"
:list="tests"
desc="Self built testing center and signed strategic cooperation with ATL, Tsinghua and other units"
/>
</div>
<!-- Pack -->
<div class="tw-mb-[64px]">
<HomeProductList
:cardNum="3"
:title="t('Pack')"
:list="packs"
desc="200mAh~10Ah, winding/laminating, non liquid filled cell/liquid filled cell/three electrode, etc"
/>
</div>
</v-container>
</template>
<script setup lang="ts">
import HomeProductList from '@/components/HomeCategoryList.vue'
import { useCategoryStore } from '@/stores/category'
import { useI18n } from 'vue-i18n'
import { computed } from 'vue'
const { t } = useI18n()
const store = useCategoryStore()
const strengths = [{ name: t('优势1') }, { name: t('优势2') }, { name: t('优势3') }]
const materials = [{ name: '能源材料' }, { name: '实验耗材' }, { name: '低维材料' }]
const tests = [
{ name: 'Electrochemical performance' },
{ name: 'Reliability testing' },
{ name: 'Material testing' },
{ name: 'Calibration' }
]
const batteries = [
{ name: 'Material evaluation' },
{ name: 'R&D foundry' },
{ name: 'Chemical system' },
{ name: 'Semi product customization' }
]
const packs = [
{ name: 'Power bank' },
{ name: 'Energy storage' },
{ name: 'low-dimensional materials' }
]
</script>
<style lang="scss" scoped>
.content {
max-width: 1200px;
}
</style>