프로필 이미지 나오게, 아무기능없는 포인터 제거
This commit is contained in:
parent
44cec4cccd
commit
b8a7310af0
@ -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;
|
||||||
|
|||||||
@ -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;`"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user