cart.vue 471 B

123456789101112131415161718192021
  1. <!-- 空白支付页面 -->
  2. <template>
  3. <web-view :src="url"></web-view>
  4. </template>
  5. <script setup>
  6. import { reactive, ref } from 'vue';
  7. const price = ref(0.01);
  8. const url = ref(
  9. 'https://mall.niusenyun.com/static/payDemo/cashier.html?price=' +
  10. price.value +
  11. '&code=' +
  12. localStorage.getItem('code') +
  13. '&type=' +
  14. localStorage.getItem('type') +
  15. '&state=' +
  16. localStorage.getItem('state'),
  17. );
  18. </script>
  19. <style></style>