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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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",
},
],

View File

@@ -19,7 +19,7 @@ const my = (props: any) => {
price=""
desc="活动描述信息"
title="活动标题"
thumb="https://img.yzcdn.cn/upload_files/2017/07/02/af5b9f44deaeb68000d7e4a711160c53.jpg"
thumb="cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images.jpg"
/>
}
return (