wangliang_wd

feat:优化早晚报仅WiFi展示逻辑

import { Action, ContentDTO, Params, InteractDataDTO } from 'wdBean';
import { CommonConstants, ConfigConstants, ScreenType } from 'wdConstant';
import { Logger, ToastUtils, DateTimeUtils } from 'wdKit';
import { Logger, ToastUtils, DateTimeUtils, DisplayUtils } from 'wdKit';
import { CompUtils } from '../../utils/CompUtils';
import { ProcessUtils, WDRouterRule } from 'wdRouter';
import { TrackConstants,
... ... @@ -443,11 +443,14 @@ export struct PaperSingleColumn999CardView {
.margin({ left: 16, right: 16, top: 16 })
if (this.item?.coverUrl) {
Stack({ alignContent: Alignment.BottomEnd }) {
Image(this.loadImg?this.item?.coverUrl:'')
Image('')
.borderRadius(5)
.objectFit(ImageFit.Fill)
.aspectRatio(319 / 179) ///图片设计比例
// .aspectRatio(319 / 179) ///图片设计比例
.padding({ top: 10 })
.backgroundColor('#f5f5f5')
.width('100%')
.height((DisplayUtils.getDeviceWidth() - 66)*(179 / 319))
//视频
if (this.item?.videoInfo) {
Row() {
... ...