Skip to content

Commit

Permalink
design: 디자인 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Minn-Choi committed Dec 5, 2024
1 parent c0c70a6 commit e9dd115
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/common/feed/FriendGoal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export default {
});
if (response.ok) {
alert('댓글이 성공적으로 추가되었습니다.');
comments[goalId].content = '';
comments[goalId].emoji = '';
fetchGoals();
Expand Down Expand Up @@ -184,6 +183,7 @@ export default {
border: none;
background: none;
cursor: pointer;
align-items: center;
}
.btn:focus,
Expand Down
4 changes: 1 addition & 3 deletions src/components/common/feed/MyGoal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export default {
});
if (response.ok) {
alert('댓글이 성공적으로 추가되었습니다.');
comments[goalId].content = '';
comments[goalId].emoji = '';
fetchGoals();
Expand Down Expand Up @@ -158,7 +157,6 @@ export default {
if (response.ok) {
goal.content = updatedContent;
alert('목표가 수정되었습니다.');
} else {
alert('목표 수정 중 문제가 발생했습니다.');
}
Expand All @@ -180,7 +178,7 @@ export default {
});
if (response.ok) {
alert('목표가 삭제되었습니다.');
alert('목표가 삭제되었습니다☠️');
window.location.reload();
} else {
const errorData = await response.json();
Expand Down
7 changes: 5 additions & 2 deletions src/views/feed/AkoStampFollow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
팔로워 {{ followerCount }}
</div>
<div class="followerline" :style="{ width: '100%', height: '2px', background: showFollowers ? '#FF7F00' : '#B3B3B3', marginBottom: '15px' }"></div>
<ul v-show="showFollowers && followers.length > 0" style="margin-left: 170px; padding: 20; width: 150%; z-index: 200;">
<ul v-show="showFollowers && followers.length > 0" style="margin-left: 190px; padding: 20; width: 140%; z-index: 200;">
<li v-for="follower in followers" :key="follower.followingId" class="flex justify-between items-center mb-4">
<span class='font-NaR'>{{ follower.nickname }}</span>
<button @click="blockFollower(follower.followingId)" class="followerDelete-btn">삭제</button>
Expand All @@ -35,7 +35,7 @@
팔로잉 {{ followingCount }}
</div>
<div class="followingline" :style="{ width: '100%', height: '2px', background: showFollowings ? '#FF7F00' : '#B3B3B3', marginBottom: '15px' }"></div>
<ul v-show="showFollowings && followings.length > 0" style="padding-right: 100%; width: 250%;">
<ul v-show="showFollowings && followings.length > 0" style="padding-right: 90%; width: 220%;">
<li v-for="following in followings" :key="following.followingId" class="flex justify-between items-center mb-4">
<span class='font-NaR'>{{ following.nickname }}</span>
<button @click="unfollow(following.followingId)" class="unfollow-button">팔로우 취소</button>
Expand Down Expand Up @@ -180,4 +180,7 @@ const goBack = () => {
background-color:#FAE8DA;
height: 100%;
}
.unfollow-button{
width: 90px;
}
</style>
1 change: 0 additions & 1 deletion src/views/feed/AkoStampWriteView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ const registerGoal = async () => {
if (response.ok) {
const data = await response.json()
alert(`목표가 등록되었습니다: ${data.content}`)
window.history.back();
userText.value = ''
} else {
Expand Down

0 comments on commit e9dd115

Please sign in to comment.