auth.vue 464 B

12345678910111213141516171819202122232425262728293031
  1. <template>
  2. <view class="">
  3. <web-view :src="src"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. name: '',
  9. data() {
  10. return {
  11. h5Path:'https://ldt.guosen-fumao.cn/h5/#/pages/auth/auth?src=',
  12. src:""
  13. };
  14. },
  15. onLoad(options) {
  16. if (this.$isEmpty(options.src)) {
  17. this.$dialog.showModalAndBack('二维码获取失败')
  18. return
  19. }
  20. this.src=this.h5Path+ options.src
  21. },
  22. methods:{
  23. }
  24. };
  25. </script>
  26. <style lang="scss" scoped>
  27. </style>