diff --git a/index.html b/index.html deleted file mode 100644 index b61f63e..0000000 --- a/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - -
- - - diff --git a/main.js b/main.js index f5002d9..86cf81d 100644 --- a/main.js +++ b/main.js @@ -1,20 +1,11 @@ import App from './App' import pubFn from './common/js/publicFn.js' - -// import Vue from 'vue' -// Vue.config.productionTip = false -// App.mpType = 'app' -// const app = new Vue({ -// ...App -// }) -// app.$mount() - - -import { createSSRApp } from 'vue' -export function createApp() { - const app = createSSRApp(App) - app.provide('$pubFn',pubFn) - return { - app - } -} +import store from "./store"; +import Vue from 'vue' +Vue.config.productionTip = false +Vue.prototype.$store = store; +App.mpType = 'app' +const app = new Vue({ + ...App +}) +app.$mount() diff --git a/manifest.json b/manifest.json index 2e95a06..9f55dcf 100644 --- a/manifest.json +++ b/manifest.json @@ -5,9 +5,9 @@ "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, - // "networkTimeout":{ - // "request":6000 - // }, + "networkTimeout" : { + "request" : 6000 + }, /* 5+App特有相关 */ "app-plus" : { "usingComponents" : true, @@ -20,9 +20,7 @@ "delay" : 0 }, /* 模块配置 */ - "modules" : { - "Contacts" : {} - }, + "modules" : {}, /* 应用发布信息 */ "distribute" : { /* android打包配置 */ @@ -36,14 +34,11 @@ "", "", "", - "", "", - "", "", "", "", "", - "", "" ] }, @@ -51,8 +46,18 @@ "ios" : {}, /* SDK配置 */ "sdkConfigs" : { - "maps" : {} + "maps" : {}, + "payment" : { + "weixin" : { + "__platform__" : [ "ios", "android" ], + "appid" : "", + "UniversalLinks" : "" + } + } } + }, + "uniStatistics" : { + "enable" : true } }, /* 快应用特有相关 */ @@ -77,5 +82,10 @@ "uniStatistics" : { "enable" : false }, - "vueVersion" : "3" + "vueVersion" : "2", + "h5" : { + "router" : { + "mode" : "history" + } + } } diff --git a/pages/client/index.vue b/pages/client/index.vue index 5de1b05..51d9725 100644 --- a/pages/client/index.vue +++ b/pages/client/index.vue @@ -2,58 +2,28 @@ - - {{ userName }} - + {{ userName }} 123