Files
NSG_PORTAL_V2/components/dynamic-page/page-component/templates/others/stocks/334x641.vue
T

33 lines
705 B
Vue
Raw Normal View History

2024-07-05 09:48:34 +07:00
<script setup lang="ts">
2024-07-05 14:29:49 +07:00
import { nanoid } from 'nanoid';
2024-07-05 09:48:34 +07:00
import JSWidget from '@/components/widget/JSwidget.vue';
const widgetOptions = {
"locale": "vi",
2024-07-05 14:29:49 +07:00
"width": "334px",
2024-07-05 13:05:21 +07:00
"height": "250px",
2024-07-05 09:48:34 +07:00
"price_line_color": "#71BDDF",
"grid_color": "#999999",
"label_color": "#999999",
}
</script>
<template>
2024-07-05 14:29:49 +07:00
<JSWidget
:CONTAINER_ID="nanoid(10)"
:SCRIPT_ID="nanoid(10)"
SCRIPT_SRC="https://www.fireant.vn/Scripts/web/widgets.js"
:options="widgetOptions"
:inside="false"
widgetKey="FireAnt"
/>
2024-07-05 09:48:34 +07:00
</template>
<style lang="scss" scoped>
div {
width: 100%;
font-size: 24px;
display: flex;
align-items: center;
justify-content: center;
}
</style>