feat: 固定定位
parent
94689fd730
commit
0ed31af61b
|
|
@ -27,7 +27,7 @@
|
||||||
</svg>`;
|
</svg>`;
|
||||||
chat_button = document.createElement("div");
|
chat_button = document.createElement("div");
|
||||||
chat_button.style =
|
chat_button.style =
|
||||||
"position: absolute;bottom: 40px;right: 20px;cursor: pointer;";
|
"position: fixed;bottom: 40px;right: 20px;cursor: pointer;";
|
||||||
chat_button.innerHTML = icon;
|
chat_button.innerHTML = icon;
|
||||||
|
|
||||||
chat_container = document.createElement("div");
|
chat_container = document.createElement("div");
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
height: 600px;
|
height: 600px;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 7px 7px 7px 7px;
|
border-radius: 7px 7px 7px 7px;
|
||||||
position: absolute;bottom: 40px;right: 20px`;
|
position: fixed;bottom: 40px;right: 20px`;
|
||||||
chat_container.style["display"] = "none";
|
chat_container.style["display"] = "none";
|
||||||
|
|
||||||
chat = document.createElement("iframe");
|
chat = document.createElement("iframe");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue