|
@@ -134,7 +134,7 @@ const handleTabClick = (tab: ReviewTabType) => {
|
|
|
<>
|
|
<>
|
|
|
<div className="flex flex-col flex-wrap gap-x-5 sm:gap-x-10">
|
|
<div className="flex flex-col flex-wrap gap-x-5 sm:gap-x-10">
|
|
|
<div className="flex items-center justify-between">
|
|
<div className="flex items-center justify-between">
|
|
|
- <h3 className="text-xl font-medium">Reviews</h3>
|
|
|
|
|
|
|
+ <h3 className="text-xl font-medium min-w-3xs">Reviews</h3>
|
|
|
<Select
|
|
<Select
|
|
|
selectionMode="single"
|
|
selectionMode="single"
|
|
|
classNames={{
|
|
classNames={{
|
|
@@ -218,7 +218,7 @@ const handleTabClick = (tab: ReviewTabType) => {
|
|
|
return (
|
|
return (
|
|
|
<div
|
|
<div
|
|
|
key={index}
|
|
key={index}
|
|
|
- className={clsx("flex flex-col gap-4 py-6 px-2", {
|
|
|
|
|
|
|
+ className={clsx("flex flex-col gap-4 py-6 ", {
|
|
|
"border-b border-[#E5E5E5FF]":
|
|
"border-b border-[#E5E5E5FF]":
|
|
|
visibleReviews.length > 1 &&
|
|
visibleReviews.length > 1 &&
|
|
|
index < visibleReviews.length - 1,
|
|
index < visibleReviews.length - 1,
|
|
@@ -323,7 +323,7 @@ const handleTabClick = (tab: ReviewTabType) => {
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
{/* 评论正文 */}
|
|
{/* 评论正文 */}
|
|
|
- <div className="mt-3 pl-[56px]">
|
|
|
|
|
|
|
+ <div className="mt-3 ">
|
|
|
<p className="font-outfit text-base font-normal text-black/80 leading-relaxed">
|
|
<p className="font-outfit text-base font-normal text-black/80 leading-relaxed">
|
|
|
{item.comment}
|
|
{item.comment}
|
|
|
</p>
|
|
</p>
|
|
@@ -333,12 +333,12 @@ const handleTabClick = (tab: ReviewTabType) => {
|
|
|
{isArray(item.attachments) &&
|
|
{isArray(item.attachments) &&
|
|
|
item.attachments &&
|
|
item.attachments &&
|
|
|
item.attachments.length > 0 && (
|
|
item.attachments.length > 0 && (
|
|
|
- <div className="mt-4 pl-[56px] flex gap-3 flex-wrap">
|
|
|
|
|
|
|
+ <div className="mt-4 flex gap-3 flex-wrap">
|
|
|
{item.attachments.map((img: any,imgIdx:number) => (
|
|
{item.attachments.map((img: any,imgIdx:number) => (
|
|
|
<div
|
|
<div
|
|
|
key={img.reviewId}
|
|
key={img.reviewId}
|
|
|
onClick={() => openGalleryModal(index, imgIdx)}
|
|
onClick={() => openGalleryModal(index, imgIdx)}
|
|
|
- className="w-[160px] h-[160px] rounded-lg overflow-hidden shrink-0 border border-[#E5E5E5FF]"
|
|
|
|
|
|
|
+ className="w-[93px] h-[116px] rounded-lg overflow-hidden shrink-0 border border-[#E5E5E5FF]"
|
|
|
>
|
|
>
|
|
|
<GridTileImage
|
|
<GridTileImage
|
|
|
fill
|
|
fill
|