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