Files
uni-fans-score/unpackage/dist/dev/mp-weixin/app.js
T
8vd8 431ceb4bdb feat: 新增多个页面及功能,优化用户体验
在项目中新增了多个页面,包括押金页面、设备详情页面、反馈页面和帮助页面。同时,更新了订单支付和归还成功页面的逻辑,确保用户在支付和归还设备时能够获得清晰的反馈。优化了扫码和订单状态处理逻辑,提升了整体用户体验。
2025-04-16 18:26:02 +08:00

52 lines
1.6 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");
const utils_orderMonitor = require("./utils/orderMonitor.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);
app.config.globalProperties.$orderMonitor = utils_orderMonitor.orderMonitor;
return {
app
};
}
createApp().app.mount("#app");
exports.createApp = createApp;
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map