diff --git a/src/App.vue b/src/App.vue
index fe674fa..6123a01 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -2,10 +2,11 @@
import Yys from './components/Yys.vue';
import Toolbar from './components/Toolbar.vue';
import ProjectExplorer from './components/ProjectExplorer.vue';
-import { computed, ref, onMounted, onUnmounted } from "vue";
-import { useFilesStore } from "@/ts/files";
+import {computed, ref, onMounted, onUnmounted} from "vue";
+import {useFilesStore} from "@/ts/files";
import Vue3DraggableResizable from 'vue3-draggable-resizable';
-import { TabPaneName, TabsPaneContext } from "element-plus";
+import {TabPaneName, TabsPaneContext} from "element-plus";
+import YysRank from "@/components/YysRank.vue";
const filesStore = useFilesStore();
@@ -42,8 +43,8 @@ const handleTabsEdit = (
label: newFileName,
name: newFileName,
visible: true,
- type:'PVE',
- groups:[
+ type: 'PVE',
+ groups: [
{
shortDescription: " ",
groupInfo: [{}, {}, {}, {}, {}],
@@ -85,7 +86,7 @@ const activeFileGroups = computed(() => {
@@ -104,7 +105,8 @@ const activeFileGroups = computed(() => {
:name="file.name.toString()"
>
-
+
+
@@ -141,7 +143,7 @@ const activeFileGroups = computed(() => {
}
.workspace {
- //flex: 1; /* 占据剩余空间 */
+ flex: 1; /* 占据剩余空间 */
overflow: hidden; /* 防止内容溢出 */
display: inline-block;
}
@@ -151,7 +153,8 @@ const activeFileGroups = computed(() => {
height: 100%; /* 确保内容区域占满父容器 */
overflow-y: auto; /* 允许内容滚动 */
min-height: 100vh; /* 允许容器扩展 */
- display: inline-block;
+ //display: inline-block;
max-width: 100%;
}
+
\ No newline at end of file
diff --git a/src/components/Toolbar.vue b/src/components/Toolbar.vue
index 0d62f38..6a633bf 100644
--- a/src/components/Toolbar.vue
+++ b/src/components/Toolbar.vue
@@ -264,7 +264,18 @@ const prepareCapture = async () => {
// 创建临时样式
const style = document.createElement('style');
- style.textContent = `.ql-container.ql-snow { border: none !important; }`;
+ style.textContent = `
+ .ql-container.ql-snow {
+ border: none !important;
+ }
+ #main-container {
+ position: relative;
+ height: 100%;
+ overflow-y: auto;
+ min-height: 100vh;
+ display: inline-block;
+ max-width: 100%;
+}`;
document.head.appendChild(style);
// 获取目标元素
diff --git a/src/components/YysRank.vue b/src/components/YysRank.vue
new file mode 100644
index 0000000..d14390f
--- /dev/null
+++ b/src/components/YysRank.vue
@@ -0,0 +1,267 @@
+
+
+
+
+
+
+
+
+
+
+
+
{{ t('AddShikigami') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file