<template>
  <div>
    <button @click="jump">点击我</button>
    <button style="margin-left: 20px" @click="jumptwo">点击我11</button>
  </div>
</template>

<script>
export default {
  methods: {
    jump() {
      let url =
        "app:中国农业银行_bankabc://%7b%22method%22%3a%22jumpToSharedProduct%22%2c%22param%22%3a%22rR4uOmAzpF49gqwDYQiLpzHEyZ12Eb2zSvUIvqC1Tz4%2fknUug5sQ4eBk%2fcV61d99026ljSbdORzNlVBXexpjmAfX0Wl1lPPFcVOexJLrQZs%3d%22%7d";
      window.location.href = url;
      // window.open(url);
    },
    jumptwo() {
      let url =
        "app:中国农业银行_bank://%7b%22method%22%3a%22jumpToSharedProduct%22%2c%22param%22%3a%22rR4uOmAzpF49gqwDYQiLpzHEyZ12Eb2zSvUIvqC1Tz4%2fknUug5sQ4eBk%2fcV61d99026ljSbdORzNlVBXexpjmAfX0Wl1lPPFcVOexJLrQZs%3d%22%7d";
      window.location.href = url;
      // window.open(url);
    },
  },
};
</script>
