투표용어 메인수정정
All checks were successful
LocalNet_front/pipeline/head This commit looks good

This commit is contained in:
khj0414 2025-04-03 11:17:11 +09:00
parent fb5a0d6363
commit 29ee90a84e
2 changed files with 10 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<h5 class="mb-1 me-2">투표진행</h5> <h5 class="mb-1 me-2">투표진행</h5>
</div> </div>
</div> </div>
<div class="card-body"> <div class="card-body" v-if="voteList.length > 0">
<ul class="p-0 m-0"> <ul class="p-0 m-0">
<li class="d-flex mb-1" v-for="item in voteList" :key="item.LOCVOTSEQ"> <li class="d-flex mb-1" v-for="item in voteList" :key="item.LOCVOTSEQ">
<div class="d-flex w-100 flex-wrap align-items-center justify-content-between gap-2"> <div class="d-flex w-100 flex-wrap align-items-center justify-content-between gap-2">
@ -36,6 +36,9 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="card-body" v-else>
진행중인 투표가 없습니다.
</div>
<!-- 모달 푸터: 더보기 버튼 오른쪽 정렬 --> <!-- 모달 푸터: 더보기 버튼 오른쪽 정렬 -->
<div class="modal-foote d-flex"> <div class="modal-foote d-flex">
<router-link <router-link
@ -83,7 +86,7 @@ const getvoteList = () => {
} }
}).then(res => { }).then(res => {
voteList.value = res.data.data.list; voteList.value = res.data.data.list;
voteList.value = res.data.data.list.slice(0, 5); voteList.value = res.data.data.list.slice(0, 6);
}) })
}; };

View File

@ -6,7 +6,7 @@
<h5 class="mb-1 me-2">용어집</h5> <h5 class="mb-1 me-2">용어집</h5>
</div> </div>
</div> </div>
<div class="card-body"> <div class="card-body" v-if="wordList.length > 0">
<ul class="p-0 m-0" v-for="item in wordList" :key="item.WRDDICSEQ"> <ul class="p-0 m-0" v-for="item in wordList" :key="item.WRDDICSEQ">
<li class="d-flex align-items-center mb-1"> <li class="d-flex align-items-center mb-1">
<!-- 프로필 이미지 --> <!-- 프로필 이미지 -->
@ -34,6 +34,9 @@
</ul> </ul>
</div> </div>
<div class="card-body" v-else >
등록된 용어가 없습니다.
</div>
<!-- 모달 푸터: 더보기 버튼 오른쪽 정렬 --> <!-- 모달 푸터: 더보기 버튼 오른쪽 정렬 -->
<div class="modal-foote d-flex "> <div class="modal-foote d-flex ">
<router-link <router-link
@ -78,7 +81,7 @@ const getwordList = (searchKeyword='', indexKeyword='', category='') => {
searchKeyword : searchKeyword, searchKeyword : searchKeyword,
indexKeyword :indexKeyword, indexKeyword :indexKeyword,
category : category, category : category,
pageNum:5 pageNum:6
} }
}) })
.then(res => { .then(res => {