layer fix, help design,message fix

This commit is contained in:
2023-10-03 22:55:23 +05:00
parent c75d0fd0ce
commit 0cb486d61f
4 changed files with 20 additions and 8 deletions

View File

@ -4,8 +4,12 @@
<section class="main">
<div>
<h1>Морской Сергей Юрьевич - руководитель проекта:</h1>
<div style="display: flex;"><h1 style="margin-right: 1vw;">Kонтакты:</h1><img style="margin: auto 0px;cursor: pointer;" onclick="goto('https://tlgg.ru/@teleanonym')" src="/img/telegram.svg"></div>
<h1 style="padding: 1vw;">Если у Вас не открывается проект или вы не можете найти объект, вы можете написать в нашу тех.поддерку <br>
в телеграмм @sos или обратиться к вашему личному менеджеру.</h1>
<div style="width: 30vw;display: flex;justify-content: space-between;padding: 1vw;">
<button class="btn_blue" onclick="goto('https://tlgg.ru/@teleanonym')">Написать в Telegram</button>
<button class="btn_blue">Написать менеджеру</button>
</div>
</div>
</section>

View File

@ -95,7 +95,7 @@
q_div.append(no)
msg_div.append(q_div)
document.getElementById("message_div").style.pointerEvents = "all";
// document.getElementById("message_div").style.pointerEvents = "all";
document.getElementById("message_div").setAttribute("onclick",`document.getElementById('${msg_div.id}').setAttribute("ans","false")`)
msg_div.setAttribute("ans","null")
@ -119,7 +119,7 @@
function fin(){
observer.disconnect();
document.getElementById("message_div").style.pointerEvents = "none";
// document.getElementById("message_div").style.pointerEvents = "none";
if (document.getElementById(msg_div.id) != null){
msg_div.style.transform = "translateX(120%)";
setTimeout(() => {
@ -152,7 +152,7 @@
msg_div.setAttribute("ans","null")
yes.setAttribute("onclick",`document.getElementById('${msg_div.id}').setAttribute("ans","true")`)
no.setAttribute("onclick",`document.getElementById('${msg_div.id}').setAttribute("ans","false")`)
document.getElementById("message_div").style.pointerEvents = "all";
// document.getElementById("message_div").style.pointerEvents = "all";
// document.getElementById("message_div").setAttribute("onclick",`document.getElementById('${msg_div.id}').setAttribute("ans","false")`)
var observer = new MutationObserver(function(mutations) {
@ -173,7 +173,7 @@
function fin(){
observer.disconnect();
document.getElementById("message_div").style.pointerEvents = "none";
// document.getElementById("message_div").style.pointerEvents = "none";
if (document.getElementById(msg_div.id) != null){
msg_div.style.transform = "translateX(120%)";
setTimeout(() => {