@@ -670,7 +670,8 @@
"title": "Save Account",
"account": "Account",
"password": "Password",
- "tips": "Please save your account in time to avoid loss"
+ "tips": "Please save your account in time to avoid loss",
+ "save_success": "Saved locally"
},
"web": {
"activity": {
@@ -659,7 +659,8 @@
"title": "Guardar cuenta",
"account": "Cuenta",
"password": "Contraseña",
- "tips": "Guarde su cuenta a tiempo para evitar pérdidas."
+ "tips": "Guarde su cuenta a tiempo para evitar pérdidas.",
+ "save_success": "Guardado localmente"
"title": "Salvar conta",
"account": "Conta",
"password": "Senha",
- "tips": "Por favor, salve sua conta a tempo para evitar perdas"
+ "tips": "Por favor, salve sua conta a tempo para evitar perdas",
+ "save_success": "Salvo localmente"
"title": "Сохранить аккаунт",
"account": "Счет",
"password": "Пароль",
- "tips": "Пожалуйста, сохраните свой аккаунт вовремя, чтобы избежать потери."
+ "tips": "Пожалуйста, сохраните свой аккаунт вовремя, чтобы избежать потери.",
+ "save_success": "Сохранено локально"
"title": "儲存帳戶",
"account": "帳戶",
"password": "密碼",
- "tips": "請及時保存您的帳戶,以免造成損失"
+ "tips": "請及時保存您的帳戶,以免造成損失",
+ "save_success": "保存在本地"
@@ -20,6 +20,7 @@
& .l_form_container{
width: 100%;
height: auto;
+ min-height: 32rem;
padding: 2rem;
backdrop-filter: blur(7px);
display: flex;
@@ -339,7 +339,8 @@ const UserSettings=()=>{
const renderBindPhone=()=>{
let isShowBind=false;
if (guest===1){
- if (user!=null){
+ let bonus=Number(upgradBonus);
+ if (user!=null&&bonus>0){
if (user.Phone==null||user.Phone===""){
isShowBind=true;
}
@@ -37,6 +37,7 @@ const WSaveAccount = () => {
link.href = canvas.toDataURL('image/png'); // 获取图片数据 URL
link.download = 'accountInfo.png'; // 设置下载的文件名
link.click(); // 触发下载
+ toast.success(i18n.t("saveAccount.save_success"));
});
};
useEffect(()=>{
@@ -131,7 +131,8 @@ const WWelfarebar = () => {
const checkBind=()=>{
let state=0;
if (popBindPhone){
- if (user.UserID>0){
+ if (user.UserID>0&&bonus>0){
state=1;