Showing
2 changed files
with
20 additions
and
11 deletions
| @@ -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')) |
| @@ -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 |
-
Please register or login to post a comment