diff --git a/App.vue b/App.vue index 2e953f3..64fbc5f 100644 --- a/App.vue +++ b/App.vue @@ -2,26 +2,26 @@ export default { onLaunch: function() { this.$nextTick(() => { - // uni.login({ - // provider: 'weixin', - // success: (res) => { - // console.log(res.code); - // this.$u.api.login({ - // code: res.code - // }).then(res => { - // this.$u.api.user().then(res=>{ - // this.$u.vuex('vuex_user', res) - // }) - // }) - // } + // uni.login({ + // provider: 'weixin', + // success: (res) => { + // console.log(res.code); + // this.$u.api.login({ + // code: res.code + // }).then(res => { + // this.$u.api.user().then(res=>{ + // this.$u.vuex('vuex_user', res) + // }) + // }) + // } // }); }) - }, - + }, + onShow: function() { - console.log('App Show') + console.log('App Show') }, onHide: function() { @@ -32,15 +32,20 @@ \ No newline at end of file diff --git a/manifest.json b/manifest.json index 4f21729..6288d10 100644 --- a/manifest.json +++ b/manifest.json @@ -77,15 +77,23 @@ "vueVersion" : "2", "h5" : { "router" : { - "base" : "" + "base" : "h5walksz", + "mode" : "hash" }, "devServer" : { "disableHostCheck" : true, - "https" : false + "https" : false, + "port" : 8080 }, "title" : "行走红色苏州", + "template" : "", + "publicPath" : "/h5walksz/", "sdkConfigs" : { - "maps" : {} + "maps" : { + "qqmap" : { + "key" : "B4TBZ-G6OLU-NR6VC-GOUUX-6GTHH-BAFUZ" + } + } } } } diff --git a/packages/cer/cer.vue b/packages/cer/cer.vue index c1141f1..2adf10a 100644 --- a/packages/cer/cer.vue +++ b/packages/cer/cer.vue @@ -5,8 +5,8 @@ mode= -
- +
+