分享详情页修改

This commit is contained in:
luJianJun 2023-08-24 15:18:19 +08:00
parent a494c0ed16
commit b844f82c50
2 changed files with 14 additions and 10 deletions

View File

@ -23,7 +23,7 @@ export default ({ instance }: Props) => {
let mtBox = document.getElementsByClassName('flex-1 mt-14 flex flex-col overflow-hidden')[0]
if (!chatShow.get()) {
infoHeader.style.display = "flex";
infoSend.style.display = "flex";
infoSend.style.display = "block";
mtBox.style.marginTop = '3.5rem';
}
currentConversationId.set(instance.id)

View File

@ -164,14 +164,18 @@ export default () => {
let mtBox = document.getElementsByClassName('flex-1 mt-14 flex flex-col overflow-hidden')[0]
if (chatShow.get()) {
infoSend.style.display = "none";
if (!isMobile()) {
infoHeader.style.display = "none";
mtBox.style.marginTop = 0;
}
} else {
infoHeader.style.display = "flex";
infoSend.style.display = "flex";
if (!isMobile()) {
infoHeader.style.display = "flex";
mtBox.style.marginTop = '3.5rem';
}
}
}
//提示弹窗
// const ErrorState = () => (