mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2026-01-13 10:57:10 +08:00
refactor: 优化系统监控、代码生成、任务调度相关代码
This commit is contained in:
@@ -24,7 +24,7 @@ const appStore = useAppStore()
|
||||
const { isMobile } = useDevice()
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.layout {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ watch(
|
||||
)
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-menu-pop) {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ const handleCollapse = (isCollapsed: boolean) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-menu.arco-menu-vertical.arco-menu-collapsed) {
|
||||
|
||||
// Menu菜单组件修改
|
||||
|
||||
@@ -23,7 +23,7 @@ import MenuFoldBtn from '../MenuFoldBtn.vue'
|
||||
defineOptions({ name: 'LayoutHeader' })
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.arco-dropdown-open .arco-icon-down {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.message {
|
||||
height: auto;
|
||||
max-height: calc(100% - 51px);
|
||||
|
||||
@@ -141,7 +141,7 @@ const changeColor = (colorObj: ColorObj) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-descriptions-item-label-block) {
|
||||
color: var(--color-text-1);
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ withDefaults(defineProps<Props>(), {})
|
||||
const emit = defineEmits(['click'])
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.layout-item {
|
||||
width: 60px;
|
||||
height: 50px;
|
||||
|
||||
@@ -149,7 +149,7 @@ onMounted(() => {
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.arco-dropdown-open .arco-icon-down {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ const toHome = () => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.system-logo {
|
||||
height: 56px;
|
||||
padding: 0 12px;
|
||||
|
||||
@@ -18,7 +18,7 @@ const appStore = useAppStore()
|
||||
const tabsStore = useTabsStore()
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.main {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
@@ -10,4 +10,4 @@ interface Props {
|
||||
const props = withDefaults(defineProps<Props>(), {})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
||||
@@ -83,4 +83,4 @@ const onCollapse = (collapsed: boolean) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
||||
@@ -49,7 +49,7 @@ const onClick = () => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.menu-fold-btn {
|
||||
background-color: var(--color-secondary-hover) !important;
|
||||
flex-shrink: 0;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
.gi-more-icon-wrap {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -133,7 +133,7 @@ const handleContextMenu = (e: MouseEvent, path: string) => {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style scoped lang="scss">
|
||||
:deep(.arco-tabs-nav-tab) {
|
||||
.arco-tabs-tab {
|
||||
svg {
|
||||
|
||||
@@ -12,4 +12,4 @@ defineOptions({ name: 'Layout' })
|
||||
const appStore = useAppStore()
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
<style scoped lang="scss"></style>
|
||||
|
||||
Reference in New Issue
Block a user