小功能优化8 (#371)
* refactor: 去除重复元素 * feat: edit 布局优化 * style: 题目大纲滚动时固定tab-header --------- Co-authored-by: jiangchunfu <jiangchunfu@kaike.la>
This commit is contained in:
parent
9a35de7e36
commit
4d5c3eb15d
@ -41,7 +41,7 @@ import { analysisType } from '@/management/config/analysisConfig'
|
||||
.right {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-width: 1160px;
|
||||
min-width: 1300px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
|
@ -60,7 +60,7 @@ onMounted(async () => {
|
||||
}
|
||||
|
||||
.right {
|
||||
min-width: 1160px;
|
||||
min-width: 1300px;
|
||||
height: 100%;
|
||||
padding-left: 80px;
|
||||
overflow: hidden;
|
||||
|
@ -18,14 +18,19 @@ const tabSelected = ref<string>('0')
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.tab-box {
|
||||
width: 300px;
|
||||
width: 360px;
|
||||
height: 100%;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
overflow-y: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
:deep(.el-tabs__nav) {
|
||||
width: 100%;
|
||||
}
|
||||
:deep(.el-tabs__content) {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
:deep(.el-tabs__item) {
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ const handleChangePreview = (data: any) => {
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.tab-box {
|
||||
width: 300px;
|
||||
width: 360px;
|
||||
height: 100%;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
|
@ -87,7 +87,7 @@ const changePreset = (banner: any) => {
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.tab-box {
|
||||
width: 300px;
|
||||
width: 360px;
|
||||
height: 100%;
|
||||
box-shadow: none;
|
||||
border: none;
|
||||
|
@ -55,6 +55,8 @@ watch(
|
||||
.navbar-tab {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 50%;
|
||||
transform: translate(-50%);
|
||||
cursor: pointer;
|
||||
:deep(.el-radio-button__original-radio + .el-radio-button__inner) {
|
||||
font-size: 12px;
|
||||
|
Loading…
Reference in New Issue
Block a user