王士厅

fix: 地方精选卡左侧边距去除,可滑动到左侧

@@ -77,7 +77,7 @@ export struct CompParser { @@ -77,7 +77,7 @@ export struct CompParser {
77 this.componentBuilder(); 77 this.componentBuilder();
78 } 78 }
79 .margin({ 79 .margin({
80 - left: 6, 80 + left: this.compDTO.compStyle === CompStyle.Zh_Single_Row_04 ? 0 : 6,
81 right: (this.compDTO.compStyle === CompStyle.Zh_Single_Row_05 || this.compDTO.compStyle === CompStyle.Zh_Single_Row_02 || 81 right: (this.compDTO.compStyle === CompStyle.Zh_Single_Row_05 || this.compDTO.compStyle === CompStyle.Zh_Single_Row_02 ||
82 this.compDTO.compStyle === CompStyle.Zh_Single_Row_04) ? 0 : 6 82 this.compDTO.compStyle === CompStyle.Zh_Single_Row_04) ? 0 : 6
83 }) 83 })
@@ -60,7 +60,8 @@ export struct ZhSingleRow04 { @@ -60,7 +60,8 @@ export struct ZhSingleRow04 {
60 .margin({ bottom: 8 }) 60 .margin({ bottom: 8 })
61 .width('100%') 61 .width('100%')
62 .padding({ 62 .padding({
63 - right: 10 63 + left: 16,
  64 + right: 16
64 }) 65 })
65 66
66 // 列表内容 67 // 列表内容
@@ -74,7 +75,7 @@ export struct ZhSingleRow04 { @@ -74,7 +75,7 @@ export struct ZhSingleRow04 {
74 ) 75 )
75 .margin({ 76 .margin({
76 right: index === this.compDTO.operDataList.length - 1 ? 26 : 0, 77 right: index === this.compDTO.operDataList.length - 1 ? 26 : 0,
77 - left: index === 0 ? 2 : 0, 78 + left: index === 0 ? 16 : 0,
78 top: 6 79 top: 6
79 }) 80 })
80 .onClick(() => { 81 .onClick(() => {
@@ -92,7 +93,7 @@ export struct ZhSingleRow04 { @@ -92,7 +93,7 @@ export struct ZhSingleRow04 {
92 } 93 }
93 .width(CommonConstants.FULL_WIDTH) 94 .width(CommonConstants.FULL_WIDTH)
94 .padding({ 95 .padding({
95 - left: 10, 96 + left: 0,
96 right: 0, 97 right: 0,
97 top: $r('app.float.card_comp_pagePadding_tb'), 98 top: $r('app.float.card_comp_pagePadding_tb'),
98 bottom: $r('app.float.card_comp_pagePadding_tb') 99 bottom: $r('app.float.card_comp_pagePadding_tb')