|
@@ -65,11 +65,13 @@ const WRetainPop=({open,onClose,openShare,closeP})=>{
|
|
|
let collect=turnplate.collect_amount;
|
|
let collect=turnplate.collect_amount;
|
|
|
return (
|
|
return (
|
|
|
<div className={styles.btn_con}>
|
|
<div className={styles.btn_con}>
|
|
|
- <button className={styles.share_btn} onClick={()=>{
|
|
|
|
|
|
|
+ <button className={styles.share_btn} onClick={(e)=>{
|
|
|
|
|
+ if (e)e.stopPropagation();
|
|
|
if(onClose)onClose();
|
|
if(onClose)onClose();
|
|
|
if (openShare)openShare()
|
|
if (openShare)openShare()
|
|
|
}}>{i18n.t("turnplate.retain_pop.btn_share")}</button>
|
|
}}>{i18n.t("turnplate.retain_pop.btn_share")}</button>
|
|
|
- <button onClick={()=>{
|
|
|
|
|
|
|
+ <button onClick={(e)=>{
|
|
|
|
|
+ if (e)e.stopPropagation();
|
|
|
if (onClose)onClose();
|
|
if (onClose)onClose();
|
|
|
if(closeP)closeP();
|
|
if(closeP)closeP();
|
|
|
}} className={styles.giveup_btn}>{stringFormat(i18n.t("turnplate.retain_pop.btn_giveup"),[formatCash(collect)])}</button>
|
|
}} className={styles.giveup_btn}>{stringFormat(i18n.t("turnplate.retain_pop.btn_giveup"),[formatCash(collect)])}</button>
|
|
@@ -77,7 +79,8 @@ const WRetainPop=({open,onClose,openShare,closeP})=>{
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
return (
|
|
return (
|
|
|
- <Popup open={open} onClose={()=>{
|
|
|
|
|
|
|
+ <Popup open={open} onClose={(e)=>{
|
|
|
|
|
+ if (e)e.stopPropagation();
|
|
|
if (onClose)onClose();
|
|
if (onClose)onClose();
|
|
|
}}>
|
|
}}>
|
|
|
<div className={styles.container}>
|
|
<div className={styles.container}>
|