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
4e574c40
Commit
4e574c40
authored
Feb 18, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复mobile端 交易中金额的展示以及tab参数的传递
parent
befa3c8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
m-txItem.vue
src/components/mobile/m-txItem.vue
+2
-1
index.vue
src/views/mobile/blockDetail/index.vue
+6
-5
No files found.
src/components/mobile/m-txItem.vue
View file @
4e574c40
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
{{
$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"
>
{{
amount
|
filterAmount
}}
YCC
{{
row
|
TradeValue
}}
</div>
</div>
</div>
</div>
<div
class=
"text-xs text-text-color"
>
<div
class=
"text-xs text-text-color"
>
...
@@ -106,6 +106,7 @@ export default Vue.extend({
...
@@ -106,6 +106,7 @@ export default Vue.extend({
from
:
String
,
from
:
String
,
to
:
String
,
to
:
String
,
status
:
Boolean
,
status
:
Boolean
,
row
:
Object
,
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/mobile/blockDetail/index.vue
View file @
4e574c40
...
@@ -21,15 +21,16 @@
...
@@ -21,15 +21,16 @@
></m-tabs>
></m-tabs>
<div
class=
"bg-white px-4"
>
<div
class=
"bg-white px-4"
>
<Select
<Select
:selectedValue=
"
selectedOption
"
:selectedValue=
"
txRecordFilterValue
"
:optionList=
"
o
ptionList"
:optionList=
"
txRecordFilterO
ptionList"
@
change=
"
selectOption
"
@
change=
"
(v) => (txRecordFilterValue = v)
"
></Select>
></Select>
</div>
</div>
<div
v-if=
"focusedTab === '
1
'"
class=
"flow-root"
>
<div
v-if=
"focusedTab === '
txRecordTab
'"
class=
"flow-root"
>
<m-tx-item
<m-tx-item
v-for=
"(trade, i) in Trades"
v-for=
"(trade, i) in Trades"
:key=
"i"
:key=
"i"
:row=
"trade"
:amount=
"trade.amount"
:amount=
"trade.amount"
:txHash=
"trade.tx.hash"
:txHash=
"trade.tx.hash"
:from=
"trade.tx.from"
:from=
"trade.tx.from"
...
@@ -48,7 +49,7 @@
...
@@ -48,7 +49,7 @@
:total=
"pages.total"
:total=
"pages.total"
></m-page-container>
></m-page-container>
</div>
</div>
<div
v-if=
"focusedTab === '
2
'"
class=
"flow-root"
>
<div
v-if=
"focusedTab === '
consensusNodeTab
'"
class=
"flow-root"
>
<m-consensus-node></m-consensus-node>
<m-consensus-node></m-consensus-node>
<m-consensus-node
type=
"vote"
></m-consensus-node>
<m-consensus-node
type=
"vote"
></m-consensus-node>
</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