xugenyuan

fix |> 通过桌面组件进入早晚报详情页后返回上一级未能返回到早晚报专题页

http://192.168.1.3:8080/zentao/bug-view-18834.html

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
... ... @@ -5,6 +5,8 @@ import { NewspaperWidgetCommon } from "../common/NewspaperWidgetCommon"
const TAG = "DailyNewspaperWidgetCard"
let storageWidgetImageUpdate = new LocalStorage();
const DAILY_NEWSPAPER_DEEP_LINK = "rmrbapp://rmrb.app/openwith?type=topic&subType=moring_evening_news&pageId=&relId=&skipType=1"
@Entry(storageWidgetImageUpdate)
@Component
struct DailyNewspaperWidgetCard {
... ... @@ -12,8 +14,6 @@ struct DailyNewspaperWidgetCard {
@LocalStorageProp('paperInfo') paperInfo: FormNewspaperPaperInfo = {} as FormNewspaperPaperInfo;
@LocalStorageProp('paperContents') paperContents: FormNewspaperPaperContent[] = [];
private DAILY_NEWSPAPER_DEEP_LINK = "rmrbapp://rmrb.app/openwith?type=topic&subType=moring_evening_news&pageId=&relId=&skipType=1"
build() {
Column() {
... ... @@ -23,7 +23,7 @@ struct DailyNewspaperWidgetCard {
.width("100%").height(36)
// .margin({top: 3})
.onClick(() => {
jumpWithDeepLink(this.DAILY_NEWSPAPER_DEEP_LINK, this)
jumpWithDeepLink(DAILY_NEWSPAPER_DEEP_LINK, this)
})
Row() {
... ... @@ -51,7 +51,8 @@ struct DailyNewspaperWidgetCard {
.autoResize(true)
.borderRadius(6)
.onClick(() => {
jumpWithDeepLink(this.paperInfo.leftDeepLink || "", this)
// jumpWithDeepLink(this.paperInfo.leftDeepLink || "", this)
jumpWithDeepLink(DAILY_NEWSPAPER_DEEP_LINK, this)
})
Text(this.paperInfo.leftTitle)
... ... @@ -123,7 +124,8 @@ struct ContentCellView {
}
.justifyContent(FlexAlign.Start)
.onClick(() => {
jumpWithDeepLink(this.content.deepLink || "", this)
// jumpWithDeepLink(this.content.deepLink || "", this)
jumpWithDeepLink(DAILY_NEWSPAPER_DEEP_LINK, this)
})
}
}
... ...