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
630cd972
Commit
630cd972
authored
Jul 15, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
baed81ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
header.vue
pages/teamLeader/components/schedule/header.vue
+8
-3
No files found.
pages/teamLeader/components/schedule/header.vue
View file @
630cd972
...
...
@@ -38,8 +38,8 @@
</
style
>
<
template
>
<view>
<
!-- :scroll-left="scrollLeft" -->
<scroll-view
class=
"scheduleTsBox"
:scroll-x=
"true
"
>
<
scroll-view
class=
"scheduleTsBox"
:scroll-x=
"true"
:scroll-left=
"scrollLeft
"
>
<view
class=
"scheduleT-text row-aic-n"
>
<template
v-for=
"(item,index) in list"
>
<view
class=
"scheduleText"
:id=
"`refs_$
{index+1}`"
...
...
@@ -100,6 +100,11 @@
let
findIndex
=
this
.
list
.
findIndex
(
x
=>
x
.
id
==
newVal
.
type
)
if
(
findIndex
!=
-
1
)
{
this
.
scrollLeft
=
this
.
list
[
findIndex
].
left
if
(
this
.
scrollLeft
>
0
){
uni
.
setStorageSync
(
"teamLeadr"
,
{
scrollLeft
:
this
.
scrollLeft
})
}
}
})
},
...
...
@@ -111,7 +116,7 @@
},
mounted
(){
this
.
scrollLeft
=
uni
.
getStorageSync
(
"teamLeadr"
).
scrollLeft
},
methods
:{
getType
(
item
){
...
...
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