feat: 完成市场排名和AI看涨跌页面
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import { TabData } from './AIViewTypes';
|
||||
import { MOCK_STATS, MOCK_TABS } from './AIViewMock';
|
||||
|
||||
@Observed
|
||||
export class AIViewModel {
|
||||
last20Accuracy: string = MOCK_STATS.last20Accuracy;
|
||||
lastDayAccuracy: string = MOCK_STATS.lastDayAccuracy;
|
||||
tabs: TabData[] = MOCK_TABS;
|
||||
|
||||
// TODO: 接入后端接口后,在此方法内发起请求并更新 last20Accuracy
|
||||
async updateLast20Accuracy(): Promise<void> {
|
||||
}
|
||||
|
||||
// TODO: 接入后端接口后,在此方法内发起请求并更新 lastDayAccuracy
|
||||
async updateLastDayAccuracy(): Promise<void> {
|
||||
}
|
||||
|
||||
// TODO: 接入后端接口后,在此方法内发起请求并更新 tabs
|
||||
async updateTabs(): Promise<void> {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user