Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
04385488
authored
Mar 17, 2026
by
lijinqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行业应用列表添加按钮进入详情
parent
72fceee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
32 deletions
+52
-32
src/views/componentServices/list.vue
+52
-32
No files found.
src/views/componentServices/list.vue
View file @
04385488
...
@@ -3,13 +3,14 @@
...
@@ -3,13 +3,14 @@
<div
style=
"margin: 0 auto; padding: 0 84px;"
>
<div
style=
"margin: 0 auto; padding: 0 84px;"
>
<el-row
:gutter=
"24"
>
<el-row
:gutter=
"24"
>
<el-col
v-for=
"(item,index) in assemblyData"
:key=
"item.id"
:span=
"6"
>
<el-col
v-for=
"(item,index) in assemblyData"
:key=
"item.id"
:span=
"6"
>
<div
class=
"item flex"
>
<div
class=
"item flex service-card"
>
<img
:src=
"item.image"
alt=
""
/>
<div
class=
"thumb"
>
<div>
<img
:src=
"item.image"
alt=
""
/>
</div>
<div
class=
"content"
>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<p
v-html=
"item.description"
></p>
<p
v-html=
"item.description"
></p>
<el-button
size=
"small"
type=
"primary"
plain
round
@
click=
"openPage(item,index)"
>
了解详情
</el-button>
<el-button
round
@
click=
"openPage(item,index)"
>
了解详情
</el-button>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
...
@@ -55,30 +56,47 @@ getAassemblyList()
...
@@ -55,30 +56,47 @@ getAassemblyList()
.item
{
.item
{
//
height
:
168px
;
//
height
:
168px
;
//
background
:
#FBFCFE
;
//
background
:
url("@/assets/images/assemblyBg.jpg")
no-repeat
center
center
/
cover
;
//
background
:
url("@/assets/images/assemblyBg.jpg")
no-repeat
center
center
/
cover
;
background
:
#ffffff
;
background
:
#F7FAFF
;
/* 蓝白风格浅蓝背景 */
border-radius
:
10px
;
border
:
1px
solid
#E3EEFF
;
padding
:
30px
26px
40px
40px
;
border-radius
:
14px
;
padding
:
28px
24px
32px
;
margin-bottom
:
40px
;
margin-bottom
:
40px
;
text-align
:
center
;
text-align
:
center
;
box-shadow
:
0
4px
18px
rgba
(
31
,
74
,
175
,
0.06
);
transition
:
transform
0.2s
ease
,
box-shadow
0.2s
ease
;
&:hover
{
transform
:
translateY
(
-2px
);
box-shadow
:
0
8px
24px
rgba
(
31
,
74
,
175
,
0.12
);
}
.thumb
{
width
:
110px
;
height
:
110px
;
border-radius
:
22px
;
overflow
:
hidden
;
margin
:
0
auto
18px
;
background
:
none
;
box-shadow
:
none
;
}
.title
{
.title
{
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
20
px
;
font-size
:
18
px
;
line-height
:
36
px
;
line-height
:
28
px
;
height
:
36
px
;
height
:
28
px
;
color
:
#
303233
;
color
:
#
1F2D3D
;
}
}
p
{
p
{
font-weight
:
400
;
font-weight
:
400
;
font-size
:
1
6
px
;
font-size
:
1
4
px
;
color
:
rgb
(
102
,
102
,
102
)
;
color
:
#5E6D82
;
line-height
:
2
4
px
;
line-height
:
2
2
px
;
margin-top
:
9
px
;
margin-top
:
8
px
;
margin-bottom
:
30
px
;
margin-bottom
:
22
px
;
height
:
4
8
px
;
height
:
4
4
px
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
display
:
-webkit-box
;
...
@@ -86,13 +104,12 @@ getAassemblyList()
...
@@ -86,13 +104,12 @@ getAassemblyList()
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
}
}
img
{
.thumb
img
{
width
:
70px
;
width
:
100%
;
height
:
70px
;
height
:
100%
;
object-fit
:
contain
;
object-fit
:
contain
;
/* 不裁切,完整展示 */
//
margin-right
:
30px
;
display
:
block
;
border-radius
:
15px
;
border-radius
:
0
;
margin
:
0
auto
15px
;
}
}
}
}
...
@@ -101,11 +118,14 @@ getAassemblyList()
...
@@ -101,11 +118,14 @@ getAassemblyList()
/* 清理过期的弹窗与Tab样式 */
/* 清理过期的弹窗与Tab样式 */
.el-button
{
.el-button
{
height
:
40px
;
height
:
32px
;
line-height
:
38px
;
line-height
:
30px
;
width
:
140px
;
padding
:
0
14px
;
border
:
1px
solid
rgb
(
31
,
74
,
175
);
width
:
auto
;
border-radius
:
10px
;
min-width
:
0
;
color
:
rgb
(
31
,
74
,
175
);
border
:
1px
solid
#1F4AAF
;
border-radius
:
18px
;
color
:
#1F4AAF
;
background
:
#FFFFFF
;
}
}
</
style
>
</
style
>
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