交易所前端蓝色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
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
<!-- etf -->
<template>
  <menu-layout :collapseList="menu2List">
    <template v-slot:content>
      <section class="section1">
        <h2>{{ t("m2-product-4-s1-t1") }}</h2>
        <h5>{{ t("m2-product-4-s1-d1") }}</h5>
      </section>
      <!-- 为什么要与 Pepperstone 交易 ETF 差价合约? -->
      <section class="pt-8">
        <h2>{{ t("m2-product-4-s2-t1") }}</h2>
        <card
          v-for="(item, index) in list3"
          :key="index"
          :desc="t(`m2-product-4-s2-d${index + 1}`)"
        ></card>
      </section>
      <!-- 可交易的ETF -->
      <section class="pt-8">
        <h2>{{ t("m2-product-4-s3-t1") }}</h2>
        <el-tabs
          v-model="activeName"
          class="demo-tabs"
          @tab-click="handleClick"
        >
          <el-tab-pane
            :label="t(`m2-product-4-s3-h${i + 1}`)"
            :name="i"
            v-for="(_, i) in list9"
            :key="i"
          >
            <el-table :data="eTableData[i]" class="self-table">
              <el-table-column
                v-for="(item, index) in tableList"
                :key="index"
                :prop="item.prop"
                :label="t(`m2-product-4-s3-v${index + 1}`)"
              />
            </el-table>
          </el-tab-pane>
        </el-tabs>
      </section>
      <!-- 我们的佣金 -->
      <section class="py-8">
        <h2>{{ t("m2-product-4-s4-t1") }}</h2>
        <h5 class="my-4">
          {{ t("m2-product-4-s4-d1") }}
        </h5>
        <card
          v-for="(item, index) in list3"
          :key="index"
          :desc="t(`m2-product-4-s4-${index + 1}`)"
        ></card>
        <!-- 问题 -->
        <el-collapse v-model="questionActive" class="mt-8 question-collapse">
          <el-collapse-item
            :title="t(`m2-product-4-s4-4-t${i + 1}`)"
            :name="i"
            v-for="(_, i) in list2"
            :key="i"
          >
            <h6 v-html="t(`m2-product-4-s4-4-d${i + 1}`)"></h6>
          </el-collapse-item>
        </el-collapse>
      </section>
      <!-- 为什么交易ETF差价合约? -->
      <section>
        <h2 class="my-4">{{ t("m2-product-4-s5-t1") }}</h2>
        <h5 v-html="t('m2-product-4-s5-d1')"></h5>
        <!-- 优势和风险 -->
        <div class="flex mt-8">
          <div class="flex1 mr-12">
            <p class="text-4xl font-semibold mb-4">
              {{ t("m2-product-4-s5-1-t1") }}
            </p>
            <card
              v-for="(item, index) in list6"
              :lineWidth="'350px'"
              :key="index"
              :desc="t(`m2-product-4-s5-1-d${index + 1}`)"
            ></card>
          </div>
          <div class="flex1">
            <p class="text-4xl font-semibold mb-4">
              {{ t("m2-product-4-s5-2-t1") }}
            </p>
            <card
              v-for="(item, index) in list4"
              :lineWidth="'350px'"
              :key="index"
              :desc="t(`m2-product-4-s5-2-d${index + 1}`)"
            ></card>
          </div>
        </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 { eTableData } from "./table-data";
const route = useRoute();
const { t } = useI18n();
const activeName = ref(0);
const questionActive = ref();
const list2 = Array(2);
const list3 = Array(3);
const list4 = Array(4);
const list6 = Array(6);
const list11 = Array(11); //TODO
const list9 = Array(9);
const tableList = [
  {
    prop: "v1",
  },
  {
    prop: "v2",
  },
];
 
const gotoPage = () => {};
 
const handleClick = () => {};
</script>
<style lang="scss" scoped>
.section1 {
  border-bottom: 1px solid #d8dee1;
  padding-bottom: 12px;
}
.border-wrapper {
  border: 1px solid #d9d9d9;
}
</style>