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 个修改的文件
包含
14 行增加
和
20 行删除
+14
-20
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
+3
-3
index.vue
src/views/mine/myNote/index.vue
+4
-10
没有找到文件。
src/components/file/components/OperationMenu.vue
浏览文件 @
58ac1759
...
...
@@ -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
,
...
...
src/views/home/index.vue
浏览文件 @
58ac1759
...
...
@@ -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"
);
...
...
src/views/mine/myNote/components/noteByFile.vue
浏览文件 @
58ac1759
...
...
@@ -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
-
2
45
px
);
height
:
calc
(
100vh
-
2
70
px
);
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
>
src/views/mine/myNote/components/noteByTag.vue
浏览文件 @
58ac1759
...
...
@@ -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
-
2
45
px
);
height
:
calc
(
100vh
-
2
70
px
);
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
{
//文章基本信息
...
...
src/views/mine/myNote/index.vue
浏览文件 @
58ac1759
<
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
-
1
38
px
);
height
:
calc
(
100vh
-
1
80
px
);
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论