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
43e3c981
authored
Aug 12, 2025
by
孙美琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
行业应用页
parent
c26807a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
39 deletions
+48
-39
src/views/componentServices/list.vue
+48
-39
No files found.
src/views/componentServices/list.vue
View file @
43e3c981
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container
custom-main-w
"
>
<div
style=
"margin: 0 auto;padding: 0 84px;'"
>
<!-- 内容过滤器-->
<!--
<el-tabs
v-model=
"tabActive"
@
tab-change=
"tabChange"
>
-->
<!--
<el-tab-pane-->
<!-- v-for="i in assemblyTypes"-->
<!-- :key="i.value"-->
<!-- :label="i.name"-->
<!-- :name="i.value">-->
<!--
</el-tab-pane>
-->
<!--
</el-tabs>
-->
<!-- 内容过滤器-->
<!--
<el-tabs
v-model=
"tabActive"
@
tab-change=
"tabChange"
>
-->
<!--
<el-tab-pane-->
<!-- v-for="i in assemblyTypes"-->
<!-- :key="i.value"-->
<!-- :label="i.name"-->
<!-- :name="i.value">-->
<!--
</el-tab-pane>
-->
<!--
</el-tabs>
-->
<el-row
:gutter=
"24"
>
<el-col
v-for=
"(item,index) in assemblyData"
:key=
"item.id"
:span=
"6"
>
<div
class=
"item flex"
>
<img
:src=
"item.image"
alt=
""
>
<img
:src=
"item.image"
alt=
""
/
>
<div>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<p>
{{
item
.
description
}}
</p>
<el-button
type=
"primary"
link
@
click=
"openPage(item,index)"
>
查看详情
<el-icon>
<ArrowRight/>
</el-icon>
</el-button>
<el-button
round
@
click=
"openPage(item,index)"
>
点击试用
</el-button>
</div>
</div>
</el-col>
...
...
@@ -35,15 +31,8 @@
:title=
"dialogTitle"
@
close=
"handleDialogClose"
>
<!--
<template
#
header
>
-->
<!--
<div
class=
"dialog-style"
>
-->
<!--
<img
:src=
"baseUrl + assemblyData[indexNum].image"
alt=
""
>
-->
<!--
<div>
{{
dialogTitle
}}
</div>
-->
<!--
</div>
-->
<!--
</
template
>
-->
<div>
<iframe
v-show=
"iframeShow"
ref=
"iframe"
:src=
"iframeSrc"
width=
"100%"
height=
"700px"
></iframe>
<!-- :style="{ width: iframeWidth + 'px', height: iframeHeight + 'px' }"-->
</div>
</el-dialog>
</div>
...
...
@@ -127,45 +116,56 @@ function handleDialogClose() {
<
style
scoped
lang=
"scss"
>
.app-container
{
min-height
:
100%
;
padding-top
:
30px
;
background-color
:
#F7F8F9
;
padding-top
:
70px
;
//
background-color
:
#F7F8F9
;
}
.flex
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
.item
{
height
:
168px
;
//
height
:
168px
;
//
background
:
#FBFCFE
;
background
:
url("@/assets/images/assemblyBg.jpg")
no-repeat
center
center
/
cover
;
border-radius
:
15px
;
border
:
1px
solid
#D8D9DB
;
padding
:
24px
24px
0
24px
;
margin-bottom
:
24px
;
//
background
:
url("@/assets/images/assemblyBg.jpg")
no-repeat
center
center
/
cover
;
background
:
#ffffff
;
border-radius
:
10px
;
padding
:
30px
26px
40px
40px
;
margin-bottom
:
40px
;
text-align
:
center
;
.title
{
font-weight
:
bold
;
font-size
:
20px
;
line-height
:
36px
;
height
:
36px
;
color
:
#303233
;
}
p
{
font-weight
:
400
;
font-size
:
16px
;
color
:
#626566
;
margin-top
:
5px
;
margin-bottom
:
10px
;
color
:
rgb
(
102
,
102
,
102
);
line-height
:
24px
;
margin-top
:
9px
;
margin-bottom
:
30px
;
height
:
48px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
-webkit-line-clamp
:
3
;
max-height
:
100px
;
-webkit-line-clamp
:
2
;
-webkit-box-orient
:
vertical
;
}
img
{
width
:
85
px
;
height
:
85
px
;
width
:
70
px
;
height
:
70
px
;
object-fit
:
contain
;
margin-right
:
30px
;
//
margin-right
:
30px
;
border-radius
:
15px
;
margin
:
0
auto
15px
;
}
}
...
...
@@ -208,4 +208,13 @@ function handleDialogClose() {
}
}
}
.el-button
{
height
:
40px
;
line-height
:
38px
;
width
:
140px
;
border
:
1px
solid
rgb
(
31
,
74
,
175
);
border-radius
:
10px
;
color
:
rgb
(
31
,
74
,
175
);
}
</
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