Commit 9943c8cd authored by “yiyousong”'s avatar “yiyousong”

perf: 修改呼叫器皮肤模板

parent dfdad3f2
...@@ -31,32 +31,29 @@ ...@@ -31,32 +31,29 @@
</div> </div>
</div> </div>
<!-- 主体 --> <!-- 主体 -->
<div class="main flex"> <div class="main ">
<div <div
class="left flex flexc aic jcc" class="info flex aic jcc"
:style="{ :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" /> <img src="../../../../assets/img/peopo.jpeg" />
<p>姓名:XXX</p> <div class="flex1">
<p>部门:审批部</p> <p>
<p>编号:001</p> <span class="mr25">XXX</span>
<div <span>001</span>
class="left-btn" </p>
:style="{ <p>审批部</p>
backgroundImage: `linear-gradient(${filterItem( <div class="left-btn flex aic jcc">
'8',
0
)}, ${filterItem('7', 0)})`,
}"
>
回归 回归
</div> </div>
</div> </div>
<div class="right flex1 flex flexwrap jcb acb"> </div>
<div <div
class="right-item" class="item"
v-for="(v, i) in filterNav('4')" v-for="(v, i) in filterNav('4')"
:key="v.id" :key="v.id"
:class="{ border: !filterItem('4', i) }" :class="{ border: !filterItem('4', i) }"
...@@ -65,7 +62,6 @@ ...@@ -65,7 +62,6 @@
}" }"
></div> ></div>
</div> </div>
</div>
<!-- 尾部 --> <!-- 尾部 -->
<div class="footer flex jcc aic"> <div class="footer flex jcc aic">
<div class="footer-item"> <div class="footer-item">
...@@ -209,7 +205,7 @@ export default { ...@@ -209,7 +205,7 @@ export default {
.header-title { .header-title {
h1 { h1 {
font-size: 30px; font-size: 30px;
color: #0866e8; color: #fff;
margin: 0px; margin: 0px;
margin-left: 10px; margin-left: 10px;
font-weight: 600; font-weight: 600;
...@@ -223,39 +219,46 @@ export default { ...@@ -223,39 +219,46 @@ export default {
.main { .main {
height: 350px; height: 350px;
margin-top: 20px; 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%; height: 100%;
width: 280px; padding: 10px;
margin-right: 20px; padding-right: 120px;
background: rgba(255, 255, 255, 0.8); background-repeat: no-repeat !important;
border-radius: 10px; background-position: center !important;
font-weight: 600; background-size: 100% 100% !important;
border-radius: 4px;
img { img {
width: 100px; width: 100px;
margin-right: 20px;
} }
.left-btn { .left-btn {
width: 150px; width: 100%;
height: 40px; height: 50px;
text-align: center; background: linear-gradient(0deg, #2a7cf6, #32baf0);
line-height: 40px;
color: #fff;
background-image: linear-gradient(#bbe0ee, #adc0f1);
border-radius: 6px; border-radius: 6px;
font-size: 22px;
font-weight: 500;
color: #ffffff;
} }
} }
.right { .item {
width: 100%;
height: 100%; height: 100%;
.right-item { border-radius: 4px;
width: 49%;
height: 100px;
border-radius: 6px;
background-repeat: no-repeat !important; background-repeat: no-repeat !important;
background-position: center !important; background-position: center !important;
background-size: 100% 100% !important; background-size: 100% 100% !important;
} color: #ffffff;
.border {
border: 1px dashed #ececec;
}
} }
} }
.footer { .footer {
......
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