xugenyuan

ref |> 横滑卡-配置外链类型数据点击外链不跳转

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
... ... @@ -115,6 +115,7 @@ export class ProcessUtils {
}
break;
case ContentConstants.TYPE_LINK:
content.openType = "1"
ProcessUtils.gotoDefaultWeb(content);
break;
//图集详情页
... ...
... ... @@ -17,11 +17,28 @@ struct DefaultWebPage {
build() {
Column() {
WdWebComponent({
webviewControl: this.webviewControl,
webUrl: this.webUrl,
isPageEnd: $isPageEnd
})
Column() {
WdWebComponent({
webviewControl: this.webviewControl,
webUrl: this.webUrl,
isPageEnd: $isPageEnd
})
}.layoutWeight(1)
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP])
Row() {
Button({type: ButtonType.Normal}) {
Image($r("app.media.back_icon_black"))
.width(20).height(25)
}.height(44).width(44)
.backgroundColor(Color.White)
.onClick(() => {
router.back()
})
Blank()
}.width("100%").height(44)
.alignItems(VerticalAlign.Center)
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM])
}
.width(CommonConstants.FULL_WIDTH)
.height(CommonConstants.FULL_HEIGHT)
... ...