dcc
2024-07-05 495390d82ae94ba1dcbc6684b3430a4870d14bc7
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
<template>
  <div>
    <pc-section class="headerbg" innerclass="flex items-center justify-between">
      <div class="flex items-center">
        <img
          class="mr-4"
          src="@/assets/forexImages/img_v3_02bo_99f7aa4e-d3f0-41be-9e18-66ef77b6f91g.jpg"
          width="72"
          height="72"
          @click="gotoPage('/home')"
        />
        <h2 class="fs-32">{{ $title }}</h2>
      </div>
      <!-- 右边菜单 -->
      <div class="flex">
        <h5 class="mr-8 cursor-pointer" v-for="(_, i) in list5" :key="i">
          {{ _.label }}
        </h5>
      </div>
    </pc-section>
    <div class="flex">
      <img
        :src="getImageUrl(`${prefix}/image1.png`)"
        width="700"
        height="390"
      />
 
      <div class="gray-bg p-12">
        <h1>{{ t("p-s0-t1") }}</h1>
        <h5 class="mt-6">{{ t("p-s0-d1") }}</h5>
      </div>
    </div>
    <pc-section class="section2" innerclass="grid grid-cols-4">
      <div v-for="(item, i) in list4" :key="i">
        <h5 class="text-white mt-6">{{ t(`p-s0-${i + 1}-t1`) }}</h5>
        <h5 class="text-white">{{ t(`p-s0-${i + 1}-d1`) }}</h5>
      </div>
    </pc-section>
    <!-- 我们的合作伙伴计划 -->
    <pc-section innerclass="text-center pt-12">
      <h5 class="fs-32">{{ t("p-s1-t1") }}</h5>
      <h5>{{ t("p-s1-d1") }}</h5>
      <div class="grid grid-cols-3 gap-x-6">
        <div class="mt-8 shadow-wrapper" v-for="(_, i) in list3" :key="i">
          <div class="img-wrapper">
            <img :src="getImageUrl(`${prefix}/image${i + 1}.png`)" />
          </div>
          <div class="p-8">
            <h5 class="text-left font-normal text-xl">
              {{ t(`p-s1-${i + 1}-t1`) }}
            </h5>
            <h5 class="text-left mt-4">{{ t(`p-s1-${i + 1}-d1`) }}</h5>
          </div>
        </div>
      </div>
    </pc-section>
 
    <!-- 伙伴关系利益 -->
    <pc-section class="bd-gray py-12">
      <div class="text-center">{{ t("p-s2-t1") }}</div>
      <h2 class="text-center">{{ t("p-s2-d1") }}</h2>
      <div class="grid grid-cols-3 gap-x-4 mt-12">
        <div class="blue-border my-8" v-for="(_, i) in list7" :key="i">
          <img
            :src="getImageUrl(`${prefix}/icon${i + 1}.png`)"
            width="65"
            height="65"
          />
          <h5>{{ t(`p-s2-${i + 1}`) }}</h5>
        </div>
      </div>
    </pc-section>
  </div>
</template>
 
<script setup>
import { useRoute, useRouter } from "vue-router";
import { useI18n } from "vue-i18n";
import { getImageUrl } from "@/utils/index";
 
const router = useRouter();
const { t } = useI18n();
 
const list7 = Array(7);
const list3 = Array(3);
const list4 = Array(4);
const prefix = "/src/assets/forexImages/header/partners";
const list5 = [
  {
    label: t("m1-1"), //我们是谁
    url: "",
  },
  {
    label: t("m3-1"), //在我们的平台交易
    url: "",
  },
  {
    label: t("footer-s1-4-t1"), //职业生涯
    url: "",
  },
  // {
  //   label: t("m3-1"), //新闻与媒体
  //   url: "",
  // },
  // {
  //   label: t("footer-s1-4-t1"), //联系我们
  //   url: "",
  // },
];
const gotoPage = (path) => {
  router.push(path);
};
</script>
 
<style lang="scss" scoped>
.headerbg {
  padding: 18px 0 16px 0;
}
 
.w-300 {
  width: 500px;
}
.gray-bg {
  background: #e1e1e1;
}
 
.section2 {
  background: #2032dc;
  height: 108px;
}
.shadow-wrapper {
  background: #ffffff;
  box-shadow: 0px 2px 9px 6px rgba(0, 0, 0, 0.04);
}
.img-wrapper {
  width: 100%;
  height: 200px;
  img {
    width: 100%;
    height: 100%;
  }
}
</style>