Task description
基础组件
https://react-bootstrap.github.io/docs/components/carousel/#crossfade
数据来源
服务端渲染时加载数据逻辑如下:
const latestActivities = await new ActivityModel().getList({}, 1, 3);
具体写法参考:
|
export const getServerSideProps = compose(cache(), errorLogger, async () => { |
|
const awards = await new AwardModel().getAll(); |
|
|
|
return { props: { awards } }; |
|
}); |
|
|
|
const AwardPage: FC<{ awards: Award[] }> = ({ awards }) => { |
|
return <></>; |
|
}; |
|
|
|
export default AwardPage; |
Reward currency
TQT $
Reward amount
90
Reward payer
水歌 tech-query@fcc-cd.dev
Task source
https://open-source-bazaar.feishu.cn/record/OreqrezVQeFw5Ac6StFczXcUnAh
Task description
基础组件
https://react-bootstrap.github.io/docs/components/carousel/#crossfade
数据来源
服务端渲染时加载数据逻辑如下:
具体写法参考:
Open-Source-Bazaar.github.io/pages/award/index.tsx
Lines 6 to 16 in ee0cf17
Reward currency
TQT $
Reward amount
90
Reward payer
水歌 tech-query@fcc-cd.dev
Task source
https://open-source-bazaar.feishu.cn/record/OreqrezVQeFw5Ac6StFczXcUnAh