프로필 이미지 나오게, 아무기능없는 포인터 제거

This commit is contained in:
nevermoregb 2025-04-05 00:59:37 +09:00
parent 44cec4cccd
commit b8a7310af0
2 changed files with 7 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<div class="card-body"> <div class="card-body">
<img <img
v-if="user" v-if="user"
:src="`${baseUrl}upload/img/profile/${user.profile}`" :src="`${profileImgUrl}profile/${user.profile}`"
alt="Profile Image" alt="Profile Image"
class="w-px-50 h-px-50 rounded-circle" class="w-px-50 h-px-50 rounded-circle"
@error="$event.target.src = '/img/icons/icon.png'" @error="$event.target.src = '/img/icons/icon.png'"
@ -78,6 +78,7 @@
import '@/assets/css/app-calendar.css'; import '@/assets/css/app-calendar.css';
const baseUrl = import.meta.env.VITE_DOMAIN; const baseUrl = import.meta.env.VITE_DOMAIN;
const profileImgUrl = import.meta.env.VITE_SERVER_IMG_URL;
const user = ref({}); const user = ref({});
const userStore = useUserInfoStore(); const userStore = useUserInfoStore();
const projectStore = useProjectStore(); const projectStore = useProjectStore();
@ -315,6 +316,9 @@
// (, , ) // (, , )
if (!isSelectableDate(cellDate)) { if (!isSelectableDate(cellDate)) {
classes.push('fc-day-sat-sun'); classes.push('fc-day-sat-sun');
} else {
//
classes.push('clickable');
} }
return classes; return classes;
@ -323,7 +327,7 @@
// //
let todayEL = null; let todayEL = null;
const handleDateClick = info => { const handleDateClick = info => {
if (isSelectableDate(info)) { if (isSelectableDate(info.date)) {
if ($common.isToday(info.date)) { if ($common.isToday(info.date)) {
// //
todayEL = info.dayEl; todayEL = info.dayEl;

View File

@ -2,7 +2,7 @@
<div class="ms-2" style="flex: 1"> <div class="ms-2" style="flex: 1">
<ul class="row gx-1 mb-0 list-inline"> <ul class="row gx-1 mb-0 list-inline">
<li class="col-4 me-0" v-for="(member, index) in members" :key="index"> <li class="col-4 me-0" v-for="(member, index) in members" :key="index">
<div class="ratio ratio-1x1 mb-0 profile-list"> <div class="ratio ratio-1x1 mb-0">
<img <img
:src="`${profileImgUrl}profile/${member.MEMBERPRF}`" :src="`${profileImgUrl}profile/${member.MEMBERPRF}`"
:style="`border-color: ${member.usercolor} !important;`" :style="`border-color: ${member.usercolor} !important;`"