Files
tonghuashun_CardDemo/entry/src/main/ets/pages/Index.ets
T
2026-07-21 21:19:20 +08:00

33 lines
680 B
Plaintext

import { Card } from '../common/Card';
import { AIView } from '../ai-view/AIView';
import { MarketRanking } from '../market-ranking/MarketRanking';
import { AiPick } from '../ai-pick/AiPick';
@Entry
@Component
struct Index {
build() {
Scroll() {
Column({ space: 16 }) {
Card() {
AIView()
}
Card() {
MarketRanking()
}
Card() {
AiPick()
}
}
.width('100%')
.padding(16)
.alignItems(HorizontalAlign.Center)
.justifyContent(FlexAlign.Start)
}
.width('100%')
.height('100%')
.align(Alignment.Top)
.backgroundColor($r('app.color.page_bg'))
}
}