xugenyuan

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

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
@@ -115,6 +115,7 @@ export class ProcessUtils { @@ -115,6 +115,7 @@ export class ProcessUtils {
115 } 115 }
116 break; 116 break;
117 case ContentConstants.TYPE_LINK: 117 case ContentConstants.TYPE_LINK:
  118 + content.openType = "1"
118 ProcessUtils.gotoDefaultWeb(content); 119 ProcessUtils.gotoDefaultWeb(content);
119 break; 120 break;
120 //图集详情页 121 //图集详情页
@@ -17,11 +17,28 @@ struct DefaultWebPage { @@ -17,11 +17,28 @@ struct DefaultWebPage {
17 17
18 build() { 18 build() {
19 Column() { 19 Column() {
20 - WdWebComponent({  
21 - webviewControl: this.webviewControl,  
22 - webUrl: this.webUrl,  
23 - isPageEnd: $isPageEnd  
24 - }) 20 + Column() {
  21 + WdWebComponent({
  22 + webviewControl: this.webviewControl,
  23 + webUrl: this.webUrl,
  24 + isPageEnd: $isPageEnd
  25 + })
  26 + }.layoutWeight(1)
  27 + .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP])
  28 +
  29 + Row() {
  30 + Button({type: ButtonType.Normal}) {
  31 + Image($r("app.media.back_icon_black"))
  32 + .width(20).height(25)
  33 + }.height(44).width(44)
  34 + .backgroundColor(Color.White)
  35 + .onClick(() => {
  36 + router.back()
  37 + })
  38 + Blank()
  39 + }.width("100%").height(44)
  40 + .alignItems(VerticalAlign.Center)
  41 + .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM])
25 } 42 }
26 .width(CommonConstants.FULL_WIDTH) 43 .width(CommonConstants.FULL_WIDTH)
27 .height(CommonConstants.FULL_HEIGHT) 44 .height(CommonConstants.FULL_HEIGHT)