tianyi 4 weeks ago
parent
commit
46b47e3c84
  1. 19
      pages/index/index.vue

19
pages/index/index.vue

@ -254,6 +254,9 @@
{{putAreaData.title}}
</view>
</view>
<view @tap="clearCheck" v-if="getAreaData.id != undefined || putAreaData.id != undefined" style="color:#00BFFF;">
清空
</view>
</view>
</view>
<view :style="{'height':lastScrollTop>583?'900px':'auto'}">
@ -672,6 +675,16 @@
const info = uni.getSystemInfoSync();
this.navBarHeight = info.statusBarHeight;
},
clearCheck(){
this.checkYongjin = false
this.putAreaData = {}
this.getAreaData = {}
this.searchForm.getAreaId=""
this.searchForm.putAreaId=""
this.searchForm.order = ""
this.getDelivery()
this.$forceUpdate()
},
// isSwitching
_switchCategory(index) {
if (this.isSwitching) return;
@ -1600,7 +1613,7 @@
text-align: center;
background: #f5f5f5;
width: 24%;
margin-left: 4%;
margin-right: 4%;
border-radius: 10rpx;
}
@ -1611,7 +1624,7 @@
overflow: scroll;
background: rgba(0, 0, 0, 0.7);
position: absolute;
top: 80rpx;
top: 145rpx;
right: 0;
border-radius: 20rpx;
color: #fff;
@ -1624,7 +1637,7 @@
.guize1-qusong {
display: flex;
margin: 0 0 20rpx 40rpx;
margin: 0 40rpx 20rpx 0;
}
.qusong1 {

Loading…
Cancel
Save