pay.vue 465 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <view class="body">
  3. <recharge :user_info="user_info"> </recharge>
  4. </view>
  5. </template>
  6. <script>
  7. import recharge from '../components/pay/recharge.vue';
  8. import {getUserInfo} from "@/common/apis/my.js";
  9. export default {
  10. components:{
  11. recharge
  12. },
  13. data() {
  14. return {
  15. user_info:{},
  16. }
  17. },async onShow() {
  18. this.user_info = await getUserInfo();
  19. },
  20. methods: {
  21. }
  22. }
  23. </script>
  24. <style>
  25. @import url("style/pay.css");
  26. </style>