Compare commits

..

2 Commits

2 changed files with 14 additions and 0 deletions

View File

@ -32,7 +32,11 @@
{{ val }} {{ val }}
</div> </div>
</div> </div>
</div> </div>
<div class="bottom1">
{{total}}
</div>
</div> </div>
<div class="item-box"> <div class="item-box">
<div class="item" v-for="item in data.list" :key="item.id"> <div class="item" v-for="item in data.list" :key="item.id">
@ -64,6 +68,7 @@
const area = ref(null) const area = ref(null)
const typeName = ref('全市') const typeName = ref('全市')
const typeName2 = ref('全部') const typeName2 = ref('全部')
const total = ref(0)
if (selectArea && selectArea !== '全部') { if (selectArea && selectArea !== '全部') {
typeName2.value = selectArea typeName2.value = selectArea
area.value = selectArea area.value = selectArea
@ -131,6 +136,7 @@
if (res.data.data.total.length < 9) { if (res.data.data.total.length < 9) {
dom.removeEventListener('scroll', viewMonitor, true) dom.removeEventListener('scroll', viewMonitor, true)
} }
total.value= res.data.data.total
// appList // appList
res.data.data.appList.map((val) => { res.data.data.appList.map((val) => {
if (!val.pic) { if (!val.pic) {
@ -198,6 +204,12 @@
} }
.application { .application {
padding: 0 0.15rem; padding: 0 0.15rem;
.bottom1 {
margin-top: 67px;
margin-left: 928px;
color: #fff;
font-size: 0.2rem;
}
.select { .select {
margin: 0.1rem 0 0.1rem 0.2rem; margin: 0.1rem 0 0.1rem 0.2rem;
color: #fff; color: #fff;
@ -225,6 +237,7 @@
background-size: 100%; background-size: 100%;
} }
} }
.bottom { .bottom {
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;

View File

@ -175,6 +175,7 @@ const showDetail = (item) => {
path: '/demandDetails', path: '/demandDetails',
query: { query: {
id: item.id, id: item.id,
showKey:selectedKeys.value,
}, },
}) })
} }