样式调整

This commit is contained in:
mengxiaolong
2020-08-11 11:34:30 +08:00
parent f572342b88
commit 786e0087e8

View File

@@ -38,10 +38,10 @@
</table>
</div>
</div>
<div v-else style="background: #fff; width: 1300px; min-height: 100vh;" class="specialTable pt15">
<div v-else style="background: #fff; width: 82em; min-height: 100vh;" class="specialTable pt15">
<div class="tableHead" style="width: 100%">
<span class="th w140 header" style="position: sticky; left: 0;">合作渠道</span>
<span class="th w140 header firstCol">险种名称</span>
<span class="th w140 header">险种名称</span>
<span class="th w140 header">当日预收件数</span>
<span class="th header longTitle">当日预收规模保费万元</span>
<span class="th w140 header">当日承保件数</span>
@@ -53,7 +53,7 @@
<div class="companyName">{{ item.name }}</div>
</div>
<div class="lineWrapper">
<div v-for="(data, i) in item.data" :key="i" class="firstCol" :style="{ borderBottom: item.data.length !== i + 1 ? '1px solid #d7d7d7' : '' }">
<div v-for="(data, i) in item.data" :key="i" style="height: 70px;" :style="{ borderBottom: item.data.length !== i + 1 ? '1px solid #d7d7d7' : '' }">
<div class="data w140">
{{ data.riskName }}
</div>
@@ -209,9 +209,7 @@ $border: 1px solid #d7d7d7;
}
.lineWrapper {
width: 1158px;
display: inline-block;
vertical-align: middle;
flex: 1;
}
.companyName {
@@ -233,11 +231,13 @@ $border: 1px solid #d7d7d7;
}
.line {
display: flex;
border: $border;
}
.specialTable {
position: relative;
font-size: 16px;
}
.header {
@@ -255,17 +255,17 @@ $border: 1px solid #d7d7d7;
.fixedTitle {
position: sticky;
left: 0;
border-right: $border;
display: inline-block;
vertical-align: middle;
border-right: $border;
}
.longTitle {
width: 210px;
width: 15em;
}
.w140 {
width: 140px;
width: 10em;
}
.lh70 {