|
@@ -86,16 +86,15 @@ export const BoxListCom = forwardRef<BoxList, BoxParams>(function BoxListCom(
|
|
|
<div
|
|
|
className={`${styles.lock} relative mt-[0.05rem] flex justify-center text-center font-bold text-[yellow]`}
|
|
|
>
|
|
|
- <img
|
|
|
- id={"opened" + item.id}
|
|
|
- src={
|
|
|
- item.is_unlock_extra_reward
|
|
|
- ? "/sign/opened.png"
|
|
|
- : "/sign/lock.png"
|
|
|
- }
|
|
|
- className={"block h-[100%]"}
|
|
|
- alt=""
|
|
|
- />
|
|
|
+ {!item.is_unlock_extra_reward && (
|
|
|
+ <img
|
|
|
+ id={"opened" + item.id}
|
|
|
+ src={"/sign/lock.png"}
|
|
|
+ className={"block h-[100%]"}
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
+ )}
|
|
|
+
|
|
|
<span className="block">+{item.num}</span>
|
|
|
</div>
|
|
|
) : null}
|