mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
style
This commit is contained in:
@@ -215,7 +215,7 @@ const addConfig = () => {
|
|||||||
|
|
||||||
const editConfig = (item: any) => {
|
const editConfig = (item: any) => {
|
||||||
dialogTitle.value = '修改配置';
|
dialogTitle.value = '修改配置';
|
||||||
const type = getKeyByValue(typeCh, item.type);
|
const type = getKeyByValue(typeCh, item.type);
|
||||||
if (type) {
|
if (type) {
|
||||||
newTab.value = { name: item.name, data: item, type: type };
|
newTab.value = { name: item.name, data: item, type: type };
|
||||||
}
|
}
|
||||||
@@ -224,7 +224,7 @@ const editConfig = (item: any) => {
|
|||||||
visibleBody.value = true;
|
visibleBody.value = true;
|
||||||
};
|
};
|
||||||
const delConfig = (item: any) => {
|
const delConfig = (item: any) => {
|
||||||
const type = getKeyByValue(typeCh, item.type);
|
const type = getKeyByValue(typeCh, item.type);
|
||||||
if (type) {
|
if (type) {
|
||||||
newTab.value = { name: item.name, data: item, type: type };
|
newTab.value = { name: item.name, data: item, type: type };
|
||||||
}
|
}
|
||||||
@@ -364,7 +364,7 @@ const handleResize = () => {
|
|||||||
}
|
}
|
||||||
loadPage.value = true;
|
loadPage.value = true;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
cardHeight.value = window.innerHeight - (headerBox.value?.offsetHeight ?? 0) - (setting.value?.offsetHeight?? 0) - 20;
|
cardHeight.value = window.innerHeight - (headerBox.value?.offsetHeight ?? 0) - (setting.value?.offsetHeight ?? 0) - 20;
|
||||||
}, 300);
|
}, 300);
|
||||||
};
|
};
|
||||||
emitter.on('sendWidth', (width) => {
|
emitter.on('sendWidth', (width) => {
|
||||||
|
Reference in New Issue
Block a user