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

19
pages/index/index.vue

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

Loading…
Cancel
Save