当前位置:   article > 正文

uniapp微信小程序跳转外链_uniapp微信小程序打开外部链接

uniapp微信小程序打开外部链接

从loginMobile像上面两个页面跳转

  1. <view class="agree">
  2. 同意
  3. <view class="agree-a" @click="serviceAgreement">《服务协议》</view>
  4. <view class="agree-a" @click="PrivacyPolicy">《隐私政策》</view>
  5. </view>
  1. serviceAgreement() {
  2. console.log('serviceAgreement');
  3. uni.navigateTo({
  4. url: '../index/serviceAgreement/serviceAgreement'
  5. })
  6. },
  7. PrivacyPolicy() {
  8. console.log('PrivacyPolicy');
  9. uni.navigateTo({
  10. url: '../index/PrivacyPolicy/PrivacyPolicy'
  11. })
  12. },

privacyPolicy.vue和serviceAgreement.vue页面

  1. <!-- src里面写你要跳转的外链链接 -->
  2. <web-view src=""></web-view>

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/码创造者/article/detail/938076
推荐阅读
相关标签
  

闽ICP备14008679号