Commit effa6354 authored by 姬鋆屾's avatar 姬鋆屾

Merge branch 'reg' of http://gitlab.scsmile.cn/zxf/smart_gov_platform into reg

parents a3ab04bd c8bda477
......@@ -31,40 +31,36 @@
</div>
</div>
<!-- 主体 -->
<div class="main flex">
<div class="main ">
<div
class="left flex flexc aic jcc"
class="info flex aic jcc"
:style="{
background: filterItem('10', 0),
background: filterItem('10', 0)
? filterItem('10', 0)
: `url(${require('@/assets/img/info_bg.png')})`,
}"
>
<img src="../../../../assets/img/peopo.jpeg" />
<p>姓名:XXX</p>
<p>部门:审批部</p>
<p>编号:001</p>
<div
class="left-btn"
:style="{
backgroundImage: `linear-gradient(${filterItem(
'8',
0
)}, ${filterItem('7', 0)})`,
}"
>
回归
<div class="flex1">
<p>
<span class="mr25">XXX</span>
<span>001</span>
</p>
<p>审批部</p>
<div class="left-btn flex aic jcc">
回归
</div>
</div>
</div>
<div class="right flex1 flex flexwrap jcb acb">
<div
class="right-item"
v-for="(v, i) in filterNav('4')"
:key="v.id"
:class="{ border: !filterItem('4', i) }"
:style="{
background: filterItem('4', i),
}"
></div>
</div>
<div
class="item"
v-for="(v, i) in filterNav('4')"
:key="v.id"
:class="{ border: !filterItem('4', i) }"
:style="{
background: filterItem('4', i),
}"
></div>
</div>
<!-- 尾部 -->
<div class="footer flex jcc aic">
......@@ -209,7 +205,7 @@ export default {
.header-title {
h1 {
font-size: 30px;
color: #0866e8;
color: #fff;
margin: 0px;
margin-left: 10px;
font-weight: 600;
......@@ -223,39 +219,46 @@ export default {
.main {
height: 350px;
margin-top: 20px;
.left {
padding: 0px 30px;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 10px;
.border {
border: 1px dashed #ececec;
}
.info {
grid-column: 1 / span 2;
width: 100%;
height: 100%;
width: 280px;
margin-right: 20px;
background: rgba(255, 255, 255, 0.8);
border-radius: 10px;
font-weight: 600;
padding: 10px;
padding-right: 120px;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: 100% 100% !important;
border-radius: 4px;
img {
width: 100px;
margin-right: 20px;
}
.left-btn {
width: 150px;
height: 40px;
text-align: center;
line-height: 40px;
color: #fff;
background-image: linear-gradient(#bbe0ee, #adc0f1);
width: 100%;
height: 50px;
background: linear-gradient(0deg, #2a7cf6, #32baf0);
border-radius: 6px;
font-size: 22px;
font-weight: 500;
color: #ffffff;
}
}
.right {
.item {
width: 100%;
height: 100%;
.right-item {
width: 49%;
height: 100px;
border-radius: 6px;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: 100% 100% !important;
}
.border {
border: 1px dashed #ececec;
}
border-radius: 4px;
background-repeat: no-repeat !important;
background-position: center !important;
background-size: 100% 100% !important;
color: #ffffff;
}
}
.footer {
......
......@@ -74,6 +74,10 @@ const attrType = [
{ key: "12", label: "底部背景" },
{ key: "13", label: "数据标题背景" },
{ key: "14", label: "数据背景" },
{ key: "15", label: "公告标题" },
{ key: "16", label: "公告内容" },
{ key: "17", label: "公告标题背景" },
{ key: "18", label: "公告内容背景" },
];
export default {
props: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment