111
zzzz
2024-04-14 81702d10402435e7a7143f19a73ec925420ab1ef
1
{"ast":null,"code":"import \"core-js/modules/es.array.push.js\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport { mapGetters } from \"vuex\";\nexport default {\n  props: {},\n  computed: {\n    ...mapGetters({\n      theme: \"home/theme\"\n    })\n  },\n  data() {\n    return {\n      navList: [],\n      navList1: []\n    };\n  },\n  methods: {\n    goPath(path, name) {\n      if (path == \"/more\") {\n        this.$toast(this.$t(\"敬请期待\"));\n      } else {\n        this.$router.push(path);\n      }\n    }\n  },\n  mounted() {\n    this.navList = [{\n      name: this.$t(\"闪兑\"),\n      icon: require(`@/assets/3x/资源 1@3x.png`),\n      path: \"/exchange/exchangePage\"\n    }, {\n      name: this.$t(\"理财\"),\n      icon: require(`@/assets/3x/资源 3@3x.png`),\n      path: \"/fm-home\"\n    }, {\n      name: this.$t(\"合约交易\"),\n      icon: require(`@/assets/3x/资源 5@3x.png`),\n      path: \"/trendDetails/btc\"\n    }, {\n      name: this.$t(\"分享\"),\n      icon: require(`@/assets/3x/资源 2@3x.png`),\n      path: \"/promote\"\n    }];\n    this.navList1 = [{\n      name: this.$t(\"在线客服\"),\n      icon: require(`@/assets/3x/资源 8@3x.png`),\n      path: \"/customerService\"\n    }, {\n      name: this.$t(\"质押借币\"),\n      icon: require(`@/assets/3x/资源 6@3x.png`),\n      path: \"/pledgeLoan\"\n    }, {\n      name: this.$t(\"账变记录\"),\n      icon: require(`@/assets/3x/资源 9@3x.png`),\n      path: \"/accountChange\"\n    }, {\n      name: this.$t(\"ICO\"),\n      icon: require(`@/assets/3x/资源 7@3x.png`),\n      path: \"/new-urrency\"\n    }];\n  },\n  activated() {\n    this.navList = [{\n      name: this.$t(\"闪兑\"),\n      icon: require(`@/assets/3x/资源 1@3x.png`),\n      path: \"/exchange/exchangePage\"\n    }, {\n      name: this.$t(\"理财\"),\n      icon: require(`@/assets/3x/资源 3@3x.png`),\n      path: \"/fm-home\"\n    }, {\n      name: this.$t(\"合约交易\"),\n      icon: require(`@/assets/3x/资源 5@3x.png`),\n      path: \"/trendDetails/btc\"\n    }, {\n      name: this.$t(\"分享\"),\n      icon: require(`@/assets/3x/资源 2@3x.png`),\n      path: \"/promote\"\n    }];\n    this.navList1 = [{\n      name: this.$t(\"在线客服\"),\n      icon: require(`@/assets/3x/资源 8@3x.png`),\n      path: \"/customerService\"\n    }, {\n      name: this.$t(\"质押借币\"),\n      icon: require(`@/assets/3x/资源 6@3x.png`),\n      path: \"/pledgeLoan\"\n    }, {\n      name: this.$t(\"账变记录\"),\n      icon: require(`@/assets/3x/资源 9@3x.png`),\n      path: \"/accountChange\"\n    }, {\n      name: this.$t(\"ICO\"),\n      icon: require(`@/assets/3x/资源 7@3x.png`),\n      path: \"/new-urrency\"\n    }];\n  }\n};","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}