mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-08-06 10:57:25 +08:00
fix: 更新多个组件样式和功能以提升用户体验
- 在 myCollect.vue 中优化收藏页面的布局和样式,增加主题支持 - 在 searchPage.vue 中修复搜索组件的输入值设置逻辑 - 在 coupon/index.vue 中重构优惠券列表的展示逻辑,提升可用性 - 在 m-search-revision.vue 中调整搜索组件的样式和功能,增加清除图标的交互 - 在 pages.json 中禁用下拉刷新功能以改善性能
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
<mSearch
|
||||
ref="mSearchRef"
|
||||
class="mSearch-input-box"
|
||||
:show-clear="false"
|
||||
@clickLeft="back"
|
||||
:mode="2"
|
||||
:placeholder="defaultKeyword"
|
||||
@@ -271,7 +270,7 @@ import storage from '@/utils/storage'
|
||||
const store = useStore()
|
||||
const { proxy } = getCurrentInstance()!
|
||||
|
||||
const mSearchRef = ref<InstanceType<typeof mSearch> | null>(null)
|
||||
const mSearchRef = ref<any>(null)
|
||||
|
||||
const empty = ref(false)
|
||||
const scrollTop = ref(0)
|
||||
@@ -806,7 +805,7 @@ function doSearch(searchKeyword: string | false) {
|
||||
isShowSeachGoods.value = true
|
||||
if (mSearchRef.value) {
|
||||
mSearchRef.value.isShowSeachGoods = true
|
||||
mSearchRef.value.inputVal = resolvedKeyword
|
||||
mSearchRef.value.setInputValue(resolvedKeyword)
|
||||
}
|
||||
params.value.keyword = keyword.value
|
||||
params.value.pageNumber = 1
|
||||
|
||||
Reference in New Issue
Block a user