Authored by shuaiguo

Merge branch 'feature/long-article-save-image' into 'develop'

长文章iphoneX适配,评论列表点击下方评论框直接弹出输入框



See merge request !128
... ... @@ -71,6 +71,7 @@
:add-type="0"
:column-type="columnType"
:authorUid="authorUid"
:direct-comment="true"
@on-comment="onComment">
参与评论
</CommentPlaceholderActionSheet>
... ...
... ... @@ -34,6 +34,7 @@ export default {
const uid = get(await this.$sdk.getUser(), 'uid', 0);
const commentId = this.$attrs['dest-id'];
const articleId = this.$attrs['article-id'];
const directComment = this.$attrs['direct-comment'] || ''; // 是否直接调用评论框,不弹出actionSheet
const commentType = this.$attrs.commentType;
let menu = [];
... ... @@ -61,6 +62,9 @@ export default {
];
}
if (directComment) {
return this.$refs.placeholder.openComentInput();
} else {
this.$createActionSheet({
data: menu,
zIndex: 200,
... ... @@ -114,6 +118,9 @@ export default {
}
}).show();
}
}
}
};
</script>
... ...
... ... @@ -386,7 +386,8 @@ export default {
}
.article-context {
padding: 30px 0;
padding-top: calc(env(safe-area-inset-bottom) + 30px);
padding-bottom: 30px;
}
.context-title {
... ...