| @@ -445,7 +445,7 @@ | |||||
| <div id="query">搜索</div> | <div id="query">搜索</div> | ||||
| </template> | </template> | ||||
| </van-search> | </van-search> | ||||
| <div class="searchBox"> | |||||
| <div class="searchBox" style="display: none;"> | |||||
| <van-cell center v-for="(item,index) in mapDataAll"> | <van-cell center v-for="(item,index) in mapDataAll"> | ||||
| <template #title> | <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> | <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){ | if(response.rows.length>=0){ | ||||
| that.mapDataAll = response.rows; | that.mapDataAll = response.rows; | ||||
| console.log(that.mapDataAll); | 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; | var mapNum = that.mapDataAll[hg].houseDataConfirmStatus; | ||||
| if(mapNum == "UNCONFIRMED"){ | if(mapNum == "UNCONFIRMED"){ | ||||
| that.mapDataAll[hg].houseDataConfirmStatus = "未核查"; | that.mapDataAll[hg].houseDataConfirmStatus = "未核查"; | ||||
| @@ -2732,17 +2733,17 @@ | |||||
| } | } | ||||
| } | } | ||||
| setTimeout(function () { | 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); | },500); | ||||
| } else { | } else { | ||||