定位问题

This commit is contained in:
huichao
2020-07-28 09:16:18 +08:00
parent 9e7edc9fe8
commit 78e8b6c5b6

View File

@@ -25,17 +25,19 @@
/>
</van-popup>
</div>
<div class="c-gray-base fs16 pl25 footer">
<div class="c-gray-base fs16 pl25 footer" :class="dateShow?'footer':'footer1'">
所在机构
<span class="red">{{unitName}}</span>
</div>
<div class="flex">
<div class="w15 kong"></div>
<div class="crew-list-container ml15 mt90">
<div class="crew-list-container ml15 " :class="dateShow?'crew-list-container':'crew-list-container1'">
<van-sticky flex>
<div class="directly2 fs14">直辖组</div>
<table class="top-table fw500 bg-white">
<tr>
<td>
<div class="name">直辖组</div>
</td>
<td>
<div class="name">承保标保</div>
</td>
@@ -68,10 +70,13 @@
</van-sticky>
<div>
<div class="directly fs14">
<div class="directly1 bg-white" v-for="(item,index) in data1" :key="index">{{item.name}}</div>
</div>
<table class="main-table bg-white">
<tr v-for="(item1,index1) in list" :key="index1">
<td>
<div class="name" >{{item1.name}}</div>
</td>
<td>
<div class="name">{{item1.cbbb}}</div>
</td>
@@ -204,6 +209,10 @@ export default {
console.log(res)
if (res.result == 0) {
this.list = res.content.list
for(let i=0;i<res.content.list.length;i++){
this.list[i].name=this.data1[i].name
}
console.log(this.list)
}
})
},
@@ -221,10 +230,15 @@ export default {
// overflow: hidden;
padding-top: 10px;
}
.crew-list-container1 {
// overflow: hidden;
padding-top: 10px;
margin-top:90px;
}
.top-table,
.main-table {
margin: 0 auto;
margin-left: 100px;
margin-left: 10px;
border-collapse: collapse;
td {
border: 1px solid #ccc;
@@ -251,6 +265,11 @@ export default {
width: 100%;
}
.footer {
width: 100%;
// position: fixed;
margin-top: 70px;
}
.footer1 {
width: 100%;
position: fixed;
margin-top: 70px;
@@ -276,7 +295,7 @@ export default {
background: white;
}
.kong{
position: fixed;
// position: fixed;
height:100vh;
background:rgb(247, 246, 246);