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
bd86462f
Commit
bd86462f
authored
Mar 03, 2022
by
chenqikuai
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
df80375c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
address.ts
src/mixin/address.ts
+4
-1
index.vue
src/views/mobile/address/index.vue
+7
-0
index.vue
src/views/pc/address/index.vue
+2
-2
No files found.
src/mixin/address.ts
View file @
bd86462f
...
...
@@ -19,6 +19,7 @@ export default Vue.extend({
return
{
value
:
""
,
focusedTab
:
"txRecord"
,
total1
:
0
,
pages
:
{
currentPage
:
1
,
pageSize
:
10
,
...
...
@@ -141,7 +142,9 @@ export default Vue.extend({
this
.
loadingTxRecordTable
=
true
;
getAddressTxCount
(
this
.
$route
.
query
.
address
as
string
).
then
((
res
)
=>
{
if
(
res
.
error
===
null
)
{
this
.
pages
.
total
=
res
.
result
>
10000
?
10000
:
res
.
result
;
this
.
total1
=
res
.
result
;
this
.
pages
.
total
=
res
.
result
;
// this.pages.total = res.result > 10000 ? 10000 : res.result;
getAddrTxList
(
this
.
$route
.
query
.
address
as
string
,
this
.
pages
.
currentPage
,
...
...
src/views/mobile/address/index.vue
View file @
bd86462f
...
...
@@ -19,6 +19,10 @@
:tabList=
"tabList"
></m-tabs>
<div
v-if=
"focusedTab === 'txRecord'"
>
<!--
<div
class=
"bg-white text-text-color pl-3.5"
>
-->
<!--
{{
$t
(
'lang.trade.txTotal'
,
[
total1
])
}}
-->
<!-- (
{{
$t
(
'lang.trade.tip2'
)
}}
) -->
<!--
</div>
-->
<m-tx-item
v-for=
"(n, i) in txRecordList"
:style=
"
{
...
...
@@ -67,6 +71,7 @@
v-if=
"focusedTab === 'txRecord'"
@
pageChange=
"pageChange"
@
sizeChange=
"sizeChange"
:simple=
"false"
:currentPage=
"pages.currentPage"
:pageSize=
"pages.pageSize"
:total=
"pages.total"
...
...
@@ -76,6 +81,7 @@
v-if=
"focusedTab === 'votingRecord'"
@
pageChange=
"pageChange2"
@
sizeChange=
"sizeChange2"
:simple=
"false"
:currentPage=
"pages2.currentPage"
:pageSize=
"pages2.pageSize"
:total=
"pages2.total"
...
...
@@ -85,6 +91,7 @@
v-if=
"focusedTab === 'packingRecord'"
@
pageChange=
"pageChange3"
@
sizeChange=
"sizeChange3"
:simple=
"false"
:currentPage=
"pages3.currentPage"
:pageSize=
"pages3.pageSize"
:total=
"pages3.total"
...
...
src/views/pc/address/index.vue
View file @
bd86462f
...
...
@@ -33,8 +33,8 @@
:value=
"selectedOption"
>
<template
#
left
>
{{
$t
(
'lang.trade.txTotal'
,
[
pages
.
total
])
}}
(
{{
$t
(
'lang.trade.tip'
)
}}
)
{{
$t
(
'lang.trade.txTotal'
,
[
total1
])
}}
<!-- (
{{
$t
(
'lang.trade.tip2'
)
}}
) -->
</
template
>
</DataFilter>
<TradeTable2
...
...
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