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
86da5d17
Commit
86da5d17
authored
Jul 04, 2025
by
sxl
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:轮播图数据优化
parent
0a5188f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
8 deletions
+19
-8
index.vue
pages/TechnicalDocking/index.vue
+2
-3
index.vue
pages/Transaction/index.vue
+17
-5
No files found.
pages/TechnicalDocking/index.vue
View file @
86da5d17
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
item1
.
lifeCycleName
item1
.
lifeCycleName
}}
</span>
}}
</span>
</div>
</div>
<
!--
<div
class=
"items-class"
v-if=
"item.children.length % 2 == 1"
></div>
--
>
<
div
class=
"items-class"
v-if=
"item.children.length % 2 == 1"
></div
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -70,8 +70,7 @@
...
@@ -70,8 +70,7 @@
<div
class=
"scroll-outer"
>
<div
class=
"scroll-outer"
>
<div
id=
"certificationOrg"
>
<div
id=
"certificationOrg"
>
<div
:class=
"['mySwiper-item',
{ 'active': currentIndex === index }]"
<div
:class=
"['mySwiper-item',
{ 'active': currentIndex === index }]"
v-for="(item, index) in lifeServiceList.concat(lifeServiceList)" :key="index + '-'"
v-for="(item, index) in lifeServiceList" :key="index + '-'" @click="handleItemClick(index)">
@click="handleItemClick(index)">
<span>
<span>
<img
:src=
"`$
{baseApi}${currentIndex === index ? item.revealIcon : item.hiddenIcon}`" alt="" />
<img
:src=
"`$
{baseApi}${currentIndex === index ? item.revealIcon : item.hiddenIcon}`" alt="" />
{{
item
.
lifeCycleName
}}
{{
item
.
lifeCycleName
}}
...
...
pages/Transaction/index.vue
View file @
86da5d17
...
@@ -129,9 +129,9 @@
...
@@ -129,9 +129,9 @@
</div>
</div>
</div>
</div>
<div
class=
"swiper-button-next"
tabindex=
"0"
role=
"button"
aria-label=
"Next slide"
<div
class=
"swiper-button-next"
tabindex=
"0"
role=
"button"
aria-label=
"Next slide"
aria-controls=
"certificationList"
aria-disabled=
"false"
></div>
aria-controls=
"certificationList"
aria-disabled=
"false"
@
click=
"handleNextClick"
></div>
<div
class=
"swiper-button-prev
swiper-button-disabled"
tabindex=
"-1"
role=
"button
"
<div
class=
"swiper-button-prev
"
tabindex=
"-1"
role=
"button"
aria-label=
"Previous slide
"
aria-
label=
"Previous slide"
aria-controls=
"certificationList"
aria-disabled=
"true
"
></div>
aria-
controls=
"certificationList"
aria-disabled=
"false"
@
click=
"handlePrevClick
"
></div>
<span
class=
"swiper-notification"
aria-live=
"assertive"
aria-atomic=
"true"
></span>
<span
class=
"swiper-notification"
aria-live=
"assertive"
aria-atomic=
"true"
></span>
</div>
</div>
...
@@ -342,6 +342,7 @@ import HorizontalMenu from "~/components/header/HorizontalMenu.vue";
...
@@ -342,6 +342,7 @@ import HorizontalMenu from "~/components/header/HorizontalMenu.vue";
import
Header
from
"
~/components/header/Header.vue
"
;
import
Header
from
"
~/components/header/Header.vue
"
;
import
CommonDialog
from
"
~/components/dialog/CommonDialog.vue
"
;
import
CommonDialog
from
"
~/components/dialog/CommonDialog.vue
"
;
import
Gis
from
"
~/components/ChiFeng/Gis/index.vue
"
;
import
Gis
from
"
~/components/ChiFeng/Gis/index.vue
"
;
import
Swiper
from
"
swiper
"
;
export
default
{
export
default
{
components
:
{
components
:
{
sendRequest
,
sendRequest
,
...
@@ -456,7 +457,8 @@ export default {
...
@@ -456,7 +457,8 @@ export default {
},
{
},
{
value
:
'
融资需求
'
,
value
:
'
融资需求
'
,
label
:
'
融资需求
'
label
:
'
融资需求
'
},]
},],
swiper3
:
null
,
};
};
},
},
watch
:
{
watch
:
{
...
@@ -472,7 +474,7 @@ export default {
...
@@ -472,7 +474,7 @@ export default {
this
.
$wow
.
init
({
animateClass
:
"
animate__animated
"
});
this
.
$wow
.
init
({
animateClass
:
"
animate__animated
"
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
var
swiper3
=
new
Swiper
(
"
.mySwiper3
"
,
{
this
.
swiper3
=
new
Swiper
(
"
.mySwiper3
"
,
{
spaceBetween
:
10
,
spaceBetween
:
10
,
direction
:
"
horizontal
"
,
direction
:
"
horizontal
"
,
navigation
:
{
navigation
:
{
...
@@ -686,6 +688,16 @@ export default {
...
@@ -686,6 +688,16 @@ export default {
return
item
;
return
item
;
});
});
},
},
handleNextClick
()
{
if
(
this
.
swiper3
)
{
this
.
swiper3
.
slideNext
();
}
},
handlePrevClick
()
{
if
(
this
.
swiper3
)
{
this
.
swiper3
.
slidePrev
();
}
},
async
getDictData
()
{
async
getDictData
()
{
const
dictOperating
=
await
sendRequest
(
"
/system/dict/data/list
"
,
"
get
"
,
{
const
dictOperating
=
await
sendRequest
(
"
/system/dict/data/list
"
,
"
get
"
,
{
dictType
:
"
cfkq_operating_system
"
,
dictType
:
"
cfkq_operating_system
"
,
...
...
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