修改样式问题
This commit is contained in:
parent
8a2ef9b2e5
commit
8024ac7994
|
@ -5,7 +5,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|||
import { faAngleRight } from "@fortawesome/free-solid-svg-icons";
|
||||
import { Avatar, Toast, Space } from "antd-mobile";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { get } from "@/utils/storeInfo";
|
||||
import { get, save } from "@/utils/storeInfo";
|
||||
import requireAPI from "@/utils/requireAPI";
|
||||
import OwnIcon from "@/components/OwnIcon";
|
||||
import OwnImage from "@/components/OwnImage";
|
||||
|
@ -29,6 +29,7 @@ const My = () => {
|
|||
null,
|
||||
true
|
||||
);
|
||||
console.log("------", data);
|
||||
if (data.ret === -1) {
|
||||
Toast.show({
|
||||
icon: "fail",
|
||||
|
@ -65,6 +66,7 @@ const My = () => {
|
|||
});
|
||||
return;
|
||||
}
|
||||
save("account", account.data.account);
|
||||
const statuses = await requireAPI(
|
||||
"POST",
|
||||
"/api/streamer_auth_approval/get_statuses",
|
||||
|
@ -118,13 +120,13 @@ const My = () => {
|
|||
subTitle:
|
||||
account.data.account.role == 3 ? "创作者功能" : "完善资料后解锁",
|
||||
},
|
||||
// {
|
||||
// url: `my/refund/refundList`,
|
||||
// iconUrl: "/icons/32DP/wallet.png",
|
||||
// title: "退款审核",
|
||||
// subTitle:
|
||||
// account.data.account.role == 3 ? "创作者功能" : "完善资料后解锁",
|
||||
// },
|
||||
{
|
||||
url: `my/refund/refundList`,
|
||||
iconUrl: "/icons/32DP/wallet.png",
|
||||
title: "退款审核",
|
||||
subTitle:
|
||||
account.data.account.role == 3 ? "创作者功能" : "完善资料后解锁",
|
||||
},
|
||||
// ...currentOld,
|
||||
];
|
||||
if (isInJoinProgress) {
|
||||
|
|
|
@ -142,7 +142,11 @@ export default function RefundDetail() {
|
|||
<Radio.Group
|
||||
className="flex flex-col"
|
||||
onChange={setIndex}
|
||||
value={data && data?.refunds_status === 4 ? 2 : selectedIndex}
|
||||
value={
|
||||
data && [2, 3, 4].includes(data?.refunds_status)
|
||||
? 2
|
||||
: selectedIndex
|
||||
}
|
||||
disabled={!checkAble}
|
||||
>
|
||||
<div className="flex flex-row items-start mt-4 pr-6">
|
||||
|
|
|
@ -66,7 +66,7 @@ export default function PendingReview({ currentIndex }) {
|
|||
roundedFull
|
||||
/>
|
||||
<div className="ml-2 flex flex-col gap-1">
|
||||
<div className="flex flex-row items-center flex-1 ">
|
||||
<div className="flex flex-row flex-wrap items-center flex-1 ">
|
||||
<div style={{ maxWidth: 100 }} className="truncate">
|
||||
<span className="mr-2 text-base text-white font-medium whitespace-nowrap">
|
||||
{item.account.name}
|
||||
|
@ -99,9 +99,9 @@ export default function PendingReview({ currentIndex }) {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col justify-center items-center">
|
||||
<div className="flex flex-col justify-center items-start">
|
||||
<div className="px-4 py-1 rounded-full bg-[#FFFFFF1A] flex-row items-center">
|
||||
<span className="text-white text-sm">
|
||||
<span className="text-white text-sm whitespace-nowrap">
|
||||
{item?.refunds_status === 4
|
||||
? "已自动退款"
|
||||
: item?.refunds_status === -1
|
||||
|
|
|
@ -64,9 +64,13 @@ export default function HostList() {
|
|||
style={{ "--padding-left": 0 }}
|
||||
>
|
||||
<div
|
||||
onClick={() =>
|
||||
router.push(`space/person_space_introduce/${item.mid}`)
|
||||
}
|
||||
onClick={() => {
|
||||
if (item.hyperlinks[0].action === "outward") {
|
||||
window.open(item.hyperlinks[0].url);
|
||||
} else {
|
||||
router.push(`space/person_space_introduce/${item.mid}`);
|
||||
}
|
||||
}}
|
||||
className="grid grid-cols-[48px,calc(100vw-48px-2rem)]"
|
||||
>
|
||||
<div className="relative">
|
||||
|
|
|
@ -284,6 +284,7 @@ export default function PostItem({
|
|||
{type == "post" ? (
|
||||
<div
|
||||
className="flex items-center"
|
||||
style={{ display: !isOwn ? "flex" : "none" }}
|
||||
onClick={() =>
|
||||
router.push("/space/person_space_introduce/" + data.mid)
|
||||
}
|
||||
|
@ -324,8 +325,7 @@ export default function PostItem({
|
|||
/>
|
||||
</>
|
||||
) : (
|
||||
data?.streamer_ext?.zones?.length !== 0 &&
|
||||
!isOwn && (
|
||||
data?.streamer_ext?.zones?.length !== 0 && (
|
||||
<div className="text-[#FFFFFFB2] font-medium text-xs flex items-center">
|
||||
<span className="mr-1">查看TA的空间</span>
|
||||
<FontAwesomeIcon
|
||||
|
|
Loading…
Reference in New Issue