tanghaolin
2022-09-02 31b4821f310c57267f8d08229d6ad8d059e128ee
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 class="CorpInfo_Box">
    <!-- 头部导航栏 -->
    <van-nav-bar style="background-color: #528abe">
      <template #left>
        <div @click="pageBack" style="display: flex; align-items: center">
          <van-icon name="arrow-left" size="18" />
          <span>{{ $t("selectPage.index.TR") }}</span>
        </div>
      </template>
      <template #title>
        <label style="color: #ffffff">{{
          $t("indexPage.corpIntroduction.TR")
        }}</label>
      </template>
      <template #right>
        <!-- <van-icon name="search" size="18" /> -->
      </template>
    </van-nav-bar>
    <iframe
      :src="m_CorpInfoUrl"
      style="width: 100%; height: calc(100% - 50px)"
    ></iframe>
  </div>
</template>
 
<script>
import languageMixin from "@/mixin/language.js";
 
export default {
      mixins: [languageMixin],
  data() {
    return {
      m_CorpInfoUrl: "",
    };
  },
  mounted() {
   let lang  = this.getCurrentLanguageUrl()
    // console.log(lang,31)
    if (lang == "CN") {
      this.m_CorpInfoUrl = this.$globalConfig.CorpInfo.CorpMobileUrl;
    } else{
      this.m_CorpInfoUrl = this.$globalConfig.CorpInfo.CorpMobileUrl_EN;
      // console.log(this.m_CorpInfoUrl)
    }
  },
  methods: {
    //返回上一页
    pageBack() {
      this.$router.push({
        path: `/${this.getCurrentLanguageUrl()}/Index`,
      });
    },
  },
};
</script>
 
<style lang="scss">
.CorpInfo_Box {
  width: 100%;
  height: 100vh;
}
</style>