게시판 수정

This commit is contained in:
Dang 2024-12-19 13:06:47 +09:00
parent df496519ff
commit b5ee743912
3 changed files with 18 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<ul class="list-unstyled"> <ul class="list-unstyled">
<li> <li>
<BoardProfile profileName=곤데리 :showDetail="false" /> <BoardProfile profileName=곤데리 :showDetail="false" :author="true" />
<div class="mt-2">저도 궁금합니다.</div> <div class="mt-2">저도 궁금합니다.</div>
<button type="button" class="btn btn-text-primary" @click="toggleComment">답변달기</button> <button type="button" class="btn btn-text-primary" @click="toggleComment">답변달기</button>
<BoardComentArea v-if="comment" /> <BoardComentArea v-if="comment" />

View File

@ -32,6 +32,14 @@
</button> </button>
</template> </template>
<template v-else> <template v-else>
<template v-if="author">
<button class="btn author btn-label-primary btn-icon">
<i class='bx bx-edit-alt'></i>
</button>
<button class="btn author btn-label-primary btn-icon">
<i class='bx bx-trash' ></i>
</button>
</template>
<BoardRecommendBtn :likeClicked="true" :dislikeClicked="false"/> <BoardRecommendBtn :likeClicked="true" :dislikeClicked="false"/>
</template> </template>
</div> </div>
@ -53,6 +61,10 @@ defineProps({
showDetail : { showDetail : {
type: Boolean, type: Boolean,
default: true, default: true,
},
author : {
type: Boolean,
default: false,
} }
}); });
@ -68,6 +80,10 @@ defineProps({
margin-left: 5px; margin-left: 5px;
} }
.btn.author {
height: 30px;
}
@media screen and (max-width:450px) { @media screen and (max-width:450px) {
.btn-area { .btn-area {
margin-top: 10px; margin-top: 10px;

View File

@ -53,7 +53,7 @@ defineProps({
.btn { .btn {
width: 55px; width: 55px;
height: 55px; height: 30px;
} }
.btn.big { .btn.big {