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
5df2d07e
Commit
5df2d07e
authored
Mar 18, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
8e95f01a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
57 deletions
+36
-57
costSavingStatistics.vue
pages/user-center/costSavingStatistics.vue
+6
-5
happinessPasDetails.vue
pages/user-center/happinessPasDetails.vue
+10
-23
happinessPassbook.vue
pages/user-center/happinessPassbook.vue
+5
-6
points.vue
pages/user-center/points.vue
+5
-6
pointsDetails.vue
pages/user-center/pointsDetails.vue
+10
-17
No files found.
pages/user-center/costSavingStatistics.vue
View file @
5df2d07e
...
@@ -52,11 +52,12 @@
...
@@ -52,11 +52,12 @@
<view>
2025.02-2025.08
</view>
<view>
2025.02-2025.08
</view>
</view>
</view>
<view
class=
"userHeadCostChart"
>
<view
class=
"userHeadCostChart"
>
//
<mrsongCharts
<!--
//
type=
'ring'
<mrsongCharts
//
align=
'center'
type=
'ring'
//
:config=
"config"
align=
'center'
//
:options=
"options"
/>
:config=
"config"
:options=
"options"
/>
-->
</view>
</view>
</view>
</view>
</view>
</view>
...
...
pages/user-center/happinessPasDetails.vue
View file @
5df2d07e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view
class=
"hapPasDetNum"
>
{{
PassbookAata
.
type
==
1
?
'+'
:
'-'
}}{{
PassbookAata
.
money
}}
</view>
<view
class=
"hapPasDetNum"
>
{{
PassbookAata
.
type
==
1
?
'+'
:
'-'
}}{{
PassbookAata
.
money
}}
</view>
<view
class=
"hapPasDetBox"
>
<view
class=
"hapPasDetBox"
>
<view
class=
"hapPasDetImg row"
@
click=
"goProduct"
>
<view
class=
"hapPasDetImg row"
@
click=
"goProduct"
>
<image
mode=
"
aspectFit
"
:src=
"PassbookAata.imgCover"
/>
<image
mode=
"
scaleToFill
"
:src=
"PassbookAata.imgCover"
/>
<view
class=
"col"
>
{{
PassbookAata
.
lineName
}}
</view>
<view
class=
"col"
>
{{
PassbookAata
.
lineName
}}
</view>
</view>
</view>
<view
class=
"row hapPasDetText"
>
<view
class=
"row hapPasDetText"
>
...
@@ -52,18 +52,15 @@
...
@@ -52,18 +52,15 @@
data
()
{
data
()
{
return
{
return
{
scrollTop
:
0
,
scrollTop
:
0
,
b2b_user_info
:
{},
mall_UserInfo
:
{},
PassbookAata
:{},
PassbookAata
:{},
};
};
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
if
(
option
.
data
){
if
(
option
.
datas
){
this
.
PassbookAata
=
decodeURIComponent
(
option
.
data
)
this
.
PassbookAata
=
JSON
.
parse
(
decodeURIComponent
(
option
.
data
)
)
}
}
this
.
b2b_user_info
=
uni
.
getStorageSync
(
'b2b_user'
);
this
.
mall_UserInfo
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
this
.
showAuth
=
!
this
.
mall_UserInfo
||
!
this
.
b2b_user_info
;
},
},
onShow
()
{
onShow
()
{
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
...
@@ -71,20 +68,10 @@
...
@@ -71,20 +68,10 @@
})
})
},
},
methods
:
{
methods
:
{
async
handleCopy
(
text
){
handleCopy
(
text
){
try
{
uni
.
setClipboardData
({
await
uni
.
copyText
(
text
);
data
:
String
(
text
),
uni
.
showToast
({
});
title
:
'复制成功'
,
icon
:
'success'
,
});
}
catch
(
err
)
{
uni
.
showToast
({
title
:
'复制失败'
,
icon
:
'none'
,
duration
:
1500
});
}
},
},
goProduct
(){
goProduct
(){
return
return
...
@@ -104,7 +91,7 @@
...
@@ -104,7 +91,7 @@
color
:
#080A0A
;
color
:
#080A0A
;
line-height
:
70
rpx
;
line-height
:
70
rpx
;
text-align
:
center
;
text-align
:
center
;
padding
:
39
rpx
0
40
rpx
0
;
padding
:
0
rpx
0
40
rpx
0
;
}
}
.hapPasDetNum
{
.hapPasDetNum
{
font-weight
:
bold
;
font-weight
:
bold
;
...
...
pages/user-center/happinessPassbook.vue
View file @
5df2d07e
...
@@ -232,12 +232,11 @@
...
@@ -232,12 +232,11 @@
this
.
showTime
=
true
this
.
showTime
=
true
},
},
goDetails
(
item
)
{
goDetails
(
item
)
{
if
(
url
)
{
let
obj
=
JSON
.
stringify
(
item
);
let
path
=
`/pages/user-center/happinessPasDetails?data=`
+
encodeURIComponent
(
item
)
let
path
=
`/pages/user-center/happinessPasDetails?datas=
${
encodeURIComponent
(
obj
)}
`
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
path
,
url
:
path
,
});
});
}
},
},
scroll
(
e
)
{
scroll
(
e
)
{
this
.
scrollTop
=
e
.
detail
.
scrollTop
;
this
.
scrollTop
=
e
.
detail
.
scrollTop
;
...
...
pages/user-center/points.vue
View file @
5df2d07e
...
@@ -233,12 +233,11 @@
...
@@ -233,12 +233,11 @@
this
.
showTime
=
true
this
.
showTime
=
true
},
},
goDetails
(
item
)
{
goDetails
(
item
)
{
if
(
url
)
{
let
obj
=
JSON
.
stringify
(
item
);
let
path
=
`/pages/user-center/pointsDetails?data=
${
encodeURIComponent
(
item
)}
`
let
path
=
`/pages/user-center/pointsDetails?data=
${
encodeURIComponent
(
obj
)}
`
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
path
,
url
:
path
,
});
});
}
},
},
scroll
(
e
)
{
scroll
(
e
)
{
this
.
scrollTop
=
e
.
detail
.
scrollTop
;
this
.
scrollTop
=
e
.
detail
.
scrollTop
;
...
...
pages/user-center/pointsDetails.vue
View file @
5df2d07e
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view
class=
"hapPasDetNum"
>
{{
PassbookAata
.
type
==
1
?
'+'
:
'-'
}}{{
PassbookAata
.
integralNum
}}
</view>
<view
class=
"hapPasDetNum"
>
{{
PassbookAata
.
type
==
1
?
'+'
:
'-'
}}{{
PassbookAata
.
integralNum
}}
</view>
<view
class=
"hapPasDetBox"
>
<view
class=
"hapPasDetBox"
>
<view
class=
"hapPasDetImg row"
@
click=
"goProduct"
>
<view
class=
"hapPasDetImg row"
@
click=
"goProduct"
>
<image
mode=
"
aspectFit
"
:src=
"PassbookAata.imgCover"
/>
<image
mode=
"
scaleToFill
"
:src=
"PassbookAata.imgCover"
/>
<view
class=
"col"
>
{{
PassbookAata
.
lineName
}}
</view>
<view
class=
"col"
>
{{
PassbookAata
.
lineName
}}
</view>
</view>
</view>
<view
class=
"row hapPasDetText"
>
<view
class=
"row hapPasDetText"
>
...
@@ -57,7 +57,10 @@
...
@@ -57,7 +57,10 @@
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
if
(
option
.
data
){
if
(
option
.
data
){
this
.
PassbookAata
=
decodeURIComponent
(
option
.
data
)
this
.
PassbookAata
=
JSON
.
parse
(
decodeURIComponent
(
option
.
data
)
)
}
}
},
},
onShow
()
{
onShow
()
{
...
@@ -66,20 +69,10 @@
...
@@ -66,20 +69,10 @@
})
})
},
},
methods
:
{
methods
:
{
async
handleCopy
(
text
){
handleCopy
(
text
){
try
{
uni
.
setClipboardData
({
await
uni
.
copyText
(
text
);
data
:
String
(
text
),
uni
.
showToast
({
});
title
:
'复制成功'
,
icon
:
'success'
,
});
}
catch
(
err
)
{
uni
.
showToast
({
title
:
'复制失败'
,
icon
:
'none'
,
duration
:
1500
});
}
},
},
goProduct
(){
goProduct
(){
return
return
...
@@ -99,7 +92,7 @@
...
@@ -99,7 +92,7 @@
color
:
#080A0A
;
color
:
#080A0A
;
line-height
:
70
rpx
;
line-height
:
70
rpx
;
text-align
:
center
;
text-align
:
center
;
padding
:
39
rpx
0
40
rpx
0
;
padding
:
0
rpx
0
40
rpx
0
;
}
}
.hapPasDetNum
{
.hapPasDetNum
{
font-weight
:
bold
;
font-weight
:
bold
;
...
...
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