庞东旭 3 лет назад
Родитель
Сommit
b22f4b383c
1 измененных файлов: 14 добавлений и 13 удалений
  1. +14
    -13
      src/views/homesteadSurvey/list.vue

+ 14
- 13
src/views/homesteadSurvey/list.vue Просмотреть файл

@@ -445,7 +445,7 @@
<div id="query">搜索</div>
</template>
</van-search>
<div class="searchBox">
<div class="searchBox" style="display: none;">
<van-cell center v-for="(item,index) in mapDataAll">
<template #title>
<p><van-icon name="manager" /><span>{{item.syqr}}</span><span style="background: rgba(122, 201, 67, 0.4);color:#7ac943">{{item.houseDataConfirmStatus}}</span></p>
@@ -2694,7 +2694,8 @@
if(response.rows.length>=0){
that.mapDataAll = response.rows;
console.log(that.mapDataAll);
for(var hg=0; that.mapDataAll.length >0; hg++){
for(var hg=0; hg < that.mapDataAll.length ; hg++){
console.log(that.mapDataAll[hg].houseDataConfirmStatus)
var mapNum = that.mapDataAll[hg].houseDataConfirmStatus;
if(mapNum == "UNCONFIRMED"){
that.mapDataAll[hg].houseDataConfirmStatus = "未核查";
@@ -2732,17 +2733,17 @@
}
}
setTimeout(function () {
console.log($(".searchBar_wrap").outerHeight(true) - $(".searchBar_wrap .van-search").outerHeight(true))
that.showSearch = true ;
var height = $(".searchBar_wrap").outerHeight(true) - $(".searchBar_wrap .van-search").outerHeight(true)
document.styleSheets[0].insertRule(
"@keyframes test" +
"{" +
"0%{bottom: -" + height + "px;}" +
"100%{bottom: 0px;}" +
"}"
)
$('.searchBar_wrap').css({'animation':'test 0.5s ease-in-out 0s 1 alternate forwards','-webkit-animation':'test 0.5s ease-in-out 0s 1 alternate forwards'});
that.showSearch = true ;
$('.searchBox').css('display','block')
var height = $(".searchBar_wrap").outerHeight(true) - $(".searchBar_wrap .van-search").outerHeight(true)
document.styleSheets[0].insertRule(
"@keyframes test" +
"{" +
"0%{bottom: -" + height + "px;}" +
"100%{bottom: 0px;}" +
"}"
)
$('.searchBar_wrap').css({'animation':'test 0.5s ease-in-out 0s 1 alternate forwards','-webkit-animation':'test 0.5s ease-in-out 0s 1 alternate forwards'});
//}
},500);
} else {


Загрузка…
Отмена
Сохранить