webvazf.vue 446 B

1234567891011121314151617181920212223242526272829
  1. <template>
  2. <view>
  3. <web-view :src="url"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default{
  8. data(){
  9. return {
  10. url:'',
  11. }
  12. },
  13. onLoad(option){
  14. this.url=uni.getStorageSync("userinfo").config.zflj
  15. },
  16. methods:{
  17. // 监听原生标题导航按钮点击事件
  18. onNavigationBarButtonTap(e) {
  19. const index = e.index;
  20. uni.switchTab({
  21. url:"/pages/client/index"
  22. })
  23. }
  24. }
  25. }
  26. </script>