| | |
| | | </view> --> |
| | | </view> |
| | | <view class="action-buttons"> |
| | | <!-- <up-button text="编辑资料" size="mini" type="info" plain hairline @click="navigateTo('/sub-pages/mine/profile-edit')"--> |
| | | <!-- :custom-style="{ backgroundColor: 'transparent', borderColor: '#B1ABA9' }" />--> |
| | | <up-button text="编辑资料" size="mini" type="info" plain hairline @click="navigateTo('/sub-pages/mine/profile-edit')" |
| | | :custom-style="{ backgroundColor: 'transparent', borderColor: '#B1ABA9' }" /> |
| | | <!-- <up-icon name="setting" size="40rpx" @click="navigateTo('/sub-pages/mine/settings')" />--> |
| | | </view> |
| | | </view> |
| | |
| | | onShow(() => { |
| | | getLocation() |
| | | if (userStore.hasLogin) { |
| | | fetchList(); |
| | | // 强制刷新用户信息 |
| | | userStore.getCurrentInfo().then(() => { |
| | | fetchList(); |
| | | }); |
| | | }else { |
| | | // 用户未登录,清空列表 |
| | | likeList.value = []; |