| | |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="edit-profile">点击这里,填写简介</view> |
| | | <view class="edit-profile" @click="goToProfile">点击这里,填写简介</view> |
| | | |
| | | <view class="stats"> |
| | | <view class="stat-row"> |
| | |
| | | ) |
| | | |
| | | onShow(() => { |
| | | console.log('我的') |
| | | getLocation() |
| | | }); |
| | | |
| | | |
| | | |
| | | // 当前 tab 索引 |
| | |
| | | }); |
| | | |
| | | // 方法定义 |
| | | function onSettingClick() { |
| | | const onSettingClick= ()=> { |
| | | settingShow.value = true; |
| | | } |
| | | |
| | | function onTabChange(item: { index: number }) { |
| | | const onTabChange=(item: { index: number })=> { |
| | | current.value = item.index; |
| | | } |
| | | |
| | | function onSwiperChange(e: any) { |
| | | const onSwiperChange=(e: any) => { |
| | | current.value = e.detail.current; |
| | | } |
| | | |
| | | |
| | | const goToProfile= ()=> { |
| | | navigateTo('/profile'); |
| | | } |
| | | </script> |
| | | |
| | | |