zhaojs
2023-07-31 49edf3b5b18597aacc3c05529712fbbe9720a805
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js");
if (!Math) {
  "./pages/takeout/mt.js";
  "./pages/comparePrice/index.js";
  "./pages/movieTicket/index.js";
  "./pages/wxkf/kfweb.js";
  "./pages/classify/index.js";
  "./pages/mine/index.js";
  "./pages/index/ability/index.js";
  "./pages/index/search/index.js";
  "./pages/index/ability/coupon.js";
  "./pages/goodDetail/index.js";
  "./pages/rankingList/index.js";
  "./pages/madBuy/index.js";
  "./pages/takeout/elm.js";
  "./pages/webShow/index.js";
}
const _sfc_main = {
  onLaunch: function() {
    console.log("App Launch");
  },
  onShow: function() {
    console.log("App Show");
    let baseUrl = "";
    baseUrl = "https://h.ushopvip.com/api";
    common_vendor.index.setStorage({
      key: "baseUrl",
      data: baseUrl,
      success: function() {
        common_vendor.index.getStorage({
          key: "baseUrl",
          success: function(res) {
            console.log(res.data);
          }
        });
      }
    });
  },
  onHide: function() {
    console.log("App Hide");
  }
  // onShareAppMessage:function() {
  //     // const promise = new Promise(resolve => {
  //     //     setTimeout(() => {
  //     //         resolve({
  //     //             title: '淘券获取'
  //     //         })
  //     //     }, 2000)
  //     // })
  //     return {
  //         title: '淘券获取',
  //         path: '/page/index/index',
  //         // promise
  //     }
  // },
  // onShareTimeline() {
  //     return {
  //         title: '淘券获取',
  //         query: '/page/index/index',
  //     }
  // }
};
const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "E:/OPProject/TK_H5_Web/App.vue"]]);
function createApp() {
  const app = common_vendor.createSSRApp(App);
  return {
    app
  };
}
createApp().app.mount("#app");
exports.createApp = createApp;