Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-08-27 17:47:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fa412e96fe773979d6b421c9be9ededf5763e57d
fa412e96
1 parent
55a178d7
feat:优化早晚报展示
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/topicInfoView.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/HomePageBottomFollowComponent.ets
sight_harmony/products/phone/src/main/ets/pages/MorningEveningPaperPage.ets
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/topicInfoView.ets
View file @
fa412e9
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%")
...
...
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/HomePageBottomFollowComponent.ets
View file @
fa412e9
...
...
@@ -233,7 +233,7 @@ export struct HomePageBottomFollowComponent {
this.hasMore = false
}
}
this.bottomCompH = DisplayUtils.getDeviceHeight() - this.data_follow.totalCount()*10
0
this.bottomCompH = DisplayUtils.getDeviceHeight() - this.data_follow.totalCount()*10
1
console.log(TAG, `${this.bottomCompH}`);
this.isLoading = false
this.isGetRequest = true
...
...
sight_harmony/products/phone/src/main/ets/pages/MorningEveningPaperPage.ets
View file @
fa412e9
...
...
@@ -20,7 +20,7 @@ struct MorningEveningPaperPage {
pageTransition() {
// 定义页面进入时的效果,从底侧滑入
PageTransitionEnter({ type: RouteType.Push, duration:
2
00 })
PageTransitionEnter({ type: RouteType.Push, duration:
3
00 })
.slide(SlideEffect.Bottom).onEnter((type: RouteType, progress: number) => {
if (progress >= 0.99) {
// WindowModel.shared.setWindowLayoutFullScreen(true)
...
...
Please
register
or
login
to post a comment