userrecharge.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <view class="page">
  3. <web-view :src="src"></web-view>
  4. </view>
  5. </template>
  6. <script>
  7. import config from '@/config.js'
  8. export default {
  9. data() {
  10. return {
  11. src: ''
  12. }
  13. },
  14. onLoad(option) {
  15. this.src ='https://wetiandi.com/app/index.php?i=1&j=1&c=auth&a=devpay&do=recharge_pay_provider&id='+option.id+'&sn='+option.sn+'&title='+option.title+'&total='+option.total+'&channel='+option.channel+'&state='+option.sessionid
  16. //let src=option.src
  17. //var session = 'we7sid-' + JSON.stringify(uni.getSystemInfoSync().appId);
  18. //var callback = 'https://wetiandi.com/app/index.php?i=1&j=1&c=auth&a=devpay&do=recharge_pay_provider&id='+id+'&sn='+sn+'&title='+title+'&total='+total+'&channel='+channel
  19. //this.src = 'https://wetiandi.com/app/index.php?i=1&j=1&c=entry&m=wdl_shopping&do=alipayauth&redirect_uri=' + encodeURIComponent(src) +'&state=' + session
  20. // console.log('啊????????????????????????????????')
  21. //测试
  22. //this.src = 'http://192.168.1.131:9090/app/index.php?i=1&j=1&c=entry&m=wdl_shopping&do=recharge&isajax=1&dev_id=' + option.dev_id + '&weid=' + option.weid + '&recharge='+option.recharge+'&award='+option.award
  23. //测试
  24. }
  25. }
  26. </script>
  27. <style>
  28. </style>