Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ycc-website
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Website
ycc-website
Commits
a74fe58f
Commit
a74fe58f
authored
Mar 02, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8e8b623b
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
109 additions
and
97 deletions
+109
-97
en.ts
src/assets/lang/en.ts
+79
-78
zh.ts
src/assets/lang/zh.ts
+2
-1
m-blue-intro.vue
src/components/mobile/m-blue-intro.vue
+2
-2
Balance.vue
...mponents/pc/BlockChainBrowser/AddressOverview/Balance.vue
+1
-1
ChainTitle.vue
src/components/pc/BlockChainBrowser/ChainTitle.vue
+1
-1
index.vue
src/components/pc/BlockChainBrowser/LatestBlock/index.vue
+2
-2
index.vue
src/components/pc/BlockChainBrowser/LatestTx/index.vue
+22
-12
No files found.
src/assets/lang/en.ts
View file @
a74fe58f
...
...
@@ -2,114 +2,115 @@ export const lang = {
home
:
"Home"
,
book
:
"White Paper"
,
news
:
"Press Releases"
,
blockChainBrowser
:
"
blockchain b
rowser"
,
blockChainBrowser
:
"
Blockchain B
rowser"
,
page
:
{
first
:
"
f
irst"
,
last
:
"
l
ast"
,
confirm
:
"
c
onfirm"
,
nodata
:
"
n
odata"
,
first
:
"
F
irst"
,
last
:
"
L
ast"
,
confirm
:
"
C
onfirm"
,
nodata
:
"
N
odata"
,
},
yccBlockChainBrowser
:
"ycc blockchain browser"
,
blockChain
:
"Blockchain"
,
browser
:
"Browser"
,
chainMsg
:
{
latestBlock
:
"
latest b
lock"
,
nodeNum
:
"
number of n
odes"
,
circulation
:
"
c
irculation"
,
pledgeQuantity
:
"
pledge q
uantity"
,
latestBlock
:
"
Latest B
lock"
,
nodeNum
:
"
Number Of N
odes"
,
circulation
:
"
C
irculation"
,
pledgeQuantity
:
"
Pledge Q
uantity"
,
},
transaction
:
"
transaction
"
,
latestTx
:
"
latest d
eal"
,
transaction
:
"
Txns
"
,
latestTx
:
"
Latest D
eal"
,
chainPerf
:
{
speed
:
"
block s
peed"
,
speed
:
"
Block S
peed"
,
tps
:
"TPS"
,
txNumber
:
"
total number of t
xns"
,
addressNumber
:
"
total number of a
ddr"
,
txNumberOnTheChain
:
"
on-chain txns n
um"
,
txNumber
:
"
Total Number Of T
xns"
,
addressNumber
:
"
Total Number Of A
ddr"
,
txNumberOnTheChain
:
"
On-chain Txns N
um"
,
},
viewMore
:
"
see m
ore"
,
search
:
"
s
earch"
,
viewMore
:
"
See M
ore"
,
search
:
"
S
earch"
,
price
:
{
realTimeQuotes
:
"
real-time q
uotes"
,
_24hourVolatility
:
"24
hour v
olatility"
,
realTimeQuotes
:
"
Real-time Q
uotes"
,
_24hourVolatility
:
"24
Hour V
olatility"
,
marketValueInDollars
:
"Market Cap (USD)"
,
dollar
:
"
d
ollar"
,
dollar
:
"
D
ollar"
,
},
placeholder
:
"Please enter address/transaction hash/block height"
,
searchCurrency
:
"
search c
urrency"
,
searchCurrency
:
"
Search C
urrency"
,
address
:
{
address
:
"
a
ddress"
,
freeze
:
"
f
rozen"
,
balance
:
"
address available b
alance"
,
pleaseSelect
:
"
please c
hoose"
,
totalReception
:
"
total r
eception"
,
totalSent
:
"
total s
ent"
,
totalValue
:
"
total v
alue"
,
accountBalance
:
"
account b
alance"
,
votingRecord
:
"
v
oting"
,
packingRecord
:
"
p
acking"
,
address
:
"
A
ddress"
,
freeze
:
"
F
rozen"
,
balance
:
"
Address Available B
alance"
,
pleaseSelect
:
"
Please C
hoose"
,
totalReception
:
"
Total R
eception"
,
totalSent
:
"
Total S
ent"
,
totalValue
:
"
Total V
alue"
,
accountBalance
:
"
Account B
alance"
,
votingRecord
:
"
V
oting"
,
packingRecord
:
"
P
acking"
,
},
block
:
{
title
:
"
all b
locks"
,
count
:
"
b
locks"
,
height
:
"
h
eight"
,
time
:
"
block a
ge"
,
hash
:
"
block h
ash"
,
txCount
:
"
txn num
"
,
blockRevenue
:
"
block r
evenue"
,
mineRevenue
:
"
mining i
ncome"
,
packingAddress
:
"
pack a
ddr"
,
blockReward
:
"
block r
eward"
,
votingNode
:
"
voting n
ode"
,
packingNode
:
"
package n
ode"
,
allNode
:
"
all n
odes"
,
timestamp
:
"
t
imestamp"
,
merkelgen
:
"
m
erkelgen"
,
stateHash
:
"
s
tateHash"
,
lastBlock
:
"
last b
lock"
,
nextBlock
:
"
next b
lock"
,
no
:
"
n
othing"
,
consensusAddress
:
"
c
onsensus"
,
title
:
"
All B
locks"
,
count
:
"
B
locks"
,
height
:
"
H
eight"
,
time
:
"
Block A
ge"
,
hash
:
"
Block H
ash"
,
txCount
:
"
Txns
"
,
blockRevenue
:
"
Block R
evenue"
,
mineRevenue
:
"
Mining I
ncome"
,
packingAddress
:
"
Pack A
ddr"
,
blockReward
:
"
Block R
eward"
,
votingNode
:
"
Voting N
ode"
,
packingNode
:
"
Package N
ode"
,
allNode
:
"
All N
odes"
,
timestamp
:
"
T
imestamp"
,
merkelgen
:
"
M
erkelgen"
,
stateHash
:
"
S
tateHash"
,
lastBlock
:
"
Last B
lock"
,
nextBlock
:
"
Next B
lock"
,
no
:
"
N
othing"
,
consensusAddress
:
"
C
onsensus"
,
},
txDetail
:
{
detail
:
"
t
ransaction details"
,
detail
:
"
T
ransaction details"
,
txHash
:
"Txn Hash"
,
status
:
"
r
eceive status"
,
status
:
"
R
eceive status"
,
success
:
"Write successfully, execute successfully"
,
faild
:
"Writing succeeded, execution failed"
,
value
:
"
v
alue"
,
random
:
"
r
andom num"
,
execer
:
"
e
xecer"
,
txType
:
"
t
xn type"
,
value
:
"
V
alue"
,
random
:
"
R
andom num"
,
execer
:
"
E
xecer"
,
txType
:
"
T
xn type"
,
normalTx
:
"Normal Transaction"
,
groupTx
:
"Transaction Group"
,
inData
:
"Input Data"
,
outData
:
"Output Data"
,
height
:
"
h
eight"
,
time
:
"
t
ime"
,
fee
:
"
f
ee"
,
transfer
:
"
t
ransfer"
,
mining
:
"
m
ining"
,
callContract
:
"
c
all contract"
,
synchronize
:
"
s
ynchronize"
,
height
:
"
H
eight"
,
time
:
"
T
ime"
,
fee
:
"
F
ee"
,
transfer
:
"
T
ransfer"
,
mining
:
"
M
ining"
,
callContract
:
"
C
all contract"
,
synchronize
:
"
S
ynchronize"
,
},
trade
:
{
title
:
"
all t
xns"
,
count
:
"
t
xns"
,
totalTip
:
"
a
ll"
,
title
:
"
All T
xns"
,
count
:
"
T
xns"
,
totalTip
:
"
A
ll"
,
tip
:
"show the last 100,000 entries"
,
hash
:
"Txn Hash"
,
sender
:
"
s
ender"
,
receiver
:
"
r
eceiver"
,
fee
:
"
f
ee"
,
func
:
"
call f
unctions"
,
time
:
"
t
ime"
,
token
:
"
t
oken"
,
type
:
"
t
ype"
,
sender
:
"
S
ender"
,
receiver
:
"
R
eceiver"
,
fee
:
"
F
ee"
,
func
:
"
Call F
unctions"
,
time
:
"
T
ime"
,
token
:
"
T
oken"
,
type
:
"
T
ype"
,
txAmount
:
"Txn Value"
,
txRecord
:
"
t
ransaction"
,
consensusNode
:
"
consensus n
ode"
,
txRecord
:
"
T
ransaction"
,
consensusNode
:
"
Consensus N
ode"
,
txTotal
:
"A total of {0} txns were found"
,
consensusNodeTotal
:
"A total of {0} consensus nodes were found"
,
receiveStatus
:
"
s
tatus"
,
receiveStatus
:
"
S
tatus"
,
},
components
:
{
hour
:
" hr "
,
...
...
src/assets/lang/zh.ts
View file @
a74fe58f
...
...
@@ -9,7 +9,8 @@ export const lang = {
confirm
:
"确定"
,
nodata
:
"暂无数据"
,
},
yccBlockChainBrowser
:
"原链区块链浏览器"
,
blockChain
:
"原链区块链"
,
browser
:
"浏览器"
,
chainMsg
:
{
latestBlock
:
"最新区块"
,
nodeNum
:
"节点数量"
,
...
...
src/components/mobile/m-blue-intro.vue
View file @
a74fe58f
<
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
>
...
...
src/components/pc/BlockChainBrowser/AddressOverview/Balance.vue
View file @
a74fe58f
...
...
@@ -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
...
...
src/components/pc/BlockChainBrowser/ChainTitle.vue
View file @
a74fe58f
...
...
@@ -14,7 +14,7 @@
<div
class=
"text-lightBlue title relative z-10 chain-title-txt mt-4 text-center"
>
{{
$t
(
'lang.
yccBlockChainB
rowser'
)
}}
{{
$t
(
'lang.
blockChain'
)
}}{{
$t
(
'lang.b
rowser'
)
}}
</div>
</div>
</
template
>
...
...
src/components/pc/BlockChainBrowser/LatestBlock/index.vue
View file @
a74fe58f
...
...
@@ -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>
...
...
src/components/pc/BlockChainBrowser/LatestTx/index.vue
View file @
a74fe58f
...
...
@@ -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>
...
...
chenqikuai
@chenqikuai
mentioned in commit
748f7ae1
·
Mar 03, 2022
mentioned in commit
748f7ae1
mentioned in commit 748f7ae18ac2f8eb14ee7c2865eaea786342a520
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment