交易所前端蓝色ui 4.5 jiem
dcc
2024-06-13 fad052d0879be9d0bf85794ad686d4badaedd864
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
<!-- 交易产品 -->
<template>
  <div>
    <pc-section class="index-section1 py-12">
      <h2 class="mb-4">{{ t("m2-product-s1-t1") }}</h2>
      <h5>{{ t("m2-product-s1-d1") }}</h5>
    </pc-section>
    <!-- menu-layout -->
    <menu-layout :collapseList="menu2List">
      <template v-slot:content>
        <div v-for="(item, index) in list5" :key="index">
          <h2 class="mb-4">
            {{ t(`m2-product-s${index + 2}-t1`) }}
          </h2>
          <h5 class="mb-4">
            {{ t(`m2-product-s${index + 2}-d1`) }}
          </h5>
          <el-button class="gray-large-btn mb-8" @click="gotoPage(index)">{{
            t("learn-more-info")
          }}</el-button>
        </div>
        <ready></ready>
      </template>
    </menu-layout>
  </div>
</template>
 
<script setup>
import { useRoute, useRouter } from "vue-router";
import { useI18n } from "vue-i18n";
import { menu2List } from "@/utils/path";
import ready from "@comForex/ready.vue";
const list5 = Array(5);
const router = useRouter();
const { t } = useI18n();
 
const gotoPage = (index) => {
  switch (index) {
    case 0:
      router.push("/trading/instruments/trade-forex");
      break;
    case 1:
      router.push("/trading/instruments/index-cfds");
      break;
    case 2:
      router.push("/trading/instruments/share-cfds");
      break;
    case 3:
      router.push("/trading/instruments/commodities");
      break;
    case 4:
      router.push("/trading/instruments/currency-index-cfds");
      break;
    default:
      break;
  }
};
</script>
<style lang="scss" scoped>
.test {
  font-size: 12px;
}
</style>