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
1efbad30
Commit
1efbad30
authored
Feb 21, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复移动端样式问题
parent
19dce072
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
187 additions
and
174 deletions
+187
-174
m-block-desc-card.vue
src/components/mobile/m-block-desc-card.vue
+11
-13
m-chain-perf.vue
src/components/mobile/m-chain-perf.vue
+0
-1
m-consensus-node.vue
src/components/mobile/m-consensus-node.vue
+1
-1
m-pageContainer.vue
src/components/mobile/m-pageContainer.vue
+0
-3
index.vue
src/views/mobile/address/index.vue
+12
-6
block.vue
src/views/mobile/block.vue
+14
-12
blockChainBrowser.vue
src/views/mobile/blockChainBrowser.vue
+8
-5
index.vue
src/views/mobile/blockDetail/index.vue
+43
-38
tradeDetail.vue
src/views/mobile/tradeDetail.vue
+97
-95
tailwind.config.js
tailwind.config.js
+1
-0
No files found.
src/components/mobile/m-block-desc-card.vue
View file @
1efbad30
...
@@ -8,6 +8,11 @@
...
@@ -8,6 +8,11 @@
>
>
<div
class=
"flex items-end justify-between"
>
<div
class=
"flex items-end justify-between"
>
<img
:src=
"blockIcon"
class=
"blockIcon"
alt=
""
/>
<img
:src=
"blockIcon"
class=
"blockIcon"
alt=
""
/>
</div>
<div
class=
"flex justify-between mt-1"
>
<div
class=
"text-text-color text-xs"
>
{{
$t
(
'lang.txDetail.height'
)
}}
</div>
<div>
<div>
<span
class=
"text-text-color text-xs"
>
<span
class=
"text-text-color text-xs"
>
{{
$t
(
'lang.block.blockReward'
)
}}
{{
$t
(
'lang.block.blockReward'
)
}}
...
@@ -17,14 +22,6 @@
...
@@ -17,14 +22,6 @@
</span>
</span>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-between mt-1"
>
<div
class=
"text-text-color text-xs"
>
{{
$t
(
'lang.txDetail.height'
)
}}
</div>
<div
class=
"text-text-color text-xs"
>
{{
height
|
filterVotePackReward
}}
</div>
</div>
<div
class=
"flex justify-between items-end mb-6"
style=
"margin-top: 3px;"
>
<div
class=
"flex justify-between items-end mb-6"
style=
"margin-top: 3px;"
>
<div
class=
"text-footer-color font-bold text-3xl"
>
<div
class=
"text-footer-color font-bold text-3xl"
>
{{
height
}}
{{
height
}}
...
@@ -52,7 +49,7 @@
...
@@ -52,7 +49,7 @@
</div>
</div>
<div
class=
"text-darkBlue text-sm flex items-center"
>
<div
class=
"text-darkBlue text-sm flex items-center"
>
<div>
<div>
{{
hash
|
filterHash
}}
{{
hash
|
filterHash
(
10
)
}}
</div>
</div>
<m-copy-btn
class=
"ml-2"
:copyTxt=
"hash"
></m-copy-btn>
<m-copy-btn
class=
"ml-2"
:copyTxt=
"hash"
></m-copy-btn>
</div>
</div>
...
@@ -63,7 +60,7 @@
...
@@ -63,7 +60,7 @@
</div>
</div>
<div
class=
"text-darkBlue text-sm flex items-center"
>
<div
class=
"text-darkBlue text-sm flex items-center"
>
<div>
<div>
{{
merkelgen
|
filterHash
}}
{{
merkelgen
|
filterHash
(
10
)
}}
</div>
</div>
<m-copy-btn
class=
"ml-2"
:copyTxt=
"merkelgen"
></m-copy-btn>
<m-copy-btn
class=
"ml-2"
:copyTxt=
"merkelgen"
></m-copy-btn>
</div>
</div>
...
@@ -74,7 +71,7 @@
...
@@ -74,7 +71,7 @@
</div>
</div>
<div
class=
"text-darkBlue text-sm flex items-center"
>
<div
class=
"text-darkBlue text-sm flex items-center"
>
<div>
<div>
{{
stateHash
|
filterHash
}}
{{
stateHash
|
filterHash
(
10
)
}}
</div>
</div>
<m-copy-btn
class=
"ml-2"
:copyTxt=
"stateHash"
></m-copy-btn>
<m-copy-btn
class=
"ml-2"
:copyTxt=
"stateHash"
></m-copy-btn>
</div>
</div>
...
@@ -82,7 +79,7 @@
...
@@ -82,7 +79,7 @@
</div>
</div>
<div
class=
"c-block-desc-bottom flex justify-between"
>
<div
class=
"c-block-desc-bottom flex justify-between"
>
<div
<div
class=
"relativeBlock relativeBlock-last text-center"
class=
"relativeBlock relativeBlock-last text-center
flex-grow
"
:style=
"
{
:style=
"
{
backgroundImage: `url(${lastBlockBg})`,
backgroundImage: `url(${lastBlockBg})`,
}"
}"
...
@@ -109,8 +106,9 @@
...
@@ -109,8 +106,9 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
style=
"width: 15px;"
></div>
<div
<div
class=
"relativeBlock relativeBlock-next text-center"
class=
"relativeBlock relativeBlock-next text-center
flex-grow
"
:style=
"
{
:style=
"
{
backgroundImage: `url(${nextBlockBg})`,
backgroundImage: `url(${nextBlockBg})`,
}"
}"
...
...
src/components/mobile/m-chain-perf.vue
View file @
1efbad30
...
@@ -51,7 +51,6 @@ export default Vue.extend({
...
@@ -51,7 +51,6 @@ export default Vue.extend({
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.c-perf
{
.c-perf
{
width
:
145px
;
height
:
225px
;
height
:
225px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
1px
8px
0px
rgba
(
31
,
52
,
112
,
0
.06
);
box-shadow
:
0px
1px
8px
0px
rgba
(
31
,
52
,
112
,
0
.06
);
...
...
src/components/mobile/m-consensus-node.vue
View file @
1efbad30
<
template
>
<
template
>
<div
class=
"consensus-node
bg-white
"
>
<div
class=
"consensus-node
"
style=
"background: #fafbfc;
"
>
<div
<div
class=
"box"
class=
"box"
:style=
"
{
:style=
"
{
...
...
src/components/mobile/m-pageContainer.vue
View file @
1efbad30
...
@@ -182,9 +182,6 @@ $white: #6368de;
...
@@ -182,9 +182,6 @@ $white: #6368de;
}
}
}
}
.detail
{
margin-bottom
:
12px
;
}
.first-pager
,
.first-pager
,
.last-pager
{
.last-pager
{
background
:
#f4f4f5
;
background
:
#f4f4f5
;
...
...
src/views/mobile/address/index.vue
View file @
1efbad30
...
@@ -2,12 +2,17 @@
...
@@ -2,12 +2,17 @@
<div
class=
"c-address mx-3.5 flow-root"
>
<div
class=
"c-address mx-3.5 flow-root"
>
<m-chain-search
class=
"mt-3.5"
></m-chain-search>
<m-chain-search
class=
"mt-3.5"
></m-chain-search>
<m-address-overview
class=
"mt-5"
></m-address-overview>
<m-address-overview
class=
"mt-5"
></m-address-overview>
<m-tabs
<div
:focusedTab=
"focusedTab"
class=
"rounded-twoPx overflow-hidden shadow-shadow1"
:setFocusedTab=
"($event) => (focusedTab = $event)"
style=
"margin-top: 15px;"
:tabList=
"tabList"
>
></m-tabs>
<m-tabs
<m-vote-pack
:rewardAmount=
"30"
class=
"mb-3"
:type=
"'lskjd'"
></m-vote-pack>
:focusedTab=
"focusedTab"
:setFocusedTab=
"($event) => (focusedTab = $event)"
:tabList=
"tabList"
></m-tabs>
<m-vote-pack
:rewardAmount=
"30"
:type=
"'lskjd'"
></m-vote-pack>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
...
@@ -29,5 +34,6 @@ export default VueTypedMixins(address).extend({
...
@@ -29,5 +34,6 @@ export default VueTypedMixins(address).extend({
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.c-address
{
.c-address
{
padding-top
:
44px
;
padding-top
:
44px
;
padding-bottom
:
23px
;
}
}
</
style
>
</
style
>
src/views/mobile/block.vue
View file @
1efbad30
...
@@ -9,18 +9,19 @@
...
@@ -9,18 +9,19 @@
:total=
"pages.total"
:total=
"pages.total"
class=
"mt-5"
class=
"mt-5"
></m-page-container>
></m-page-container>
<m-title
<div
class=
"rounded-twoPx overflow-hidden shadow-shadow1 mt-3.5"
>
class=
"mt-3.5"
<m-title
:title=
"`$
{$t('lang.block.title')}(${234234}${$t('lang.block.count')})`"
:title=
"`$
{$t('lang.block.title')}(${234234}${$t('lang.block.count')})`"
>
</m-title>
>
</m-title>
<m-block-item
<m-block-item
v-for=
"(item, i) in Blocks"
v-for=
"(item, i) in Blocks"
:blockTime=
"item.blockTime"
:blockTime=
"item.blockTime"
:height=
"item.height"
:height=
"item.height"
:packagingAddress=
"item.hash"
:packagingAddress=
"item.hash"
:txCount=
"item.txCount"
:txCount=
"item.txCount"
:key=
"i"
:key=
"i"
></m-block-item>
></m-block-item>
</div>
<m-page-container
<m-page-container
:simple=
"false"
:simple=
"false"
@
pageChange=
"pageChange"
@
pageChange=
"pageChange"
...
@@ -47,5 +48,6 @@ export default VueTypedMixins(blockMixin).extend({
...
@@ -47,5 +48,6 @@ export default VueTypedMixins(blockMixin).extend({
.c-block
{
.c-block
{
padding-top
:
44px
;
padding-top
:
44px
;
border-radius
:
2px
;
border-radius
:
2px
;
padding-bottom
:
23px
;
}
}
</
style
>
</
style
>
src/views/mobile/blockChainBrowser.vue
View file @
1efbad30
<
template
>
<
template
>
<div
class=
""
style=
"padding-top: 44px;"
>
<div
class=
""
style=
"padding-top: 44px;
padding-bottom: 24px;
"
>
<m-chain-search
<m-chain-search
style=
"margin-top: 15px;"
style=
"margin-top: 15px;"
class=
"mx-4 mt-4"
class=
"mx-4 mt-4"
></m-chain-search>
></m-chain-search>
<div
class=
"relative flex justify-end"
>
<div
class=
"relative flex justify-end"
style=
"margin-top: 19px;"
>
<m-chain-card
<m-chain-card
class=
"ml-4 absolute top-1/2 -translate-y-1/2 transform left-0"
class=
"ml-4 absolute top-1/2 -translate-y-1/2 transform left-0"
:msgList=
"msgList"
:msgList=
"msgList"
...
@@ -14,13 +14,16 @@
...
@@ -14,13 +14,16 @@
<m-num-of-on-chain-tx
class=
"mx-4 mt-3.5"
></m-num-of-on-chain-tx>
<m-num-of-on-chain-tx
class=
"mx-4 mt-3.5"
></m-num-of-on-chain-tx>
<div
class=
"flex justify-between mx-4 mt-3.5"
>
<div
class=
"flex justify-between mx-4 mt-3.5"
>
<m-chain-price
class=
"flex-shrink-0"
></m-chain-price>
<m-chain-price
class=
"flex-shrink-0"
></m-chain-price>
<m-chain-perf
class=
"flex-shrink-0"
></m-chain-perf>
<div
style=
"width: 15px;"
></div>
<m-chain-perf
class=
"flex-grow"
></m-chain-perf>
</div>
</div>
<m-latest-blocks
<m-latest-blocks
class=
"mx-4 mt-3.5"
class=
"mx-4 mt-3.5
shadow-shadow1 rounded-twoPx overflow-hidden
"
:latestBlocks=
"latestBlocks"
:latestBlocks=
"latestBlocks"
></m-latest-blocks>
></m-latest-blocks>
<m-latest-tx
class=
"mx-4"
></m-latest-tx>
<m-latest-tx
class=
"mx-4 mt-3.5 shadow-shadow1 rounded-twoPx overflow-hidden"
></m-latest-tx>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/mobile/blockDetail/index.vue
View file @
1efbad30
...
@@ -13,46 +13,50 @@
...
@@ -13,46 +13,50 @@
:nextBlockHeight=
"overview.nextBlockHeight"
:nextBlockHeight=
"overview.nextBlockHeight"
:loading=
"loadingOverview"
:loading=
"loadingOverview"
></m-block-desc-card>
></m-block-desc-card>
<m-tabs
<div
class=
"rounded-twoPx overflow-hidden shadow-shadow1"
>
class=
"mt-3.5"
<m-tabs
:tabList=
"tabList"
:focusedTab=
"focusedTab"
:setFocusedTab=
"setFocusedTab"
></m-tabs>
<div
class=
"bg-white px-4"
>
<Select
:selectedValue=
"txRecordFilterValue"
:optionList=
"txRecordFilterOptionList"
@
change=
"(v) => (txRecordFilterValue = v)"
></Select>
</div>
<div
v-if=
"focusedTab === 'txRecordTab'"
class=
"flow-root"
>
<m-tx-item
v-for=
"(trade, i) in Trades"
:key=
"i"
:row=
"trade"
:amount=
"trade.amount"
:txHash=
"trade.tx.hash"
:from=
"trade.tx.from"
:blockTime=
"trade.blockTime"
:to=
"trade.tx.to"
:tradeG=
"trade.tradeG"
:status=
"isSuccess(trade.tx.execer, trade.receipt.ty)"
></m-tx-item>
<m-page-container
class=
"mt-3.5"
class=
"mt-3.5"
:simple=
"false"
:tabList=
"tabList"
@
pageChange=
"pageChange"
:focusedTab=
"focusedTab"
@
sizeChange=
"sizeChange"
:setFocusedTab=
"setFocusedTab"
:currentPage=
"pages.currentPage"
></m-tabs>
:pageSize=
"pages.pageSize"
<div
class=
"bg-white px-4"
>
:total=
"pages.total"
<Select
></m-page-container>
v-if=
"focusedTab === 'txRecordTab'"
</div>
:selectedValue=
"txRecordFilterValue"
<div
v-if=
"focusedTab === 'consensusNodeTab'"
class=
"flow-root"
>
:optionList=
"txRecordFilterOptionList"
<m-consensus-node></m-consensus-node>
@
change=
"(v) => (txRecordFilterValue = v)"
<m-consensus-node
type=
"vote"
></m-consensus-node>
></Select>
</div>
<div
v-if=
"focusedTab === 'txRecordTab'"
class=
"flow-root"
>
<m-tx-item
v-for=
"(trade, i) in Trades"
:key=
"i"
:row=
"trade"
:amount=
"trade.amount"
:txHash=
"trade.tx.hash"
:from=
"trade.tx.from"
:blockTime=
"trade.blockTime"
:to=
"trade.tx.to"
:tradeG=
"trade.tradeG"
:status=
"isSuccess(trade.tx.execer, trade.receipt.ty)"
></m-tx-item>
</div>
<div
v-if=
"focusedTab === 'consensusNodeTab'"
class=
"flow-root"
>
<m-consensus-node></m-consensus-node>
<m-consensus-node
type=
"vote"
></m-consensus-node>
</div>
</div>
</div>
<m-page-container
v-if=
"focusedTab === 'txRecordTab'"
class=
"mt-3.5"
:simple=
"false"
@
pageChange=
"pageChange"
@
sizeChange=
"sizeChange"
:currentPage=
"pages.currentPage"
:pageSize=
"pages.pageSize"
:total=
"pages.total"
></m-page-container>
</div>
</div>
</
template
>
</
template
>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
...
@@ -80,5 +84,6 @@ export default VueTypedMixins(blockDetailMixin).extend({
...
@@ -80,5 +84,6 @@ export default VueTypedMixins(blockDetailMixin).extend({
<
style
lang=
"scss"
MChainSearchscoped
>
<
style
lang=
"scss"
MChainSearchscoped
>
.c-blockDetail
{
.c-blockDetail
{
padding-top
:
44px
;
padding-top
:
44px
;
padding-bottom
:
23px
;
}
}
</
style
>
</
style
>
src/views/mobile/tradeDetail.vue
View file @
1efbad30
<
template
>
<
template
>
<div
class=
"c-trade-detail mx-4 flow-root"
>
<div
class=
"c-trade-detail mx-4 flow-root"
>
<MChainSearch
class=
"mt-3.5"
></MChainSearch>
<MChainSearch
class=
"mt-3.5"
></MChainSearch>
<m-title
:title=
"$t('lang.txDetail.detail')"
class=
"mt-5"
></m-title>
<div
class=
"rounded-twoPx overflow-hidden shadow-shadow1 mt-5"
>
<div
class=
"bg-white px-3.5 mb-5"
>
<m-title
:title=
"$t('lang.txDetail.detail')"
></m-title>
<div
class=
"flex items-center"
>
<div
class=
"bg-white px-3.5 mb-5"
>
<div
class=
"label"
>
{{
$t
(
'lang.block.hash'
)
}}
</div>
<div
class=
"flex items-center"
>
<div
class=
"content"
>
<div
class=
"label"
>
{{
$t
(
'lang.block.hash'
)
}}
</div>
{{
data
.
hash
|
filterHash
}}
<div
class=
"content"
>
<m-copy-btn
:copyTxt=
"data.hash"
></m-copy-btn>
{{
data
.
hash
|
filterHash
}}
<m-copy-btn
:copyTxt=
"data.hash"
></m-copy-btn>
</div>
</div>
</div>
</div
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div
class=
"label"
>
{{
$t
(
'lang.txDetail.status'
)
}}
</div
>
<div
class=
"label"
>
{{
$t
(
'lang.txDetail.status'
)
}}
</div
>
<div
class=
"content"
>
<div
class=
"content"
>
<tx-status
size=
"small"
:status=
"data.status"
></tx-status
>
<
tx-status
size=
"small"
:status=
"data.status"
></tx-status
>
<
/div
>
</div>
</div>
</div
>
<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
}}
{{
data
.
height
}}
</div>
</div>
</div>
</div
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div
class=
"label"
>
{{
$t
(
'lang.txDetail.time'
)
}}
</div
>
<div
class=
"label"
>
{{
$t
(
'lang.txDetail.time'
)
}}
</div
>
<div
class=
"content"
>
<div
class=
"content"
>
{{
data
.
blockTime
|
formatTime
}}
{{
data
.
blockTime
|
formatTime
}}
</div>
</div>
</div>
</div
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div
class=
"label"
>
{{
$t
(
'lang.trade.sender'
)
}}
</div
>
<div
class=
"label"
>
{{
$t
(
'lang.trade.sender'
)
}}
</div
>
<div
class=
"content"
>
<div
class=
"content"
>
<router-link
<router-link
:to=
"`/address?address=$
{data.from}`"
:to=
"`/address?address=$
{data.from}`
"
class="text-footer-color
"
class="text-footer-color"
>
>
{{
data
.
from
|
filterHash
(
10
)
}}
{{
data
.
from
|
filterHash
(
10
)
}}
</router-link>
</
router-link
>
</
div
>
</div>
</div>
</div
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div
class=
"label"
>
{{
$t
(
'lang.trade.receiver'
)
}}
</div
>
<div
class=
"label"
>
{{
$t
(
'lang.trade.receiver'
)
}}
</div
>
<div
class=
"content"
>
<div
class=
"content"
>
<router-link
<router-link
:to=
"`/address?address=$
{data.to}`"
:to=
"`/address?address=$
{data.to}`
"
class="text-footer-color
"
class="text-footer-color"
>
>
{{
data
.
to
|
filterHash
(
10
)
}}
{{
data
.
to
|
filterHash
(
10
)
}}
</router-link>
</
router-link
>
</
div
>
</div>
</div>
</div
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<div
class=
"label"
>
{{
$t
(
'lang.txDetail.value'
)
}}
</div
>
<div
class=
"label"
>
{{
$t
(
'lang.txDetail.value'
)
}}
</div
>
<div
class=
"content"
>
<div
class=
"content"
>
{{
{{
{
amount
:
data
.
amount
,
assets
:
data
.
assets
,
tx
:
data
.
inData
}
{
amount
:
data
.
amount
,
assets
:
data
.
assets
,
tx
:
data
.
inData
}
|
TradeValue
|
TradeValue
}}
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.fee'
)
}}
<
/div
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.fee'
)
}}
<
/div
>
<
div
class
=
"content"
>
<
div
class
=
"content"
>
{{
data
.
fee
|
filterFee
}}
{{
data
.
fee
|
filterFee
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.random'
)
}}
<
/div
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.random'
)
}}
<
/div
>
<
div
class
=
"content"
>
<
div
class
=
"content"
>
{{
String
(
data
.
nonce
)
}}
{{
String
(
data
.
nonce
)
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.execer'
)
}}
<
/div
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.execer'
)
}}
<
/div
>
<
div
class
=
"content"
>
<
div
class
=
"content"
>
{{
data
.
execer
}}
{{
data
.
execer
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"label"
>
{{
$t
(
'lang.trade.func'
)
}}
<
/div
>
<
div
class
=
"label"
>
{{
$t
(
'lang.trade.func'
)
}}
<
/div
>
<
div
class
=
"content"
>
<
div
class
=
"content"
>
{{
data
.
actionName
===
'unknown'
?
'none'
:
data
.
actionName
}}
{{
data
.
actionName
===
'unknown'
?
'none'
:
data
.
actionName
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"flex items-center"
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.txType'
)
}}
<
/div
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.txType'
)
}}
<
/div
>
<
div
class
=
"content"
>
<
div
class
=
"content"
>
{{
{{
data
.
txType
===
'normalTx'
data
.
txType
===
'normalTx'
?
$t
(
'lang.txDetail.normalTx'
)
?
$t
(
'lang.txDetail.normal
Tx'
)
:
$t
(
'lang.txDetail.group
Tx'
)
:
$t
(
'lang.txDetail.groupTx'
)
}}
}}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
""
>
<
div
class
=
""
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.inData'
)
}}
<
/div
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.inData'
)
}}
<
/div
>
<
div
class
=
"preBox"
>
<
div
class
=
"preBox"
>
<
pre
<
pre
class
=
"preTxt"
class
=
"preTxt"
contenteditable
=
"true"
contenteditable
=
"true"
><
code
>
{{
data
.
inData
|
decodeTransferNote
}}
<
/code
>
><
code
>
{{
data
.
inData
|
decodeTransferNote
}}
<
/code
>
<
/pre
>
<
/pre
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"pb-3.5"
>
<
div
class
=
"pb-3.5"
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.outData'
)
}}
<
/div
>
<
div
class
=
"label"
>
{{
$t
(
'lang.txDetail.outData'
)
}}
<
/div
>
<
div
class
=
"preBox"
>
<
div
class
=
"preBox"
>
<
pre
<
pre
class
=
"preTxt"
class
=
"preTxt"
contenteditable
=
"true"
contenteditable
=
"true"
><
code
>
{{
data
.
outData
}}
<
/code
>
><
code
>
{{
data
.
outData
}}
<
/code
>
<
/pre
>
<
/pre
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
...
tailwind.config.js
View file @
1efbad30
...
@@ -152,6 +152,7 @@ module.exports = {
...
@@ -152,6 +152,7 @@ module.exports = {
"2xl"
:
"1rem"
,
"2xl"
:
"1rem"
,
"3xl"
:
"1.5rem"
,
"3xl"
:
"1.5rem"
,
full
:
"9999px"
,
full
:
"9999px"
,
twoPx
:
"2px"
,
},
},
borderWidth
:
{
borderWidth
:
{
DEFAULT
:
"1px"
,
DEFAULT
:
"1px"
,
...
...
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