|
@@ -6,11 +6,11 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="block-bottom">
|
|
<div class="block-bottom">
|
|
|
<div class="block-bottom-left">
|
|
<div class="block-bottom-left">
|
|
|
- <span :class="quote.lastColor" v-if="[10, 53].includes(quote.trademode)">{{ handleNumberValue(formatDecimal(quote.last, quote.decimalplace)) }}</span>
|
|
|
|
|
|
|
+ <span :class="quote.lastColor" v-if="quote.trademode != 10">{{ handleNumberValue(quote.last.toFixed(quote.decimalplace)) }}</span>
|
|
|
<div v-else>
|
|
<div v-else>
|
|
|
- <span :class="quote.askColor">{{ handleNumberValue(formatDecimal(quote.ask, quote.decimalplace)) }}</span>
|
|
|
|
|
|
|
+ <span :class="quote.askColor">{{ handleNumberValue(quote.ask.toFixed(quote.decimalplace)) }}</span>
|
|
|
<span>{{ ' / ' }}</span>
|
|
<span>{{ ' / ' }}</span>
|
|
|
- <span :class="quote.bidColor">{{ handleNumberValue(formatDecimal(quote.bid, quote.decimalplace)) }}</span>
|
|
|
|
|
|
|
+ <span :class="quote.bidColor">{{ handleNumberValue(quote.bid.toFixed(quote.decimalplace)) }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="block-bottom-right">
|
|
<div class="block-bottom-right">
|
|
@@ -79,7 +79,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
-import { parsePercent, handleNumberValue, changeUnit, formatDecimal } from '@/filters'
|
|
|
|
|
|
|
+import { parsePercent, handleNumberValue, changeUnit } from '@/filters'
|
|
|
import { useGlobalStore, useFuturesStore, i18n } from '@/stores'
|
|
import { useGlobalStore, useFuturesStore, i18n } from '@/stores'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|