feat: 排序下拉

This commit is contained in:
eric
2022-11-13 11:33:17 +08:00
parent 5781fb7455
commit d71bf4dde6
4 changed files with 8 additions and 12 deletions

View File

@@ -8,17 +8,13 @@ const activityList = () => {
const [state, setState] = react.useState({
option1: [
{
text: "全部商品",
text: "全部活动",
value: 0,
},
{
text: "新款商品",
text: "附近活动",
value: 1,
},
{
text: "活动商品",
value: 2,
},
}
],
option2: [
{
@@ -26,11 +22,11 @@ const activityList = () => {
value: "a",
},
{
text: "好评排序",
text: "最近距离",
value: "b",
},
{
text: "销量排序",
text: "参与最多",
value: "c",
},
],