样式修改
This commit is contained in:
11
index.html
11
index.html
@@ -751,8 +751,11 @@
|
||||
q.addEventListener("click", () => {
|
||||
if (q.classList.contains("mainauestion")) {
|
||||
// q.style.display = 'none';
|
||||
document.querySelector('.fourquestionmain').style.display = 'none';
|
||||
document.querySelector('.sidequestion').style.display = 'flex';
|
||||
if (!isMobile()) {
|
||||
document.querySelector('.fourquestionmain').style.display = 'none';
|
||||
document.querySelector('.sidequestion').style.display = 'flex';
|
||||
}
|
||||
|
||||
}
|
||||
isPre = true;
|
||||
console.log(isUpload, 88)
|
||||
@@ -771,6 +774,10 @@
|
||||
sendMessage(true);
|
||||
});
|
||||
});
|
||||
function isMobile() {
|
||||
return /Android|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
||||
}
|
||||
|
||||
// getHistory();
|
||||
function getCookie(name) {
|
||||
const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));
|
||||
|
||||
Reference in New Issue
Block a user