Merge branch 'main' of http://192.168.0.251:3000/localnet/localhost-front
This commit is contained in:
commit
91ff743872
15
src/components/board/BoardComentArea.vue
Normal file
15
src/components/board/BoardComentArea.vue
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -1,17 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled">
|
||||||
<li>
|
<li>
|
||||||
<Profile profileName=곤데리 :showDetail="false" />
|
<BoardProfile profileName=곤데리 :showDetail="false" />
|
||||||
<div>저도 궁금합니다.</div>
|
<div>저도 궁금합니다.</div>
|
||||||
<ul class="list-unstyled twoDepth">
|
<ul class="list-unstyled twoDepth">
|
||||||
<li>
|
<li>
|
||||||
<Profile profileName=곤데리2 :showDetail="false" />
|
<BoardProfile profileName=곤데리2 :showDetail="false" />
|
||||||
<div>저도 궁금합니다.</div>
|
<div>저도 궁금합니다.</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<Profile profileName=곤데리 :showDetail="false" />
|
<BoardProfile profileName=곤데리 :showDetail="false" />
|
||||||
|
<div>저도 궁금합니다.</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<BoardProfile profileName=곤데리 :showDetail="false" :unknown="false"/>
|
||||||
<div>저도 궁금합니다.</div>
|
<div>저도 궁금합니다.</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -20,7 +24,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|
||||||
import Profile from './Profile.vue';
|
import BoardProfile from './BoardProfile.vue';
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<Profile profileName="만드레야2" />
|
<BoardProfile profileName="만드레야2" />
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="d-flex justify-content-between align-items-center flex-wrap mb-6 gap-2">
|
<div class="d-flex justify-content-between align-items-center flex-wrap mb-6 gap-2">
|
||||||
@ -22,18 +22,7 @@
|
|||||||
<div class="d-flex min-150">
|
<div class="d-flex min-150">
|
||||||
<p class="mb-0">현재 뷰 사용중인데 리액트 공부가 해보고 싶습니다. 강의 추천해주십쇼! 리액트 1도 모릅니다.</p>
|
<p class="mb-0">현재 뷰 사용중인데 리액트 공부가 해보고 싶습니다. 강의 추천해주십쇼! 리액트 1도 모릅니다.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card shadow-none border mt-6">
|
|
||||||
<div class="card-body">
|
|
||||||
<div class="d-flex justify-content-start align-items-top">
|
|
||||||
<div class="avatar-wrapper">
|
|
||||||
<div class="avatar me-4"><img src="/img/avatars/11.png" alt="Avatar" class="rounded-circle"></div>
|
|
||||||
</div>
|
|
||||||
<div class="w-100">
|
|
||||||
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="mb-4 text-end">
|
<div class="mb-4 text-end">
|
||||||
<button class="btn btn-primary my-4">답변 쓰기</button>
|
<button class="btn btn-primary my-4">답변 쓰기</button>
|
||||||
</div>
|
</div>
|
||||||
@ -43,7 +32,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import Profile from './Profile.vue'
|
import BoardProfile from './BoardProfile.vue';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
<h6 class="mb-0">{{ profileName }}</h6>
|
<h6 class="mb-0">{{ profileName }}</h6>
|
||||||
<div class="profile-detail">
|
<div class="profile-detail">
|
||||||
<span>2024.12.10 10:46</span>
|
<span>2024.12.10 10:46</span>
|
||||||
<template v-if="showDetail">
|
<template v-if="showDetail">
|
||||||
<span>
|
<span>
|
||||||
<i class="fa-regular fa-eye"></i> 1
|
<i class="fa-regular fa-eye"></i> 1
|
||||||
</span>
|
</span>
|
||||||
@ -23,12 +23,22 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ms-auto">
|
<div class="ms-auto">
|
||||||
<button class="btn btn-label-primary btn-icon">
|
<template v-if="showDetail">
|
||||||
<i class="fa-regular fa-thumbs-up"></i>
|
<button class="btn btn-label-primary btn-icon">
|
||||||
</button>
|
<i class='bx bx-edit-alt'></i>
|
||||||
<button class="btn btn-label-primary btn-icon">
|
</button>
|
||||||
<i class="fa-regular fa-thumbs-down"></i>
|
<button class="btn btn-label-primary btn-icon">
|
||||||
</button>
|
<i class='bx bx-trash' ></i>
|
||||||
|
</button>
|
||||||
|
</template>
|
||||||
|
<template v-else>
|
||||||
|
<button class="btn btn-label-primary btn-icon">
|
||||||
|
<i class="fa-regular fa-thumbs-up"></i> <span class="num">1</span>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-label-danger btn-icon">
|
||||||
|
<i class="fa-regular fa-thumbs-down"></i> <span class="num">1</span>
|
||||||
|
</button>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -58,4 +68,8 @@ defineProps({
|
|||||||
.ms-auto button + button {
|
.ms-auto button + button {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.num {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@ -1,17 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="container-xxl flex-grow-1 container-p-y">
|
<div class="container-xxl flex-grow-1 container-p-y">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<BoardDetail />
|
<BoardContent />
|
||||||
<Comment />
|
<BoardComment />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
|
|
||||||
import Profile from '@/components/Profile.vue';
|
import BoardComment from '@/components/board/BoardComment.vue';
|
||||||
import Comment from '@/components/Comment.vue';
|
import BoardContent from '@/components/board/BoardContent.vue';
|
||||||
import BoardDetail from '@/components/BoardDetail.vue';
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user