编辑页面开发

This commit is contained in:
sswiki
2024-12-10 23:24:44 +08:00
parent d6bcfc5492
commit e9f1c3b5cf
17 changed files with 573 additions and 98 deletions

View File

@@ -66,6 +66,7 @@ const props = defineProps({
let emit = defineEmits(['switchSpace', 'changeExpandedKeys', 'loadPageList']);
onMounted(() => {
storeDisplay.currentPage = 'view';
storeDisplay.showHeader = true;
initQueryParam(route);
});
onBeforeRouteUpdate((to) => {
@@ -264,63 +265,6 @@ const initQueryParam = (to) => {
height: 600px !important;
}
.page-show-vue .head {
float: left;
background-color: #ccc;
border-radius: 50%;
margin-right: 10px;
width: 45px;
height: 45px;
line-height: 45px;
text-align: center;
color: #fff;
}
.page-show-vue .el-tabs__header {
margin: 0;
}
.page-show-vue .el-tabs__nav-wrap {
padding: 0 20px;
}
.page-show-vue .close-action-tab {
position: absolute;
right: 15px;
top: 12px;
cursor: pointer;
z-index: 1;
}
.page-show-vue .action-tab-box {
height: calc(100vh - 120px);
overflow: auto;
padding: 20px 10px;
}
.page-show-vue .action-box-empty {
text-align: center;
padding-top: 30px;
color: #888;
font-size: 14px;
}
.page-show-vue .history-item {
height: 55px;
line-height: 25px;
cursor: pointer;
vertical-align: middle;
}
.page-show-vue .history-loading-status {
margin-left: 5px;
color: #67c23a;
}
.page-show-vue .history-loading-status.el-icon-circle-close {
color: #f56c6c;
}
.page-show-vue .el-timeline {
padding-inline-start: 0;
}
@@ -328,14 +272,4 @@ const initQueryParam = (to) => {
.page-show-vue .markdown-body table {
display: table;
}
.mobile-qr {
width: 250px;
height: 250px;
border: 1px solid #ccc;
display: inline-block;
border-radius: 4px;
margin-bottom: 10px;
padding: 5px;
}
</style>