Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
70a67fce
authored
2022-11-17 10:09:55 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:首页完成
1 parent
c36b0f0d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
12 deletions
src/styles/element-ui.scss
src/views/home/index.scss
src/views/home/index.vue
src/views/zsgl/zsrk/zsrk.vue
src/styles/element-ui.scss
View file @
70a67fc
...
...
@@ -56,6 +56,10 @@
}
}
.el-icon-date
{
display
:
none
;
}
// to fixed https://github.com/ElemeFE/element/issues/2461
// refine element ui upload
.el-input.is-disabled
.el-input__inner
{
...
...
@@ -120,6 +124,7 @@
::-webkit-scrollbar-thumb:hover
{
background-color
:
rgb
(
162
,
164
,
167
);
}
// element 样式补丁
.el-menu--horizontal
{
border-bottom
:
none
!
important
;
...
...
src/views/home/index.scss
View file @
70a67fc
...
...
@@ -55,6 +55,7 @@
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
width
:
75%
;
}
ul
{
...
...
@@ -70,7 +71,7 @@
.box-mountNode
{
flex
:
1
;
height
:
calc
(
100%
-
485
px
);
height
:
calc
(
100%
-
510
px
);
}
.home-right
{
...
...
src/views/home/index.vue
View file @
70a67fc
...
...
@@ -14,7 +14,7 @@
</el-card>
</el-col>
<el-col
:span=
"12"
>
<el-card
shadow=
"hover"
style=
"height:24
3
px"
>
<el-card
shadow=
"hover"
style=
"height:24
7
px"
>
<div
slot=
"header"
class=
"flexst"
>
<h5
class=
"title"
>
系统通知
</h5>
<i
class=
"el-icon-s-unfold pointer"
></i>
...
...
@@ -32,7 +32,7 @@
</el-row>
<el-row
:gutter=
"8"
class=
"marginTop10"
>
<el-col
:span=
"12"
>
<el-card
shadow=
"hover"
>
<el-card
shadow=
"hover"
style=
"height:247px"
>
<div
slot=
"header"
class=
"flexst"
>
<h5
class=
"title"
>
待办事项
</h5>
<i
class=
"el-icon-s-unfold pointer"
></i>
...
...
@@ -40,13 +40,13 @@
<ul>
<li
v-for=
"(item, index) in todoList"
:key=
"index"
class=
"flexst"
>
<p
class=
"right15"
>
{{
item
.
dealTime
.
substring
(
0
,
10
)
}}
</p>
<p
class=
"list-title"
>
{{
item
.
dealBusiness
}}
(
{{
item
.
dealStep
+
'环节'
}}
)
</p>
<p
class=
"list-title"
style=
"text-align:right"
>
{{
item
.
dealBusiness
}}
(
{{
item
.
dealStep
+
'环节'
}}
)
</p>
</li>
</ul>
</el-card>
</el-col>
<el-col
:span=
"12"
>
<el-card
shadow=
"hover"
style=
"height:2
25
px"
>
<el-card
shadow=
"hover"
style=
"height:2
47
px"
>
<div
slot=
"header"
class=
"flexst"
>
<h5
class=
"title"
>
政策法规
</h5>
<i
class=
"el-icon-s-unfold pointer"
></i>
...
...
@@ -184,9 +184,9 @@ export default {
queryNoticeList
()
{
getHomeNoticeList
().
then
(
res
=>
{
if
(
res
.
result
)
{
this
.
noticeList
=
res
.
result
.
noticeList
this
.
noticeList
=
res
.
result
.
noticeList
.
slice
(
0
,
5
)
this
.
noticeList
.
forEach
(
item
=>
{
item
.
createtime
=
this
.
_timedate
(
item
.
createtime
)
})
this
.
policyList
=
res
.
result
.
policyList
}
...
...
@@ -198,6 +198,8 @@ export default {
time_str
=
"今天"
;
}
else
if
(
new
Date
(
date
).
getDate
()
===
(
new
Date
().
getDate
()
-
1
))
{
time_str
=
"昨天"
;
}
else
{
time_str
=
date
}
return
time_str
;
},
...
...
@@ -243,6 +245,6 @@ export default {
@import
"./index.scss"
;
/
deep
/
.el-card__body
{
padding
:
10px
;
padding
:
3px
10px
5px
10px
;
}
</
style
>
\ No newline at end of file
...
...
src/views/zsgl/zsrk/zsrk.vue
View file @
70a67fc
...
...
@@ -168,8 +168,4 @@ export default {
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
/
deep
/
.el-icon-date
{
display
:
none
;
}
</
style
>
...
...
Please
register
or
sign in
to post a comment