Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zys-ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
龙菲
zys-ui
Commits
58ac1759
提交
58ac1759
authored
9月 11, 2023
作者:
龙菲
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
调整首页的新建文档
上级
ac60ec94
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
15 行增加
和
21 行删除
+15
-21
OperationMenu.vue
src/components/file/components/OperationMenu.vue
+0
-2
index.vue
src/views/home/index.vue
+2
-1
noteByFile.vue
src/views/mine/myNote/components/noteByFile.vue
+5
-4
noteByTag.vue
src/views/mine/myNote/components/noteByTag.vue
+4
-4
index.vue
src/views/mine/myNote/index.vue
+4
-10
没有找到文件。
src/components/file/components/OperationMenu.vue
浏览文件 @
58ac1759
...
@@ -385,7 +385,6 @@ export default {
...
@@ -385,7 +385,6 @@ export default {
});
});
},
},
/**
/**
* 新建 office 文件(支持可通过模板)
* 新建 office 文件(支持可通过模板)
* @description 调用新建 office 文件服务,并在弹窗确认回调事件中刷新文件列表
* @description 调用新建 office 文件服务,并在弹窗确认回调事件中刷新文件列表
...
@@ -393,7 +392,6 @@ export default {
...
@@ -393,7 +392,6 @@ export default {
*/
*/
handleCreateFile
(
extendName
)
{
handleCreateFile
(
extendName
)
{
let
isShowTemplateRatio
=
this
.
fileType
!=
this
.
TEMPLATE_MANAGE
;
//是否要展示模板选项,我的创作展示,模板管理不展示
let
isShowTemplateRatio
=
this
.
fileType
!=
this
.
TEMPLATE_MANAGE
;
//是否要展示模板选项,我的创作展示,模板管理不展示
console
.
log
(
'isShowTemplateRatio'
,
isShowTemplateRatio
);
this
.
$openDialog
this
.
$openDialog
.
addFileByTemplate
({
.
addFileByTemplate
({
extendName
,
extendName
,
...
...
src/views/home/index.vue
浏览文件 @
58ac1759
...
@@ -160,6 +160,7 @@ export default {
...
@@ -160,6 +160,7 @@ export default {
this
.
$openDialog
this
.
$openDialog
.
addFileByTemplate
({
.
addFileByTemplate
({
extendName
:
"docx"
,
extendName
:
"docx"
,
isShowTemplateRatio
:
true
,
//是否要显示选择模板
})
})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
// if (res === "confirm") {
// if (res === "confirm") {
...
@@ -170,7 +171,7 @@ export default {
...
@@ -170,7 +171,7 @@ export default {
// 点击表格某一行
// 点击表格某一行
handleClickName
(
row
)
{
handleClickName
(
row
)
{
console
.
log
(
"row"
,
row
);
console
.
log
(
"row"
,
row
);
this
.
$file
.
handleFileNameClickNew
(
row
)
this
.
$file
.
handleFileNameClickNew
(
row
)
;
},
},
handleToCreate
()
{
handleToCreate
()
{
this
.
$router
.
push
(
"/mine/myCreate"
);
this
.
$router
.
push
(
"/mine/myCreate"
);
...
...
src/views/mine/myNote/components/noteByFile.vue
浏览文件 @
58ac1759
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
>
复制笔记
</el-link
>
复制笔记
</el-link
>
>
<el-dropdown>
<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-menu
slot=
"dropdown"
>
<el-dropdown-item
<el-dropdown-item
@
click
.
native=
"handleNoteOperation('view', item)"
@
click
.
native=
"handleNoteOperation('view', item)"
...
@@ -323,7 +323,7 @@ export default {
...
@@ -323,7 +323,7 @@ export default {
border-right
:
#e6ebf5
1px
solid
;
border-right
:
#e6ebf5
1px
solid
;
height
:
100%
;
height
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
padding
:
20px
20px
0px
;
padding
:
20px
20px
0px
0
;
position
:
relative
;
position
:
relative
;
.total
{
.total
{
...
@@ -335,7 +335,7 @@ export default {
...
@@ -335,7 +335,7 @@ export default {
}
}
.list
{
.list
{
font-size
:
14px
;
font-size
:
14px
;
height
:
calc
(
100vh
-
2
45
px
);
height
:
calc
(
100vh
-
2
70
px
);
overflow
:
auto
;
overflow
:
auto
;
padding-bottom
:
16px
;
padding-bottom
:
16px
;
.item
{
.item
{
...
@@ -362,7 +362,7 @@ export default {
...
@@ -362,7 +362,7 @@ export default {
}
}
.right
{
.right
{
flex
:
1
;
flex
:
1
;
padding
:
20px
100px
16px
32px
;
padding
:
20px
0
16px
32px
;
// 单篇文章
// 单篇文章
.note-container
{
.note-container
{
//文章基本信息
//文章基本信息
...
@@ -445,5 +445,6 @@ export default {
...
@@ -445,5 +445,6 @@ export default {
.page
{
.page
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
height
:
70px
;
}
}
</
style
>
</
style
>
src/views/mine/myNote/components/noteByTag.vue
浏览文件 @
58ac1759
...
@@ -317,7 +317,7 @@ export default {
...
@@ -317,7 +317,7 @@ export default {
border-right
:
#e6ebf5
1px
solid
;
border-right
:
#e6ebf5
1px
solid
;
height
:
100%
;
height
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
padding
:
20px
20px
0px
;
padding
:
20px
20px
0px
0
;
position
:
relative
;
position
:
relative
;
.total
{
.total
{
...
@@ -329,7 +329,7 @@ export default {
...
@@ -329,7 +329,7 @@ export default {
}
}
.list
{
.list
{
font-size
:
14px
;
font-size
:
14px
;
height
:
calc
(
100vh
-
2
45
px
);
height
:
calc
(
100vh
-
2
70
px
);
overflow
:
auto
;
overflow
:
auto
;
padding-bottom
:
16px
;
padding-bottom
:
16px
;
.item
{
.item
{
...
@@ -356,7 +356,7 @@ export default {
...
@@ -356,7 +356,7 @@ export default {
}
}
.right
{
.right
{
flex
:
1
;
flex
:
1
;
padding
:
20px
100px
16px
32px
;
padding
:
20px
0
16px
32px
;
// 单篇文章
// 单篇文章
.note-container
{
.note-container
{
//文章基本信息
//文章基本信息
...
@@ -364,7 +364,7 @@ export default {
...
@@ -364,7 +364,7 @@ export default {
padding
:
12px
16px
4px
;
padding
:
12px
16px
4px
;
margin-bottom
:
8px
;
margin-bottom
:
8px
;
background-color
:
#eef0f4
;
background-color
:
#eef0f4
;
// border-bottom: 1px solid #333;
// border-bottom: 1px solid #333;
border-radius
:
4px
;
border-radius
:
4px
;
.info-title
{
.info-title
{
color
:
#333
;
color
:
#333
;
...
...
src/views/mine/myNote/index.vue
浏览文件 @
58ac1759
<
template
>
<
template
>
<div
class=
"container"
>
<div
class=
"
app-
container"
>
<el-tabs
v-model=
"activeName"
>
<el-tabs
v-model=
"activeName"
type=
"card"
>
<el-tab-pane
name=
"byFile"
>
<el-tab-pane
name=
"byFile"
>
<span
slot=
"label"
><i
class=
"el-icon-document"
></i>
按文件分类
</span>
<span
slot=
"label"
><i
class=
"el-icon-document"
></i>
按文件分类
</span>
<NoteByFile
ref=
"NoteByFile"
/>
<NoteByFile
ref=
"NoteByFile"
/>
...
@@ -37,14 +37,8 @@ export default {
...
@@ -37,14 +37,8 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.container
{
// padding: 10px 0;
}
::v-deep
.el-tabs__header
{
padding
:
0
20px
;
margin
:
0
!
important
;
}
::v-deep
.el-tab-pane
{
::v-deep
.el-tab-pane
{
height
:
calc
(
100vh
-
1
38
px
);
height
:
calc
(
100vh
-
1
80
px
);
}
}
</
style
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论