feat:个人信息静态页面及设置页面 #9

Merged
ilhamtahir merged 19 commits from feature/10-userinfo into main 2024-12-19 20:11:29 +08:00
Showing only changes of commit 7189c688cb - Show all commits
+4
View File
@@ -107,6 +107,9 @@ const isSearch = ref<boolean>(false)
function handleSearchFocus() {
isSearch.value = false
}
function handleCancel() {
isSearch.value = true
}
const historyList = ref<{ name: string }[]>([
{ name: '猫' },
{ name: '狗' },
@@ -131,6 +134,7 @@ const findList = ref<{ name: string }[]>([
:cancel-button="isSearch ? 'none' : 'auto'"
:radius="20"
@focus="handleSearchFocus"
@cancel="handleCancel"
/>
</view>
<view v-show="!isSearch" class="mx-4 mt-4">