diff --git a/features/fund/src/main/ets/view/TrendsPage.ets b/features/fund/src/main/ets/view/TrendsPage.ets index 2bf1589248d6622e54547c2a3eebf601595aabbf..dff0d8d546080ade2b0450cdc415ef871c042698 100644 --- a/features/fund/src/main/ets/view/TrendsPage.ets +++ b/features/fund/src/main/ets/view/TrendsPage.ets @@ -92,7 +92,7 @@ export struct TrendsPage { this.pageIndexInfos.pop(); }) } - .padding({top:30}) + .padding({top:40}) .width(CommonConstants.FULL_WIDTH_PERCENT) .justifyContent(FlexAlign.SpaceBetween) } diff --git a/features/fundComparison/src/main/ets/view/ComparisonDetailComponent.ets b/features/fundComparison/src/main/ets/view/ComparisonDetailComponent.ets index fbcc3947771aa4fe232a9236c00a14acefcc5290..222a5c7f4cdac7c83e1a6d06072289859dd82b8f 100644 --- a/features/fundComparison/src/main/ets/view/ComparisonDetailComponent.ets +++ b/features/fundComparison/src/main/ets/view/ComparisonDetailComponent.ets @@ -13,10 +13,11 @@ * limitations under the License. */ -import { CommonConstants, RouterConstants } from '@ohos/basic'; +import { CommonConstants, logger, RouterConstants } from '@ohos/basic'; import { ComparisonConstants } from '../constants/ComparisonConstants'; import { ComparisonInfo } from '../viewmodel/ComparisonInfo'; import FundComparisonViewModel from '../viewmodel/FundComparisonViewModel'; +import { display, window } from '@kit.ArkUI'; @Component export struct ComparisonDetailComponent { @@ -327,6 +328,11 @@ export struct ComparisonDetailComponent { .barWidth($r('app.float.choose_tab_width')) .layoutWeight(1) } + .onAppear(() => { + window.getLastWindow(this.getUIContext().getHostContext()).then((windowStage: window.Window) => { + windowStage.setWindowLayoutFullScreen(true); + }) + }) } @Styles diff --git a/features/fundComparison/src/main/resources/base/element/float.json b/features/fundComparison/src/main/resources/base/element/float.json index a4195493f66887916b0e24a25febdd63b912ba40..734656528b4d05b5139dafc751ec3ef2e94359c5 100644 --- a/features/fundComparison/src/main/resources/base/element/float.json +++ b/features/fundComparison/src/main/resources/base/element/float.json @@ -142,7 +142,7 @@ }, { "name": "title_padding_top", - "value": "4vp" + "value": "40vp" }, { "name": "fund_name_size",