dcc
2024-06-13 cfdf967764dc6747a7b414b33fb993aeede1294d
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
<template>
  <div>
    <pc-section class="index-section1 py-12">
      <h1>{{ t("m4-i-s0-t1") }}</h1>
      <h5>{{ t("m4-i-s0-d1") }}</h5>
    </pc-section>
    <!-- 导航 -->
    <pc-section>
      <navigator></navigator>
    </pc-section>
    <pc-section class="mt-28 mb-12">
      <!-- 市场新闻 -->
      <div class="grid grid-cols-4 gap-x-6 gap-y-4">
        <div @click="gotoPage()" class="item1-grid">
          <h2>{{ t(`m4-mn-a1-t`) }}</h2>
          <h5>{{ t(`m4-mn-a1-d`) }}</h5>
        </div>
 
        <div @click="gotoPage()">
          <img
            :src="getImageUrl(`/src/assets/forexImages/menu4/a1.png`)"
            width="295"
            height="180"
          />
        </div>
        <div v-for="(_, i) in list5" :key="i" @click="gotoPage(_.url)">
          <img
            v-if="i !== 4"
            :src="getImageUrl(`/src/assets/forexImages/menu4/a${i + 2}.png`)"
            width="295"
            height="180"
          />
          <h2 class="fs-20">{{ t(`m4-mn-a${i + 2}-t`) }}</h2>
          <h5 class="mt-4">{{ t(`m4-mn-a${i + 2}-ti`) }}</h5>
        </div>
      </div>
    </pc-section>
    <readyWithBg2></readyWithBg2>
    <pc-section class="my-24">
      <h5>{{ t("tip") }}</h5>
    </pc-section>
  </div>
</template>
 
<script setup>
import { useRoute, useRouter } from "vue-router";
import { useI18n } from "vue-i18n";
import { getImageUrl } from "@/utils/index";
import readyWithBg2 from "@comForex/readyWithBg1.vue";
import navigator from "@comForex/navigator.vue";
const router = useRouter();
const { t } = useI18n();
// 除去第一个还有5个
const list5 = [
  {
    url: "/market-analysis/what-will-take-gold",
  },
  {
    url: "/market-analysis/us-aug-cpi-review-risk-sentiment-changed",
  },
  {
    url: "/market-analysis/us-august-cpi-preview",
  },
  {
    url: "/market-analysis/the-week-ahead-us-cpi",
  },
  {
    url: "/market-analysis/ecb-sep-meeting-preview",
  },
];
const gotoPage = (
  path = "/market-analysis/forex-market-unlimited-opportunities"
) => {
  router.push(path);
};
</script>
<style lang="scss" scoped>
.fs-20 {
  font-size: 20px;
}
.item1-grid {
  grid-column: 1 / 3;
}
</style>