투표 css

This commit is contained in:
yoon 2025-03-17 14:09:24 +09:00
parent aae725398c
commit 1abd8f02d8
5 changed files with 11 additions and 14 deletions

View File

@ -1,5 +1,5 @@
<template>
<ul class="list-unstyled users-list d-flex align-items-center gap-1">
<ul class="list-unstyled users-list d-flex align-items-center gap-1 flex-wrap">
<li
v-for="(user, index) in displayedUserList"
:key="index"

View File

@ -5,7 +5,7 @@
<h5 class="card-title mb-1">
<div class="list-unstyled users-list d-flex align-items-center gap-1">
<img
class="rounded-circle user-avatar border border-3 w-px-40"
class="rounded-circle user-avatar border border-3 w-px-40 h-px-40"
:src="`${baseUrl}upload/img/profile/${data.localVote.MEMBERPRF}`"
:style="`border-color: ${data.localVote.usercolor} !important;`"
@error="$event.target.src = '/img/icons/icon.png'"

View File

@ -1,8 +1,7 @@
<template>
<div class="card-text">
<div class="demo-inline-spacing">
<!-- 투표리스트 -->
<div v-for="(item, index) in data" :key="index">
<div v-for="(item, index) in data" :key="index" class="mt-3">
<vote-card-check-list
:data="item"
:multiIs = voteInfo.LOCVOTMUL
@ -25,17 +24,16 @@
</form-input>
<link-input v-model="item.url" class="mb-1"/>
</div>
<div class="d-flex justify-content">
<plus-btn @click="addItem" :disabled="total >= 10" class="m-1" />
<button class="btn btn-primary btn-icon mt-1" @click="addContentSave(item.LOCVOTSEQ)" :disabled="isSaveDisabled">
<div class="d-flex justify-content align-items-center mt-3">
<plus-btn @click="addItem" :disabled="total >= 10" />
<button class="btn btn-primary btn-icon m-1" @click="addContentSave(item.LOCVOTSEQ)" :disabled="isSaveDisabled">
<i class="bx bx-check"></i>
</button>
<save-btn class="ms-auto" @click="selectVote"/>
</div>
</div>
</div>
</div>
</div>
<save-btn class="mt-2" @click="selectVote"/>
</template>
<script setup>

View File

@ -10,8 +10,7 @@
@change="handleChange"
>
{{ data.LOCVOTCON }}
<div></div>
<a v-if="data.LOCVOTLIK" :href="data.LOCVOTLIK.startsWith('http') ? data.LOCVOTLIK : 'http://' + data.LOCVOTLIK" class="d-inline-block text-truncate" target="_blank" rel="noopener noreferrer">
<a v-if="data.LOCVOTLIK" :href="data.LOCVOTLIK.startsWith('http') ? data.LOCVOTLIK : 'http://' + data.LOCVOTLIK" class="d-block text-truncate" target="_blank" rel="noopener noreferrer">
{{ data.LOCVOTLIK }}
</a>
</label>

View File

@ -1,7 +1,7 @@
<template>
<div class="d-flex align-items-center">
<div class="d-flex align-items-start mt-3">
<!--투표한 사람 목록 -->
<div class="d-flex align-items-center gap-2">
<div class="d-flex align-items-center gap-2 flex-wrap">
<i class='bx bxs-user-check link-info fa-3x'></i>
<vote-complete-user-list
v-for="(item, index) in voetedUsers"
@ -10,7 +10,7 @@
/>
</div>
<!-- 투표안한 사람 목록 -->
<div class="d-flex align-items-center gap-2 ms-auto">
<div class="d-flex align-items-center gap-2 ms-auto flex-wrap">
<i class='bx bxs-user-x link-danger fa-3x'></i>
<vote-in-complete-user-list
v-for="(item, index) in noVoetedUsers"