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
0692e966
Commit
0692e966
authored
Jul 11, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
c823eb44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
16 deletions
+28
-16
itineraryDetails.vue
pages/teamLeader/itineraryDetails.vue
+28
-16
No files found.
pages/teamLeader/itineraryDetails.vue
View file @
0692e966
...
@@ -456,7 +456,7 @@ export default {
...
@@ -456,7 +456,7 @@ export default {
{
{
Name
:
'行程'
,
Name
:
'行程'
,
ID
:
2
,
ID
:
2
,
val
:
'title
1
'
,
val
:
'title
2
'
,
top
:
0
,
top
:
0
,
}
,
}
,
{
{
...
@@ -518,6 +518,25 @@ export default {
...
@@ -518,6 +518,25 @@ export default {
}
,
}
,
}
);
}
);
}
,
}
,
watch
:
{
d
:{
handler
(
newVal
,
oldVal
){
if
(
this
.
dataList
&&
this
.
dataList
.
dayNum
>=
0
){
this
.
titlesList
.
forEach
((
x
,
index
)
=>
{
if
(
index
==
1
)
x
.
Name
=
`${this.dataList.dayNum
}
日行程`
const
query
=
uni
.
createSelectorQuery
().
select
(
`#${x.val
}
`
);
if
(
query
)
query
.
boundingClientRect
((
rect
)
=>
{
x
.
top
=
rect
.
top
-
130
;
}
).
exec
();
if
(
index
==
3
)
uni
.
hideLoading
()
}
)
}
}
,
deep
:
true
,
immediate
:
true
}
,
}
,
mounted
()
{
mounted
()
{
}
,
}
,
...
@@ -529,10 +548,10 @@ export default {
...
@@ -529,10 +548,10 @@ export default {
this
.
scrollTop
=
item
.
top
this
.
scrollTop
=
item
.
top
}
);
}
);
}
,
}
,
formatDay
()
{
async
formatDay
()
{
this
.
d
=
this
.
dataList
.
dayList
this
.
d
=
this
.
dataList
.
dayList
if
(
this
.
d
.
length
>
0
)
{
if
(
this
.
d
.
length
>
0
)
{
this
.
d
.
forEach
((
x
)
=>
{
await
this
.
d
.
forEach
((
x
)
=>
{
x
.
dayArray
.
forEach
((
y
)
=>
{
x
.
dayArray
.
forEach
((
y
)
=>
{
if
(
y
.
type
==
7
)
{
if
(
y
.
type
==
7
)
{
x
.
title
=
y
.
childItem
.
title
;
x
.
title
=
y
.
childItem
.
title
;
...
@@ -559,15 +578,8 @@ export default {
...
@@ -559,15 +578,8 @@ export default {
}
);
}
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
titlesList
.
forEach
((
x
,
index
)
=>
{
if
(
index
==
1
)
x
.
Name
=
`${this.dataList.dayNum
}
日行程`
}
,
5000
);
const
query
=
uni
.
createSelectorQuery
().
select
(
`#${x.val
}
`
);
query
.
boundingClientRect
((
rect
)
=>
{
x
.
top
=
rect
.
top
-
130
;
}
).
exec
();
}
)
uni
.
hideLoading
()
}
,
3000
);
}
}
}
,
}
,
formatTraffice
(
tras
)
{
formatTraffice
(
tras
)
{
...
@@ -638,13 +650,13 @@ export default {
...
@@ -638,13 +650,13 @@ export default {
}
,
}
,
scroll
(
e
)
{
scroll
(
e
)
{
this
.
old
.
scrollTop
=
e
.
detail
.
scrollTop
this
.
old
.
scrollTop
=
e
.
detail
.
scrollTop
this
.
boxOption
=
Math
.
floor
((
e
.
detail
.
scrollTop
-
5
0
)
/
1.5
);
this
.
boxOption
=
Math
.
floor
((
e
.
detail
.
scrollTop
-
60
0
)
/
1.5
);
this
.
titleStyle
.
opacity
=
this
.
titleStyle
.
opacity
=
e
.
detail
.
scrollTop
-
1
00
<
0
?
e
.
detail
.
scrollTop
-
6
00
<
0
?
0
:
0
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
1
00
)
/
100
>
1
?
Math
.
floor
(
e
.
detail
.
scrollTop
-
6
00
)
/
100
>
1
?
1
:
1
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
1
00
)
/
100
;
Math
.
floor
(
e
.
detail
.
scrollTop
-
6
00
)
/
100
;
this
.
$forceUpdate
();
this
.
$forceUpdate
();
}
,
}
,
downloadTripPlanHandler
()
{
downloadTripPlanHandler
()
{
...
...
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