6 changed files with 41 additions and 162 deletions
@ -1,37 +0,0 @@ |
|||||
<template> |
|
||||
<div> |
|
||||
<div id="kc-container"></div> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<script> |
|
||||
// import $ from 'jquery'; |
|
||||
export default { |
|
||||
name: "GqlUsdt", |
|
||||
props: ["title"], |
|
||||
data() { |
|
||||
return { |
|
||||
loadingIndex: null |
|
||||
} |
|
||||
}, |
|
||||
mounted() { |
|
||||
this.init() |
|
||||
}, |
|
||||
methods: { |
|
||||
init() { |
|
||||
kcStart({ |
|
||||
containerId: 'kc-container', |
|
||||
symbol: this.title, |
|
||||
coinScale: parseInt('5'), // 计价币种精度 |
|
||||
volumeScale: parseInt('5'), // 成交量精度保留 |
|
||||
interval: '15', |
|
||||
timezone: "America/Toronto", |
|
||||
language: 'zh_TW' |
|
||||
}) |
|
||||
} |
|
||||
}, |
|
||||
}; |
|
||||
</script> |
|
||||
<style scoped> |
|
||||
|
|
||||
</style> |
|
||||
@ -1,37 +0,0 @@ |
|||||
<template> |
|
||||
<div> |
|
||||
<div id="kc-container"></div> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<script> |
|
||||
// import $ from 'jquery'; |
|
||||
export default { |
|
||||
name: "OigeUsdt", |
|
||||
props: ["title"], |
|
||||
data() { |
|
||||
return { |
|
||||
loadingIndex: null |
|
||||
} |
|
||||
}, |
|
||||
mounted() { |
|
||||
this.init() |
|
||||
}, |
|
||||
methods: { |
|
||||
init() { |
|
||||
kcStart({ |
|
||||
containerId: 'kc-container', |
|
||||
symbol: this.title, |
|
||||
coinScale: parseInt('5'), // 计价币种精度 |
|
||||
volumeScale: parseInt('5'), // 成交量精度保留 |
|
||||
interval: '15', |
|
||||
timezone: "America/Toronto", |
|
||||
language: 'zh_TW' |
|
||||
}) |
|
||||
} |
|
||||
}, |
|
||||
}; |
|
||||
</script> |
|
||||
<style scoped> |
|
||||
|
|
||||
</style> |
|
||||
@ -1,37 +0,0 @@ |
|||||
<template> |
|
||||
<div> |
|
||||
<div id="kc-container"></div> |
|
||||
</div> |
|
||||
</template> |
|
||||
|
|
||||
<script> |
|
||||
// import $ from 'jquery'; |
|
||||
export default { |
|
||||
name: "RpnUsdt", |
|
||||
props: ["title"], |
|
||||
data() { |
|
||||
return { |
|
||||
loadingIndex: null |
|
||||
} |
|
||||
}, |
|
||||
mounted() { |
|
||||
this.init() |
|
||||
}, |
|
||||
methods: { |
|
||||
init() { |
|
||||
kcStart({ |
|
||||
containerId: 'kc-container', |
|
||||
symbol: this.title, |
|
||||
coinScale: parseInt('5'), // 计价币种精度 |
|
||||
volumeScale: parseInt('5'), // 成交量精度保留 |
|
||||
interval: '15', |
|
||||
timezone: "America/Toronto", |
|
||||
language: 'zh_TW' |
|
||||
}) |
|
||||
} |
|
||||
}, |
|
||||
}; |
|
||||
</script> |
|
||||
<style scoped> |
|
||||
|
|
||||
</style> |
|
||||
Loading…
Reference in new issue