Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
2c850186
Commit
2c850186
authored
Aug 31, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 订单管理点中数字变蓝色
parent
1ab17635
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
index.vue
src/pages/mine/order/index.vue
+20
-4
No files found.
src/pages/mine/order/index.vue
View file @
2c850186
...
...
@@ -41,9 +41,13 @@
@
click=
"handleClick(index)"
hover-class=
"u-hover-class"
>
<view
:class=
"['count-view',
{ active: item.type == 'finish' }]">
{{
info
[
item
.
key
]
||
0
}}
</view>
<view
:class=
"[
'count-view',
{ active: currentClicks[current][item.type] },
]"
>
{{
info
[
item
.
key
]
||
0
}}
</view
>
<view>
{{
item
.
label
}}
</view>
</view>
</view>
...
...
@@ -61,7 +65,7 @@ export default {
info
:
{},
offset
:
[
0
,
0
],
current
:
0
,
current
Time
:
'today'
,
current
Clicks
:
[]
,
}
},
computed
:
{
...
...
@@ -104,8 +108,12 @@ export default {
currentParam
()
{
return
this
.
params
[
this
.
current
]
},
clicks
()
{
return
{
take
:
false
,
checkin
:
false
,
finish
:
false
}
},
},
onLoad
()
{
this
.
currentClicks
=
this
.
clicks
this
.
getOrderCount
()
},
methods
:
{
...
...
@@ -127,6 +135,14 @@ export default {
},
handleClick
(
index
)
{
var
item
=
this
.
detailLabels
[
index
]
this
.
currentClicks
=
[
{
...
this
.
clicks
},
{
...
this
.
clicks
},
{
...
this
.
clicks
},
{
...
this
.
clicks
},
]
this
.
currentClicks
[
this
.
current
][
item
.
type
]
=
true
if
(
this
.
info
[
item
.
key
]
>
0
)
{
this
.
$u
.
route
({
url
:
'pages/mine/order/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