提交 c95e75e0 编写于 作者: D devil

搜索新增新品和热度

上级 a67f2624
......@@ -13,6 +13,7 @@
9. 商品封面图片优化
10. 搜索支持空格多个关键字
11. 商品分类支持1~3级自由配置展示
12. 搜索新增热度和新品排序
web端
1. 所有条件、数据列表、新增、编辑、删除 新增钩子(公共 form 表单封装)
......
......@@ -7,7 +7,7 @@
.nav-sort-content .item {
height: 80rpx;
line-height: 80rpx;
width: 160rpx;
width: 130rpx;
}
.nav-sort-content .item .icon {
width: 30rpx;
......
......@@ -14,7 +14,9 @@ Page({
search_nav_sort_list: [
{ name: "综合", field: "default", sort: "asc", "icon": null },
{ name: "销量", field: "sales_count", sort: "asc", "icon": "default" },
{ name: "热度", field: "access_count", sort: "asc", "icon": "default" },
{ name: "价格", field: "min_price", sort: "asc", "icon": "default" },
{ name: "最新", field: "id", sort: "asc", "icon": "default" }
],
},
......
......@@ -7,7 +7,7 @@
.nav-sort-content .item {
height: 80rpx;
line-height: 80rpx;
width: 160rpx;
width: 130rpx;
}
.nav-sort-content .item .icon {
width: 30rpx;
......
......@@ -11,7 +11,13 @@ Page({
post_data: {},
is_show_popup_form: false,
popup_form_loading_status: false,
search_nav_sort_list: [{ name: "综合", field: "default", sort: "asc", "icon": null }, { name: "销量", field: "sales_count", sort: "asc", "icon": "default" }, { name: "价格", field: "min_price", sort: "asc", "icon": "default" }]
search_nav_sort_list: [
{ name: "综合", field: "default", sort: "asc", "icon": null },
{ name: "销量", field: "sales_count", sort: "asc", "icon": "default" },
{ name: "热度", field: "access_count", sort: "asc", "icon": "default" },
{ name: "价格", field: "min_price", sort: "asc", "icon": "default" },
{ name: "最新", field: "id", sort: "asc", "icon": "default" }
]
},
onLoad(params) {
......
......@@ -14,7 +14,9 @@ Page({
search_nav_sort_list: [
{ name: "综合", field: "default", sort: "asc", "icon": null },
{ name: "销量", field: "sales_count", sort: "asc", "icon": "default" },
{ name: "热度", field: "access_count", sort: "asc", "icon": "default" },
{ name: "价格", field: "min_price", sort: "asc", "icon": "default" },
{ name: "最新", field: "id", sort: "asc", "icon": "default" }
],
},
......
......@@ -7,7 +7,7 @@
.nav-sort-content .item {
height: 80rpx;
line-height: 80rpx;
width: 160rpx;
width: 130rpx;
}
.nav-sort-content .item .icon {
width: 30rpx;
......
......@@ -14,7 +14,9 @@ Page({
search_nav_sort_list: [
{ name: "综合", field: "default", sort: "asc", "icon": null },
{ name: "销量", field: "sales_count", sort: "asc", "icon": "default" },
{ name: "热度", field: "access_count", sort: "asc", "icon": "default" },
{ name: "价格", field: "min_price", sort: "asc", "icon": "default" },
{ name: "最新", field: "id", sort: "asc", "icon": "default" }
],
},
......
......@@ -7,7 +7,7 @@
.nav-sort-content .item {
height: 80rpx;
line-height: 80rpx;
width: 160rpx;
width: 130rpx;
}
.nav-sort-content .item .icon {
width: 30rpx;
......
......@@ -14,7 +14,9 @@ Page({
search_nav_sort_list: [
{ name: "综合", field: "default", sort: "asc", "icon": null },
{ name: "销量", field: "sales_count", sort: "asc", "icon": "default" },
{ name: "热度", field: "access_count", sort: "asc", "icon": "default" },
{ name: "价格", field: "min_price", sort: "asc", "icon": "default" },
{ name: "最新", field: "id", sort: "asc", "icon": "default" }
],
},
......
......@@ -7,7 +7,7 @@
.nav-sort-content .item {
height: 80rpx;
line-height: 80rpx;
width: 160rpx;
width: 130rpx;
}
.nav-sort-content .item .icon {
width: 30rpx;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册