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
b7621d9b
Commit
b7621d9b
authored
Mar 02, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2fd209c3
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
96 additions
and
46 deletions
+96
-46
deploy.sh
deploy.sh
+1
-0
App.vue
src/App.vue
+9
-3
ycclogo.png
src/assets/images/ycclogo.png
+0
-0
en.ts
src/assets/lang/en.ts
+3
-3
m-block-desc-card.vue
src/components/mobile/m-block-desc-card.vue
+1
-1
m-chain-perf.vue
src/components/mobile/m-chain-perf.vue
+1
-1
m-chain-price.vue
src/components/mobile/m-chain-price.vue
+1
-1
m-consensus-node.vue
src/components/mobile/m-consensus-node.vue
+4
-4
m-txItem.vue
src/components/mobile/m-txItem.vue
+7
-4
m-vote-pack.vue
src/components/mobile/m-vote-pack.vue
+11
-6
m-numOfOnChainTx.vue
src/components/mobile/map/m-numOfOnChainTx.vue
+3
-1
menu.vue
src/components/mobile/menu.vue
+2
-1
LeftBox.vue
...components/pc/BlockChainBrowser/BlockOverview/LeftBox.vue
+1
-1
index.vue
src/components/pc/BlockChainBrowser/TabList/index.vue
+1
-1
index.vue
src/components/pc/BlockChainBrowser/TradeTable/index.vue
+12
-4
TradeTable2.vue
src/components/pc/BlockChainBrowser/TradeTable2.vue
+12
-4
txStatus.vue
src/components/pc/txStatus.vue
+4
-2
Header.vue
src/layout/MainPage/Header.vue
+12
-5
m-four-params.vue
...e/address/components/m-address-overview/m-four-params.vue
+0
-1
tradeDetail.vue
src/views/mobile/tradeDetail.vue
+6
-1
consensusNodeTable.vue
src/views/pc/blockDetail/components/consensusNodeTable.vue
+1
-1
tradeDetail.vue
src/views/pc/tradeDetail.vue
+4
-1
No files found.
deploy.sh
View file @
b7621d9b
rm
-rf
ycc-website
mv
dist ycc-website
mv
dist ycc-website
tar
-czf
ycc-website.tar ycc-website
tar
-czf
ycc-website.tar ycc-website
scp ycc-website.tar root@121.40.18.70:/usr/share/nginx/html/ycc-website.tar
scp ycc-website.tar root@121.40.18.70:/usr/share/nginx/html/ycc-website.tar
...
...
src/App.vue
View file @
b7621d9b
...
@@ -11,6 +11,13 @@ export default Vue.extend({
...
@@ -11,6 +11,13 @@ export default Vue.extend({
})
})
</
script
>
</
script
>
<
style
>
<
style
>
.el-table
td
.el-table__cell
,
.el-table
th
.el-table__cell.is-leaf
{
border-bottom
:
0
!important
;
}
table
.has-gutter
{
color
:
#7c88ad
;
}
.ant-message
{
.ant-message
{
z-index
:
4000
!important
;
z-index
:
4000
!important
;
}
}
...
@@ -41,15 +48,14 @@ export default Vue.extend({
...
@@ -41,15 +48,14 @@ export default Vue.extend({
}
}
.slide-in-enter-active
{
.slide-in-enter-active
{
transition
:
all
.3s
ease
;
transition
:
all
0
.3s
ease
;
}
}
.slide-in-leave-active
{
.slide-in-leave-active
{
transition
:
all
.8s
cubic-bezier
(
1.0
,
0.5
,
0.8
,
1.0
);
transition
:
all
0.8s
cubic-bezier
(
1
,
0.5
,
0.8
,
1
);
}
}
.slide-in-enter
,
.slide-fade-leave-to
.slide-in-enter
,
.slide-fade-leave-to
/* .slide-in-leave-active for below version 2.1.8 */
{
/* .slide-in-leave-active for below version 2.1.8 */
{
transform
:
translateX
(
10px
);
transform
:
translateX
(
10px
);
opacity
:
0
;
opacity
:
0
;
}
}
</
style
>
</
style
>
src/assets/images/ycclogo.png
0 → 100644
View file @
b7621d9b
7.97 KB
src/assets/lang/en.ts
View file @
b7621d9b
...
@@ -22,9 +22,9 @@ export const lang = {
...
@@ -22,9 +22,9 @@ export const lang = {
chainPerf
:
{
chainPerf
:
{
speed
:
"Block Speed"
,
speed
:
"Block Speed"
,
tps
:
"TPS"
,
tps
:
"TPS"
,
txNumber
:
"Total Num Of Txns"
,
txNumber
:
"Total Num
ber
Of Txns"
,
addressNumber
:
"Total Num Of Addr"
,
addressNumber
:
"Total Num
ber
Of Addr"
,
txNumberOnTheChain
:
"On-chain Txns Num"
,
txNumberOnTheChain
:
"On-chain Txns Num
ber
"
,
},
},
viewMore
:
"See More"
,
viewMore
:
"See More"
,
search
:
"Search"
,
search
:
"Search"
,
...
...
src/components/mobile/m-block-desc-card.vue
View file @
b7621d9b
...
@@ -184,7 +184,7 @@ export default Vue.extend({
...
@@ -184,7 +184,7 @@ export default Vue.extend({
height
:
52px
;
height
:
52px
;
}
}
.lableLeft
{
.lableLeft
{
width
:
73
px
;
width
:
100
px
;
}
}
}
}
.c-block-desc-bottom
{
.c-block-desc-bottom
{
...
...
src/components/mobile/m-chain-perf.vue
View file @
b7621d9b
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
v-for=
"(item, i) in list"
v-for=
"(item, i) in list"
:key=
"i"
:key=
"i"
class=
"h-1/4 pt-2.5"
class=
"h-1/4 pt-2.5"
style=
"margin-left:
3
0px;"
style=
"margin-left:
1
0px;"
>
>
<div
class=
"text-text-color text-xs"
style=
"margin-bottom: 2px;"
>
<div
class=
"text-text-color text-xs"
style=
"margin-bottom: 2px;"
>
{{
item
.
name
}}
{{
item
.
name
}}
...
...
src/components/mobile/m-chain-price.vue
View file @
b7621d9b
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</div>
</div>
</div>
</div>
<div
class=
"bottom text-center"
>
<div
class=
"bottom text-center"
>
<div
class=
"text-text-color
mt-1
"
>
<div
class=
"text-text-color
text-xs"
style=
"margin-top: 6px;
"
>
{{
$t
(
'lang.price.marketValueInDollars'
)
}}
{{
$t
(
'lang.price.marketValueInDollars'
)
}}
</div>
</div>
<div
class=
"text-footer-color font-bold"
>
<div
class=
"text-footer-color font-bold"
>
...
...
src/components/mobile/m-consensus-node.vue
View file @
b7621d9b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
type === 'package' ? 'rgba(248, 164, 87, 0.05)' : 'white',
type === 'package' ? 'rgba(248, 164, 87, 0.05)' : 'white',
}"
}"
>
>
<div
class=
"flex items-center justify-between"
>
<div
class=
"flex items-center justify-between"
style=
"margin-top: 4px;"
>
<div
class=
"text-darkBlue text-sm font-bold"
>
<div
class=
"text-darkBlue text-sm font-bold"
>
{{
{{
type
===
'package'
type
===
'package'
...
@@ -17,8 +17,8 @@
...
@@ -17,8 +17,8 @@
</div>
</div>
<Count
:time=
"time"
class=
"text-text-color text-xs"
></Count>
<Count
:time=
"time"
class=
"text-text-color text-xs"
></Count>
</div>
</div>
<div
class=
"flex justify-between items-center"
>
<div
class=
"flex justify-between items-center"
style=
"margin-top: 5px;"
>
<div
class=
" mt-2"
>
<div>
<span
class=
"text-text-color text-xs"
>
<span
class=
"text-text-color text-xs"
>
{{
$t
(
'lang.block.consensusAddress'
)
}}
:
{{
$t
(
'lang.block.consensusAddress'
)
}}
:
</span>
</span>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</router-link>
</router-link>
</span>
</span>
</div>
</div>
<div
class=
"mt-2"
>
<div>
<span
class=
"text-text-color text-xs"
>
<span
class=
"text-text-color text-xs"
>
{{
$t
(
'lang.block.blockReward'
)
}}
:
{{
$t
(
'lang.block.blockReward'
)
}}
:
</span>
</span>
...
...
src/components/mobile/m-txItem.vue
View file @
b7621d9b
...
@@ -10,9 +10,9 @@
...
@@ -10,9 +10,9 @@
v-if=
"txGroup && txGroup === 'isGroupItem'"
v-if=
"txGroup && txGroup === 'isGroupItem'"
class=
"w-5 h-5 txGroupIcon"
class=
"w-5 h-5 txGroupIcon"
/>
/>
<div
class=
"flex justify-between items-center
mt-3.5
"
>
<div
class=
"flex justify-between items-center
"
style=
"margin-top: 14px;
"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div
class=
"text-text-color text-xs"
>
<div
class=
"text-text-color text-xs"
style=
"margin-right: 3px;"
>
{{
$t
(
'lang.trade.txAmount'
)
}}
:
{{
$t
(
'lang.trade.txAmount'
)
}}
:
</div>
</div>
<div
class=
"text-darkBlue text-sm font-bold"
>
<div
class=
"text-darkBlue text-sm font-bold"
>
...
@@ -23,9 +23,12 @@
...
@@ -23,9 +23,12 @@
{{
blockTime
|
formatTime
}}
{{
blockTime
|
formatTime
}}
</div>
</div>
</div>
</div>
<div
class=
"flex items-center justify-between"
>
<div
class=
"flex items-center justify-between"
style=
"margin-top: 3px; margin-bottom: 3px;"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div
class=
"text-text-color text-xs"
>
<div
class=
"text-text-color text-xs"
style=
"margin-right: 3px;"
>
{{
$t
(
'lang.txDetail.txHash'
)
}}
:
{{
$t
(
'lang.txDetail.txHash'
)
}}
:
</div>
</div>
<div
<div
...
...
src/components/mobile/m-vote-pack.vue
View file @
b7621d9b
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
]"
]"
>
>
<div>
<div>
<span
class=
"text-base font-bold"
>
{{
rewardAmount
|
filterAmount
}}
</span>
<span
class=
"text-base font-bold"
>
{{
rewardAmount
|
filterAmount
}}
</span>
<span
class=
"text-xs"
>
<span
class=
"text-xs"
>
YCC
YCC
</span>
</span>
...
@@ -18,7 +20,10 @@
...
@@ -18,7 +20,10 @@
</div>
</div>
</div>
</div>
<div
class=
"flex-grow"
style=
"margin-left: 10px;"
>
<div
class=
"flex-grow"
style=
"margin-left: 10px;"
>
<div
class=
"flex justify-between"
style=
"margin-bottom: 5px;"
>
<div
class=
"flex justify-between items-center"
style=
"margin-bottom: 2px;"
>
<div
class=
"text-darkBlue text-sm font-bold"
>
<div
class=
"text-darkBlue text-sm font-bold"
>
<router-link
<router-link
:to=
"
{
:to=
"
{
...
@@ -31,11 +36,11 @@
...
@@ -31,11 +36,11 @@
{{
height
}}
{{
height
}}
</router-link>
</router-link>
</div>
</div>
<div
class=
"text-text-color"
>
<div
class=
"text-text-color
text-xs
"
>
{{
timeBlock
|
formatTime
}}
{{
timeBlock
|
formatTime
}}
</div>
</div>
</div>
</div>
<div
style=
"margin-bottom:
5
px;"
>
<div
style=
"margin-bottom:
2
px;"
>
<span
class=
"text-text-color text-xs"
>
<span
class=
"text-text-color text-xs"
>
{{
$t
(
'lang.txDetail.txHash'
)
}}
:
{{
$t
(
'lang.txDetail.txHash'
)
}}
:
</span>
</span>
...
@@ -92,8 +97,8 @@ export default Vue.extend({
...
@@ -92,8 +97,8 @@ export default Vue.extend({
border-radius
:
2px
;
border-radius
:
2px
;
border-bottom
:
1px
solid
#f5f5ff
;
border-bottom
:
1px
solid
#f5f5ff
;
.box
{
.box
{
width
:
9
0px
;
width
:
10
0px
;
height
:
54
px
;
height
:
66
px
;
border-radius
:
2px
;
border-radius
:
2px
;
}
}
}
}
...
...
src/components/mobile/map/m-numOfOnChainTx.vue
View file @
b7621d9b
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
v-for=
"(filter, i) in filters"
v-for=
"(filter, i) in filters"
:key=
"i"
:key=
"i"
@
click=
"currentFilter = filter"
@
click=
"currentFilter = filter"
style=
"margin-left: 15px;"
:style=
"
{
'margin-left': i !== 0
&&
'15px',
}"
class="text-text-color"
class="text-text-color"
:class="{
:class="{
'text-darkBlue': currentFilter === filter,
'text-darkBlue': currentFilter === filter,
...
...
src/components/mobile/menu.vue
View file @
b7621d9b
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
:visible=
"isShow"
:visible=
"isShow"
>
>
<div
class=
"logo mb-3.5 px-6"
>
<div
class=
"logo mb-3.5 px-6"
>
<img
src=
"@/assets/images/
header/logo.png"
width=
"164
"
alt=
"yuanlian"
/>
<img
src=
"@/assets/images/
ycclogo.png"
width=
"140
"
alt=
"yuanlian"
/>
</div>
</div>
<ul
class=
"menulist"
>
<ul
class=
"menulist"
>
<li
<li
...
@@ -106,5 +106,6 @@ export default Vue.extend({
...
@@ -106,5 +106,6 @@ export default Vue.extend({
.menu-active
{
.menu-active
{
background
:
#eff5ff
;
background
:
#eff5ff
;
color
:
#2545cb
;
}
}
</
style
>
</
style
>
src/components/pc/BlockChainBrowser/BlockOverview/LeftBox.vue
View file @
b7621d9b
...
@@ -119,7 +119,7 @@ export default Vue.extend({
...
@@ -119,7 +119,7 @@ export default Vue.extend({
width
:
220px
;
width
:
220px
;
}
}
.theTitle
{
.theTitle
{
width
:
72
px
;
width
:
100
px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
margin-top
:
10px
;
margin-top
:
10px
;
}
}
...
...
src/components/pc/BlockChainBrowser/TabList/index.vue
View file @
b7621d9b
...
@@ -43,7 +43,7 @@ export default Vue.extend({
...
@@ -43,7 +43,7 @@ export default Vue.extend({
font-size
:
18px
;
font-size
:
18px
;
font-family
:
PingFang-SC-Bold
,
PingFang-SC
;
font-family
:
PingFang-SC-Bold
,
PingFang-SC
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#
1f3470
;
color
:
#
7C88AD
;
margin
:
0
30px
;
margin
:
0
30px
;
margin-top
:
28px
;
margin-top
:
28px
;
}
}
...
...
src/components/pc/BlockChainBrowser/TradeTable/index.vue
View file @
b7621d9b
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"hash"
:label=
"$t('lang.trade.sender')"
width=
"
7
0"
>
<el-table-column
prop=
"hash"
:label=
"$t('lang.trade.sender')"
width=
"
16
0"
>
<
template
slot-scope=
"item"
>
<
template
slot-scope=
"item"
>
<router-link
<router-link
:to=
"`/address?address=$
{item.row.fromAddr}`"
:to=
"`/address?address=$
{item.row.fromAddr}`"
...
@@ -76,7 +76,11 @@
...
@@ -76,7 +76,11 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"hash"
:label=
"$t('lang.trade.receiver')"
>
<el-table-column
prop=
"hash"
:label=
"$t('lang.trade.receiver')"
width=
"160"
>
<
template
slot-scope=
"item"
>
<
template
slot-scope=
"item"
>
<router-link
<router-link
:to=
"`/address?address=$
{item.row.tx.to}`"
:to=
"`/address?address=$
{item.row.tx.to}`"
...
@@ -86,7 +90,11 @@
...
@@ -86,7 +90,11 @@
</router-link>
</router-link>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"fee"
:label=
"$t('lang.block.txCount')"
>
<el-table-column
prop=
"fee"
:label=
"$t('lang.block.txCount')"
align=
"center"
>
<
template
slot-scope=
"item"
>
<
template
slot-scope=
"item"
>
<div
class=
"text-darkBlue"
>
<div
class=
"text-darkBlue"
>
{{
item
.
row
|
TradeValue
}}
{{
item
.
row
|
TradeValue
}}
...
@@ -100,7 +108,7 @@
...
@@ -100,7 +108,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('lang.trade.receiveStatus')"
width=
"1
0
0"
>
<el-table-column
:label=
"$t('lang.trade.receiveStatus')"
width=
"1
2
0"
>
<
template
slot-scope=
"item"
>
<
template
slot-scope=
"item"
>
<div>
<div>
<tx-status
<tx-status
...
...
src/components/pc/BlockChainBrowser/TradeTable2.vue
View file @
b7621d9b
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"hash"
:label=
"$t('lang.trade.sender')"
>
<el-table-column
prop=
"hash"
:label=
"$t('lang.trade.sender')"
width=
"160"
>
<
template
slot-scope=
"item"
>
<
template
slot-scope=
"item"
>
<router-link
<router-link
:to=
"`/address?address=$
{item.row.from}`"
:to=
"`/address?address=$
{item.row.from}`"
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"hash"
:label=
"$t('lang.trade.receiver')"
>
<el-table-column
prop=
"hash"
:label=
"$t('lang.trade.receiver')"
width=
"160"
>
<
template
slot-scope=
"item"
>
<
template
slot-scope=
"item"
>
<router-link
<router-link
:to=
"`/address?address=$
{item.row.to}`"
:to=
"`/address?address=$
{item.row.to}`"
...
@@ -86,7 +86,11 @@
...
@@ -86,7 +86,11 @@
</router-link>
</router-link>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"fee"
:label=
"$t('lang.block.txCount')"
>
<el-table-column
prop=
"fee"
:label=
"$t('lang.block.txCount')"
align=
"center"
>
<
template
slot-scope=
"item"
>
<
template
slot-scope=
"item"
>
<div
class=
"text-darkBlue"
>
<div
class=
"text-darkBlue"
>
{{
item
.
row
|
TradeValue
}}
{{
item
.
row
|
TradeValue
}}
...
@@ -100,7 +104,7 @@
...
@@ -100,7 +104,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('lang.trade.receiveStatus')"
width=
"1
0
0"
>
<el-table-column
:label=
"$t('lang.trade.receiveStatus')"
width=
"1
2
0"
>
<
template
slot-scope=
"item"
>
<
template
slot-scope=
"item"
>
<div>
<div>
<tx-status
:status=
"item.row.success"
></tx-status>
<tx-status
:status=
"item.row.success"
></tx-status>
...
@@ -187,6 +191,10 @@ export default Vue.extend({
...
@@ -187,6 +191,10 @@ export default Vue.extend({
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.trade-table
{
.trade-table
{
.has-gutter
{
color
:
#7c88ad
;
}
.tx-start
,
.tx-start
,
.tx-middle
,
.tx-middle
,
.tx-end
{
.tx-end
{
...
...
src/components/pc/txStatus.vue
View file @
b7621d9b
...
@@ -60,12 +60,14 @@ export default Vue.extend({
...
@@ -60,12 +60,14 @@ export default Vue.extend({
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.c-txStatus
{
.c-txStatus
{
.status
{
.status
{
min-width
:
70px
;
width
:
fit-content
;
padding
:
0
10px
;
height
:
30px
;
height
:
30px
;
border-radius
:
15px
;
border-radius
:
15px
;
}
}
.status-small
{
.status-small
{
width
:
50px
;
width
:
fit-content
;
padding
:
0
10px
;
height
:
20px
;
height
:
20px
;
}
}
.success
{
.success
{
...
...
src/layout/MainPage/Header.vue
View file @
b7621d9b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
class=
"min-w-1200 h-16 text-footer-color md:w-bodySet flex justify-between items-center ease-in duration-500"
class=
"min-w-1200 h-16 text-footer-color md:w-bodySet flex justify-between items-center ease-in duration-500"
>
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<img
src=
"@/assets/images/
header/
logo.png"
alt=
"logo"
width=
"164"
/>
<img
src=
"@/assets/images/
ycc
logo.png"
alt=
"logo"
width=
"164"
/>
<ul
class=
"header_menu flex leading-normal text-sm ml-16"
>
<ul
class=
"header_menu flex leading-normal text-sm ml-16"
>
<router-link
<router-link
:to=
"
{ path: '/home', query: { lang: $route.query.lang } }"
:to=
"
{ path: '/home', query: { lang: $route.query.lang } }"
...
@@ -20,18 +20,21 @@
...
@@ -20,18 +20,21 @@
class="pl-5 pr-5 cursor-pointer relative"
class="pl-5 pr-5 cursor-pointer relative"
:class="{
:class="{
' text-white': $route.path === '/blockChainBrowser'
&&
isTop,
' text-white': $route.path === '/blockChainBrowser'
&&
isTop,
' font-bold': $route.path === '/home',
' text-text-color': $route.path !== '/home',
}"
}"
>
>
{{
$t
(
'lang.home'
)
}}
{{
$t
(
'lang.home'
)
}}
<span
<span
v-show=
"$route.path === '/home'"
v-show=
"$route.path === '/home'"
class=
"absolute block w-7 h-1 bg-
active
rounded-2xl left-1/2 -bottom-2 transform -translate-x-1/2"
class=
"absolute block w-7 h-1 bg-
footer-color
rounded-2xl left-1/2 -bottom-2 transform -translate-x-1/2"
></span>
></span>
</router-link>
</router-link>
<li
<li
class=
"pl-5 pr-5 cursor-pointer"
class=
"pl-5 pr-5 cursor-pointer"
:class=
"
{
:class=
"
{
' text-white': $route.path === '/blockChainBrowser'
&&
isTop,
' text-white': $route.path === '/blockChainBrowser'
&&
isTop,
' text-text-color': $route.path !== '/bps',
}"
}"
>
>
<a
<a
...
@@ -51,6 +54,8 @@
...
@@ -51,6 +54,8 @@
tag="li"
tag="li"
:class="{
:class="{
' text-white': $route.path === '/blockChainBrowser'
&&
isTop,
' text-white': $route.path === '/blockChainBrowser'
&&
isTop,
' font-bold': $route.path === '/newsList',
' text-text-color': $route.path !== '/newsList',
}"
}"
class="pl-5 pr-5 cursor-pointer relative"
class="pl-5 pr-5 cursor-pointer relative"
>
>
...
@@ -59,7 +64,7 @@
...
@@ -59,7 +64,7 @@
v-show=
"
v-show=
"
$route.path === '/newsList' || $route.path === '/newsDetails'
$route.path === '/newsList' || $route.path === '/newsDetails'
"
"
class=
"absolute block w-7 h-1 bg-
active
rounded-2xl left-1/2 -bottom-2 transform -translate-x-1/2"
class=
"absolute block w-7 h-1 bg-
footer-color
rounded-2xl left-1/2 -bottom-2 transform -translate-x-1/2"
></span>
></span>
</router-link>
</router-link>
<router-link
<router-link
...
@@ -71,6 +76,8 @@
...
@@ -71,6 +76,8 @@
class="pl-5 pr-5 cursor-pointer relative"
class="pl-5 pr-5 cursor-pointer relative"
:class="{
:class="{
' text-white': $route.path === '/blockChainBrowser'
&&
isTop,
' text-white': $route.path === '/blockChainBrowser'
&&
isTop,
' font-bold': $route.path === '/blockChainBrowser',
' text-text-color': $route.path !== '/blockChainBrowser',
}"
}"
>
>
{{
$t
(
'lang.blockChainBrowser'
)
}}
{{
$t
(
'lang.blockChainBrowser'
)
}}
...
@@ -83,7 +90,7 @@
...
@@ -83,7 +90,7 @@
$route.path === '/tradeList' ||
$route.path === '/tradeList' ||
$route.path === '/address'
$route.path === '/address'
"
"
class=
"absolute block w-7 h-1 bg-
active
rounded-2xl left-1/2 -bottom-2 transform -translate-x-1/2"
class=
"absolute block w-7 h-1 bg-
footer-color
rounded-2xl left-1/2 -bottom-2 transform -translate-x-1/2"
:class=
"
{
:class=
"
{
' bg-white': $route.path === '/blockChainBrowser'
&&
isTop,
' bg-white': $route.path === '/blockChainBrowser'
&&
isTop,
}"
}"
...
@@ -149,7 +156,7 @@
...
@@ -149,7 +156,7 @@
}"
}"
>
>
<div
class=
"logo mx-3.5"
>
<div
class=
"logo mx-3.5"
>
<img
src=
"@/assets/images/
header/logo-m.png"
alt=
"logo"
width=
"164
"
/>
<img
src=
"@/assets/images/
ycclogo.png"
alt=
"logo"
width=
"140
"
/>
</div>
</div>
<div
class=
"flex justify-between items-center"
>
<div
class=
"flex justify-between items-center"
>
<div
class=
"relative"
>
<div
class=
"relative"
>
...
...
src/views/mobile/address/components/m-address-overview/m-four-params.vue
View file @
b7621d9b
...
@@ -96,7 +96,6 @@ export default Vue.extend({
...
@@ -96,7 +96,6 @@ export default Vue.extend({
const
c
=
this
.
$refs
.
c2
as
HTMLElement
const
c
=
this
.
$refs
.
c2
as
HTMLElement
const
d
=
this
.
$refs
.
d2
as
HTMLElement
const
d
=
this
.
$refs
.
d2
as
HTMLElement
;[
a
,
b
,
c
,
d
].
forEach
((
el
:
HTMLElement
)
=>
{
;[
a
,
b
,
c
,
d
].
forEach
((
el
:
HTMLElement
)
=>
{
console
.
log
(
el
,
father
,
el
.
offsetWidth
,
father
.
offsetWidth
)
if
(
el
.
offsetWidth
>=
father
.
offsetWidth
)
{
if
(
el
.
offsetWidth
>=
father
.
offsetWidth
)
{
el
.
style
.
fontSize
=
'10px'
el
.
style
.
fontSize
=
'10px'
}
}
...
...
src/views/mobile/tradeDetail.vue
View file @
b7621d9b
...
@@ -20,7 +20,12 @@
...
@@ -20,7 +20,12 @@
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div
class=
"label"
>
{{
$t
(
'lang.block.height'
)
}}
</div>
<div
class=
"label"
>
{{
$t
(
'lang.block.height'
)
}}
</div>
<div
class=
"content"
>
<div
class=
"content"
>
{{
data
.
height
}}
<router-link
:to=
"`/blockDetail?height=$
{data.height}`"
class="text-footer-color"
>
{{
data
.
height
}}
</router-link>
</div>
</div>
</div>
</div>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
...
...
src/views/pc/blockDetail/components/consensusNodeTable.vue
View file @
b7621d9b
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('lang.trade.type')"
align=
"right"
width=
"
9
0"
>
<el-table-column
:label=
"$t('lang.trade.type')"
align=
"right"
width=
"
15
0"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<div
class=
"text-darkBlue"
>
<div
class=
"text-darkBlue"
>
{{
{{
...
...
src/views/pc/tradeDetail.vue
View file @
b7621d9b
...
@@ -58,7 +58,10 @@
...
@@ -58,7 +58,10 @@
<span>
{{
$t
(
'lang.txDetail.height'
)
}}
</span>
<span>
{{
$t
(
'lang.txDetail.height'
)
}}
</span>
</label>
</label>
<div
class=
"item-text"
v-loading=
"loading"
>
<div
class=
"item-text"
v-loading=
"loading"
>
<router-link
:to=
"`/blockDetail?height=$
{data.height}`" class="light">
<router-link
:to=
"`/blockDetail?height=$
{data.height}`"
class="light text-footer-color"
>
{{
data
.
height
}}
{{
data
.
height
}}
</router-link>
</router-link>
</div>
</div>
...
...
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