Commit 704a7e6b authored by 何波's avatar 何波

样式调整

parent 38986e5d
...@@ -10064,19 +10064,19 @@ $(function(){ ...@@ -10064,19 +10064,19 @@ $(function(){
let value = e.data; let value = e.data;
if (value.type == 'STATUS_CHANGE') { if (value.type == 'STATUS_CHANGE') {
// ✅ 监听到变化后,自动跳转到目标页面! // ✅ 监听到变化后,自动跳转到目标页面!
console.log("33333=========") console.log("33333=========")
let homeBox = document.getElementById("homeBox"); let homeBox = document.getElementById("homeBox");
homeBox.style.display = "none"; homeBox.style.display = "none";
let accountBox = document.getElementById("accountBox"); let accountBox = document.getElementById("accountBox");
accountBox.style.display = "block"; accountBox.style.display = "block
// 选中效果
// 选中效果 var accountBtn = document.getElementById("0001");
var accountBtn = document.getElementById("0001"); // 主动触发点击事件
// 主动触发点击事件 accountBtn.click();
accountBtn.click(); }
if(value.type == 'STATUS_HEIGHT') {
document.getElementById('accountBox').style.height = e.data.value + 'px';
} }
} }
var ori = e.origin; var ori = e.origin;
var ipAddress = 'https://exp.ccb.com'; var ipAddress = 'https://exp.ccb.com';
......
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