Commit f8e1bafe by luyt

feat:调整webview位置

1 parent 188e2364
......@@ -4,6 +4,7 @@
"pages/tab/index/index",
"pages/tab/output/output",
"pages/tab/mine/mine",
"pages/webView/webView",
"login/index/index",
"login/accountItems/accountItems",
"pages/viewVideo/index",
......@@ -65,13 +66,6 @@
]
},
{
"root": "packagesList/webView",
"name": "webView",
"pages": [
"pages/webView"
]
},
{
"root": "packagesList/apply",
"name": "apply",
"pages": [
......
......@@ -306,10 +306,7 @@ Page({
// 跳转
// console.log('跳转')
let {activeUrl} = this.data
let obj = {
url:activeUrl
}
wx.$router.go("/packagesList/webView/pages/webView", obj);
wx.$router.jumpH5(activeUrl);
},
/**
......
......@@ -29,7 +29,7 @@
</view>
</block>
<!-- 查看活动那个详情 1.3才有 -->
<block wx:if="{{ index == 1 && actNum == 3}}">
<block wx:if="{{ index == 1 && actNum == 3 && activeUrl}}">
<button class="check-act" type="default" plain="true" bindtap="checkActive">查看活动详情</button>
</block>
<!-- 获取更多详情 -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!