ZhGridLayout02News.ets 993 Bytes
import { CompDTO, ContentDTO, LiveRoomDataBean } from 'wdBean';
import { CommonConstants } from 'wdConstant/Index';
import { Logger } from 'wdKit/Index';
import { ProcessUtils } from 'wdRouter';
import PageViewModel from '../../viewmodel/PageViewModel';
import { onlyWifiLoadImg } from '../../utils/lazyloadImg';


/**
 * 标题组件
 *
 */
@Component
export struct ZhGridLayout02News {
  @State compDTO: CompDTO = new CompDTO

  aboutToAppear() {
  }

  build() {
    Column() {
      Row() {
        Image($r("app.media.redLine"))
          .width(3)
          .height(16)
          .margin({ right: 4 })
        Text(this.compDTO.objectTitle)
          .fontSize($r("app.float.font_size_17"))
          .fontColor($r("app.color.color_222222"))
          .fontWeight(600)
      }
      .justifyContent(FlexAlign.Start)
      .margin({ top: 16, bottom: 8 })
      .width(CommonConstants.FULL_WIDTH)
    }
    .width(CommonConstants.FULL_WIDTH)
    .padding({ left: 16, right: 16 })

  }
}