Showing
2 changed files
with
12 additions
and
2 deletions
| @@ -58,7 +58,7 @@ export default struct MinePageUserSimpleInfoUI { | @@ -58,7 +58,7 @@ export default struct MinePageUserSimpleInfoUI { | ||
| 58 | .alt(this.userType === "1"?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon')) | 58 | .alt(this.userType === "1"?$r('app.media.default_head_userPage'):$r('app.media.AccountOwner_DefaultIcon')) |
| 59 | .width(63.21) | 59 | .width(63.21) |
| 60 | .height(63.21) | 60 | .height(63.21) |
| 61 | - .objectFit(ImageFit.Cover) | 61 | + .objectFit(ImageFit.Fill) |
| 62 | .borderRadius(50) | 62 | .borderRadius(50) |
| 63 | 63 | ||
| 64 | if(StringUtils.isNotEmpty(this.levelHead)){ | 64 | if(StringUtils.isNotEmpty(this.levelHead)){ |
| @@ -8,6 +8,7 @@ import { TrackConstants, | @@ -8,6 +8,7 @@ import { TrackConstants, | ||
| 8 | TrackingContent, TrackingPageBrowse, TrackParamConvert } from 'wdTracking/Index'; | 8 | TrackingContent, TrackingPageBrowse, TrackParamConvert } from 'wdTracking/Index'; |
| 9 | import { WDShare } from 'wdShare/Index'; | 9 | import { WDShare } from 'wdShare/Index'; |
| 10 | import { hasClicked, persistentStorage } from '../../utils/persistentStorage'; | 10 | import { hasClicked, persistentStorage } from '../../utils/persistentStorage'; |
| 11 | +import { LottieView } from '../lottie/LottieView'; | ||
| 11 | 12 | ||
| 12 | const TAG: string = 'CardView'; | 13 | const TAG: string = 'CardView'; |
| 13 | 14 | ||
| @@ -443,7 +444,7 @@ export struct PaperSingleColumn999CardView { | @@ -443,7 +444,7 @@ export struct PaperSingleColumn999CardView { | ||
| 443 | Image(this.item?.coverUrl) | 444 | Image(this.item?.coverUrl) |
| 444 | .borderRadius(5) | 445 | .borderRadius(5) |
| 445 | .objectFit(ImageFit.Cover) | 446 | .objectFit(ImageFit.Cover) |
| 446 | - .aspectRatio(319 / 179) ///图片设计比例 | 447 | + .aspectRatio(319 / 200) ///图片设计比例 |
| 447 | .padding({ top: 10 }) | 448 | .padding({ top: 10 }) |
| 448 | //视频 | 449 | //视频 |
| 449 | if (this.item?.videoInfo) { | 450 | if (this.item?.videoInfo) { |
| @@ -481,6 +482,15 @@ export struct PaperSingleColumn999CardView { | @@ -481,6 +482,15 @@ export struct PaperSingleColumn999CardView { | ||
| 481 | .width(14) | 482 | .width(14) |
| 482 | .height(14) | 483 | .height(14) |
| 483 | .objectFit(ImageFit.Contain) | 484 | .objectFit(ImageFit.Contain) |
| 485 | + // LottieView({ | ||
| 486 | + // name: 'MorningPaper_live_status', | ||
| 487 | + // path: "lottie/live_detail_living.json", | ||
| 488 | + // lottieWidth: 14, | ||
| 489 | + // lottieHeight: 14, | ||
| 490 | + // autoplay: true, | ||
| 491 | + // loop: true, | ||
| 492 | + // }) | ||
| 493 | + | ||
| 484 | Text(this.buildLiveStateString()) | 494 | Text(this.buildLiveStateString()) |
| 485 | .fontColor(Color.White) | 495 | .fontColor(Color.White) |
| 486 | .fontSize($r('app.float.vp_12')) | 496 | .fontSize($r('app.float.vp_12')) |
-
Please register or login to post a comment