wangliang_wd

feat:优化启动广告,优化早晚报

@@ -35,7 +35,7 @@ export struct topicInfoView { @@ -35,7 +35,7 @@ export struct topicInfoView {
35 if (this.frontLinkObject.linkUrl.length > 0 || this.frontLinkObject?.newsId.length > 0) { 35 if (this.frontLinkObject.linkUrl.length > 0 || this.frontLinkObject?.newsId.length > 0) {
36 Row() { 36 Row() {
37 Text("查看详情") 37 Text("查看详情")
38 - .fontSize(14) 38 + .fontSize(12)
39 .fontColor($r('app.color.white')) 39 .fontColor($r('app.color.white'))
40 .maxLines(1) 40 .maxLines(1)
41 .borderRadius(2) 41 .borderRadius(2)
@@ -59,7 +59,7 @@ export struct topicInfoView { @@ -59,7 +59,7 @@ export struct topicInfoView {
59 ProcessUtils.processPage(contentDTO) 59 ProcessUtils.processPage(contentDTO)
60 60
61 }) 61 })
62 - .width(80) 62 + .width(70)
63 .alignRules({ 63 .alignRules({
64 left: { anchor: "__container__", align: HorizontalAlign.Start }, 64 left: { anchor: "__container__", align: HorizontalAlign.Start },
65 bottom: { anchor: "__container__", align: VerticalAlign.Bottom } 65 bottom: { anchor: "__container__", align: VerticalAlign.Bottom }
@@ -85,7 +85,7 @@ export struct topicInfoView { @@ -85,7 +85,7 @@ export struct topicInfoView {
85 left: { anchor: "__container__", align: HorizontalAlign.Start }, 85 left: { anchor: "__container__", align: HorizontalAlign.Start },
86 bottom: this.frontLinkObject.linkUrl.length > 0 || this.frontLinkObject?.newsId.length > 0 ?{ anchor: "row_detail", align: VerticalAlign.Top }:{ anchor: "__container__", align: VerticalAlign.Bottom } 86 bottom: this.frontLinkObject.linkUrl.length > 0 || this.frontLinkObject?.newsId.length > 0 ?{ anchor: "row_detail", align: VerticalAlign.Top }:{ anchor: "__container__", align: VerticalAlign.Bottom }
87 }) 87 })
88 - .margin({top: 10 , left: 16, right: 16, bottom: this.frontLinkObject.linkUrl.length > 0 || this.frontLinkObject?.newsId.length > 0 ?0:16}) 88 + .margin({top: 10 , left: 16, right: 16, bottom: this.frontLinkObject.linkUrl.length > 0 || this.frontLinkObject?.newsId.length > 0 ?10:16})
89 .id('txt_summary') 89 .id('txt_summary')
90 90
91 Text(this.frontLinkObject?.title ?? "") 91 Text(this.frontLinkObject?.title ?? "")
@@ -176,7 +176,7 @@ struct LaunchAdvertisingPage { @@ -176,7 +176,7 @@ struct LaunchAdvertisingPage {
176 if (this.defaultModel.openType == '2') { 176 if (this.defaultModel.openType == '2') {
177 //端外打开 177 //端外打开
178 ProcessUtils.jumpExternalWebPage(this.defaultModel.linkUrl) 178 ProcessUtils.jumpExternalWebPage(this.defaultModel.linkUrl)
179 - }else { 179 + }else if(this.defaultModel.openType == '1'){
180 //端内打开 180 //端内打开
181 ProcessUtils.gotoDefaultWebPage(this.defaultModel.linkUrl) 181 ProcessUtils.gotoDefaultWebPage(this.defaultModel.linkUrl)
182 } 182 }
@@ -222,6 +222,7 @@ struct LaunchAdvertisingPage { @@ -222,6 +222,7 @@ struct LaunchAdvertisingPage {
222 this.defaultModel.bootVideoUrl = dataModel.launchAdInfo[0].matInfo.matVideoUrl 222 this.defaultModel.bootVideoUrl = dataModel.launchAdInfo[0].matInfo.matVideoUrl
223 this.defaultModel.showType = dataModel.launchAdInfo[0].matInfo.matType 223 this.defaultModel.showType = dataModel.launchAdInfo[0].matInfo.matType
224 this.defaultModel.isAd = '1' 224 this.defaultModel.isAd = '1'
  225 + this.defaultModel.openType = dataModel.launchAdInfo[0].matInfo.openType
225 } 226 }
226 } 227 }
227 228