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

34 lines
734 B
Vue
Raw Normal View History

2024-07-05 09:48:34 +07:00
<script setup lang="ts">
2024-07-05 13:05:21 +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 13:05:21 +07:00
"width": "350px",
"height": "250px",
2024-07-05 09:48:34 +07:00
"price_line_color": "#71BDDF",
"grid_color": "#999999",
"label_color": "#999999",
}
</script>
<template>
<div>
<JSWidget
2024-07-05 13:05:21 +07:00
:CONTAINER_ID="`default_widget_[${nanoid(10)}]`"
:SCRIPT_ID="nanoid(10)"
2024-07-05 09:48:34 +07:00
SCRIPT_SRC="https://www.fireant.vn/Scripts/web/widgets.js"
:options="widgetOptions"
widgetKey="FireAnt"
/>
</div>
</template>
<style lang="scss" scoped>
div {
width: 100%;
font-size: 24px;
display: flex;
align-items: center;
justify-content: center;
}
</style>