Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
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
许珑标
薪瑞通-前端
Commits
d4b3baa1
Commit
d4b3baa1
authored
Apr 17, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
satge:首页样式补充
parent
6c0fae08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
34 deletions
+47
-34
src/views/index.vue
src/views/index.vue
+47
-34
No files found.
src/views/index.vue
View file @
d4b3baa1
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<div
class=
"home"
>
<el-card
class=
"margin-bottom-small"
>
<div>
<!--
<img
src=
"@/assets/images/welcome.png"
alt=
"welcome"
/>
-->
<img
src=
"@/assets/images/index-barder.png"
alt=
"welcome"
/>
</div>
</el-card>
<div
class=
"home-containerDaiban"
>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-card
class=
"box-card"
>
<el-card
class=
"box-card"
>
...
@@ -8,39 +17,31 @@
...
@@ -8,39 +17,31 @@
<el-button
style=
"float: right; color: rgb(64, 158, 255);"
type=
"normal"
>
{{
pending
.
total
}}
</el-button>
<el-button
style=
"float: right; color: rgb(64, 158, 255);"
type=
"normal"
>
{{
pending
.
total
}}
</el-button>
</div>
</div>
<el-table
:data=
"pending.rows"
:show-header=
"false"
style=
"width: 100%"
>
<el-table
:data=
"pending.rows"
:show-header=
"false"
style=
"width: 100%"
>
<el-table-column
prop=
"pendingName"
label=
"待办标题"
class-name=
"pending_name"
/>
<el-table-column
prop=
"pendingName"
label=
"待办标题"
class-name=
"pending_name"
/>
<el-table-column
prop=
"pendingType"
label=
"业务类型"
width=
"120"
align=
"right"
>
<el-table-column
prop=
"pendingType"
label=
"业务类型"
width=
"120"
align=
"right"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.pending_type"
:value=
"scope.row.pendingType"
/>
<dict-tag
:options=
"dict.type.pending_type"
:value=
"scope.row.pendingType"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"pendingHref"
label=
"操作"
align=
"right"
>
<el-table-column
prop=
"pendingHref"
label=
"操作"
align=
"right"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-link
v-if=
"scope.row.pendingHref"
type=
"primary"
:href=
"scope.row.pendingHref"
style=
"font-size: 12px"
>
去处理
</el-link>
<el-link
v-if=
"scope.row.pendingHref"
type=
"primary"
:href=
"scope.row.pendingHref"
style=
"font-size: 12px"
>
去处理
</el-link>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<div
class=
"bottom clearfix"
>
<div
class=
"bottom clearfix"
>
<el-pagination
<el-pagination
layout=
"prev, pager, next"
v-show=
"pending.total > 0"
:total=
"pending.total"
layout=
"prev, pager, next"
:page.sync=
"pending.params.pageNum"
:limit.sync=
"pending.params.pageSize"
v-show=
"pending.total > 0"
@
pagination=
"getPendingTable"
/>
:total=
"pending.total"
:page.sync=
"pending.params.pageNum"
:limit.sync=
"pending.params.pageSize"
@
pagination=
"getPendingTable"
/>
</div>
</div>
</el-card>
</el-card>
</el-col>
</el-col>
<el-col
:span=
"12"
><div
class=
"grid-content bg-purple-light"
></div></el-col>
<el-col
:span=
"12"
>
<div
class=
"grid-content bg-purple-light"
></div>
</el-col>
</el-row>
</el-row>
<div
class=
"home"
>
<el-card
class=
"margin-bottom-small"
>
<div>
<!-- <img src="@/assets/images/welcome.png" alt="welcome" />-->
<img
src=
"@/assets/images/index-barder.png"
alt=
"welcome"
/>
</div>
</div>
</el-card>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -85,6 +86,14 @@ export default {
...
@@ -85,6 +86,14 @@ export default {
background
:
#fff
;
background
:
#fff
;
height
:
calc
(
92vh
-
84px
);
height
:
calc
(
92vh
-
84px
);
// padding-bottom: 50px;
// padding-bottom: 50px;
position
:
relative
;
.home-containerDaiban
{
width
:
100%
;
position
:
absolute
;
top
:
0
;
left
:
0
;
}
.margin-bottom-small
{
.margin-bottom-small
{
// margin-bottom: 25px;
// margin-bottom: 25px;
...
@@ -94,18 +103,22 @@ export default {
...
@@ -94,18 +103,22 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
}
}
}
}
.clearfix
:after
{
.clearfix
:after
{
clear
:
both
clear
:
both
}
}
.clearfix
:before
,
.clearfix
:before
,
.clearfix
:after
{
.clearfix
:after
{
display
:
table
;
display
:
table
;
content
:
""
;
content
:
""
;
}
}
.bottom
{
.bottom
{
margin-top
:
13px
;
margin-top
:
13px
;
line-height
:
12px
;
line-height
:
12px
;
}
}
.pending_name
{
.pending_name
{
font-size
:
15px
;
font-size
:
15px
;
}
}
...
...
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