提交 58ac1759 authored 作者: 龙菲's avatar 龙菲

调整首页的新建文档

上级 ac60ec94
......@@ -385,7 +385,6 @@ export default {
});
},
/**
* 新建 office 文件(支持可通过模板)
* @description 调用新建 office 文件服务,并在弹窗确认回调事件中刷新文件列表
......@@ -393,7 +392,6 @@ export default {
*/
handleCreateFile(extendName) {
let isShowTemplateRatio = this.fileType != this.TEMPLATE_MANAGE; //是否要展示模板选项,我的创作展示,模板管理不展示
console.log('isShowTemplateRatio',isShowTemplateRatio);
this.$openDialog
.addFileByTemplate({
extendName,
......
......@@ -160,6 +160,7 @@ export default {
this.$openDialog
.addFileByTemplate({
extendName: "docx",
isShowTemplateRatio: true, //是否要显示选择模板
})
.then((res) => {
// if (res === "confirm") {
......@@ -170,7 +171,7 @@ export default {
// 点击表格某一行
handleClickName(row) {
console.log("row", row);
this.$file.handleFileNameClickNew(row)
this.$file.handleFileNameClickNew(row);
},
handleToCreate() {
this.$router.push("/mine/myCreate");
......
......@@ -85,7 +85,7 @@
>复制笔记</el-link
>
<el-dropdown>
<el-link type="primary" icon="el-icon-more">更多</el-link>
<el-link type="primary" icon="el-icon-more"></el-link>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item
@click.native="handleNoteOperation('view', item)"
......@@ -323,7 +323,7 @@ export default {
border-right: #e6ebf5 1px solid;
height: 100%;
overflow: auto;
padding: 20px 20px 0px;
padding: 20px 20px 0px 0;
position: relative;
.total {
......@@ -335,7 +335,7 @@ export default {
}
.list {
font-size: 14px;
height: calc(100vh - 245px);
height: calc(100vh - 270px);
overflow: auto;
padding-bottom: 16px;
.item {
......@@ -362,7 +362,7 @@ export default {
}
.right {
flex: 1;
padding: 20px 100px 16px 32px;
padding: 20px 0 16px 32px;
// 单篇文章
.note-container {
//文章基本信息
......@@ -445,5 +445,6 @@ export default {
.page {
display: flex;
justify-content: center;
height: 70px;
}
</style>
......@@ -317,7 +317,7 @@ export default {
border-right: #e6ebf5 1px solid;
height: 100%;
overflow: auto;
padding: 20px 20px 0px;
padding: 20px 20px 0px 0;
position: relative;
.total {
......@@ -329,7 +329,7 @@ export default {
}
.list {
font-size: 14px;
height: calc(100vh - 245px);
height: calc(100vh - 270px);
overflow: auto;
padding-bottom: 16px;
.item {
......@@ -356,7 +356,7 @@ export default {
}
.right {
flex: 1;
padding: 20px 100px 16px 32px;
padding: 20px 0 16px 32px;
// 单篇文章
.note-container {
//文章基本信息
......@@ -364,7 +364,7 @@ export default {
padding: 12px 16px 4px;
margin-bottom: 8px;
background-color: #eef0f4;
// border-bottom: 1px solid #333;
// border-bottom: 1px solid #333;
border-radius: 4px;
.info-title {
color: #333;
......
<template>
<div class="container">
<el-tabs v-model="activeName">
<div class="app-container">
<el-tabs v-model="activeName" type="card">
<el-tab-pane name="byFile">
<span slot="label"><i class="el-icon-document"></i> 按文件分类</span>
<NoteByFile ref="NoteByFile" />
......@@ -37,14 +37,8 @@ export default {
};
</script>
<style lang="scss" scoped>
.container {
// padding: 10px 0;
}
::v-deep .el-tabs__header {
padding: 0 20px;
margin: 0 !important;
}
::v-deep .el-tab-pane {
height: calc(100vh - 138px);
height: calc(100vh - 180px);
}
</style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论