"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 ? (
{status === 1
? "已付费解锁"
: `${type === "ironFan" ? "铁粉" : "超粉"}免费查看`}
) : (
{data.is_ironfan_visible === 1
? "铁粉免费查看"
: data.is_superfanship_enabled === 1
? "超粉免费查看"
: "付费解锁"}
)}
{status === 0 && (
空间内任何消费满{data.ironfanship_price}元即可成为铁粉
)}
);
}