k-line.vue 781 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <iframe
  3. :src="`https://biking.okenx.com/biking/kline.html?legal_id=${currencyVal.legal_id}&currency_id=${currencyVal.currency_id}&symbol=${currencyVal.currency_name}/${currencyVal.legal_name}`"
  4. frameborder="0"></iframe>
  5. <!-- <web-view :src="'/k/index.html' + `?legal_id=${currencyVal.legal_id}&currency_id=${currencyVal.currency_id}&symbol=${currencyVal.currency_name}/${currencyVal.legal_name}`"></web-view> -->
  6. <!-- <web-view src="/hybrid/html/local.html"></web-view> -->
  7. </template>
  8. <script>
  9. import {
  10. mapGetters
  11. } from 'vuex'
  12. export default {
  13. name: "k-line",
  14. data() {
  15. return {
  16. };
  17. },
  18. computed: {
  19. ...mapGetters([
  20. 'currencyVal'
  21. ]),
  22. },
  23. }
  24. </script>
  25. <style lang="scss" scoped>
  26. iframe {
  27. width: 100%;
  28. height: 100%;
  29. }
  30. </style>