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
yanlu
2024-05-09 15:22:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
528b0fd323ec1a52ce1449f82203ef65324086ad
528b0fd3
1 parent
3c901a6b
fix:17086 版面-电子报页面_选择日期,选中状态选中框应为圆角
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
sight_harmony/features/wdComponent/src/main/ets/components/ENewspaperPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/calendar/RMCalendarCell.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/PeopleShipHomePage.ets
sight_harmony/features/wdComponent/src/main/ets/components/ENewspaperPageComponent.ets
View file @
528b0fd
...
...
@@ -9,7 +9,7 @@ import font from '@ohos.font';
import { ENewspaperPageDialog } from '../dialog/ENewspaperPageDialog';
import { RMCalendarBean } from './calendar/RMCalendarBean';
import { newsSkeleton } from './skeleton/newsSkeleton';
import { Logger } from 'wdKit/Index';
import { Logger
, ToastUtils
} from 'wdKit/Index';
@Component
export struct ENewspaperPageComponent {
...
...
@@ -151,7 +151,9 @@ export struct ENewspaperPageComponent {
center: { anchor: "__container__", align: VerticalAlign.Center }
})
.id('e_newspaper_share')
.visibility(Visibility.Hidden)
.onClick(() => {
ToastUtils.showToast('分享为公共方法,待开发', 1000);
})
}
.margin({ left: $r('app.float.margin_16'), right: $r('app.float.margin_16') })
.height($r('app.float.top_bar_height'))
...
...
sight_harmony/features/wdComponent/src/main/ets/components/calendar/RMCalendarCell.ets
View file @
528b0fd
...
...
@@ -96,6 +96,7 @@ export struct RMCalenderCell {
.aspectRatio(1)// .borderRadius(999)
.backgroundColor(this.getSelectItemBg())
.opacity(this.getSelectItemBgOpa())
.borderRadius(2)
.transition({ type: TransitionType.Insert, opacity: 1 })
.transition({ type: TransitionType.Delete, opacity: 0 })
}
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/PeopleShipHomePage.ets
View file @
528b0fd
...
...
@@ -34,8 +34,8 @@ struct PeopleShipHomePage {
// 是否开始更新关注
@Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false
//关注显示
@Prop attentionOpacity: boolean = false
@Provide @Watch('handleChangeTopHeight') topHeight: number = 400
@State attentionOpacity: boolean = false
@Provide topHeight: number = 400
build() {
...
...
@@ -153,7 +153,7 @@ struct PeopleShipHomePage {
// userId: HttpUrlUtils.getUserId(),
status: status,
}
PageRepository.postInteractAccentionOperate(params).then(
res
=> {
PageRepository.postInteractAccentionOperate(params).then(
()
=> {
if (this.isAttention == '1') {
this.isAttention = '0'
this.detailModel.fansNum -= 1
...
...
@@ -167,9 +167,5 @@ struct PeopleShipHomePage {
this.isLoadingAttention = false
})
}
handleChangeTopHeight() {
Logger.debug('PeopleShipHomePage', 'topHeight' + this.topHeight)
}
}
...
...
Please
register
or
login
to post a comment