refactor:项目升级Vue3+uView Plus

- 改造入口文件、全量替换组件引入
- 过滤器迁移混入,更新忽略配置,新增迁移文档
This commit is contained in:
lifenlong
2026-06-06 22:51:10 +08:00
parent d5663cfb4d
commit f4337fd030
269 changed files with 1956 additions and 42350 deletions

View File

@@ -1,6 +1,6 @@
<template>
<view class="content">
<u-navbar :background="navObj" :is-back="false">
<u-navbar :bg-color="navObj.background" :auto-back="false">
<mSearch
ref="mSearch"
class="mSearch-input-box"
@@ -109,7 +109,7 @@
</div>
</view>
<u-popup border-radius="20" mode="right" width="90%" v-model="sortPopup">
<u-popup border-radius="20" mode="right" width="90%" v-model:show="sortPopup">
<view class="status_bar"></view>
<view class="sort-box ">
<view class="sort-list">
@@ -539,10 +539,10 @@ export default {
if (this.params.sort == type) {
this.params.order == 'asc' ? (this.params.order = 'desc') : (this.params.order = 'asc');
this.$set(this.params, 'sort', type);
this.params['sort'] = type;
} else {
this.params.order = 'desc';
this.$set(this.params, 'sort', type);
this.params['sort'] = type;
}
if (index == 0) {
@@ -709,7 +709,7 @@ export default {
this.$refs.mSearch.inputVal = keyword;
this.params.keyword = this.keyword;
this.params.pageNumber = 1;
this.$set(this.sortParams, 'keyword', keyword);
this.sortParams['keyword'] = keyword;
this.loadData('refresh', 1);
},
//保存关键字到历史记录