feat: 活动详情页

This commit is contained in:
eric
2022-11-13 21:29:53 +08:00
parent ecb1fed94c
commit dccbb27473
13 changed files with 72 additions and 36 deletions

View File

@@ -31,12 +31,12 @@ const Home = () => {
useEffect(() => {
Taro.showShareMenu({
withShareTicket: true
})
withShareTicket: true,
});
Taro.updateShareMenu({
withShareTicket: true,
success () { }
})
success() {},
});
// let objParams = {
// tableName: "test",
// id: "80516fb66370bcf300b8f43c5f4dd52b",
@@ -139,19 +139,23 @@ const Home = () => {
{[1, 2].map((item: any) => {
return (
<Card
num=""
price=""
desc="报名中"
title="周末爬山"
thumb="cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images.jpg"
// renderFooter={
// <View>
// <Button size="mini">按钮1</Button>
// <Button size="mini">按钮2</Button>
// </View>
// }
/>
<View
onClick={() => {
console.log("Card");
Taro.navigateTo({
url: "/pages/activityList/components/details/index",
});
}}
>
{" "}
<Card
num=""
price=""
desc="报名中"
title="周末爬山"
thumb="cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images.jpg"
/>
</View>
);
})}