diff --git a/src/components/fly-login/fly-login.vue b/src/components/fly-login/fly-login.vue index 4d827d6..10ea692 100644 --- a/src/components/fly-login/fly-login.vue +++ b/src/components/fly-login/fly-login.vue @@ -49,7 +49,7 @@ const onChange = (e) => { console.log(value) } -const onSubmit = () => { +const onSubmit = async () => { // 1、上传刚刚的图片,并返回网络地址 // 2、把用户信息存起来 // if (avatarUrl.value === defaultAvatarUrl) { @@ -70,7 +70,8 @@ const onSubmit = () => { emit('update:modelValue', false) // console.log('保存用户信息') // userStore.setUserInfo({ nickname: nickname.value, avatar: avatarUrl.value }) - userStore.wxLogin() + await userStore.wxLogin() + await userStore.getUserInfo() } diff --git a/src/pages/about/detail.vue b/src/pages/about/detail.vue index 617563e..c64fc5d 100644 --- a/src/pages/about/detail.vue +++ b/src/pages/about/detail.vue @@ -33,12 +33,16 @@ > - {{ detail.author }} + {{ detail.author }} {{ detail.description }} - + 泸州市龙马潭区海吉星路 @@ -61,7 +65,7 @@ - 场所介绍 + 场所介绍 @@ -73,8 +77,8 @@ @@ -92,7 +96,7 @@ {{ item.description }} - 泸州市龙马潭区海吉星路 + 泸州市龙马潭区海吉星路 diff --git a/src/pages/about/index.vue b/src/pages/about/index.vue index 7e2eedb..bcded52 100644 --- a/src/pages/about/index.vue +++ b/src/pages/about/index.vue @@ -24,15 +24,13 @@ :height="'100%'" :src="banner_list.image" /> - {{ banner_list.name }} - - - - + + --> diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 93c8faf..34a79e1 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -36,7 +36,7 @@ :indicator="{ type: 'dots-bar' }" @change="onChange" > - @@ -44,7 +44,7 @@ {{ title }} - + --> @@ -88,7 +88,7 @@ - + {{ item.name }} @@ -104,8 +104,8 @@