From 29df46aee0f1975c83fef5274a5280036acc9fdc Mon Sep 17 00:00:00 2001 From: ruibaby Date: Sat, 13 Apr 2019 21:15:10 +0800 Subject: [PATCH] Attachment detail info. --- src/views/attachment/AttachmentList.vue | 46 +++++++++++++++++++++++-- src/views/post/PostEdit.vue | 4 +-- 2 files changed, 46 insertions(+), 4 deletions(-) diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index b0cce3ec..6b484383 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -47,7 +47,7 @@ - +
+ + + + + + 附件名: + + + + + 附件类型: + + + + + + {{ selectAttachment.path }} + + + ![{{ selectAttachment.name }}]({{selectAttachment.path}}) + + +
+
+ 删除 +
@@ -140,6 +166,10 @@ export default { diff --git a/src/views/post/PostEdit.vue b/src/views/post/PostEdit.vue index 33c1474d..e93452a6 100644 --- a/src/views/post/PostEdit.vue +++ b/src/views/post/PostEdit.vue @@ -108,7 +108,7 @@ @close="onChildClose" > -
+
保存草稿 {{ publishText }}
@@ -279,7 +279,7 @@ export default { padding-bottom: 0; } -.postControl { +.post-control { position: absolute; bottom: 0px; width: 100%;