af0025ce38
## Repository - HarmonyOS stage-mode HAR module, consumed by host app - No standalone build — hvigorw, oh_modules, and ../biz_quote absent here ## Architecture ### Feed Cards - FirstPage.createNodeView dispatches cards by FirstPageConstant.KEY_* - Card config from first_page_cards_config.json loaded by FirstPageCardsConfigLoader - Public entrypoint: Index.ets ### Market Ranking (src/main/ets/market-ranking/) - HTTP: MarketRankingDataFetcher fetches recommend_futures contracts - HQ: MarketRankingHqRequestClient subscribes via 4106/frame 2201/scenario qht_qihuo_sort - TCP reconnect rebuilds subscription from original HTTP contract list - Async callbacks guarded by request/subscription versions ### Other Cards - HotList, CommodityOptions, AiDiagnosis, AiRiseFall, SelfSelectedStock, CustomEntryList, FourEntryList - Each has DataFetcher + HQ request client + NodeComponent ## Key Changes (from CardHarmonyOS reference) - Added MetricId, PeriodId, SortOrder enums (MarketRankingModels.ets) - Replaced string comparisons with enum switches in thirdColumnTitle/Value/Color - Removed redundant undefined guards in thirdColumnColor/priceColor, delegated to riseFallColor - Inlined priceColor(), use riseFallColor directly - Tab bar Stack.height(30), Alignment.End (reverted from 46/TopEnd) - Name column fontWeight removed (default regular)
18 lines
892 B
Plaintext
18 lines
892 B
Plaintext
# Define project specific obfuscation rules here.
|
|
# You can include the obfuscation configuration files in the current module's build-profile.json5.
|
|
#
|
|
# For more details, see
|
|
# https://gitee.com/openharmony/arkcompiler_ets_frontend/blob/master/arkguard/README.md
|
|
|
|
# Obfuscation options:
|
|
# -disable-obfuscation: disable all obfuscations
|
|
# -enable-property-obfuscation: obfuscate the property names
|
|
# -enable-toplevel-obfuscation: obfuscate the names in the global scope
|
|
# -compact: remove unnecessary blank spaces and all line feeds
|
|
# -remove-log: remove all console.* statements
|
|
# -print-namecache: print the name cache that contains the mapping from the old names to new names
|
|
# -apply-namecache: reuse the given cache file
|
|
|
|
# Keep options:
|
|
# -keep-property-name: specifies property names that you want to keep
|
|
# -keep-global-name: specifies names that you want to keep in the global scope |