修改商品搜索样式 以及es中删除部分字段

master
lemon橪 2021-11-11 18:15:12 +08:00
parent f8b388c968
commit 9671d60555
4 changed files with 3 additions and 6 deletions

View File

@ -55,6 +55,7 @@ page {
padding: 30rpx; padding: 30rpx;
> .sort-item { > .sort-item {
> .sort-title { > .sort-title {
margin: 20rpx 0;
font-size: 26rpx; font-size: 26rpx;
font-weight: bold; font-weight: bold;
} }

View File

@ -321,8 +321,7 @@ export default {
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
// sort: 'grade_asc', // sort: 'grade_asc',
sort: "releaseTime",
order: "desc",
keyword: "", keyword: "",
}, },
minPrice: "", minPrice: "",
@ -528,8 +527,6 @@ export default {
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
categoryId: this.routerVal.category || "", categoryId: this.routerVal.category || "",
order: "desc",
sort: "releaseTime",
}; };
this.goodsList = []; this.goodsList = [];
this.loadData(); this.loadData();

View File

@ -749,6 +749,7 @@ export default {
category: this.goodsDetail.categoryId, category: this.goodsDetail.categoryId,
keyword: this.goodsDetail.name, keyword: this.goodsDetail.name,
}).then((res) => { }).then((res) => {
console.warn(this.likeGoodsList )
this.likeGoodsList = res.data.result.content; this.likeGoodsList = res.data.result.content;
}); });
}, },

View File

@ -32,8 +32,6 @@ export default {
params: { params: {
pageNumber: 1, pageNumber: 1,
pageSize: 10, pageSize: 10,
order: "desc",
keyword: "", keyword: "",
storeCatId: "", storeCatId: "",
storeId: "", storeId: "",