|
@@ -6,7 +6,7 @@
|
|
|
<view class="dialog_logo ml-24"></view>
|
|
<view class="dialog_logo ml-24"></view>
|
|
|
<view class="dialog_search ml-24" @click.stop="toSearch"></view>
|
|
<view class="dialog_search ml-24" @click.stop="toSearch"></view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="height-72 flex" style="background-color: #f9f9f9">
|
|
|
|
|
|
|
+ <!-- <view class="height-72 flex" style="background-color: #f9f9f9">
|
|
|
<view class="width-half flex-center" @click.stop="checkFilterDistance">
|
|
<view class="width-half flex-center" @click.stop="checkFilterDistance">
|
|
|
<view class="fs-26 color-000-6 mr-8">距离</view>
|
|
<view class="fs-26 color-000-6 mr-8">距离</view>
|
|
|
<view
|
|
<view
|
|
@@ -23,7 +23,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="width-half flex-center">
|
|
<view class="width-half flex-center">
|
|
|
- <!-- <view
|
|
|
|
|
|
|
+ <view
|
|
|
class="width-32 height-32 br-round lh-20 text-center"
|
|
class="width-32 height-32 br-round lh-20 text-center"
|
|
|
:style="{
|
|
:style="{
|
|
|
border: filterDialog.discounts
|
|
border: filterDialog.discounts
|
|
@@ -47,9 +47,9 @@
|
|
|
filterDialog.discounts ? 'color-primary' : 'color-000-6',
|
|
filterDialog.discounts ? 'color-primary' : 'color-000-6',
|
|
|
]"
|
|
]"
|
|
|
>支持省钱充电</view
|
|
>支持省钱充电</view
|
|
|
- > -->
|
|
|
|
|
|
|
+ >
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
<view
|
|
<view
|
|
|
class="dialog_selector"
|
|
class="dialog_selector"
|
|
|
:style="{
|
|
:style="{
|
|
@@ -510,7 +510,7 @@ const refresh = () => {
|
|
|
const handleNavReady = (e: any) => {
|
|
const handleNavReady = (e: any) => {
|
|
|
styleData.value.dialog = `padding-top:${e.detail.statusBarHeight - 6}px;`;
|
|
styleData.value.dialog = `padding-top:${e.detail.statusBarHeight - 6}px;`;
|
|
|
const searchHeight = rpxToPx(88);
|
|
const searchHeight = rpxToPx(88);
|
|
|
- const filterHeight = rpxToPx(72);
|
|
|
|
|
|
|
+ const filterHeight = 0 // rpxToPx(72);
|
|
|
styleData.value.dialogHeight =
|
|
styleData.value.dialogHeight =
|
|
|
e.detail.statusBarHeight - 6 + searchHeight + filterHeight;
|
|
e.detail.statusBarHeight - 6 + searchHeight + filterHeight;
|
|
|
styleData.value.dialogPlaceHolderHeight =
|
|
styleData.value.dialogPlaceHolderHeight =
|
|
@@ -590,7 +590,7 @@ onShow(() => {
|
|
|
if (token.value) {
|
|
if (token.value) {
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
fetchCharging();
|
|
fetchCharging();
|
|
|
- }, 3000);
|
|
|
|
|
|
|
+ }, 2000);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -599,6 +599,9 @@ const fetchCharging = () => {
|
|
|
if (res && [1, 2].includes(res.chargeStatus)) {
|
|
if (res && [1, 2].includes(res.chargeStatus)) {
|
|
|
charging.value = res;
|
|
charging.value = res;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (res && res.isBooking) {
|
|
|
|
|
+ charging.value = res;
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -928,7 +931,7 @@ page {
|
|
|
|
|
|
|
|
.charging {
|
|
.charging {
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
- z-index: 999;
|
|
|
|
|
|
|
+ z-index: 1000;
|
|
|
right: 0;
|
|
right: 0;
|
|
|
bottom: 164rpx;
|
|
bottom: 164rpx;
|
|
|
width: 186rpx;
|
|
width: 186rpx;
|