mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-06-24 02:40:13 +08:00
refactor:项目升级Vue3+uView Plus
- 改造入口文件、全量替换组件引入 - 过滤器迁移混入,更新忽略配置,新增迁移文档
This commit is contained in:
@@ -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);
|
||||
},
|
||||
//保存关键字到历史记录
|
||||
|
||||
Reference in New Issue
Block a user