|
@@ -124,6 +124,7 @@ const Jackpot: React.FC = () => {
|
|
|
}
|
|
|
result[curKey] = {
|
|
|
...curItem,
|
|
|
+ idx: i,
|
|
|
time,
|
|
|
};
|
|
|
}
|
|
@@ -251,9 +252,35 @@ const Jackpot: React.FC = () => {
|
|
|
>
|
|
|
Bónus misterioso
|
|
|
</div>
|
|
|
- <div className={clsx("mt-[.08rem] text-[.18rem] font-bold text-[#ffd200]")}>
|
|
|
- R${" "}
|
|
|
- {curTabData.is_suss ? formatAmount(curTabData?.extra_num || 0) : "??"}
|
|
|
+ <div
|
|
|
+ className={clsx(
|
|
|
+ "relative mt-[.08rem] text-[.18rem] font-bold text-[#ffd200]"
|
|
|
+ )}
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ src={
|
|
|
+ curTabData?.is_suss
|
|
|
+ ? `/jackpot/v${curTabData.idx + 1 > 6 ? 6 : curTabData.idx + 1}.png`
|
|
|
+ : `/jackpot/sv${curTabData.idx + 1 > 6 ? 6 : curTabData.idx + 1}.png`
|
|
|
+ }
|
|
|
+ alt=""
|
|
|
+ style={{ width: "1.5rem" }}
|
|
|
+ className="relative top-[-.3rem]"
|
|
|
+ />
|
|
|
+ {curTabData?.is_suss && (
|
|
|
+ <span
|
|
|
+ className={clsx(
|
|
|
+ "absolute -bottom-[-.6rem] left-[45%] translate-x-[-50%]",
|
|
|
+ styles.money
|
|
|
+ )}
|
|
|
+ >
|
|
|
+ <span>+R$ </span>
|
|
|
+ <span> {formatAmount(curTabData?.extra_num || 0)}</span>
|
|
|
+ </span>
|
|
|
+ )}
|
|
|
+
|
|
|
+ {/* R${" "}
|
|
|
+ {curTabData.is_suss ? formatAmount(curTabData?.extra_num || 0) : "??"} */}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|