Date: Sat, 4 May 2024 01:17:44 +0900
Subject: [PATCH 14/19] =?UTF-8?q?Feat:=20=EC=85=B0=EC=96=B4=20=EC=83=81?=
=?UTF-8?q?=EB=8B=B4=20=ED=83=AD=20=EA=B3=B5=EA=B0=9C=20=EC=83=81=EB=8B=B4?=
=?UTF-8?q?=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=A2=8B=EC=95=84=EC=9A=94,?=
=?UTF-8?q?=20=EC=8A=A4=ED=81=AC=EB=9E=A9=20=EC=97=AC=EB=B6=80=EC=97=90=20?=
=?UTF-8?q?=EB=94=B0=EB=A5=B8=20=ED=95=98=ED=8A=B8,=20=EB=B6=81=EB=A7=88?=
=?UTF-8?q?=ED=81=AC=20=EC=B1=84=EC=9A=B0=EA=B8=B0=20=EC=97=AC=EB=B6=80=20?=
=?UTF-8?q?=ED=91=9C=EC=8B=9C=20#280?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Buyer/BuyerConsult/BuyerOpenConsultSection.tsx | 14 +++++++++++---
.../Buyer/BuyerOpenConsult/OpenConsultList.tsx | 4 ++--
.../BuyerOpenConsultDetail/CommentListSection.tsx | 1 -
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/components/Buyer/BuyerConsult/BuyerOpenConsultSection.tsx b/src/components/Buyer/BuyerConsult/BuyerOpenConsultSection.tsx
index 4cf16d3a..47741d3e 100644
--- a/src/components/Buyer/BuyerConsult/BuyerOpenConsultSection.tsx
+++ b/src/components/Buyer/BuyerConsult/BuyerOpenConsultSection.tsx
@@ -7,7 +7,9 @@ import { LoadingSpinner } from 'utils/LoadingSpinner';
import { isBuyPopupOpenState } from 'utils/atom';
import { ReactComponent as LockIcon } from 'assets/icons/icon-lock.svg';
import { ReactComponent as HeartIcon } from 'assets/icons/icon-heart2.svg';
-import { ReactComponent as SaveIcon } from 'assets/icons/icon-save2.svg';
+import { ReactComponent as HeartEmptyIcon } from 'assets/icons/icon-heart4.svg';
+import { ReactComponent as SaveIcon } from 'assets/icons/icon-save4.svg';
+import { ReactComponent as SaveEmptyIcon } from 'assets/icons/icon-save5.svg';
import { ReactComponent as CommentIcon } from 'assets/icons/icon-comment.svg';
import { Space } from 'components/Common/Space';
import { BackDrop } from 'components/Common/BackDrop';
@@ -147,11 +149,17 @@ function BuyerOpenConsultSection({ isChecked }: BuyerOpenConsultSectionProps) {
{item?.content}
-
+ {item?.isLiked ? (
+
+ ) : (
+
+ )}
+
{item?.totalLike}
-
+ {item?.isScrapped ? : }
+
{item?.totalScrap}
diff --git a/src/components/Buyer/BuyerOpenConsult/OpenConsultList.tsx b/src/components/Buyer/BuyerOpenConsult/OpenConsultList.tsx
index 9ec1ca5c..7ba8c48f 100644
--- a/src/components/Buyer/BuyerOpenConsult/OpenConsultList.tsx
+++ b/src/components/Buyer/BuyerOpenConsult/OpenConsultList.tsx
@@ -4,8 +4,8 @@ import { Grey1, Grey2, Grey6 } from 'styles/color';
import { Body1, Caption1 } from 'styles/font';
import { ReactComponent as HeartIcon } from 'assets/icons/icon-heart2.svg';
import { ReactComponent as HeartEmptyIcon } from 'assets/icons/icon-heart4.svg';
-import { ReactComponent as SaveIcon } from 'assets/icons/icon-save5.svg';
-import { ReactComponent as SaveEmptyIcon } from 'assets/icons/icon-save4.svg';
+import { ReactComponent as SaveIcon } from 'assets/icons/icon-save4.svg';
+import { ReactComponent as SaveEmptyIcon } from 'assets/icons/icon-save5.svg';
import { ReactComponent as CommentIcon } from 'assets/icons/icon-comment.svg';
import { Space } from 'components/Common/Space';
import { openConsultApiObject } from 'pages/Buyer/BuyerConsult';
diff --git a/src/components/Buyer/BuyerOpenConsultDetail/CommentListSection.tsx b/src/components/Buyer/BuyerOpenConsultDetail/CommentListSection.tsx
index 9062cf1a..91d7e853 100644
--- a/src/components/Buyer/BuyerOpenConsultDetail/CommentListSection.tsx
+++ b/src/components/Buyer/BuyerOpenConsultDetail/CommentListSection.tsx
@@ -49,7 +49,6 @@ function CommentListSection() {
};
fetchComment();
}, [id, isPickPopup]);
- console.log(isMyPost);
return (
<>
{isPickPopup && (
From 568dfdc5161f2f4bb28f30ae7c4006abb2c6e04c Mon Sep 17 00:00:00 2001
From: inyoung
Date: Sat, 4 May 2024 01:20:22 +0900
Subject: [PATCH 15/19] =?UTF-8?q?Fix:=20=EA=B3=B5=EA=B0=9C=EC=83=81?=
=?UTF-8?q?=EB=8B=B4=20=EA=B2=B0=EC=A0=9C=20=EC=99=84=EB=A3=8C=EC=8B=9C=20?=
=?UTF-8?q?blabla~=20=EC=82=AD=EC=A0=9C=20#280?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/Buyer/BuyerFinishPayment.tsx | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/pages/Buyer/BuyerFinishPayment.tsx b/src/pages/Buyer/BuyerFinishPayment.tsx
index 21b4288d..c2ab3e5e 100644
--- a/src/pages/Buyer/BuyerFinishPayment.tsx
+++ b/src/pages/Buyer/BuyerFinishPayment.tsx
@@ -30,7 +30,6 @@ function BuyerFinishPayment() {
상담 신청 완료
- blabla
Date: Sat, 4 May 2024 01:24:13 +0900
Subject: [PATCH 16/19] =?UTF-8?q?Fix:=20=EC=9D=BC=EB=8C=80=EB=8B=A4?=
=?UTF-8?q?=EC=83=81=EB=8B=B4=20=EC=8B=A0=EC=B2=AD=ED=95=98=EA=B8=B0=20?=
=?UTF-8?q?=EC=83=81=EB=8B=B4=20=EB=B0=A9=EC=8B=9D=20=EC=84=A0=ED=83=9D=20?=
=?UTF-8?q?=EB=AC=B8=EA=B5=AC=20=EC=88=98=EC=A0=95=20#280?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/Buyer/BuyerOpenConsultRequest.tsx | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/pages/Buyer/BuyerOpenConsultRequest.tsx b/src/pages/Buyer/BuyerOpenConsultRequest.tsx
index 743fa950..3f1ece0e 100644
--- a/src/pages/Buyer/BuyerOpenConsultRequest.tsx
+++ b/src/pages/Buyer/BuyerOpenConsultRequest.tsx
@@ -79,7 +79,7 @@ export const BuyerOpenConsultRequest = () => {
공개
- 이건 무료에요.
+ 공개상담은 무료에요.
{
비공개
- 이건 유료에요. 마인더들만 내 고민을 보고 답변할 수 있다. 다른
- 셰어들은 못본다.
+ 비공개 상담은 요금 결제가 필요해요. 비공개를 선택할 경우 마인더만
+ 내 고민을 보고 답변할 수 있고 공개상담 게시판에 업로드 되지
+ 않아요.
From e4e747bf6d235b2e218890aebb7325690db15036 Mon Sep 17 00:00:00 2001
From: inyoung
Date: Sat, 4 May 2024 01:33:19 +0900
Subject: [PATCH 17/19] =?UTF-8?q?Feat:=20=EC=85=B0=EC=96=B4=20=EA=B3=B5?=
=?UTF-8?q?=EA=B0=9C=20=EC=83=81=EB=8B=B4=20=EB=8C=93=EA=B8=80=EC=97=90?=
=?UTF-8?q?=EC=84=9C=20=EB=A7=88=EC=9D=B8=EB=8D=94=20=ED=94=84=EB=A1=9C?=
=?UTF-8?q?=ED=95=84=20=ED=81=B4=EB=A6=AD=20=EC=8B=9C=20=EB=A7=88=EC=9D=B8?=
=?UTF-8?q?=EB=8D=94=20=ED=94=84=EB=A1=9C=ED=95=84=20=ED=8E=98=EC=9D=B4?=
=?UTF-8?q?=EC=A7=80=EB=A1=9C=20=EC=9D=B4=EB=8F=99=20#280?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../BuyerOpenConsultDetail/CommentCard.tsx | 25 ++++++++++++++-----
.../SellerOpenConsult/CommentListSection.tsx | 1 +
2 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/src/components/Buyer/BuyerOpenConsultDetail/CommentCard.tsx b/src/components/Buyer/BuyerOpenConsultDetail/CommentCard.tsx
index f4aa9329..ceddfb20 100644
--- a/src/components/Buyer/BuyerOpenConsultDetail/CommentCard.tsx
+++ b/src/components/Buyer/BuyerOpenConsultDetail/CommentCard.tsx
@@ -66,12 +66,25 @@ function CommentCard({
return (
-
-
{item.nickName}
+
{
+ navigate(`/profile/${item.counselorId}`);
+ }}
+ style={{
+ display: 'flex',
+ alignItems: 'center',
+ gap: '0.8rem',
+ cursor: 'pointer',
+ }}
+ >
+
+ {item.nickName}
+
{item.updatedAt}
diff --git a/src/components/Seller/SellerOpenConsult/CommentListSection.tsx b/src/components/Seller/SellerOpenConsult/CommentListSection.tsx
index 00392e06..a063598b 100644
--- a/src/components/Seller/SellerOpenConsult/CommentListSection.tsx
+++ b/src/components/Seller/SellerOpenConsult/CommentListSection.tsx
@@ -29,6 +29,7 @@ export interface commentApiObject {
totalLike: number;
consultStyle: string;
updatedAt: string;
+ counselorId: number;
isChosen: boolean;
}
From 2f94f7ab8a0e43bf6ce40a5633d0f921659feaf7 Mon Sep 17 00:00:00 2001
From: inyoung
Date: Sat, 4 May 2024 12:35:14 +0900
Subject: [PATCH 18/19] =?UTF-8?q?Chore:=20=EB=82=98=EC=A4=91=EC=97=90=20?=
=?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=95=A0=20=EC=88=98=EB=8F=84=20=EC=9E=88?=
=?UTF-8?q?=EB=8A=94=20=EC=BD=94=EB=93=9C=20=EC=A3=BC=EC=84=9D=20=EC=B6=94?=
=?UTF-8?q?=EA=B0=80=20#280?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx | 2 +-
src/components/Seller/SellerOpenConsult/MainQuestionSection.tsx | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/components/Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx b/src/components/Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx
index 96b218ab..152479c3 100644
--- a/src/components/Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx
+++ b/src/components/Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx
@@ -90,7 +90,7 @@ ViewProfileMainSectionProps) => {
{daysOfWeek?.map(
(day: string) =>
chatTime?.[day]?.length > 0 && (
-
+
{dayEngtoKor[day] +
(chatTime?.[day]?.length === 1
? ' ' + convertTimeRange(chatTime?.[day][0])
diff --git a/src/components/Seller/SellerOpenConsult/MainQuestionSection.tsx b/src/components/Seller/SellerOpenConsult/MainQuestionSection.tsx
index edd1d306..bc0dbd3b 100644
--- a/src/components/Seller/SellerOpenConsult/MainQuestionSection.tsx
+++ b/src/components/Seller/SellerOpenConsult/MainQuestionSection.tsx
@@ -46,6 +46,7 @@ function MainQuestionSection() {
+ {/* 나중에 사용할수도 있는 코드 */}
{/*
@@ -103,6 +104,7 @@ const Circle = styled.div`
background-color: ${Grey3};
`;
+// 나중에 사용할 수도 있는 코드
// const ButtonList = styled.div`
// display: flex;
// gap: 1.2rem;
From 91049a44872ff55c0a3e7f7d83674f1daa47ee86 Mon Sep 17 00:00:00 2001
From: inyoung
Date: Sat, 4 May 2024 12:36:23 +0900
Subject: [PATCH 19/19] =?UTF-8?q?Chore:=20=EB=82=98=EC=A4=91=EC=97=90=20?=
=?UTF-8?q?=EC=82=AC=EC=9A=A9=ED=95=A0=20=EC=88=98=EB=8F=84=20=EC=9E=88?=
=?UTF-8?q?=EB=8A=94=20=EC=BD=94=EB=93=9C=20=EC=A3=BC=EC=84=9D=20=EC=B6=94?=
=?UTF-8?q?=EA=B0=802=20#280?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx | 4 +++-
.../Seller/SellerOpenConsult/MainQuestionSection.tsx | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/components/Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx b/src/components/Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx
index 152479c3..f1fd6781 100644
--- a/src/components/Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx
+++ b/src/components/Seller/SellerMyPageViewProfile/ViewProfileMainSection.tsx
@@ -139,6 +139,7 @@ ViewProfileMainSectionProps) => {