Showing
1 changed file
with
11 additions
and
0 deletions
| @@ -132,6 +132,8 @@ export struct CardMediaInfo { | @@ -132,6 +132,8 @@ export struct CardMediaInfo { | ||
| 132 | Text(`${this.contentDTO.photoNum}`) | 132 | Text(`${this.contentDTO.photoNum}`) |
| 133 | .mediaText() | 133 | .mediaText() |
| 134 | } | 134 | } |
| 135 | + .margin({ left: 80,top: 55}) | ||
| 136 | + | ||
| 135 | } else if (this.contentDTO.objectType === '13') { | 137 | } else if (this.contentDTO.objectType === '13') { |
| 136 | // 显示音频信息 | 138 | // 显示音频信息 |
| 137 | Row() { | 139 | Row() { |
| @@ -161,8 +163,17 @@ export struct CardMediaInfo { | @@ -161,8 +163,17 @@ export struct CardMediaInfo { | ||
| 161 | .height(14) | 163 | .height(14) |
| 162 | .margin({ right: 3 }) | 164 | .margin({ right: 3 }) |
| 163 | } | 165 | } |
| 166 | + @Styles | ||
| 167 | + mediaLogo2() { | ||
| 168 | + .width(14) | ||
| 169 | + .height(14) | ||
| 170 | + .margin({ top:5,right:5 }) | ||
| 171 | + } | ||
| 172 | + | ||
| 164 | } | 173 | } |
| 165 | 174 | ||
| 175 | + | ||
| 176 | + | ||
| 166 | @Extend(Text) | 177 | @Extend(Text) |
| 167 | function mediaText() { | 178 | function mediaText() { |
| 168 | .fontColor($r('app.color.color_fff')) | 179 | .fontColor($r('app.color.color_fff')) |
-
Please register or login to post a comment