h5/apph5/pages/index/index.vue
@@ -2,7 +2,7 @@ <view class="content"> <!-- <view @click="openTuer()">点击跳转大返官</view> --> <a :href="tourl">点击跳转大返官</a> <a ref="ahref" :href="tourl">点击跳转大返官</a> </view> </template> @@ -11,10 +11,17 @@ data() { return { timer:null, tourl: 'dafanguan://{"url":"/pages/rankinglist/common_act?t_url=http://appapitest.ushopvip.com/html/freebuy.html","totype":"0"}' tourl: 'dafanguan://{"url":"/pages/rankinglist/common_act","totype":"0"}' } }, onLoad() { }, mounted() { uni.navigateTo({ url:this.tourl }) }, methods: { openTuer() {