|
|
@@ -25,6 +25,7 @@ const _sfc_main = {
|
|
|
const currentIndex = common_vendor.ref(0);
|
|
|
const busList = common_vendor.ref([]);
|
|
|
const yy_end = common_vendor.ref(0);
|
|
|
+ const workTele = common_vendor.ref("");
|
|
|
const getRouteParts = (str) => {
|
|
|
if (typeof str === "string" && str.length > 0) {
|
|
|
return str.split("→");
|
|
|
@@ -57,6 +58,20 @@ const _sfc_main = {
|
|
|
console.log(busList.value, "车次");
|
|
|
}
|
|
|
}
|
|
|
+ async function getTuigai() {
|
|
|
+ const res = await utils_api.myRequest({
|
|
|
+ url: "/carBook/cnqueryHb.action",
|
|
|
+ data: {}
|
|
|
+ });
|
|
|
+ if (res.code == 200) {
|
|
|
+ workTele.value = res.data.workMobile;
|
|
|
+ } else {
|
|
|
+ common_vendor.index.showToast({
|
|
|
+ title: res.message,
|
|
|
+ icon: "none"
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
async function getPathList() {
|
|
|
var _a;
|
|
|
const res = await utils_api.myRequest({
|
|
|
@@ -76,6 +91,7 @@ const _sfc_main = {
|
|
|
currentTime.value = common_vendor.dayjs(Date.now()).format("YYYY-MM-DD");
|
|
|
}
|
|
|
paddingTop.value = common_vendor.index.getMenuButtonBoundingClientRect().top;
|
|
|
+ getTuigai();
|
|
|
getOrderConfig();
|
|
|
getPathList();
|
|
|
});
|
|
|
@@ -97,11 +113,6 @@ const _sfc_main = {
|
|
|
url: `/pages/chooseCar/chooseCar?info=${info}`
|
|
|
});
|
|
|
}
|
|
|
- function handlePhone(phoneNumber) {
|
|
|
- common_vendor.index.makePhoneCall({
|
|
|
- phoneNumber
|
|
|
- });
|
|
|
- }
|
|
|
const handleClose = () => {
|
|
|
show.value = false;
|
|
|
};
|
|
|
@@ -166,11 +177,8 @@ const _sfc_main = {
|
|
|
tip: "暂无数据"
|
|
|
})
|
|
|
} : {}, {
|
|
|
- m: common_vendor.t(yy_end.value),
|
|
|
- n: common_vendor.o(($event) => handlePhone("13576937506")),
|
|
|
- o: common_vendor.o(($event) => handlePhone(`0791 - 82293574`)),
|
|
|
- p: common_vendor.o(handleClose),
|
|
|
- q: common_vendor.p({
|
|
|
+ m: common_vendor.o(handleClose),
|
|
|
+ n: common_vendor.p({
|
|
|
show: show.value
|
|
|
})
|
|
|
});
|
|
|
@@ -178,4 +186,5 @@ const _sfc_main = {
|
|
|
}
|
|
|
};
|
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-07e72d3c"], ["__file", "D:/创海项目/CH2025/约车小程序/yueche_app/pages/home/home.vue"]]);
|
|
|
+_sfc_main.__runtimeHooks = 2;
|
|
|
wx.createPage(MiniProgramPage);
|