Showing
5 changed files
with
18 additions
and
18 deletions
| @@ -78,13 +78,13 @@ export struct Card10Component { | @@ -78,13 +78,13 @@ export struct Card10Component { | ||
| 78 | ProcessUtils.processPage(this.contentDTO) | 78 | ProcessUtils.processPage(this.contentDTO) |
| 79 | }) | 79 | }) |
| 80 | if(this.contentDTO.objectType == '5'){ | 80 | if(this.contentDTO.objectType == '5'){ |
| 81 | - Notes({ objectType: this.contentDTO.objectType }).height(30).align(Alignment.Center).margin({ left: 5, bottom: 5 }) | 81 | + Notes({ objectType: this.contentDTO.objectType }).align(Alignment.Center).margin({ left: 5, bottom: 5 }) |
| 82 | } else { | 82 | } else { |
| 83 | if (this.contentDTO.seoTags) { | 83 | if (this.contentDTO.seoTags) { |
| 84 | - Notes({ newTags: this.contentDTO.seoTags }).height(30).align(Alignment.Center) | 84 | + Notes({ newTags: this.contentDTO.seoTags }).align(Alignment.Center) |
| 85 | } | 85 | } |
| 86 | if (this.contentDTO.newTags) { | 86 | if (this.contentDTO.newTags) { |
| 87 | - Notes({ newTags: this.contentDTO.newTags }).height(30).align(Alignment.Center) | 87 | + Notes({ newTags: this.contentDTO.newTags }).align(Alignment.Center) |
| 88 | } | 88 | } |
| 89 | } | 89 | } |
| 90 | }.alignContent(Alignment.BottomStart) | 90 | }.alignContent(Alignment.BottomStart) |
| @@ -136,13 +136,13 @@ export struct Card10Component { | @@ -136,13 +136,13 @@ export struct Card10Component { | ||
| 136 | Column() { | 136 | Column() { |
| 137 | Stack() { | 137 | Stack() { |
| 138 | if(this.contentDTO.objectType == '5'){ | 138 | if(this.contentDTO.objectType == '5'){ |
| 139 | - Notes({ objectType: this.contentDTO.objectType }).height(30).align(Alignment.Center) | 139 | + Notes({ objectType: this.contentDTO.objectType }).align(Alignment.Center) |
| 140 | } else { | 140 | } else { |
| 141 | if (this.contentDTO.seoTags) { | 141 | if (this.contentDTO.seoTags) { |
| 142 | - Notes({ newTags: this.contentDTO.seoTags }).height(30).align(Alignment.Center) | 142 | + Notes({ newTags: this.contentDTO.seoTags }).align(Alignment.Center) |
| 143 | } | 143 | } |
| 144 | if (this.contentDTO.newTags) { | 144 | if (this.contentDTO.newTags) { |
| 145 | - Notes({ newTags: this.contentDTO.newTags }).height(30).align(Alignment.Center) | 145 | + Notes({ newTags: this.contentDTO.newTags }).align(Alignment.Center) |
| 146 | } | 146 | } |
| 147 | } | 147 | } |
| 148 | Text(item.newsTitle) | 148 | Text(item.newsTitle) |
| @@ -39,13 +39,13 @@ export struct Card11Component { | @@ -39,13 +39,13 @@ export struct Card11Component { | ||
| 39 | Column() { | 39 | Column() { |
| 40 | Stack() { | 40 | Stack() { |
| 41 | if(this.contentDTO.objectType == '5'){ | 41 | if(this.contentDTO.objectType == '5'){ |
| 42 | - Notes({ objectType: this.contentDTO.objectType }).height(30).align(Alignment.Center) | 42 | + Notes({ objectType: this.contentDTO.objectType }).align(Alignment.Center) |
| 43 | } else { | 43 | } else { |
| 44 | if (this.contentDTO.seoTags) { | 44 | if (this.contentDTO.seoTags) { |
| 45 | - Notes({ newTags: this.contentDTO.seoTags }).height(30).align(Alignment.Center) | 45 | + Notes({ newTags: this.contentDTO.seoTags }).align(Alignment.Center) |
| 46 | } | 46 | } |
| 47 | if (this.contentDTO.newTags) { | 47 | if (this.contentDTO.newTags) { |
| 48 | - Notes({ newTags: this.contentDTO.newTags }).height(30).align(Alignment.Center) | 48 | + Notes({ newTags: this.contentDTO.newTags }).align(Alignment.Center) |
| 49 | } | 49 | } |
| 50 | } | 50 | } |
| 51 | Text() { | 51 | Text() { |
| @@ -61,13 +61,13 @@ export struct Card2Component { | @@ -61,13 +61,13 @@ export struct Card2Component { | ||
| 61 | // } | 61 | // } |
| 62 | // } | 62 | // } |
| 63 | if(this.contentDTO.objectType == '5'){ | 63 | if(this.contentDTO.objectType == '5'){ |
| 64 | - Notes({ objectType: this.contentDTO.objectType }).height(30).align(Alignment.Center) | 64 | + Notes({ objectType: this.contentDTO.objectType }).align(Alignment.Center) |
| 65 | } else { | 65 | } else { |
| 66 | if (this.contentDTO.seoTags) { | 66 | if (this.contentDTO.seoTags) { |
| 67 | - Notes({ newTags: this.contentDTO.seoTags }).height(30).align(Alignment.Center) | 67 | + Notes({ newTags: this.contentDTO.seoTags }).align(Alignment.Center) |
| 68 | } | 68 | } |
| 69 | if (this.contentDTO.newTags) { | 69 | if (this.contentDTO.newTags) { |
| 70 | - Notes({ newTags: this.contentDTO.newTags }).height(30).align(Alignment.Center) | 70 | + Notes({ newTags: this.contentDTO.newTags }).align(Alignment.Center) |
| 71 | } | 71 | } |
| 72 | } | 72 | } |
| 73 | //新闻标题 | 73 | //新闻标题 |
| @@ -42,13 +42,13 @@ export struct Card3Component { | @@ -42,13 +42,13 @@ export struct Card3Component { | ||
| 42 | // Notes({ objectType: this.contentDTO.objectType }).height(27).align(Alignment.Center) | 42 | // Notes({ objectType: this.contentDTO.objectType }).height(27).align(Alignment.Center) |
| 43 | // } | 43 | // } |
| 44 | if(this.contentDTO.objectType == '5'){ | 44 | if(this.contentDTO.objectType == '5'){ |
| 45 | - Notes({ objectType: this.contentDTO.objectType }).height(30).align(Alignment.Center) | 45 | + Notes({ objectType: this.contentDTO.objectType }).align(Alignment.Center) |
| 46 | } else { | 46 | } else { |
| 47 | if (this.contentDTO.seoTags) { | 47 | if (this.contentDTO.seoTags) { |
| 48 | - Notes({ newTags: this.contentDTO.seoTags }).height(30).align(Alignment.Center) | 48 | + Notes({ newTags: this.contentDTO.seoTags }).align(Alignment.Center) |
| 49 | } | 49 | } |
| 50 | if (this.contentDTO.newTags) { | 50 | if (this.contentDTO.newTags) { |
| 51 | - Notes({ newTags: this.contentDTO.newTags }).height(30).align(Alignment.Center) | 51 | + Notes({ newTags: this.contentDTO.newTags }).align(Alignment.Center) |
| 52 | } | 52 | } |
| 53 | } | 53 | } |
| 54 | Text() { | 54 | Text() { |
| @@ -53,13 +53,13 @@ export struct Card6Component { | @@ -53,13 +53,13 @@ export struct Card6Component { | ||
| 53 | // } | 53 | // } |
| 54 | Stack() { | 54 | Stack() { |
| 55 | if(this.contentDTO.objectType == '5'){ | 55 | if(this.contentDTO.objectType == '5'){ |
| 56 | - Notes({ objectType: this.contentDTO.objectType }).height(30).align(Alignment.Center) | 56 | + Notes({ objectType: this.contentDTO.objectType }).align(Alignment.Center) |
| 57 | } else { | 57 | } else { |
| 58 | if (this.contentDTO.seoTags) { | 58 | if (this.contentDTO.seoTags) { |
| 59 | - Notes({ newTags: this.contentDTO.seoTags }).height(30).align(Alignment.Center) | 59 | + Notes({ newTags: this.contentDTO.seoTags }).align(Alignment.Center) |
| 60 | } | 60 | } |
| 61 | if (this.contentDTO.newTags) { | 61 | if (this.contentDTO.newTags) { |
| 62 | - Notes({ newTags: this.contentDTO.newTags }).height(30).align(Alignment.Center) | 62 | + Notes({ newTags: this.contentDTO.newTags }).align(Alignment.Center) |
| 63 | } | 63 | } |
| 64 | } | 64 | } |
| 65 | 65 |
-
Please register or login to post a comment