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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
| <template>
| <pc-section class="py-8" :class="theme" innerclass="px-0">
| <!-- 菜单 -->
| <div class="flex footer-menu">
| <div class="w-300">
| <img src="@/assets/forexImages/img_v3_02bo_99f7aa4e-d3f0-41be-9e18-66ef77b6f91g.jpg" width="72" height="72" />
| </div>
| <div class="w-1000 grid grid-cols-3 gap-x-4">
| <div v-for="(_, _index) in footerList" :key="_index">
| <div class="menu h-12 font-semibold text-sm" :class="activeLabel === _.lable ? 'active' : ''"
| @click="gotoPage(_.path)">
| {{ t(`footer-s1-${_index + 1}-t1`) }}
| </div>
| <!-- 二级菜单 -->
| <div v-for="(item, i) in _.list" :key="i">
| <div class="h-12 text-sm menu" :class="activeLabel === item.title ? 'active' : ''"
| @click="gotoPage(item.path)">
| {{ t(item.title) }}
| </div>
| </div>
| </div>
| </div>
| </div>
| <!-- 隐私政策 -->
| <div class="footer-privacy pt-8">
| <div class="flex mb-8">
| <p v-for="(_, i) in list5" :key="i" class="text-sm mr-12 menu" @click="gotoPage(_.url)">
| {{ t(`footer-s2-${i + 1}-t1`) }}
| </p>
| </div>
| <div class="text text-sm" v-html="t('privacyText')"></div>
| </div>
| </pc-section>
| </template>
|
| <script setup>
| import { useRoute, useRouter } from "vue-router";
| import { useI18n } from "vue-i18n";
| import { getCurrentInstance } from "vue";
| const activeLabel = ref();
| const { t } = useI18n();
| const router = useRouter();
| const props = defineProps({
| theme: {
| type: String,
| default: "light",
| },
| });
|
| const { proxy } = getCurrentInstance()
| const firstList = [
| {
| title: t("footer-s1-1-d1", { TITLE: proxy.$title }),
| path: "/why-demo/",
| },
| // {
| // title: t("footer-s1-1-d2"),
| // path: "/market-analysis",
| // },
| {
| title: "footer-s1-1-d3",
| path: "/trading/",
| },
| {
| title: "footer-s1-1-d4",
| path: "/trading-platforms/",
| },
| {
| title: "footer-s1-1-d5",
| path: "/trading-platforms/tools",
| },
|
| {
| title: "footer-s1-1-d6",
| path: "/market-analysis/",
| },
| {
| title: "footer-s1-1-d7",
| path: "/support",
| },
| ];
|
| const secondList = [
| {
| title: "footer-s1-2-d1",
| path: "/market-analysis/market-news/",
| },
| // {
| // title: t("市场工具"),
| // path: "/trading-platforms/tools/",
| // },
| {
| title: "footer-s1-2-d2",
| path: "/market-analysis/analysts/",
| },
| ];
| const thirdList = [
| {
| title: "footer-s1-3-d1",
| path: "/education/learn-forex/",
| },
| {
| title: "footer-s1-3-d2",
| path: "/education/learn-trade-cfds/",
| },
| {
| title: "footer-s1-3-d4",
| path: "/education/trading-guides/",
| },
| ];
| const fourthList = [
| {
| title: "support@Coinzne.com",
| path: "mail",
| },
| {
| title: "+1786 628 1209",
| path: "tel",
| },
| ];
| const footerList = [
| {
| list: firstList,
| path: "/home",
| },
| {
| list: secondList,
| path: "/market-analysis",
| },
| {
| list: thirdList,
| path: "/education",
| },
| {
| list: fourthList,
| path: "/contact-us",
| },
| ];
|
| const list5 = [
| {
| url: "/legal-documentation",
| },
| {
| url: "https://files.Coinzne.com/legal/SCB/SCB_Privacy_Policy_ROW.pdf",
| },
| {
| url: "https://files.Coinzne.com/legal/SCB/SCB_Client_TCs_ROW.pdf",
| },
| {
| url: "https://files.Coinzne.com/legal/SCB/SCB_Cookie_Policy_ROW.pdf",
| },
| {
| url: "https://files.Coinzne.com/legal/SCB/SCB_Complaints_Notice_ROW.pdf",
| },
| ];
|
| const gotoPage = (path) => {
| if (path === "mail") {
| window.location.href = "mailto:support@Coinzne.com";
| return;
| }
| if (path === "tel") {
| window.location.href = "tel:+1786 628 1209";
| return;
| }
| if (!path.startsWith("/")) {
| window.open(path);
| return;
| }
| router.push(path);
| };
| </script>
|
| <style lang="scss" scoped>
| .light {
| background: #fff;
| color: #000;
| }
|
| .black {
| background: #000000;
| color: #fff;
| }
|
| .w-300 {
| width: 300px;
| }
|
| .w-1000 {
| width: 1000px;
| }
|
| .footer-menu {
| border-bottom: 1px solid #dbdbdb;
| }
|
| .menu {
| cursor: pointer;
| }
|
| .menu:hover {
| color: #233ad4;
| }
|
| .footer-privacy {
| .text {
| color: #5c5c5c;
| }
| }
| </style>
|
|