f96ff2b030
在 `pages.json` 中新增归还成功页面的配置,并在 `order/success.vue` 中实现设备状态提示和加载动画。同时,更新了订单支付逻辑,确保在支付成功后能够正确弹出充电宝。优化了订单状态查询和处理逻辑,提升用户体验。
50 lines
1.4 KiB
JavaScript
50 lines
1.4 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
const common_vendor = require("./common/vendor.js");
|
|
const util_index = require("./util/index.js");
|
|
if (!Math) {
|
|
"./pages/index/index.js";
|
|
"./pages/my/index.js";
|
|
"./pages/deposit/index.js";
|
|
"./pages/order/index.js";
|
|
"./pages/order/payment.js";
|
|
"./pages/feedback/index.js";
|
|
"./pages/help/index.js";
|
|
"./pages/device/detail.js";
|
|
"./pages/serve/bagCheck/index.js";
|
|
"./pages/return/index.js";
|
|
"./pages/order/success.js";
|
|
"./pages/order/return-success.js";
|
|
}
|
|
const _sfc_main = {
|
|
onLaunch: function() {
|
|
common_vendor.index.__f__("log", "at App.vue:10", "App Launch");
|
|
},
|
|
onShow: async function() {
|
|
common_vendor.index.__f__("log", "at App.vue:14", "App Show");
|
|
await this.autoLogin();
|
|
},
|
|
onHide: function() {
|
|
common_vendor.index.__f__("log", "at App.vue:19", "App Hide");
|
|
},
|
|
methods: {
|
|
async autoLogin() {
|
|
try {
|
|
const loginResult = await util_index.wxLogin();
|
|
common_vendor.index.__f__("log", "at App.vue:28", "自动登录成功:", loginResult);
|
|
} catch (error) {
|
|
common_vendor.index.__f__("error", "at App.vue:31", "自动登录失败:", error);
|
|
}
|
|
}
|
|
}
|
|
};
|
|
function createApp() {
|
|
const app = common_vendor.createSSRApp(_sfc_main);
|
|
return {
|
|
app
|
|
};
|
|
}
|
|
createApp().app.mount("#app");
|
|
exports.createApp = createApp;
|
|
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map
|