完善页面

This commit is contained in:
wangxiaowei
2025-09-09 22:33:38 +08:00
parent ff964fbc87
commit 0064e83e20
23 changed files with 1344 additions and 162 deletions

View File

@ -19,8 +19,8 @@
</template>
<template #title>
<view class="search-box flex items-center ml-26rpx">
<wd-search placeholder="搜索茶址名称" hide-cancel :placeholder-left="true"
placeholderStyle="text-align:left;padding-left: 24rpx;line-heigt: 44rpx;color: #C9C9C9; font-size: 32rpx;font-weight: normal;"></wd-search>
<wd-search v-model="keywords" placeholder="搜索茶址名称" hide-cancel placeholder-left
placeholderStyle="text-align:left;line-heigt: 44rpx;color: #C9C9C9; font-size: 32rpx;font-weight: normal;"></wd-search>
</view>
</template>
</wd-navbar>
@ -40,7 +40,7 @@
</view>
</view>
</view>
</template>
<script lang="ts" setup>
@ -50,6 +50,8 @@
let navbarHeight = ref(0)
let OSS = inject('OSS')
const keywords = ref<string>('')
onLoad(() => {
navbarHeight.value = getNavBarHeight()
})
@ -61,7 +63,7 @@
})
}
}
</script>
<style lang="scss">
@ -91,15 +93,10 @@ page {
}
.wd-search__input {
// #ifdef MP
padding-left: 32px !important;
padding-right: 32px !important;
// #endif
// #ifndef MP
padding-right: 0 !important;
// #endif
}
}
}
</style>
</style>