Ver Fonte

feat: 修改解锁

year há 3 meses atrás
pai
commit
97d1f04525
1 ficheiros alterados com 9 adições e 10 exclusões
  1. 9 10
      src/components/ModalPopup/SignInModal/index.tsx

+ 9 - 10
src/components/ModalPopup/SignInModal/index.tsx

@@ -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}