|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<app-view class="spot-goods-chart g-layout" background="primary">
|
|
|
<template #header>
|
|
|
- <app-navbar :title="quote ? quote.goodscode : '图表'" />
|
|
|
+ <app-navbar :title="quote ? quote.goodscode : `${t('operation.chart')}`" />
|
|
|
</template>
|
|
|
<template v-if="quote">
|
|
|
<app-block class="quote-table">
|
|
|
@@ -24,13 +24,13 @@
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="data-table__cell">
|
|
|
- <div class="text-small">昨结</div>
|
|
|
+ <div class="text-small">{{ $t('quote.presettle') }}</div>
|
|
|
<div>
|
|
|
{{ handleNumberValue(quote.presettle.toFixed(quote.decimalplace)) }}
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="data-table__cell">
|
|
|
- <div class="text-small">最高</div>
|
|
|
+ <div class="text-small">{{ $t('quote.highest') }}</div>
|
|
|
<div :class="quote.highestColor">
|
|
|
{{ handleNumberValue(quote.highest.toFixed(quote.decimalplace)) }}
|
|
|
</div>
|
|
|
@@ -38,13 +38,13 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="data-table__cell">
|
|
|
- <div class="text-small">开盘</div>
|
|
|
+ <div class="text-small">{{ $t('quote.opened') }}</div>
|
|
|
<div :class="quote.openedColor">
|
|
|
{{ handleNumberValue(quote.opened.toFixed(quote.decimalplace)) }}
|
|
|
</div>
|
|
|
</td>
|
|
|
<td class="data-table__cell">
|
|
|
- <div class="text-small">最低</div>
|
|
|
+ <div class="text-small">{{ $t('quote.lowest') }}</div>
|
|
|
<div :class="quote.lowestColor">
|
|
|
{{ handleNumberValue(quote.lowest.toFixed(quote.decimalplace)) }}
|
|
|
</div>
|
|
|
@@ -57,8 +57,8 @@
|
|
|
</template>
|
|
|
<template #footer>
|
|
|
<app-submitbar>
|
|
|
- <Button type="success" block @click="routerBack({ buyOrSell: BuyOrSell.Buy })">买入</Button>
|
|
|
- <Button type="danger" block @click="routerBack({ buyOrSell: BuyOrSell.Sell })">卖出</Button>
|
|
|
+ <Button type="success" block @click="routerBack({ buyOrSell: BuyOrSell.Buy })">{{ $t('quote.buy') }}</Button>
|
|
|
+ <Button type="danger" block @click="routerBack({ buyOrSell: BuyOrSell.Sell })">{{ $t('quote.sell') }}</Button>
|
|
|
</app-submitbar>
|
|
|
</template>
|
|
|
</app-view>
|