tzPay.vue 499 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. content:"",
  12. }
  13. },
  14. onLoad(options) {
  15. var that=this
  16. var url=uni.getStorageSync("ztPayUrl");
  17. that.url=url
  18. const obj = this.$urlToObj(url)
  19. console.log(obj.extraData)
  20. uni.setStorageSync("payExtraData",obj.extraData);
  21. },
  22. methods:{
  23. }
  24. }
  25. </script>
  26. <style scoped lang="scss">
  27. page{
  28. height: 100%;
  29. }
  30. .content{
  31. height: 100%;
  32. }
  33. </style>