Showing
3 changed files
with
5 additions
and
6 deletions
| @@ -38,6 +38,7 @@ export const enum CompStyle { | @@ -38,6 +38,7 @@ export const enum CompStyle { | ||
| 38 | Zh_Single_Column_09 = 'Zh_Single_Column-09', //12 问政提问卡 | 38 | Zh_Single_Column_09 = 'Zh_Single_Column-09', //12 问政提问卡 |
| 39 | Zh_Single_Column_10 = 'Zh_Single_Column-10', //18 服务组合卡 | 39 | Zh_Single_Column_10 = 'Zh_Single_Column-10', //18 服务组合卡 |
| 40 | Zh_Single_Column_11 = 'Zh_Single_Column-11', //19 问政组合卡 | 40 | Zh_Single_Column_11 = 'Zh_Single_Column-11', //19 问政组合卡 |
| 41 | + Zh_Single_Column_12 = 'Zh_Single_Column-12', // | ||
| 41 | Zh_Grid_Layout_01 = 'Zh_Grid_Layout-01', //4 信息流组合卡 | 42 | Zh_Grid_Layout_01 = 'Zh_Grid_Layout-01', //4 信息流组合卡 |
| 42 | Zh_Grid_Layout_02 = 'Zh_Grid_Layout-02', //7 双列流小视频,一行两图卡 ->标题 | 43 | Zh_Grid_Layout_02 = 'Zh_Grid_Layout-02', //7 双列流小视频,一行两图卡 ->标题 |
| 43 | Zh_Grid_Layout_03 = 'Zh_Grid_Layout-03', //11 金刚位卡 | 44 | Zh_Grid_Layout_03 = 'Zh_Grid_Layout-03', //11 金刚位卡 |
| @@ -224,16 +224,14 @@ export struct CompParser { | @@ -224,16 +224,14 @@ export struct CompParser { | ||
| 224 | } else { | 224 | } else { |
| 225 | Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6}) | 225 | Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6}) |
| 226 | } | 226 | } |
| 227 | - } else if (this.compDTO.compStyle === CompStyle.Card_03 || this.compDTO.compStyle === CompStyle.Card_13 || this.compDTO.compStyle === CompStyle.Card_06 || | ||
| 228 | - this.compDTO.compStyle === CompStyle.Card_04 || this.compDTO.compStyle === CompStyle.Card_02 || this.compDTO.compStyle === CompStyle.Card_17) { // 无图卡 左文右图卡 小视频卡 三图卡 大图卡 图集卡 | ||
| 229 | - Divider().strokeWidth(1).color('#f5f5f5').width(CommonConstants.FULL_WIDTH).padding({ left: 10, right: 10 }) | ||
| 230 | } else if (this.compDTO.compType === 'appStyle' || this.compDTO.compStyle === CompStyle.Zh_Single_Row_01 || this.compDTO.compStyle === CompStyle.Card_Comp_Adv || this.compDTO.compStyle === CompStyle.Zh_Single_Column_02) { | 227 | } else if (this.compDTO.compType === 'appStyle' || this.compDTO.compStyle === CompStyle.Zh_Single_Row_01 || this.compDTO.compStyle === CompStyle.Card_Comp_Adv || this.compDTO.compStyle === CompStyle.Zh_Single_Column_02) { |
| 231 | if ( | 228 | if ( |
| 232 | this.nextCompDTO.compStyle === CompStyle.Card_09 || | 229 | this.nextCompDTO.compStyle === CompStyle.Card_09 || |
| 233 | this.nextCompDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10 || | 230 | this.nextCompDTO?.operDataList?.[0]?.appStyle === CompStyle.Card_10 || |
| 234 | this.nextCompDTO.compStyle === CompStyle.Zh_Single_Column_09 || | 231 | this.nextCompDTO.compStyle === CompStyle.Zh_Single_Column_09 || |
| 235 | this.nextCompDTO.compStyle === CompStyle.Zh_Single_Row_04 || | 232 | this.nextCompDTO.compStyle === CompStyle.Zh_Single_Row_04 || |
| 236 | - this.nextCompDTO.compStyle === CompStyle.Zh_Single_Row_06 | 233 | + this.nextCompDTO.compStyle === CompStyle.Zh_Single_Row_06 || |
| 234 | + this.nextCompDTO.compStyle === CompStyle.Zh_Single_Column_12 | ||
| 237 | ) { | 235 | ) { |
| 238 | Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6}) | 236 | Divider().strokeWidth(5).color('#f5f5f5').width('120%').margin({left: -6}) |
| 239 | } else { | 237 | } else { |
| @@ -145,7 +145,7 @@ export struct ZhSingleRow06 { | @@ -145,7 +145,7 @@ export struct ZhSingleRow06 { | ||
| 145 | 145 | ||
| 146 | Row() { | 146 | Row() { |
| 147 | Text(DateTimeUtils.getCommentTime(this.compDTO.operDataList[0]?.commentInfo?.publishTime)) | 147 | Text(DateTimeUtils.getCommentTime(this.compDTO.operDataList[0]?.commentInfo?.publishTime)) |
| 148 | - .fontSize(12) | 148 | + .fontSize(14) |
| 149 | .fontColor(0x999999) | 149 | .fontColor(0x999999) |
| 150 | 150 | ||
| 151 | Row(){ | 151 | Row(){ |
| @@ -155,7 +155,7 @@ export struct ZhSingleRow06 { | @@ -155,7 +155,7 @@ export struct ZhSingleRow06 { | ||
| 155 | .margin({right: 3}) | 155 | .margin({right: 3}) |
| 156 | 156 | ||
| 157 | Text(Number(this.newsStatusOfUser?.likeStatus) == 1 ? '已赞' : '点赞') | 157 | Text(Number(this.newsStatusOfUser?.likeStatus) == 1 ? '已赞' : '点赞') |
| 158 | - .fontSize(15) | 158 | + .fontSize(14) |
| 159 | .fontColor(0x999999) | 159 | .fontColor(0x999999) |
| 160 | } | 160 | } |
| 161 | .onClick(() => { | 161 | .onClick(() => { |
-
Please register or login to post a comment