You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
2 years ago
|
"use strict";
|
||
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||
|
const common_vendor = require("./common/vendor.js");
|
||
|
const config_host = require("./config/host.js");
|
||
|
if (!Math) {
|
||
|
"./pages/Index/index.js";
|
||
|
"./pages/UserDetail/index.js";
|
||
|
"./pages/ChatDetail/index.js";
|
||
|
"./pages/UserCoupons/index.js";
|
||
|
"./pages/Addr/index.js";
|
||
|
"./pages/AddrDetail/index.js";
|
||
|
}
|
||
|
const _sfc_main = {
|
||
|
onLaunch: function() {
|
||
|
console.log("App Launch");
|
||
|
},
|
||
|
onShow: function() {
|
||
|
},
|
||
|
onHide: function() {
|
||
|
console.log("App Hide");
|
||
|
},
|
||
|
mounted() {
|
||
|
}
|
||
|
};
|
||
|
const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/Project/pet_web/App.vue"]]);
|
||
|
const store = common_vendor.createStore({
|
||
|
state() {
|
||
|
return {
|
||
|
footCheck: "home",
|
||
|
title: config_host.title
|
||
|
};
|
||
|
},
|
||
|
mutations: {
|
||
|
footCheck(state, check) {
|
||
|
state.footCheck = check;
|
||
|
},
|
||
|
title(state, title) {
|
||
|
state.title = title;
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
function createApp() {
|
||
|
const app = common_vendor.createSSRApp(App);
|
||
|
app.use(common_vendor.uviewPlus);
|
||
|
app.use(store);
|
||
|
common_vendor.index.$u.config.unit = "rpx";
|
||
|
return {
|
||
|
app
|
||
|
};
|
||
|
}
|
||
|
createApp().app.mount("#app");
|
||
|
exports.createApp = createApp;
|