Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chifengweb2.0
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lichunliang
chifengweb2.0
Commits
d428df9e
Commit
d428df9e
authored
Jul 04, 2025
by
sxl
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:【bug】:swiper联动
parent
7aa1b5c7
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
498 additions
and
530 deletions
+498
-530
index.vue
pages/TechnicalDocking/index.vue
+12
-7
index.vue
pages/Transaction/index.vue
+486
-523
No files found.
pages/TechnicalDocking/index.vue
View file @
d428df9e
...
...
@@ -4,9 +4,7 @@
<Header
:activeIndex=
"4"
/>
<CommonDialog
:show=
"dialogVisible"
@
close-dialog=
"handleCloseDialog"
:omDemandName=
"omDemandName"
/>
<el-dialog
:title=
"conDia.lifeCycleName"
:visible.sync=
"showConfirmButton"
width=
"30%"
center
>
<span>
{{
conDia
.
intro
}}
</span>
<p
style=
" white-space: pre-wrap;margin-left: 80px;"
v-html=
"conDia.intro"
></p>
<div
class=
"mt20"
></div>
<div>
<el-form
label-width=
"90px"
:model=
"formDia"
:rules=
"rules"
ref=
"formDia"
label-position=
"right"
>
...
...
@@ -45,8 +43,8 @@
transform: translate3d(0px, 0px, 0px);
"
>
<div
class=
"swiper-slide"
style=
"height: 435px; margin-bottom: 10px"
v-for=
"item in lifeServiceList2"
:key=
"item.lifeCycleId"
@
mouseenter=
"swiper2.autoplay.stop()"
@
mouseleave=
"swiper2.autoplay.start()"
>
:key=
"item.lifeCycleId"
@
mouseenter=
"swiper2
&& swiper2
.autoplay.stop()"
@
mouseleave=
"swiper2
&& swiper2
.autoplay.start()"
>
<div
style=
"
overflow-y: scroll;
display: flex;
...
...
@@ -278,6 +276,9 @@ export default {
showTip
(
item
)
{
this
.
showConfirmButton
=
true
;
this
.
conDia
=
item
;
this
.
conDia
.
intro
=
this
.
conDia
.
intro
.
split
(
'
。
'
).
join
(
'
<br/>
'
)
console
.
log
(
item
,
'
item
'
);
this
.
omDemandName
=
item
.
lifeCycleName
;
this
.
formDia
.
omDemandName
=
item
.
lifeCycleName
;
},
...
...
@@ -300,13 +301,17 @@ export default {
this
.
lifeServiceList2
=
this
.
sortLifeServiceList
(
index
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
lifeServiceList
)));
// swiper2停止自动滚动
if
(
this
.
swiper2
)
{
this
.
swiper2
.
autoplay
.
stop
();
}
if
(
timer
)
{
clearTimeout
(
timer
);
}
timer
=
setTimeout
(()
=>
{
if
(
this
.
swiper2
)
{
this
.
swiper2
.
autoplay
.
start
();
}
},
3000
);
},
sortLifeServiceList
(
idx
,
arr
)
{
...
...
pages/Transaction/index.vue
View file @
d428df9e
This diff is collapsed.
Click to expand it.
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