wangliang_wd

feat:修改启动广告点击,优化早晚报组件展示

... ... @@ -54,7 +54,7 @@ export struct PaperTitleComponent {
.margin({ left: 10 })
.fontSize(22)
.fontColor($r('app.color.white'))
.fontWeight(900)
.fontFamily('Source Han Serif CN')
.maxLines(1)
... ... @@ -133,7 +133,7 @@ export struct PaperTitleComponent {
.linearGradient({
direction: GradientDirection.Right, // 渐变方向
repeating: false, // 渐变颜色是否重复
colors: [[0x4dffffff, 0.0], [0x33ffffff, 0.3], [0x1affffff,0.6], [0x03ffffff,1]] // 数组末尾元素占比小于1时满足重复着色效果
colors: [[0x4dffffff, 0.0], [0x33ffffff, 0.2], [0x1affffff,0.6], [0x03ffffff,1]] // 数组末尾元素占比小于1时满足重复着色效果
})
.margin({ left:8, right: 0})
... ...
... ... @@ -451,9 +451,9 @@ export struct PaperSingleColumn999CardView {
Text(DateTimeUtils.getFormattedDuration(this.item?.videoInfo.videoDuration * 1000))
.fontColor(Color.White)
.fontSize($r('app.float.vp_12'))
.fontWeight(500)
.textAlign(TextAlign.End)
.lineHeight(18)
.fontFamily('BebasNeue')
.textShadow({
radius: 2,
color: 'rgba(0,0,0,0.3)',
... ... @@ -509,7 +509,7 @@ export struct PaperSingleColumn999CardView {
Text(this.item?.photoNum.toString())
.fontColor(Color.White)
.fontSize($r('app.float.vp_12'))
.fontWeight(500)
.fontFamily('BebasNeue')
.textAlign(TextAlign.End)
.lineHeight(18)
.textShadow({
... ...
... ... @@ -98,12 +98,14 @@ struct InteractMessagePage {
Column(){
Row(){
Text('共获')
.fontSize(18)
.fontSize(18).height(40).align(Alignment.Bottom)
Text(this.likeNum.toString())
.fontSize(30)
.fontSize(40)
.fontColor(Color.Red)
.fontFamily('BebasNeue')
.margin(5).height(40).align(Alignment.Bottom)
Text('赞')
.fontSize(18)
.fontSize(18).height(40).align(Alignment.Bottom)
}.height(75)
... ...
... ... @@ -261,6 +261,7 @@ struct MyCollectionListPage {
if (this.allDatas.length === 0) {
this.browSingModel.viewType = ViewType.EMPTY;
this.browSingModel.emptyType = WDViewDefaultType.WDViewDefaultType_NoCollection
this.browSingModel.hasMore === true
this.isDisplayButton = false;
}
... ...
... ... @@ -168,6 +168,7 @@ struct LaunchAdvertisingPage {
///埋点
this.trackingLaunchClick()
this.enter()
if(this.defaultModel.linkUrl.length > 0){
if (this.defaultModel.openType == '2') {
... ...