Commit 3668f8e5 by YKai

feat:webview组件升级

parent 50dd356d
...@@ -36,7 +36,7 @@ ext { ...@@ -36,7 +36,7 @@ ext {
"ydl-platform" : "0.0.40.06", "ydl-platform" : "0.0.40.06",
//第二步 若干 //第二步 若干
"ydl-webview" : "0.0.38.45", "ydl-webview" : "0.0.38.46",
"ydl-media" : "0.0.21.9", "ydl-media" : "0.0.21.9",
"ydl-pay" : "0.0.18.19", "ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.37", "m-audioim" : "0.0.49.29.37",
...@@ -118,7 +118,7 @@ ext { ...@@ -118,7 +118,7 @@ ext {
"ydl-platform" : "0.0.40.06", "ydl-platform" : "0.0.40.06",
//第二步 若干 //第二步 若干
"ydl-webview" : "0.0.38.45", "ydl-webview" : "0.0.38.46",
"ydl-media" : "0.0.21.9", "ydl-media" : "0.0.21.9",
"ydl-pay" : "0.0.18.19", "ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.37", "m-audioim" : "0.0.49.29.37",
......
...@@ -689,6 +689,9 @@ public class NewH5Activity extends BaseActivity implements PtrHandler { ...@@ -689,6 +689,9 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
@Override @Override
public void onReceivedTitle(WebView view, String title) { public void onReceivedTitle(WebView view, String title) {
super.onReceivedTitle(view, title); super.onReceivedTitle(view, title);
if (TextUtils.isEmpty(h5Params.getTitle())){
tb_title.setTitle(title);
}
wv_content.setTitle(title); wv_content.setTitle(title);
if ("我的订单".equals(title)) { if ("我的订单".equals(title)) {
safeTipView.setVisibility(View.VISIBLE); safeTipView.setVisibility(View.VISIBLE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment