feat: 排序下拉
This commit is contained in:
@@ -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",
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user