yanlu

fix:17086 版面-电子报页面_选择日期,选中状态选中框应为圆角

... ... @@ -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'))
... ...
... ... @@ -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 })
}
... ...
... ... @@ -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)
}
}
... ...