人民号-动态图片卡
1、标题行高改为 25 2、图片高度偏大,应该是 3:4,超出范围裁切 3、缺少圆角 https://docs.qq.com/doc/DUWtGWFF4SWFhQnRU
Showing
1 changed file
with
4 additions
and
0 deletions
| @@ -145,6 +145,10 @@ struct createImg { | @@ -145,6 +145,10 @@ struct createImg { | ||
| 145 | radius.topRight = index === 0 ? $r('app.float.image_border_radius') : 0 | 145 | radius.topRight = index === 0 ? $r('app.float.image_border_radius') : 0 |
| 146 | radius.bottomLeft = index === 0 ? $r('app.float.image_border_radius') : 0 | 146 | radius.bottomLeft = index === 0 ? $r('app.float.image_border_radius') : 0 |
| 147 | radius.bottomRight = index === 0 ? $r('app.float.image_border_radius') : 0 | 147 | radius.bottomRight = index === 0 ? $r('app.float.image_border_radius') : 0 |
| 148 | + } else if (this.fullColumnImgUrls.length === 2) { | ||
| 149 | + radius.bottomLeft = index === 0 ? $r('app.float.image_border_radius') : 0 | ||
| 150 | + radius.topRight = index === 1 ? $r('app.float.image_border_radius') : 0 | ||
| 151 | + radius.bottomRight = index === 1 ? $r('app.float.image_border_radius') : 0 | ||
| 148 | } else if (this.fullColumnImgUrls.length === 5 && !this.fullColumnImgUrls[2].fullUrl) { | 152 | } else if (this.fullColumnImgUrls.length === 5 && !this.fullColumnImgUrls[2].fullUrl) { |
| 149 | radius.topRight = index === 1 ? $r('app.float.image_border_radius') : 0 | 153 | radius.topRight = index === 1 ? $r('app.float.image_border_radius') : 0 |
| 150 | radius.bottomLeft = index === 3 ? $r('app.float.image_border_radius') : 0 | 154 | radius.bottomLeft = index === 3 ? $r('app.float.image_border_radius') : 0 |
-
Please register or login to post a comment