"use client"; import React, { useRef, useState } from "react"; import { Image } from "antd-mobile"; export default function PaySpacePost({ type = "ironFan", status = 0, data = {}, }) { return (
{data.price / 100}元
{!data.is_zone_moment_unlocked ? ( {data.is_ironfan_visible === 1 ? "铁粉免费查看" : data.is_superfanship_enabled === 1 ? "超粉免费查看" : "付费解锁"} ) : ( {data.is_ironfanship_unlocked === 1 && data.is_ironfan_visible === 1 && "已使用铁粉特权解锁"} {data.is_superfanship_unlocked === 1 && data.is_ironfan_visible === 0 && "已使用超粉特权解锁"} {data.is_superfanship_unlocked === 0 && data.is_ironfan_visible === 0 && "已付费解锁"} {data.is_ironfanship_unlocked === 0 && data.is_ironfan_visible === 1 && "已付费解锁"} )}
{status === 0 && (

空间内任何消费满{data.ironfanship_price}元即可成为铁粉

)}
); }