|
|
@@ -24,13 +24,13 @@
|
|
|
<!-- 涨跌 -->
|
|
|
<template #change="{ record }">
|
|
|
<span :class="handleQuotePriceColor(record.last, record.presettle)">{{ quoteChange(record,
|
|
|
- record.decimalplace)
|
|
|
+ record.decimalplace)
|
|
|
}}</span>
|
|
|
</template>
|
|
|
<!-- 幅度 -->
|
|
|
<template #amplitude="{ record }">
|
|
|
<span :class="handleQuotePriceColor(record.last, record.presettle)">{{ quoteAmplitude(record,
|
|
|
- record.decimalplace)
|
|
|
+ record.decimalplace)
|
|
|
}}</span>
|
|
|
</template>
|
|
|
<!-- 振幅 -->
|
|
|
@@ -100,8 +100,8 @@ const columnsList = [
|
|
|
{ title: '序号', key: 'index', width: 80 },
|
|
|
{ title: '代码', key: 'goodscode' },
|
|
|
{ title: '名称', key: 'goodsname' },
|
|
|
- { title: '买价', key: 'bid' },
|
|
|
- { title: '卖价', key: 'ask' },
|
|
|
+ // { title: '买价', key: 'bid' },
|
|
|
+ // { title: '卖价', key: 'ask' },
|
|
|
{ title: '最新价', key: 'last' },
|
|
|
{ title: '涨跌', key: 'change' }, // 最新价 - 昨结价
|
|
|
{ title: '幅度', key: 'amplitude' }, // (最新价 - 昨结价) / 100 %
|
|
|
@@ -181,5 +181,4 @@ export default defineComponent({
|
|
|
});
|
|
|
|
|
|
</script>
|
|
|
-<style lang="less">
|
|
|
-</style>
|
|
|
+<style lang="less"></style>
|