|
@@ -1,10 +1,11 @@
|
|
|
<template>
|
|
|
- <view class="web-view-box" :style="{'width': '100%' , 'height': kHeight + 'px' }">
|
|
|
- <iframe :style="{'width': '100%' , 'height': kHeight + 'px' }" :src="`https://biking.okenx.com/kline/kline.html?tokenName=${currencyVal.currency_name}`" frameborder="0"></iframe>
|
|
|
- <!-- <iframe :style="{'width': '100%' , 'height': kHeight + 'px' }" src="https://kline.cuwiee.com/local.html?symbol=LTC/USDT" frameborder="0"></iframe> -->
|
|
|
-<!-- <web-view :fullscreen="false" :style="{'width': '100%' , 'height': kHeight + 'px' }"
|
|
|
+ <iframe class="iframe-k" :src="`https://biking.okenx.com/kline/kline.html?tokenName=${currencyVal.currency_name}`"
|
|
|
+ frameborder="0"></iframe>
|
|
|
+
|
|
|
+ <!-- <iframe :style="{'width': '100%' , 'height': kHeight + 'px' }" src="https://kline.cuwiee.com/local.html?symbol=LTC/USDT" frameborder="0"></iframe> -->
|
|
|
+ <!-- <web-view :fullscreen="false" :style="{'width': '100%' , 'height': kHeight + 'px' }"
|
|
|
:src="`https://kline.cuwiee.com/local.html`"></web-view> -->
|
|
|
- </view>
|
|
|
+
|
|
|
</template>
|
|
|
<script>
|
|
|
import {
|
|
@@ -19,7 +20,7 @@
|
|
|
},
|
|
|
kHeight: {
|
|
|
type: Number,
|
|
|
- default: ''
|
|
|
+ default: 0
|
|
|
},
|
|
|
// :k-width="kWidth" :k-height="kHeight"
|
|
|
height: {
|
|
@@ -44,5 +45,8 @@
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
|
-
|
|
|
+.iframe-k{
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
</style>
|