fix:修改样式;

This commit is contained in:
小杨 2024-11-21 14:35:00 +08:00
parent 45aa0a91a2
commit 7e0718498f
2 changed files with 36 additions and 10 deletions

View File

@ -127,7 +127,6 @@ onMounted(() => {
.title-header{ .title-header{
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center;
flex-direction: column; flex-direction: column;
} }

View File

@ -1,5 +1,10 @@
<template> <template>
<div> <div>
<div class="page-resource flex">
<!-- 左侧 教材 目录 -->
<ChooseTextbook @change-book="getData" @node-click="getData" />
<div class="page-right">
<div class="mb-4"> <div class="mb-4">
<el-button type="primary" @click="onchange('/model/curriculum')">课标研读</el-button> <el-button type="primary" @click="onchange('/model/curriculum')">课标研读</el-button>
<el-button type="primary" @click="onchange('/model/management')">作业管理</el-button> <el-button type="primary" @click="onchange('/model/management')">作业管理</el-button>
@ -8,7 +13,8 @@
<el-button type="success" @click="openPPTist">打开PPTist</el-button> <el-button type="success" @click="openPPTist">打开PPTist</el-button>
<!-- <el-button type="info" @click="onchange('/model/examination')">考试分析</el-button> --> <!-- <el-button type="info" @click="onchange('/model/examination')">考试分析</el-button> -->
</div> </div>
<ChooseTextbook @change-book="getData" @node-click="getData" /> </div>
</div>
</div> </div>
</template> </template>
@ -28,4 +34,25 @@ const onchange = (path) =>{
} }
</script> </script>
<style lang="scss" scoped></style> <style lang="scss" scoped>
.page-resource {
height: 100%;
padding: 10px 15px 0;
.page-right {
min-width: 0;
display: flex;
flex-direction: column;
flex: 1;
margin-left: 20px;
height: 100%;
background: #ffffff;
border-radius: 10px;
box-shadow: 0px 0px 20px 0px rgba(99, 99, 99, 0.06);
}
.mb-4 {
margin-bottom: 1rem;
}
}
</style>