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
8e95f01a
Commit
8e95f01a
authored
Mar 18, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
积分
parent
9dc3a2c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
28 deletions
+33
-28
happinessPassbook.vue
pages/user-center/happinessPassbook.vue
+8
-7
points.vue
pages/user-center/points.vue
+25
-21
No files found.
pages/user-center/happinessPassbook.vue
View file @
8e95f01a
...
@@ -3,8 +3,7 @@
...
@@ -3,8 +3,7 @@
<scroll-view
scroll-y=
"true"
<scroll-view
scroll-y=
"true"
@
scroll=
"scroll"
@
scroll=
"scroll"
:scroll-top=
"scrollTop"
:scroll-top=
"scrollTop"
class=
"col"
style=
"width: 100%;height: 1px; flex: 1;"
>
class=
"col"
style=
"width: 100%;height: 1px; flex: 1;overflow: hidden;background: #F3F1EF;"
>
<view
class=
"userStyle"
>
<view
class=
"headStatus"
v-if=
"scrollTop > 50"
:style=
"[titleStyle,
{
<view
class=
"headStatus"
v-if=
"scrollTop > 50"
:style=
"[titleStyle,
{
zIndex: scrollTop
<
10
?
'
unset
'
:
2
,
zIndex: scrollTop
<
10
?
'
unset
'
:
2
,
opacity:
scrollTop
<
10
?
'
100
'
:
scrollTop
,
opacity:
scrollTop
<
10
?
'
100
'
:
scrollTop
,
...
@@ -103,7 +102,7 @@
...
@@ -103,7 +102,7 @@
v-for=
"(item,index) in dataList"
:key=
"index"
v-for=
"(item,index) in dataList"
:key=
"index"
@
click=
"goDetails(item)"
>
@
click=
"goDetails(item)"
>
<view
class=
"userHeadPListL"
>
<view
class=
"userHeadPListL"
>
<image
mode=
"
aspectFit
"
:src=
"item.imgCover"
/>
<image
mode=
"
scaleToFill
"
:src=
"item.imgCover"
/>
<text>
共{{item.peopleNum}}人
</text>
<text>
共{{item.peopleNum}}人
</text>
</view>
</view>
<view
class=
"userHeadPListA col column"
>
<view
class=
"userHeadPListA col column"
>
...
@@ -113,7 +112,7 @@
...
@@ -113,7 +112,7 @@
</view>
</view>
</view>
</view>
<view
class=
"userHeadPListR"
>
<view
class=
"userHeadPListR"
>
{{item.type==1?'+':'-'}}¥
{{ item.money }}
¥{{item.type==1?'+':''}}
{{ item.money }}
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -129,7 +128,6 @@
...
@@ -129,7 +128,6 @@
description=
"幸福存折:平台所有散拼报名跟团游产品均可参加幸福存折活动,欧洲线路为 80元/人,其他线路为 30元/人,婴儿不参加幸福存折活动。团队出团后7个工作日内将会存入幸福存折余额。"
description=
"幸福存折:平台所有散拼报名跟团游产品均可参加幸福存折活动,欧洲线路为 80元/人,其他线路为 30元/人,婴儿不参加幸福存折活动。团队出团后7个工作日内将会存入幸福存折余额。"
></u-alert-tips>
></u-alert-tips>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
<u-picker
mode=
"time"
v-model=
"showTime"
:defaultTime=
"times"
:params=
"params"
@
confirm =
'confirm'
></u-picker>
<u-picker
mode=
"time"
v-model=
"showTime"
:defaultTime=
"times"
:params=
"params"
@
confirm =
'confirm'
></u-picker>
...
@@ -210,6 +208,9 @@
...
@@ -210,6 +208,9 @@
this
.
times
=
this
.
year
+
'-'
+
this
.
month
this
.
times
=
this
.
year
+
'-'
+
this
.
month
this
.
getList
();
this
.
getList
();
this
.
GetCustomerBalance
()
this
.
GetCustomerBalance
()
},
created
()
{
},
},
methods
:
{
methods
:
{
goTisp
(){
goTisp
(){
...
@@ -308,14 +309,14 @@
...
@@ -308,14 +309,14 @@
position
:
relative
;
position
:
relative
;
}
}
.user
Style
.user
Box
{
.userBox
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638774883791846536.png')
no-repeat
;
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638774883791846536.png')
no-repeat
;
background-size
:
100%
auto
;
background-size
:
100%
auto
;
background-color
:
#F3F2EF
;
background-color
:
#F3F2EF
;
min-
height
:
100vh
;
height
:
100vh
;
//
padding-bottom
:
env
(
safe-area-inset-bottom
);
//
padding-bottom
:
env
(
safe-area-inset-bottom
);
}
}
...
...
pages/user-center/points.vue
View file @
8e95f01a
...
@@ -3,8 +3,7 @@
...
@@ -3,8 +3,7 @@
<scroll-view
:scroll-y=
"true"
<scroll-view
:scroll-y=
"true"
@
scroll=
"scroll"
@
scroll=
"scroll"
:scroll-top=
"scrollTop"
:scroll-top=
"scrollTop"
class=
"col"
style=
"width: 100%;height: 1px; flex: 1;"
>
class=
"col"
style=
"width: 100%;height: 1px; flex: 1;overflow: hidden;background: #F3F1EF;"
>
<view
class=
"userStyle"
>
<view
class=
"headStatus"
v-if=
"scrollTop > 50"
:style=
"[titleStyle,
{
<view
class=
"headStatus"
v-if=
"scrollTop > 50"
:style=
"[titleStyle,
{
zIndex: scrollTop
<
10
?
'
unset
'
:
2
,
zIndex: scrollTop
<
10
?
'
unset
'
:
2
,
opacity:
scrollTop
<
10
?
'
100
'
:
scrollTop
,
opacity:
scrollTop
<
10
?
'
100
'
:
scrollTop
,
...
@@ -75,7 +74,7 @@
...
@@ -75,7 +74,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"listBox"
<view
class=
"listBox
column
"
:class=
"[showTisp?'active':'']"
:class=
"[showTisp?'active':'']"
style=
"padding: 0 32rpx;width: 100vw;"
>
style=
"padding: 0 32rpx;width: 100vw;"
>
<view
class=
"userMyOrderBox column"
>
<view
class=
"userMyOrderBox column"
>
...
@@ -87,24 +86,24 @@
...
@@ -87,24 +86,24 @@
{{ item.Name }}
{{ item.Name }}
</view>
</view>
</view>
</view>
<view
class=
"row"
>
<view
class=
"row"
>
<view
class=
"row"
@
click=
"SelectDate"
>
<view
class=
"row"
@
click=
"SelectDate"
>
<text>
{{year}}年
</text>
<text>
{{year}}年
</text>
<text>
{{month}}月
</text>
<text>
{{month}}月
</text>
<u-icon
name=
"arrow-down"
size=
"28"
color=
"#000"
></u-icon>
<u-icon
name=
"arrow-down"
size=
"28"
color=
"#000"
></u-icon>
</view>
</view>
</view>
</view>
</view>
</view>
<scroll-view
:scroll-y=
"true"
class=
"col"
<scroll-view
:scroll-y=
"true"
class=
"col"
@
scrolltolower=
"lower"
@
scrolltolower=
"lower"
style=
"height: 1px;flex: 1; width: 100%;"
>
style=
"height: 1px;flex: 1; width: 100%;
overflow: hidden;
"
>
<view
class=
"userHeadPListBox"
v-if=
"dataList&&dataList.length>0"
>
<view
class=
"userHeadPListBox"
v-if=
"dataList&&dataList.length>0"
>
<view
class=
"userHeadPList row"
<view
class=
"userHeadPList row"
v-for=
"(item,index) in dataList"
:key=
"index"
v-for=
"(item,index) in dataList"
:key=
"index"
@
click=
"goDetails(item)"
>
@
click=
"goDetails(item)"
>
<view
class=
"userHeadPListL"
>
<view
class=
"userHeadPListL"
>
<image
mode=
"
aspectFit
"
:src=
"item.imgCover"
/>
<image
mode=
"
scaleToFill
"
:src=
"item.imgCover"
/>
<text>
共{{item.peopleNum}}人
</text>
<text>
共{{item.peopleNum}}人
</text>
</view>
</view>
<view
class=
"userHeadPListA col column"
>
<view
class=
"userHeadPListA col column"
>
...
@@ -114,7 +113,7 @@
...
@@ -114,7 +113,7 @@
</view>
</view>
</view>
</view>
<view
class=
"userHeadPListR"
>
<view
class=
"userHeadPListR"
>
{{item.type==1?'+':'-'}}¥
{{ item.integralNum }}
¥{{item.type==1?'+':''}}
{{ item.integralNum }}
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -126,11 +125,10 @@
...
@@ -126,11 +125,10 @@
<u-alert-tips
v-if=
"showTisp"
:show=
"showTisp"
:close-able=
"true"
@
close=
"showTisp=false"
<u-alert-tips
v-if=
"showTisp"
:show=
"showTisp"
:close-able=
"true"
@
close=
"showTisp=false"
style=
"padding: 30rpx 30rpx;"
style=
"padding: 30rpx 30rpx;"
type=
"warning"
type=
"warning"
title=
"2025年2月1日(包含)起生效"
title=
"2025年2月1日(包含)起生效"
description=
"积分:平台所有跟团游产品均可参加积分活动,积分获得比例:100:1(例:客人实付金额100元,获得1个积分)。团队出发后7个工作日内将会存入积分余额。"
description=
"积分:平台所有跟团游产品均可参加积分活动,积分获得比例:100:1(例:客人实付金额100元,获得1个积分)。团队出发后7个工作日内将会存入积分余额。"
></u-alert-tips>
></u-alert-tips>
</view>
</view>
</view>
</scroll-view>
</scroll-view>
<u-picker
mode=
"time"
v-model=
"showTime"
:defaultTime=
"times"
:params=
"params"
@
confirm =
'confirm'
></u-picker>
<u-picker
mode=
"time"
v-model=
"showTime"
:defaultTime=
"times"
:params=
"params"
@
confirm =
'confirm'
></u-picker>
...
@@ -211,6 +209,9 @@
...
@@ -211,6 +209,9 @@
this
.
times
=
this
.
year
+
'-'
+
this
.
month
this
.
times
=
this
.
year
+
'-'
+
this
.
month
this
.
getList
();
this
.
getList
();
this
.
GetCustomerIntegral
()
this
.
GetCustomerIntegral
()
},
created
()
{
},
},
methods
:
{
methods
:
{
goTisp
(){
goTisp
(){
...
@@ -298,6 +299,7 @@
...
@@ -298,6 +299,7 @@
.listBox
{
.listBox
{
height
:
1px
;
height
:
1px
;
flex
:
1
;
flex
:
1
;
overflow
:
hidden
;
}
}
.listBox.active
{
.listBox.active
{
min-height
:
936
rpx
;
min-height
:
936
rpx
;
...
@@ -309,14 +311,14 @@
...
@@ -309,14 +311,14 @@
position
:
relative
;
position
:
relative
;
}
}
.user
Style
.user
Box
{
.userBox
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638778933736114322.png')
no-repeat
;
background
:
url('https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638778933736114322.png')
no-repeat
;
background-size
:
100%
auto
;
background-size
:
100%
auto
;
background-color
:
#F3F2EF
;
background-color
:
#F3F2EF
;
min-
height
:
100vh
;
height
:
100vh
;
//
padding-bottom
:
env
(
safe-area-inset-bottom
);
//
padding-bottom
:
env
(
safe-area-inset-bottom
);
}
}
...
@@ -435,10 +437,12 @@
...
@@ -435,10 +437,12 @@
}
}
.userMyOrderBox
{
.userMyOrderBox
{
background
:
#FFFFFF
;
background
:
#FFFFFF
;
height
:
100%
;
overflow
:
hidden
;
overflow
:
hidden
;
border-radius
:
20
rpx
;
border-radius
:
20
rpx
;
padding
:
25
rpx
34
rpx
45
rpx
34
rpx
;
padding
:
25
rpx
34
rpx
45
rpx
34
rpx
;
height
:
1px
;
flex
:
1
;
overflow
:
hidden
;
}
}
.userHeadPList
{
.userHeadPList
{
padding
:
20
rpx
0
;
padding
:
20
rpx
0
;
...
...
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