Commit a74fe58f authored by chenqikuai's avatar chenqikuai

fix

parent 8e8b623b
......@@ -2,114 +2,115 @@ export const lang = {
home: "Home",
book: "White Paper",
news: "Press Releases",
blockChainBrowser: "blockchain browser",
blockChainBrowser: "Blockchain Browser",
page: {
first: "first",
last: "last",
confirm: "confirm",
nodata: "nodata",
first: "First",
last: "Last",
confirm: "Confirm",
nodata: "Nodata",
},
yccBlockChainBrowser: "ycc blockchain browser",
blockChain: "Blockchain",
browser: "Browser",
chainMsg: {
latestBlock: "latest block",
nodeNum: "number of nodes",
circulation: "circulation",
pledgeQuantity: "pledge quantity",
latestBlock: "Latest Block",
nodeNum: "Number Of Nodes",
circulation: "Circulation",
pledgeQuantity: "Pledge Quantity",
},
transaction: "transaction",
latestTx: "latest deal",
transaction: "Txns",
latestTx: "Latest Deal",
chainPerf: {
speed: "block speed",
speed: "Block Speed",
tps: "TPS",
txNumber: "total number of txns",
addressNumber: "total number of addr",
txNumberOnTheChain: "on-chain txns num",
txNumber: "Total Number Of Txns",
addressNumber: "Total Number Of Addr",
txNumberOnTheChain: "On-chain Txns Num",
},
viewMore: "see more",
search: "search",
viewMore: "See More",
search: "Search",
price: {
realTimeQuotes: "real-time quotes",
_24hourVolatility: "24 hour volatility",
realTimeQuotes: "Real-time Quotes",
_24hourVolatility: "24 Hour Volatility",
marketValueInDollars: "Market Cap (USD)",
dollar: "dollar",
dollar: "Dollar",
},
placeholder: "Please enter address/transaction hash/block height",
searchCurrency: "search currency",
searchCurrency: "Search Currency",
address: {
address: "address",
freeze: "frozen",
balance: "address available balance",
pleaseSelect: "please choose",
totalReception: "total reception",
totalSent: "total sent",
totalValue: "total value",
accountBalance: "account balance",
votingRecord: "voting",
packingRecord: "packing",
address: "Address",
freeze: "Frozen",
balance: "Address Available Balance",
pleaseSelect: "Please Choose",
totalReception: "Total Reception",
totalSent: "Total Sent",
totalValue: "Total Value",
accountBalance: "Account Balance",
votingRecord: "Voting",
packingRecord: "Packing",
},
block: {
title: "all blocks",
count: "blocks",
height: "height",
time: "block age",
hash: "block hash",
txCount: "txn num",
blockRevenue: "block revenue",
mineRevenue: "mining income",
packingAddress: "pack addr",
blockReward: "block reward",
votingNode: "voting node",
packingNode: "package node",
allNode: "all nodes",
timestamp: "timestamp",
merkelgen: "merkelgen",
stateHash: "stateHash",
lastBlock: "last block",
nextBlock: "next block",
no: "nothing",
consensusAddress: "consensus",
title: "All Blocks",
count: "Blocks",
height: "Height",
time: "Block Age",
hash: "Block Hash",
txCount: "Txns",
blockRevenue: "Block Revenue",
mineRevenue: "Mining Income",
packingAddress: "Pack Addr",
blockReward: "Block Reward",
votingNode: "Voting Node",
packingNode: "Package Node",
allNode: "All Nodes",
timestamp: "Timestamp",
merkelgen: "Merkelgen",
stateHash: "StateHash",
lastBlock: "Last Block",
nextBlock: "Next Block",
no: "Nothing",
consensusAddress: "Consensus",
},
txDetail: {
detail: "transaction details",
detail: "Transaction details",
txHash: "Txn Hash",
status: "receive status",
status: "Receive status",
success: "Write successfully, execute successfully",
faild: "Writing succeeded, execution failed",
value: "value",
random: "random num",
execer: "execer",
txType: "txn type",
value: "Value",
random: "Random num",
execer: "Execer",
txType: "Txn type",
normalTx: "Normal Transaction",
groupTx: "Transaction Group",
inData: "Input Data",
outData: "Output Data",
height: "height",
time: "time",
fee: "fee",
transfer: "transfer",
mining: "mining",
callContract: "call contract",
synchronize: "synchronize",
height: "Height",
time: "Time",
fee: "Fee",
transfer: "Transfer",
mining: "Mining",
callContract: "Call contract",
synchronize: "Synchronize",
},
trade: {
title: "all txns",
count: "txns",
totalTip: "all",
title: "All Txns",
count: "Txns",
totalTip: "All",
tip: "show the last 100,000 entries",
hash: "Txn Hash",
sender: "sender",
receiver: "receiver",
fee: "fee",
func: "call functions",
time: "time",
token: "token",
type: "type",
sender: "Sender",
receiver: "Receiver",
fee: "Fee",
func: "Call Functions",
time: "Time",
token: "Token",
type: "Type",
txAmount: "Txn Value",
txRecord: "transaction",
consensusNode: "consensus node",
txRecord: "Transaction",
consensusNode: "Consensus Node",
txTotal: "A total of {0} txns were found",
consensusNodeTotal: "A total of {0} consensus nodes were found",
receiveStatus: "status",
receiveStatus: "Status",
},
components: {
hour: " hr ",
......
......@@ -9,7 +9,8 @@ export const lang = {
confirm: "确定",
nodata: "暂无数据",
},
yccBlockChainBrowser: "原链区块链浏览器",
blockChain: "原链区块链",
browser: "浏览器",
chainMsg: {
latestBlock: "最新区块",
nodeNum: "节点数量",
......
<template>
<div class="m-blue-intro">
<img :src="txt" alt="" />
<div class="txt mt-2.5 text-lightBlue">原链区块链</div>
<div class="txt mt-2.5 text-lightBlue">{{ $t('lang.blockChain') }}</div>
<div class="txt text-lightBlue">
浏览器
{{ $t('lang.browser') }}
</div>
</div>
</template>
......
......@@ -10,7 +10,7 @@
</div>
<div class="balance-value">{{ balance | filterAmount }} YCC</div>
<div class="text-sm text-white">
冻结
{{ $t('lang.address.freeze') }}
<span class="ml-2">{{ frozen | filterAmount }} YCC</span>
</div>
<Select
......
......@@ -14,7 +14,7 @@
<div
class="text-lightBlue title relative z-10 chain-title-txt mt-4 text-center"
>
{{ $t('lang.yccBlockChainBrowser') }}
{{ $t('lang.blockChain') }}{{ $t('lang.browser') }}
</div>
</div>
</template>
......
......@@ -35,7 +35,7 @@
</span>
</div>
</div>
<div class="flex justify-between">
<div class="flex justify-between items-center">
<div>
<span class="graytxt">
{{ $t('lang.block.packingAddress') }}
......@@ -53,7 +53,7 @@
</span>
</router-link>
</div>
<div class="text-text-color">
<div class="text-text-color" style="font-size: 12px;">
{{ item.blockTime | formatTime }}
</div>
</div>
......
......@@ -6,53 +6,63 @@
v-for="(item, i) in latestTxs"
:key="i"
>
<div class="left">
<div class="left" style="line-height: 20px;">
<div>
<span class="graytxt">{{ $t('lang.trade.hash') }}</span>
<span class="text-footer-color"><router-link
<span class="text-footer-color">
<router-link
:to="{
path: '/tradeHash',
query: {
hash: item.hash,
},
}"
>{{ item.hash | filterHash(8) }}</router-link>
>
{{ item.hash | filterHash(8) }}
</router-link>
</span>
</div>
<div class="graytxt">{{ item.time_block | formatTime }}
<div class="graytxt" style="font-size: 12px; margin-top: 6px;">
{{ item.time_block | formatTime }}
</div>
</div>
<div class="middle">
<div class="middle" style="line-height: 20px;">
<div>
<span class="graytxt">{{ $t('lang.trade.sender') }}</span>
<span class="text-footer-color"><router-link
<span class="text-footer-color">
<router-link
:to="{
path: '/address',
query: {
address: item.from,
},
}"
>{{ item.from | filterHash(8) }}
>
{{ item.from | filterHash(8) }}
</router-link>
</span>
</div>
<div class="graytxt">
<div class="graytxt" style="margin-top: 6px;">
<span class="graytxt">{{ $t('lang.trade.receiver') }}</span>
<span class="text-footer-color"><router-link
<span class="text-footer-color">
<router-link
:to="{
path: '/address',
query: {
address: item.to,
},
}"
>{{ item.to | filterHash(8) }}
>
{{ item.to | filterHash(8) }}
</router-link>
</span>
</div>
</div>
<div class="right text-right">
<div class="right text-right" style="line-height: 20px;">
<div class="graytxt">{{ $t('lang.trade.txAmount') }}</div>
<div class="text-darkBlue">{{ item | filterTradeValue }}</div>
<div class="text-darkBlue" style="margin-top: 6px;">
{{ item | filterTradeValue }}
</div>
</div>
</div>
</latest-container>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment