yanlu

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

@@ -9,7 +9,7 @@ import font from '@ohos.font'; @@ -9,7 +9,7 @@ import font from '@ohos.font';
9 import { ENewspaperPageDialog } from '../dialog/ENewspaperPageDialog'; 9 import { ENewspaperPageDialog } from '../dialog/ENewspaperPageDialog';
10 import { RMCalendarBean } from './calendar/RMCalendarBean'; 10 import { RMCalendarBean } from './calendar/RMCalendarBean';
11 import { newsSkeleton } from './skeleton/newsSkeleton'; 11 import { newsSkeleton } from './skeleton/newsSkeleton';
12 -import { Logger } from 'wdKit/Index'; 12 +import { Logger, ToastUtils } from 'wdKit/Index';
13 13
14 @Component 14 @Component
15 export struct ENewspaperPageComponent { 15 export struct ENewspaperPageComponent {
@@ -151,7 +151,9 @@ export struct ENewspaperPageComponent { @@ -151,7 +151,9 @@ export struct ENewspaperPageComponent {
151 center: { anchor: "__container__", align: VerticalAlign.Center } 151 center: { anchor: "__container__", align: VerticalAlign.Center }
152 }) 152 })
153 .id('e_newspaper_share') 153 .id('e_newspaper_share')
154 - .visibility(Visibility.Hidden) 154 + .onClick(() => {
  155 + ToastUtils.showToast('分享为公共方法,待开发', 1000);
  156 + })
155 } 157 }
156 .margin({ left: $r('app.float.margin_16'), right: $r('app.float.margin_16') }) 158 .margin({ left: $r('app.float.margin_16'), right: $r('app.float.margin_16') })
157 .height($r('app.float.top_bar_height')) 159 .height($r('app.float.top_bar_height'))
@@ -96,6 +96,7 @@ export struct RMCalenderCell { @@ -96,6 +96,7 @@ export struct RMCalenderCell {
96 .aspectRatio(1)// .borderRadius(999) 96 .aspectRatio(1)// .borderRadius(999)
97 .backgroundColor(this.getSelectItemBg()) 97 .backgroundColor(this.getSelectItemBg())
98 .opacity(this.getSelectItemBgOpa()) 98 .opacity(this.getSelectItemBgOpa())
  99 + .borderRadius(2)
99 .transition({ type: TransitionType.Insert, opacity: 1 }) 100 .transition({ type: TransitionType.Insert, opacity: 1 })
100 .transition({ type: TransitionType.Delete, opacity: 0 }) 101 .transition({ type: TransitionType.Delete, opacity: 0 })
101 } 102 }
@@ -34,8 +34,8 @@ struct PeopleShipHomePage { @@ -34,8 +34,8 @@ struct PeopleShipHomePage {
34 // 是否开始更新关注 34 // 是否开始更新关注
35 @Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false 35 @Provide @Watch('handleChangeAttentionStata') isLoadingAttention: boolean = false
36 //关注显示 36 //关注显示
37 - @Prop attentionOpacity: boolean = false  
38 - @Provide @Watch('handleChangeTopHeight') topHeight: number = 400 37 + @State attentionOpacity: boolean = false
  38 + @Provide topHeight: number = 400
39 39
40 build() { 40 build() {
41 41
@@ -153,7 +153,7 @@ struct PeopleShipHomePage { @@ -153,7 +153,7 @@ struct PeopleShipHomePage {
153 // userId: HttpUrlUtils.getUserId(), 153 // userId: HttpUrlUtils.getUserId(),
154 status: status, 154 status: status,
155 } 155 }
156 - PageRepository.postInteractAccentionOperate(params).then(res => { 156 + PageRepository.postInteractAccentionOperate(params).then(() => {
157 if (this.isAttention == '1') { 157 if (this.isAttention == '1') {
158 this.isAttention = '0' 158 this.isAttention = '0'
159 this.detailModel.fansNum -= 1 159 this.detailModel.fansNum -= 1
@@ -167,9 +167,5 @@ struct PeopleShipHomePage { @@ -167,9 +167,5 @@ struct PeopleShipHomePage {
167 this.isLoadingAttention = false 167 this.isLoadingAttention = false
168 }) 168 })
169 } 169 }
170 - handleChangeTopHeight() {  
171 - Logger.debug('PeopleShipHomePage', 'topHeight' + this.topHeight)  
172 -  
173 - }  
174 } 170 }
175 171