liyubing

Merge remote-tracking branch 'origin/main'

@@ -220,7 +220,6 @@ export struct MultiPictureDetailItemComponent { @@ -220,7 +220,6 @@ export struct MultiPictureDetailItemComponent {
220 }) 220 })
221 .height('100%') 221 .height('100%')
222 .width('100%') 222 .width('100%')
223 - .backgroundColor(Color.Black)  
224 .justifyContent(FlexAlign.Center) 223 .justifyContent(FlexAlign.Center)
225 .gesture( 224 .gesture(
226 GestureGroup( 225 GestureGroup(
@@ -55,7 +55,7 @@ export struct Card14Component { @@ -55,7 +55,7 @@ export struct Card14Component {
55 ) 55 )
56 } 56 }
57 // 左标题,右图 57 // 左标题,右图
58 - Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.SpaceBetween }) { 58 + Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.Start }) {
59 59
60 Text() { 60 Text() {
61 if (this.titleMarked) { 61 if (this.titleMarked) {
@@ -77,16 +77,14 @@ export struct Card14Component { @@ -77,16 +77,14 @@ export struct Card14Component {
77 .lineHeight(25) 77 .lineHeight(25)
78 .fontFamily('PingFang SC-Regular') 78 .fontFamily('PingFang SC-Regular')
79 .textAlign(TextAlign.Start) 79 .textAlign(TextAlign.Start)
80 - // .flexBasis('auto')  
81 .margin({right: 12}) 80 .margin({right: 12})
82 - .flexBasis(214) 81 + .width('64%')
83 82
84 Image(this.loadImg ? this.contentDTO.coverUrl : '') 83 Image(this.loadImg ? this.contentDTO.coverUrl : '')
85 .backgroundColor(0xf5f5f5) 84 .backgroundColor(0xf5f5f5)
86 - .flexBasis(117) 85 + .aspectRatio(3 / 2)
87 .height(78) 86 .height(78)
88 .borderRadius($r('app.float.image_border_radius')) 87 .borderRadius($r('app.float.image_border_radius'))
89 - // .flexBasis(160)  
90 .backgroundImageSize(ImageSize.Auto) 88 .backgroundImageSize(ImageSize.Auto)
91 89
92 } 90 }
@@ -161,7 +161,7 @@ export struct ZhSingleColumn09 { @@ -161,7 +161,7 @@ export struct ZhSingleColumn09 {
161 .height(90) 161 .height(90)
162 .columnsTemplate('1fr 1fr 1fr 1fr') 162 .columnsTemplate('1fr 1fr 1fr 1fr')
163 .rowsTemplate('1fr 1fr') 163 .rowsTemplate('1fr 1fr')
164 - .margin({bottom: 10}) 164 + .margin({bottom: 5})
165 165
166 Row() { 166 Row() {
167 Row() { 167 Row() {
@@ -188,7 +188,7 @@ export struct ZhSingleColumn09 { @@ -188,7 +188,7 @@ export struct ZhSingleColumn09 {
188 this.selfClosed = true; 188 this.selfClosed = true;
189 }) 189 })
190 } 190 }
191 - .height(40) 191 + .height(20)
192 .width('100%') 192 .width('100%')
193 .borderRadius(3) 193 .borderRadius(3)
194 .justifyContent(FlexAlign.SpaceBetween) 194 .justifyContent(FlexAlign.SpaceBetween)
@@ -5,7 +5,7 @@ export struct PeopleShipHomeAttentionComponent { @@ -5,7 +5,7 @@ export struct PeopleShipHomeAttentionComponent {
5 @Consume isAttention: string 5 @Consume isAttention: string
6 @Consume isLoadingAttention: boolean 6 @Consume isLoadingAttention: boolean
7 build() { 7 build() {
8 - Flex({ alignItems: ItemAlign.Center, justifyContent: FlexAlign.Center }) { 8 + Flex({ alignItems: ItemAlign.Start, justifyContent: FlexAlign.Start }) {
9 Button({type: ButtonType.Normal, stateEffect: false } ) { 9 Button({type: ButtonType.Normal, stateEffect: false } ) {
10 Stack() { 10 Stack() {
11 Row() 11 Row()
@@ -117,7 +117,6 @@ export struct PeopleShipHomeAttentionComponent { @@ -117,7 +117,6 @@ export struct PeopleShipHomeAttentionComponent {
117 ToastUtils.showToast('分享为公共方法,待开发', 1000); 117 ToastUtils.showToast('分享为公共方法,待开发', 1000);
118 }) 118 })
119 .visibility(Visibility.Hidden) 119 .visibility(Visibility.Hidden)
120 -  
121 } 120 }
122 121
123 } 122 }
@@ -253,7 +253,7 @@ export struct PeopleShipHomePageTopComponent { @@ -253,7 +253,7 @@ export struct PeopleShipHomePageTopComponent {
253 253
254 // 分享-关注 254 // 分享-关注
255 PeopleShipHomeAttentionComponent() 255 PeopleShipHomeAttentionComponent()
256 - .width('100%') 256 + .width(`calc(100% - ${32 + 'vp'})`)
257 .margin({ 257 .margin({
258 top: '10vp', 258 top: '10vp',
259 bottom: '16vp' 259 bottom: '16vp'
@@ -122,6 +122,7 @@ struct LoginPage { @@ -122,6 +122,7 @@ struct LoginPage {
122 this.disableScreenCapture() 122 this.disableScreenCapture()
123 } 123 }
124 124
  125 +
125 onPageHide(): void { 126 onPageHide(): void {
126 this.pageHideTime = DateTimeUtils.getTimeStamp() 127 this.pageHideTime = DateTimeUtils.getTimeStamp()
127 let duration = 0 128 let duration = 0
@@ -132,8 +133,6 @@ struct LoginPage { @@ -132,8 +133,6 @@ struct LoginPage {
132 }else{ 133 }else{
133 TrackingPageBrowse.trackCommonPageExposureEnd(TrackConstants.PageName.Login_Page,TrackConstants.PageName.Login_Page,duration) 134 TrackingPageBrowse.trackCommonPageExposureEnd(TrackConstants.PageName.Login_Page,TrackConstants.PageName.Login_Page,duration)
134 } 135 }
135 - this.isPrivacyMode = false  
136 - this.disableScreenCapture()  
137 } 136 }
138 137
139 build() { 138 build() {
@@ -262,6 +261,10 @@ struct LoginPage { @@ -262,6 +261,10 @@ struct LoginPage {
262 right: { anchor: "__container__", align: HorizontalAlign.End } 261 right: { anchor: "__container__", align: HorizontalAlign.End }
263 }) 262 })
264 .onClick(() => { 263 .onClick(() => {
  264 + ///关闭禁止截图
  265 + this.isPrivacyMode = false
  266 + this.disableScreenCapture()
  267 +
265 router.back() 268 router.back()
266 }) 269 })
267 .id('id_close') 270 .id('id_close')