wangliang_wd

feat:修改bug

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