|
@@ -6,16 +6,13 @@
|
6
|
6
|
|
7
|
7
|
<script>
|
8
|
8
|
import '../../common/css/reset.css'
|
9
|
|
-import logo from '../../common/icon/indexlogo.jpg'
|
10
|
|
-import wxsdk from '../../util/share'
|
11
|
9
|
import { mapState, createNamespacedHelpers } from 'vuex'
|
12
|
10
|
const { mapActions: actions } = createNamespacedHelpers('userCenter')
|
13
|
11
|
export default {
|
14
|
12
|
name: 'app',
|
15
|
13
|
data () {
|
16
|
14
|
return {
|
17
|
|
- showPage: false,
|
18
|
|
- logo
|
|
15
|
+ showPage: false
|
19
|
16
|
}
|
20
|
17
|
},
|
21
|
18
|
components: {},
|
|
@@ -34,12 +31,6 @@ export default {
|
34
|
31
|
this.getUserInfo({ org: this.org, code: this.code }).then(() => {
|
35
|
32
|
this.showPage = true
|
36
|
33
|
})
|
37
|
|
- // wxsdk({ url: encodeURIComponent(window.location.href.split('#')[0]) }, {
|
38
|
|
- // title: '城的空间',
|
39
|
|
- // desc: '城的空间',
|
40
|
|
- // link: `${window.location.origin}${window.location.pathname}#/mainPage/indexPage`,
|
41
|
|
- // thu_image: `https://jingcheng-resourceplat.oss-cn-shanghai.aliyuncs.com/citymini%2Findexlogo.jpg`
|
42
|
|
- // })
|
43
|
34
|
},
|
44
|
35
|
methods: {
|
45
|
36
|
...actions(['getUserInfo'])
|