布局首页
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 191 B |
Binary file not shown.
|
After Width: | Height: | Size: 810 B |
@@ -882,4 +882,8 @@ module.exports = {
|
||||
dataCannotEmpty:'Data Cannot Empty',
|
||||
documentDynamics:'Document Dynamics',
|
||||
theNumberAgain:'The number already exists and cannot be added again',
|
||||
myList:'My to-do list',
|
||||
myNews:'My News',
|
||||
monthlyReportRegulations:'Monthly report regulations',
|
||||
Pending:'Pending',
|
||||
}
|
||||
@@ -887,4 +887,8 @@ module.exports = {
|
||||
dataCannotEmpty:'数据不能为空',
|
||||
documentDynamics:'文档动态',
|
||||
theNumberAgain:'编号已存在不能重复添加',
|
||||
myList:'我的待办',
|
||||
myNews:'我的消息',
|
||||
monthlyReportRegulations:'法规月报',
|
||||
Pending:'待处理',
|
||||
}
|
||||
@@ -1,27 +1,120 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
<div class="box">
|
||||
<div class="header-search">
|
||||
<a-input-search
|
||||
v-model="selectValue"
|
||||
:maxLength="100"
|
||||
class="inputSearch"
|
||||
allowClear
|
||||
:placeholder="$t('searchContent')"
|
||||
@search="onSearch"
|
||||
></a-input-search>
|
||||
</div>
|
||||
<div class="content-header">
|
||||
<customContent/>
|
||||
</div>
|
||||
<div class="content-content">
|
||||
<documentDynamics/>
|
||||
</div>
|
||||
<div class="content-footer">
|
||||
<div class="content-footer-box">
|
||||
<myList/>
|
||||
</div>
|
||||
<div class="content-footer-box">
|
||||
<myNews/>
|
||||
</div>
|
||||
<div class="content-footer-box">
|
||||
<monthlyReportRegulations/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import customContent from './components/customContent'
|
||||
import documentDynamics from './components/documentDynamics'
|
||||
import myList from './components/myList'
|
||||
import myNews from './components/myNews'
|
||||
import monthlyReportRegulations from './components/monthlyReportRegulations'
|
||||
|
||||
export default {
|
||||
name: "Analysis",
|
||||
name: 'Analysis',
|
||||
components: {
|
||||
|
||||
customContent,
|
||||
documentDynamics,
|
||||
myList,
|
||||
myNews,
|
||||
monthlyReportRegulations
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
indexStyle:1
|
||||
indexStyle: 1,
|
||||
selectValue: ''
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
onSearch(value) {
|
||||
console.log(value)
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
<style scoped lang="less">
|
||||
.box {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 32px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.header-search {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
.inputSearch {
|
||||
width: 700px;
|
||||
height: 40px;
|
||||
|
||||
/deep/ .ant-input {
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-header {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
margin-top: 24px;
|
||||
padding: 24px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #CED0D8;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.content-content {
|
||||
width: 100%;
|
||||
height: 306px;
|
||||
padding: 30px 25px 25px 25px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #CED0D8;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.content-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
|
||||
.content-footer-box {
|
||||
width: calc(33.3% - 14px);
|
||||
height: 412px;
|
||||
border: 1px solid #CED0D8;
|
||||
padding: 30px 24px 24px 24px;
|
||||
box-sizing: border-box;
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -5,11 +5,13 @@
|
||||
<div class="header-text-right">{{$t('more')}}</div>
|
||||
</div>
|
||||
<div class="documentDynamics-box-content">
|
||||
<div class="documentDynamics-text">
|
||||
<div class="documentDynamics-text" v-for="item in 8">
|
||||
<div class="yuan"></div>
|
||||
<div class="text">文档库中新增了新的标准 GB 7258 机动车文件</div>
|
||||
<img src="../../../assets/new.png" alt="">
|
||||
<div class="time">2022-04-04 12:00:00</div>
|
||||
</div>
|
||||
<div class="solid"></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -47,13 +49,27 @@
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
|
||||
.solid {
|
||||
width: 1px;
|
||||
height: 210px;
|
||||
background: #EFF1F3;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 120px;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.documentDynamics-text {
|
||||
height: 51px;
|
||||
display: flex;
|
||||
width: calc(50% - 20px);
|
||||
border-bottom: 1px solid #CED0D8;
|
||||
align-items: center;
|
||||
line-height: 51px;
|
||||
border-bottom: 1px solid #EFF1F3;
|
||||
position: relative;
|
||||
margin-bottom: 6px;
|
||||
cursor: pointer;
|
||||
|
||||
.yuan {
|
||||
width: 6px;
|
||||
@@ -62,7 +78,10 @@
|
||||
background: #040B29;
|
||||
opacity: 0.8;
|
||||
border-radius: 50%;
|
||||
margin-top: 2px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.text {
|
||||
@@ -70,15 +89,27 @@
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
margin-left: 8px;
|
||||
margin-left: 14px;
|
||||
width: calc(100% - 240px);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 38px;
|
||||
height: 20px;
|
||||
margin-top: 3px;
|
||||
margin-top: -42px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: 14px;
|
||||
float: right;
|
||||
font-weight: 400;
|
||||
color: #9B9DA9;
|
||||
margin-right: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
<template>
|
||||
<div class="monthlyReportRegulations-box">
|
||||
<div class="header-text">
|
||||
<div class="header-text-left">{{this.$t('monthlyReportRegulations')}}</div>
|
||||
<div class="header-text-right">{{$t('more')}}</div>
|
||||
</div>
|
||||
<div class="monthlyReportRegulations-box-content">
|
||||
<div class="monthlyReportRegulations-text" v-for="item in 6">
|
||||
<div class="yuan"></div>
|
||||
<div class="text">文档库中新增了新的标准 GB 7258 机动车文件</div>
|
||||
<div class="time">2022-04-04 12:00:00</div>
|
||||
</div>
|
||||
<div class="solid"></div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'monthlyReportRegulations'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.monthlyReportRegulations-box {
|
||||
width: 100%;
|
||||
|
||||
.header-text {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.header-text-left {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
}
|
||||
|
||||
.header-text-right {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #9B9DA9;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.monthlyReportRegulations-box-content {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
position: relative;
|
||||
margin-top: 12px;
|
||||
|
||||
.solid {
|
||||
width: 1px;
|
||||
height: 210px;
|
||||
background: #EFF1F3;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 120px;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.monthlyReportRegulations-text {
|
||||
height: 51px;
|
||||
width: 100%;
|
||||
line-height: 51px;
|
||||
border-bottom: 1px solid #EFF1F3;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
margin-bottom: 1.8px;
|
||||
|
||||
.yuan {
|
||||
width: 6px;
|
||||
display: inline-block;
|
||||
height: 6px;
|
||||
background: #040B29;
|
||||
opacity: 0.8;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.text {
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
margin-left: 14px;
|
||||
width: calc(100% - 180px);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 38px;
|
||||
height: 20px;
|
||||
margin-top: -42px;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.time {
|
||||
font-size: 14px;
|
||||
float: right;
|
||||
font-weight: 400;
|
||||
color: #9B9DA9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,118 @@
|
||||
<template>
|
||||
<div class="myList-box">
|
||||
<div class="header-text">
|
||||
<div class="header-text-left">{{this.$t('myList')}}</div>
|
||||
<div class="header-text-right">{{$t('more')}}</div>
|
||||
</div>
|
||||
<div class="myList-box-content">
|
||||
<div class="myList-box-content-box" v-for="item in 4">
|
||||
<div class="top">
|
||||
<span class="top-text">GB 7258 - 2017</span>
|
||||
<span class="top-admin">握手流程</span>
|
||||
</div>
|
||||
<div class="button">
|
||||
2022-04-04 12:00:00
|
||||
</div>
|
||||
<div class="with">
|
||||
{{$t('Pending')}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'myList'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.myList-box {
|
||||
width: 100%;
|
||||
|
||||
.header-text {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.header-text-left {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
}
|
||||
|
||||
.header-text-right {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #9B9DA9;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.myList-box-content {
|
||||
margin-top: 16px;
|
||||
|
||||
.myList-box-content-box {
|
||||
width: 100%;
|
||||
height: 68px;
|
||||
background: #F6F7FA;
|
||||
border: 1px solid #EFF1F3;
|
||||
border-radius: 4px;
|
||||
padding: 13px 16px;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 14px;
|
||||
position: relative;
|
||||
|
||||
.top {
|
||||
.top-text {
|
||||
font-size: 16px;
|
||||
font-family: Blue Sky Noto;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
max-width: 50%;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.top-admin {
|
||||
font-size: 16px;
|
||||
font-family: Blue Sky Noto;
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
margin-left: 4px;
|
||||
max-width: calc(50% - 72px);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #9B9DA9;
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
.with {
|
||||
width: 64px;
|
||||
height: 26px;
|
||||
background: #00B3BE;
|
||||
border-radius: 0px 4px 0px 10px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
text-align: center;
|
||||
line-height: 26px;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,110 @@
|
||||
<template>
|
||||
<div class="myNews-box">
|
||||
<div class="header-text">
|
||||
<div class="header-text-left">{{this.$t('myNews')}}</div>
|
||||
<div class="header-text-right">{{$t('more')}}</div>
|
||||
</div>
|
||||
<div class="myNews-box-content">
|
||||
<div class="myNews-box-content-box" v-for="item in 4">
|
||||
<img src="../../../assets/wdxx.png" alt="">
|
||||
<div class="content-box">
|
||||
<div class="top">
|
||||
XX向您推送了标准 GB 7258 - 2017
|
||||
</div>
|
||||
<div class="botton">
|
||||
2022-04-04 12:00:00
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<img src="../../../assets/gengduo.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'myNews'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.myNews-box {
|
||||
width: 100%;
|
||||
|
||||
.header-text {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.header-text-left {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
}
|
||||
|
||||
.header-text-right {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #9B9DA9;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.myNews-box-content {
|
||||
width: 100%;
|
||||
margin-top: 16px;
|
||||
|
||||
.myNews-box-content-box {
|
||||
padding: 16px;
|
||||
background: #F6F7FA;
|
||||
border-radius: 4px;
|
||||
height: 68px;
|
||||
margin-bottom: 14px;
|
||||
|
||||
img {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.content-box {
|
||||
display: inline-block;
|
||||
margin-left: 8px;
|
||||
width: calc(100% - 60px);
|
||||
|
||||
.top {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #040B29;
|
||||
display: inline-block;
|
||||
width: calc(100% - 10px);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.botton {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #9B9DA9;
|
||||
margin-top: -9px;
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
height: 100%;
|
||||
line-height: 68px;
|
||||
|
||||
img {
|
||||
width: 4px;
|
||||
height: 8px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user