1
jhzh
2024-08-12 f1dc8f5a7f3a661ce19513a9ad47fe18e3e883ff
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
<!-- 加密货币 -->
<template>
  <menu-layout :collapseList="menu2List">
    <template v-slot:content>
      <section class="section1">
        <h2>{{ t("m2-product-6-s1-t1") }}</h2>
        <h5>{{ t("m2-product-6-s1-d1") }}</h5>
      </section>
      <section class="pt-8">
        <h2>{{ t("m2-product-6-s2-t1") }}</h2>
        <card
          v-for="(item, index) in list5"
          :key="index"
          :desc="t(`m2-product-6-s2-d${index + 1}`)"
        ></card>
      </section>
      <section class="pt-8">
        <h2>{{ t("m2-product-6-s3-t1") }}</h2>
        <!-- 表格 -->
        <el-tabs v-model="activeName" class="demo-tabs">
          <el-tab-pane
            :label="_item.label"
            :name="_index"
            v-for="(_item, _index) in tabList"
            :key="_index"
          >
            <el-table :data="tableDataCY[_index]" class="self-table">
              <el-table-column
                v-for="(item, index) in tableListCY[_index]"
                :key="index"
                :prop="item.prop"
                :label="t(item.label)"
              />
            </el-table>
          </el-tab-pane>
        </el-tabs>
      </section>
      <section>
        <!-- 风险 -->
        <h2 class="mt-4">{{ t("m2-product-6-s4-t1") }}</h2>
        <h5 class="my-4" v-for="(item, index) in list4" :key="index">
          {{ t(`m2-product-6-s4-d${index + 1}`) }}
        </h5>
      </section>
      <section class="flex py-8">
        <img
          src="@/assets/forexImages/menu2/image7.png"
          width="413"
          height="258"
        />
        <div class="ml-8">
          <h2 class="mb-4">{{ t("m2-product-6-s5-t1") }}</h2>
          <el-button class="mb-8 gray-middle-btn" @click="gotoPage">{{
            t("find-more")
          }}</el-button>
        </div>
      </section>
      <ready class="py-8"></ready>
    </template>
  </menu-layout>
</template>
 
<script setup>
import { useRoute, useRouter } from "vue-router";
import { useI18n } from "vue-i18n";
import card from "@comForex/menu2/card.vue";
import { menu2List } from "@/utils/path";
import ready from "@comForex/ready.vue";
import { tableDataCY, tableListCY } from "./table-data";
const router = useRouter();
const { t } = useI18n();
const activeName = ref(0);
const list4 = Array(4);
const list5 = Array(5);
const tabList = [
  {
    label: t("点差"),
  },
  {
    label: t("掉期"),
  },
];
 
const gotoPage = () => {
  router.push("/market-analysis");
};
</script>
<style lang="scss" scoped>
.section1 {
  border-bottom: 1px solid #d8dee1;
  padding-bottom: 12px;
}
</style>