wangliang_wd

feat:优化早晚报展示

import { ImageKnifeComponent } from '@ohos/imageknife';
import { ContentDTO, FrontLinkObject } from 'wdBean';
import { Logger } from 'wdKit/Index';
import { ProcessUtils } from 'wdRouter/Index';
... ... @@ -28,9 +29,12 @@ export struct topicInfoView {
build() {
RelativeContainer() {
Stack(){
Image(this.frontLinkObject?.coverUrl)
.width("100%")
.height("100%")
ImageKnifeComponent({imageKnifeOption:{loadSrc:this.frontLinkObject?.coverUrl,isCacheable:true}})
.width('100%')
.height('100%')
// Image(this.frontLinkObject?.coverUrl)
// .width("100%")
// .height("100%")
Stack(){
Image('')
.width("100%")
... ...
... ... @@ -233,7 +233,7 @@ export struct HomePageBottomFollowComponent {
this.hasMore = false
}
}
this.bottomCompH = DisplayUtils.getDeviceHeight() - this.data_follow.totalCount()*100
this.bottomCompH = DisplayUtils.getDeviceHeight() - this.data_follow.totalCount()*101
console.log(TAG, `${this.bottomCompH}`);
this.isLoading = false
this.isGetRequest = true
... ...
... ... @@ -20,7 +20,7 @@ struct MorningEveningPaperPage {
pageTransition() {
// 定义页面进入时的效果,从底侧滑入
PageTransitionEnter({ type: RouteType.Push, duration: 200 })
PageTransitionEnter({ type: RouteType.Push, duration: 300 })
.slide(SlideEffect.Bottom).onEnter((type: RouteType, progress: number) => {
if (progress >= 0.99) {
// WindowModel.shared.setWindowLayoutFullScreen(true)
... ...