Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
4eef1e24
Commit
4eef1e24
authored
Dec 06, 2022
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改页面
parent
84ed97ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
17 deletions
+76
-17
sample-form-client-ui/admin/src/pages/home/Home.vue
sample-form-client-ui/admin/src/pages/home/Home.vue
+22
-2
sample-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
...-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
+32
-5
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
...le-form-client-ui/admin/src/pages/showpage/MatterList.vue
+22
-10
No files found.
sample-form-client-ui/admin/src/pages/home/Home.vue
View file @
4eef1e24
...
@@ -26,7 +26,14 @@
...
@@ -26,7 +26,14 @@
<div
class=
"flex flexc aic"
>
<div
class=
"flex flexc aic"
>
<img
class=
"mb32"
width=
"700"
src=
"../../assets/img/png_title@2x.png"
/>
<img
class=
"mb32"
width=
"700"
src=
"../../assets/img/png_title@2x.png"
/>
<div
class=
"search-box"
>
<div
class=
"search-box"
>
<el-input
v-model=
"search"
placeholder=
"输入关键词查询"
></el-input>
<el-input
v-model=
"search"
placeholder=
"输入关键词查询"
>
<i
v-show=
"search"
slot=
"suffix"
class=
"el-icon-circle-close"
@
click=
"handleClose"
></i>
</el-input>
<el-button
class=
"search-btn"
@
click=
"handleSearch"
>
<el-button
class=
"search-btn"
@
click=
"handleSearch"
>
<span
class=
"flex aic jcc"
>
<span
class=
"flex aic jcc"
>
<img
class=
"mr10"
src=
"../../assets/img/sousuo.png"
/>
搜索
<img
class=
"mr10"
src=
"../../assets/img/sousuo.png"
/>
搜索
...
@@ -251,6 +258,9 @@ export default {
...
@@ -251,6 +258,9 @@ export default {
});
});
}
}
},
},
handleClose
()
{
this
.
search
=
""
;
},
},
},
};
};
</
script
>
</
script
>
...
@@ -380,6 +390,16 @@ export default {
...
@@ -380,6 +390,16 @@ export default {
background-color: #fff;
background-color: #fff;
}
}
}
}
:deep(.el-input__suffix) {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
right: 200px;
}
.el-icon-circle-close {
font-size: 20px;
}
.search-btn {
.search-btn {
width: 167px;
width: 167px;
height: 62px;
height: 62px;
...
@@ -399,7 +419,7 @@ export default {
...
@@ -399,7 +419,7 @@ export default {
:deep(.el-input__inner) {
:deep(.el-input__inner) {
width: 895px;
width: 895px;
height: 72px;
height: 72px;
padding-right: 2
0
0px;
padding-right: 2
4
0px;
font-size: 24px;
font-size: 24px;
border-radius: 8px;
border-radius: 8px;
color: #333;
color: #333;
...
...
sample-form-client-ui/admin/src/pages/searchpage/SearchPage.vue
View file @
4eef1e24
...
@@ -28,7 +28,15 @@
...
@@ -28,7 +28,15 @@
:key=
"matter.id"
:key=
"matter.id"
@
click=
"handleCheck(matter)"
@
click=
"handleCheck(matter)"
>
>
<div
class=
"for-short"
v-html=
"matter.matterName"
></div>
<div
v-if=
"matter.isRecommend"
class=
"hot-icon flex jcc aic"
>
<i
class=
"iconfont icon-hot"
></i>
<span>
热门
</span>
</div>
<div
class=
"for-short"
:class=
"
{ isRecommend: matter.isRecommend }"
v-html="matter.matterName"
>
</div>
<div
class=
"name"
>
<div
class=
"name"
>
{{
matter
.
matterFullName
}}
{{
matter
.
matterFullName
}}
</div>
</div>
...
@@ -143,7 +151,6 @@ export default {
...
@@ -143,7 +151,6 @@ export default {
this
.
matterList
=
data
;
this
.
matterList
=
data
;
this
.
total
=
total
;
this
.
total
=
total
;
this
.
matterDatumTotal
=
matterDatumTotal
;
this
.
matterDatumTotal
=
matterDatumTotal
;
console
.
log
(
data
);
}
,
}
,
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
...
@@ -201,12 +208,29 @@ export default {
...
@@ -201,12 +208,29 @@ export default {
.
matter
-
item
{
.
matter
-
item
{
width
:
426
px
;
width
:
426
px
;
height
:
200
px
;
height
:
200
px
;
padding
:
20
px
;
padding
:
10
px
20
px
;
margin
-
bottom
:
34
px
;
margin
-
bottom
:
34
px
;
background
:
#
edf6fe
;
background
:
#
edf6fe
;
border
-
radius
:
16
px
;
border
-
radius
:
16
px
;
position
:
relative
;
cursor
:
pointer
;
cursor
:
pointer
;
.
hot
-
icon
{
width
:
87
px
;
height
:
36
px
;
background
:
linear
-
gradient
(
87
deg
,
#
fdba6b
,
#
f15800
);
border
-
radius
:
0
px
16
px
0
px
9
px
;
font
-
size
:
20
px
;
font
-
family
:
Source
Han
Sans
CN
;
color
:
#
ffffff
;
position
:
absolute
;
top
:
0
px
;
right
:
0
px
;
.
icon
-
hot
{
margin
-
right
:
4
px
;
font
-
size
:
20
px
;
color
:
#
ffe96d
;
}
}
.
for
-
short
{
.
for
-
short
{
margin
-
bottom
:
10
px
;
margin
-
bottom
:
10
px
;
font
-
size
:
24
px
;
font
-
size
:
24
px
;
...
@@ -216,6 +240,9 @@ export default {
...
@@ -216,6 +240,9 @@ export default {
text
-
overflow
:
ellipsis
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
white
-
space
:
nowrap
;
}
}
.
isRecommend
{
max
-
width
:
320
px
;
}
.
name
{
.
name
{
margin
-
bottom
:
10
px
;
margin
-
bottom
:
10
px
;
font
-
size
:
18
px
;
font
-
size
:
18
px
;
...
@@ -233,7 +260,7 @@ export default {
...
@@ -233,7 +260,7 @@ export default {
color
:
#
333333
;
color
:
#
333333
;
line
-
height
:
28
px
;
line
-
height
:
28
px
;
.
isMore
{
.
isMore
{
max
-
width
:
31
0
px
;
max
-
width
:
29
0
px
;
}
}
.
count
{
.
count
{
color
:
#
2878
ff
;
color
:
#
2878
ff
;
...
...
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
View file @
4eef1e24
...
@@ -43,7 +43,10 @@
...
@@ -43,7 +43,10 @@
:class=
"
{ isRecommend: v.isRecommend }"
:class=
"
{ isRecommend: v.isRecommend }"
v-html="v.matterName"
v-html="v.matterName"
>
</div>
>
</div>
<div
class=
"name"
>
事项全称:
{{
v
.
matterFullName
}}
</div>
<div
class=
"name"
>
<span
class=
"matter-fullName"
>
事项全称
</span
>
{{
v
.
matterFullName
}}
</div>
</div>
</div>
</div>
</div>
<el-empty
:image-size=
"200"
v-else
></el-empty>
<el-empty
:image-size=
"200"
v-else
></el-empty>
...
@@ -169,7 +172,7 @@ export default {
...
@@ -169,7 +172,7 @@ export default {
.right {
.right {
height: 100%;
height: 100%;
padding: 0px 40px;
padding: 0px 40px;
padding-bottom:
4
0px;
padding-bottom:
2
0px;
.data-count {
.data-count {
color: var(--main-assist-color3);
color: var(--main-assist-color3);
...
@@ -178,28 +181,26 @@ export default {
...
@@ -178,28 +181,26 @@ export default {
.matter-box {
.matter-box {
height: 100%;
height: 100%;
padding:
2
0px;
padding:
3
0px;
background: #ffffff;
background: #ffffff;
border-radius: 16px;
border-radius: 16px;
.matter-list {
.matter-list {
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;
justify-content: space-between;
justify-content: space-between;
&::after {
&::after {
content: "";
content: "";
width: 4
60
px;
width: 4
74
px;
border: 1px solid transparent;
border: 1px solid transparent;
}
}
}
}
.matter-item {
.matter-item {
width: 4
60
px;
width: 4
74
px;
height: 150px;
height: 150px;
margin-bottom: 30px;
margin-bottom: 30px;
padding: 20px;
padding: 20px;
background: #
edf6fe
;
background: #
f7fafd
;
border-radius: 16px;
border-radius: 16px;
cursor: pointer;
cursor: pointer;
position: relative;
position: relative;
...
@@ -233,7 +234,7 @@ export default {
...
@@ -233,7 +234,7 @@ export default {
overflow: hidden;
overflow: hidden;
}
}
.isRecommend {
.isRecommend {
max-width: 3
5
0px;
max-width: 3
4
0px;
}
}
.name {
.name {
margin-bottom: 10px;
margin-bottom: 10px;
...
@@ -246,13 +247,24 @@ export default {
...
@@ -246,13 +247,24 @@ export default {
-webkit-box-orient: vertical;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
-webkit-line-clamp: 2;
overflow: hidden;
overflow: hidden;
.matter-fullName {
display: inline-block;
width: 86px;
height: 30px;
text-align: center;
line-height: 30px;
margin-right: 6px;
background: #dfe9fb;
border-radius: 4px;
color: var(--main-theme-color1);
}
}
}
.materials {
.materials {
font-size: 18px;
font-size: 18px;
font-family: Source Han Sans CN;
font-family: Source Han Sans CN;
color: #333333;
color: #333333;
line-height:
28
px;
line-height:
30
px;
.count {
.count {
color: #2878ff;
color: #2878ff;
}
}
...
...
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