Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
4454d431
Commit
4454d431
authored
Mar 20, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
ac8ef05c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
8 deletions
+28
-8
happinessPassbook.vue
pages/user-center/happinessPassbook.vue
+14
-4
points.vue
pages/user-center/points.vue
+14
-4
No files found.
pages/user-center/happinessPassbook.vue
View file @
4454d431
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
<view
style=
"padding: 20rpx 0;"
>
<view
style=
"padding: 20rpx 0;"
>
<view
class=
"userMyOrderState row-sb-n"
>
<view
class=
"userMyOrderState row-sb-n"
>
<view
v-for=
"(item,index) in stateList"
:key=
"index"
<view
v-for=
"(item,index) in stateList"
:key=
"index"
:class=
"[msg.
Typ
e==item.ID?'active':'']"
:class=
"[msg.
activ
e==item.ID?'active':'']"
@
click=
"research(item.ID)"
>
@
click=
"research(item.ID)"
>
{{ item.Name }}
{{ item.Name }}
</view>
</view>
...
@@ -153,14 +153,16 @@
...
@@ -153,14 +153,16 @@
{
Name
:
'全部'
,
ID
:
0
},
{
Name
:
'全部'
,
ID
:
0
},
{
Name
:
'收入'
,
ID
:
1
},
{
Name
:
'收入'
,
ID
:
1
},
{
Name
:
'支付'
,
ID
:
2
},
{
Name
:
'支付'
,
ID
:
2
},
{
Name
:
'待结算'
,
ID
:
3
},
],
],
msg
:{
msg
:{
pageIndex
:
1
,
//是 [string]
pageIndex
:
1
,
//是 [string]
pageSize
:
10
,
//是 [string]
pageSize
:
10
,
//是 [string]
BalanceState
:
0
,
// 状态 1查询已反记录 2查询待结算记录
BalanceState
:
1
,
// 状态 1查询已反记录 2查询待结算记录
Type
:
0
,
// 类型 1存入 2扣除
Type
:
0
,
// 类型 1存入 2扣除
StartTime
:
''
,
// 开始时间
StartTime
:
''
,
// 开始时间
EndTime
:
''
,
EndTime
:
''
,
active
:
0
,
},
},
dataList
:
[],
dataList
:
[],
status
:
"加载中"
,
status
:
"加载中"
,
...
@@ -259,8 +261,16 @@
...
@@ -259,8 +261,16 @@
}
}
},
},
research
(
ID
)
{
research
(
ID
)
{
if
(
ID
==
this
.
msg
.
Type
)
return
if
(
ID
>=
0
)
{
if
(
ID
>=
0
)
this
.
msg
.
Type
=
ID
this
.
msg
.
active
=
ID
if
(
ID
!=
3
){
if
(
ID
==
this
.
msg
.
Type
)
return
this
.
msg
.
Type
=
ID
this
.
msg
.
BalanceState
=
1
}
else
{
this
.
msg
.
BalanceState
=
2
}
}
this
.
msg
.
pageIndex
=
1
this
.
msg
.
pageIndex
=
1
this
.
dataList
=
[]
this
.
dataList
=
[]
this
.
getList
()
this
.
getList
()
...
...
pages/user-center/points.vue
View file @
4454d431
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<view
style=
"padding: 20rpx 0;"
>
<view
style=
"padding: 20rpx 0;"
>
<view
class=
"userMyOrderState row-sb-n"
>
<view
class=
"userMyOrderState row-sb-n"
>
<view
v-for=
"(item,index) in stateList"
:key=
"index"
<view
v-for=
"(item,index) in stateList"
:key=
"index"
:class=
"[msg.
Typ
e==item.ID?'active':'']"
:class=
"[msg.
activ
e==item.ID?'active':'']"
@
click=
"research(item.ID)"
>
@
click=
"research(item.ID)"
>
{{ item.Name }}
{{ item.Name }}
</view>
</view>
...
@@ -154,14 +154,16 @@
...
@@ -154,14 +154,16 @@
{
Name
:
'全部'
,
ID
:
0
},
{
Name
:
'全部'
,
ID
:
0
},
{
Name
:
'已获取'
,
ID
:
1
},
{
Name
:
'已获取'
,
ID
:
1
},
{
Name
:
'已消耗'
,
ID
:
2
},
{
Name
:
'已消耗'
,
ID
:
2
},
{
Name
:
'待获取'
,
ID
:
3
},
],
],
msg
:{
msg
:{
pageIndex
:
1
,
//是 [string]
pageIndex
:
1
,
//是 [string]
pageSize
:
10
,
//是 [string]
pageSize
:
10
,
//是 [string]
IntegralState
:
0
,
IntegralState
:
1
,
//状态 1已反积分记录 2待结算积分记录
Type
:
0
,
// 类型 1存入 2扣除
Type
:
0
,
// 类型 1存入 2扣除
QStartDate
:
''
,
// 开始时间
QStartDate
:
''
,
// 开始时间
QEndDate
:
''
,
QEndDate
:
''
,
active
:
0
,
},
},
dataList
:
[],
dataList
:
[],
status
:
"加载中"
,
status
:
"加载中"
,
...
@@ -260,8 +262,16 @@
...
@@ -260,8 +262,16 @@
}
}
},
},
research
(
ID
)
{
research
(
ID
)
{
if
(
ID
==
this
.
msg
.
Type
)
return
if
(
ID
>=
0
)
{
if
(
ID
>=
0
)
this
.
msg
.
Type
=
ID
this
.
msg
.
active
=
ID
if
(
ID
!=
3
){
if
(
ID
==
this
.
msg
.
Type
)
return
this
.
msg
.
Type
=
ID
this
.
msg
.
IntegralState
=
1
}
else
{
this
.
msg
.
IntegralState
=
2
}
}
this
.
msg
.
pageIndex
=
1
this
.
msg
.
pageIndex
=
1
this
.
dataList
=
[]
this
.
dataList
=
[]
this
.
getList
()
this
.
getList
()
...
...
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