style: 右上角样式调整
This commit is contained in:
parent
e2339e28b5
commit
a0fd58e819
|
@ -14,9 +14,9 @@
|
||||||
<span v-else>{{ slotProps.route.breadcrumbName }}</span>
|
<span v-else>{{ slotProps.route.breadcrumbName }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template #rightContentRender>
|
<template #rightContentRender>
|
||||||
<div style="margin-right: 24px;display: flex;align-items: center;">
|
<div class="right-content">
|
||||||
<AIcon type="QuestionCircleOutlined" @click="toDoc" />
|
<AIcon type="QuestionCircleOutlined" @click="toDoc" />
|
||||||
<Notice style="margin: 0 24px;" />
|
<Notice style="margin: 0 24px" />
|
||||||
<UserInfo />
|
<UserInfo />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
<script setup lang="ts" name="BasicLayoutPage">
|
<script setup lang="ts" name="BasicLayoutPage">
|
||||||
import UserInfo from './components/UserInfo.vue';
|
import UserInfo from './components/UserInfo.vue';
|
||||||
import Notice from './components/Notice.vue'
|
import Notice from './components/Notice.vue';
|
||||||
import DefaultSetting from '../../../config/config';
|
import DefaultSetting from '../../../config/config';
|
||||||
import { useMenuStore } from '@/store/menu';
|
import { useMenuStore } from '@/store/menu';
|
||||||
import { clearMenuItem } from 'jetlinks-ui-components/es/ProLayout/util';
|
import { clearMenuItem } from 'jetlinks-ui-components/es/ProLayout/util';
|
||||||
|
@ -95,8 +95,13 @@ watchEffect(() => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const toDoc = () => window.open('http://doc.v2.jetlinks.cn/');
|
||||||
const toDoc = ()=>window.open('http://doc.v2.jetlinks.cn/')
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped>
|
||||||
|
.right-content {
|
||||||
|
margin-right: 24px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue