王士厅
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 "arkOptions": { 13 "arkOptions": {
14 "obfuscation": { 14 "obfuscation": {
15 "ruleOptions": { 15 "ruleOptions": {
16 - "enable": true, 16 + "enable": false,
17 "files": [ 17 "files": [
18 "./obfuscation-rules.txt" 18 "./obfuscation-rules.txt"
19 ] 19 ]
@@ -129,7 +129,11 @@ export struct DynamicDetailComponent { @@ -129,7 +129,11 @@ export struct DynamicDetailComponent {
129 }) 129 })
130 130
131 } 131 }
  132 +
132 aboutToDisappear() { 133 aboutToDisappear() {
  134 + if (this.lastTimeoutId) {
  135 + clearTimeout(this.lastTimeoutId)
  136 + }
133 this.viewBlogInsightIntentShare() 137 this.viewBlogInsightIntentShare()
134 138
135 } 139 }
@@ -75,6 +75,7 @@ export struct FeedBackActivity { @@ -75,6 +75,7 @@ export struct FeedBackActivity {
75 Stack({ alignContent: Alignment.Bottom }) { 75 Stack({ alignContent: Alignment.Bottom }) {
76 Scroll(this.scroller) { 76 Scroll(this.scroller) {
77 Column() { 77 Column() {
  78 + Column() {
78 Text($r('app.string.feedback_opinion_type')) 79 Text($r('app.string.feedback_opinion_type'))
79 .fontColor($r('app.color.color_222222')) 80 .fontColor($r('app.color.color_222222'))
80 .fontSize($r('app.float.font_size_14_5')) 81 .fontSize($r('app.float.font_size_14_5'))
@@ -87,12 +88,11 @@ export struct FeedBackActivity { @@ -87,12 +88,11 @@ export struct FeedBackActivity {
87 .margin({ top: $r('app.float.vp_12') }) 88 .margin({ top: $r('app.float.vp_12') })
88 .backgroundColor($r('app.color.color_EDEDED')) 89 .backgroundColor($r('app.color.color_EDEDED'))
89 GridRow({ 90 GridRow({
90 - columns:3, 91 + columns: 3,
91 }) { 92 }) {
92 ForEach(this.feedbackTypeBeans, (feedbackTypeBean: FeedbackTypeBean, index: number) => { 93 ForEach(this.feedbackTypeBeans, (feedbackTypeBean: FeedbackTypeBean, index: number) => {
93 - GridCol({  
94 - }) {  
95 - Row(){ 94 + GridCol({}) {
  95 + Row() {
96 Image(feedbackTypeBean.isSelect ? $r('app.media.checkbox_true') : $r('app.media.checkbox_false')) 96 Image(feedbackTypeBean.isSelect ? $r('app.media.checkbox_true') : $r('app.media.checkbox_false'))
97 .width(17) 97 .width(17)
98 .height(17) 98 .height(17)
@@ -103,31 +103,37 @@ export struct FeedBackActivity { @@ -103,31 +103,37 @@ export struct FeedBackActivity {
103 } 103 }
104 .width($r('app.float.margin_115')) 104 .width($r('app.float.margin_115'))
105 .height($r('app.float.vp_22')) 105 .height($r('app.float.vp_22'))
106 - .margin({bottom:$r('app.float.margin_16')}) 106 + .margin({ bottom: $r('app.float.margin_16') })
107 .backgroundColor($r('app.color.color_fff')) 107 .backgroundColor($r('app.color.color_fff'))
108 .onClick(() => { 108 .onClick(() => {
109 let temp = {} as FeedbackTypeBean 109 let temp = {} as FeedbackTypeBean
110 temp.id = feedbackTypeBean.id 110 temp.id = feedbackTypeBean.id
111 temp.classifyName = feedbackTypeBean.classifyName 111 temp.classifyName = feedbackTypeBean.classifyName
112 - if(feedbackTypeBean.isSelect){ 112 + if (feedbackTypeBean.isSelect) {
113 temp.isSelect = false 113 temp.isSelect = false
114 - }else{ 114 + } else {
115 temp.isSelect = true 115 temp.isSelect = true
116 } 116 }
117 this.feedbackTypeBeans[index] = temp 117 this.feedbackTypeBeans[index] = temp
118 this.canSubmit = this.checkSubmit() 118 this.canSubmit = this.checkSubmit()
119 - TrackingButton.click('submit_feedback',TrackConstants.PageName.FeedbackPage,TrackConstants.PageName.FeedbackPage,{  
120 - 'feedback_type':feedbackTypeBean.id+'' 119 + TrackingButton.click('submit_feedback', TrackConstants.PageName.FeedbackPage,
  120 + TrackConstants.PageName.FeedbackPage, {
  121 + 'feedback_type': feedbackTypeBean.id + ''
121 }) 122 })
122 }) 123 })
123 } 124 }
124 }) 125 })
125 } 126 }
126 .width('90%') 127 .width('90%')
127 - .margin({top:$r('app.float.vp_16')}) 128 + .margin({ top: $r('app.float.vp_16') })
  129 + }
  130 + .padding({left: 6, right: 6})
  131 +
128 Blank() 132 Blank()
129 .height($r('app.float.margin_5')) 133 .height($r('app.float.margin_5'))
130 .backgroundColor($r('app.color.color_F5F5F5')) 134 .backgroundColor($r('app.color.color_F5F5F5'))
  135 +
  136 + Column() {
131 Text($r('app.string.feedback_opinion_tv')) 137 Text($r('app.string.feedback_opinion_tv'))
132 .fontColor($r('app.color.color_222222')) 138 .fontColor($r('app.color.color_222222'))
133 .fontSize($r('app.float.font_size_14_5')) 139 .fontSize($r('app.float.font_size_14_5'))
@@ -290,6 +296,8 @@ export struct FeedBackActivity { @@ -290,6 +296,8 @@ export struct FeedBackActivity {
290 .margin({top: $r('app.float.margin_16')}) 296 .margin({top: $r('app.float.margin_16')})
291 Blank().layoutWeight(1) 297 Blank().layoutWeight(1)
292 } 298 }
  299 + .padding({left: 6, right: 6})
  300 + }
293 } 301 }
294 .width(CommonConstants.FULL_WIDTH) 302 .width(CommonConstants.FULL_WIDTH)
295 .height(CommonConstants.FULL_HEIGHT) 303 .height(CommonConstants.FULL_HEIGHT)
@@ -313,6 +321,7 @@ export struct FeedBackActivity { @@ -313,6 +321,7 @@ export struct FeedBackActivity {
313 }) 321 })
314 .margin({ bottom: 64+64+15 }) 322 .margin({ bottom: 64+64+15 })
315 } 323 }
  324 + .padding({left: 6, right: 6})
316 } 325 }
317 } 326 }
318 .backgroundColor($r('app.color.color_fff')) 327 .backgroundColor($r('app.color.color_fff'))
@@ -558,6 +558,9 @@ export struct ImageAndTextPageComponent { @@ -558,6 +558,9 @@ export struct ImageAndTextPageComponent {
558 } 558 }
559 559
560 aboutToDisappear() { 560 aboutToDisappear() {
  561 + if (this.lastTimeoutId) {
  562 + clearTimeout(this.lastTimeoutId)
  563 + }
561 //意图上报 564 //意图上报
562 this.viewBlogInsightIntentShare() 565 this.viewBlogInsightIntentShare()
563 } 566 }
@@ -140,7 +140,7 @@ export struct AppointmentListUI { @@ -140,7 +140,7 @@ export struct AppointmentListUI {
140 .cachedCount(4) 140 .cachedCount(4)
141 .scrollBar(BarState.Off) 141 .scrollBar(BarState.Off)
142 .edgeEffect(EdgeEffect.None) 142 .edgeEffect(EdgeEffect.None)
143 - .margin({ top: 4, left: 12, right: 12}) 143 + .margin({ top: 4, left: 16, right: 16})
144 .layoutWeight(1) 144 .layoutWeight(1)
145 } 145 }
146 146
@@ -269,7 +269,6 @@ export struct BottomNavigationComponent { @@ -269,7 +269,6 @@ export struct BottomNavigationComponent {
269 269
270 // 底导切换函数 270 // 底导切换函数
271 async onBottomNavigationIndexChange(navItem: BottomNavDTO, index: number) { 271 async onBottomNavigationIndexChange(navItem: BottomNavDTO, index: number) {
272 - // Logger.info(TAG, `onBottomNavigationIndexChange to Index:${index},this.currentNavIndex: ${this.currentNavIndex}`);  
273 272
274 if (navItem.name === '我的') { 273 if (navItem.name === '我的') {
275 this.barBackgroundColor = Color.White 274 this.barBackgroundColor = Color.White
@@ -306,10 +305,12 @@ export struct BottomNavigationComponent { @@ -306,10 +305,12 @@ export struct BottomNavigationComponent {
306 } 305 }
307 } 306 }
308 if (index >= 0 && index != this.currentNavIndex) { 307 if (index >= 0 && index != this.currentNavIndex) {
  308 + this.onBottomNavigationIndexChange(this.bottomNavList[index], index)
309 // 切底导 309 // 切底导
310 this.currentNavIndex = index 310 this.currentNavIndex = index
311 } 311 }
312 312
  313 +
313 setTimeout(() => { 314 setTimeout(() => {
314 // 底导切换后,触发顶导切换 315 // 底导切换后,触发顶导切换
315 this.assignChannel = new AssignChannelParam() 316 this.assignChannel = new AssignChannelParam()