|
|
@@ -267,6 +267,7 @@ import { fetchLocation } from "@/utils/location";
|
|
|
import { to } from "@/utils/navigate";
|
|
|
import { onLoad } from "@dcloudio/uni-app";
|
|
|
import { ref } from "vue";
|
|
|
+import { WxRequest } from "@/utils/http";
|
|
|
|
|
|
const isIOS = ref(false);
|
|
|
const token = ref<string>();
|
|
|
@@ -498,7 +499,12 @@ const handleNavReady = (e: any) => {
|
|
|
};
|
|
|
|
|
|
const toSearch = () => {
|
|
|
- to("/pages-charge/search/search");
|
|
|
+ if (!ready.value || station.value.length) {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ uni.navigateTo({
|
|
|
+ url: "/pages-charge/search/search",
|
|
|
+ });
|
|
|
};
|
|
|
|
|
|
const toActivity = (index: number) => {
|
|
|
@@ -779,7 +785,7 @@ page {
|
|
|
view {
|
|
|
background-position: center;
|
|
|
background-repeat: no-repeat;
|
|
|
- background-size: cover;
|
|
|
+ background-size: 100% auto;
|
|
|
}
|
|
|
}
|
|
|
}
|