wangyong_wd

fix:bug_146 desc:本地精选卡样式修复

@@ -40,6 +40,10 @@ export struct ZhSingleRow04 { @@ -40,6 +40,10 @@ export struct ZhSingleRow04 {
40 .justifyContent(FlexAlign.SpaceBetween) 40 .justifyContent(FlexAlign.SpaceBetween)
41 .margin({ top: 8, bottom: 8 }) 41 .margin({ top: 8, bottom: 8 })
42 .width('100%') 42 .width('100%')
  43 + .padding({
  44 + left: $r('app.float.card_comp_pagePadding_lf'),
  45 + right: $r('app.float.card_comp_pagePadding_lf')
  46 + })
43 47
44 // 列表内容 48 // 列表内容
45 List({ space: 12 }) { 49 List({ space: 12 }) {
@@ -50,7 +54,9 @@ export struct ZhSingleRow04 { @@ -50,7 +54,9 @@ export struct ZhSingleRow04 {
50 operDataListItem: item 54 operDataListItem: item
51 } 55 }
52 ) 56 )
53 - .margin({right: index === this.compDTO.operDataList.length - 1 ? $r('app.float.card_comp_pagePadding_lf') : 0}) 57 + .margin({right: index === this.compDTO.operDataList.length - 1 ? $r('app.float.card_comp_pagePadding_lf') : 0, left:
  58 + index === 0 ? $r('app.float.card_comp_pagePadding_lf') : 0,
  59 + top: 6})
54 .onClick(() => { 60 .onClick(() => {
55 ProcessUtils.processPage(item) 61 ProcessUtils.processPage(item)
56 }) 62 })
@@ -60,13 +66,9 @@ export struct ZhSingleRow04 { @@ -60,13 +66,9 @@ export struct ZhSingleRow04 {
60 .listDirection(Axis.Horizontal) 66 .listDirection(Axis.Horizontal)
61 .scrollBar(BarState.Off) 67 .scrollBar(BarState.Off)
62 .width(CommonConstants.FULL_PARENT) 68 .width(CommonConstants.FULL_PARENT)
  69 + .height(166)
63 } 70 }
64 .width(CommonConstants.FULL_WIDTH) 71 .width(CommonConstants.FULL_WIDTH)
65 - .padding({  
66 - left: $r('app.float.card_comp_pagePadding_lf'),  
67 - top: $r('app.float.card_comp_pagePadding_tb'),  
68 - bottom: $r('app.float.card_comp_pagePadding_tb')  
69 - })  
70 .backgroundColor($r("app.color.white")) 72 .backgroundColor($r("app.color.white"))
71 .margin({ bottom: 8 }) 73 .margin({ bottom: 8 })
72 } 74 }
@@ -124,7 +126,7 @@ struct localCard { @@ -124,7 +126,7 @@ struct localCard {
124 .border({ 126 .border({
125 radius: 2, 127 radius: 2,
126 }) 128 })
127 - .shadow({ radius: 5, color: '#1A000000', offsetX: 0, offsetY: 2 }) 129 + .shadow({ radius: 15, color: '#1A000000', offsetX: 2, offsetY: 2 })
128 .margin({ 130 .margin({
129 right: 10 131 right: 10
130 }) 132 })