mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
异常错误提示语优化
This commit is contained in:
@ -21,7 +21,7 @@ $(function()
|
||||
},
|
||||
error:function()
|
||||
{
|
||||
Prompt('网络异常错误');
|
||||
Prompt('服务器错误');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@ -29,7 +29,7 @@ $(function()
|
||||
},
|
||||
error:function()
|
||||
{
|
||||
Prompt('网络异常错误');
|
||||
Prompt('服务器错误');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -429,7 +429,7 @@ function FromInit(form_name)
|
||||
{
|
||||
$.AMUI.progress.done();
|
||||
$button.button('reset');
|
||||
Prompt('网络异常错误');
|
||||
Prompt('服务器错误');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -80,7 +80,7 @@ $(function()
|
||||
error: function(xhr, type)
|
||||
{
|
||||
$.AMUI.progress.done();
|
||||
PromptCenter('网络异常错误');
|
||||
PromptCenter('服务器错误');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -109,7 +109,7 @@ function CartAdd(e)
|
||||
poptit_close();
|
||||
$.AMUI.progress.done();
|
||||
$button.attr('disabled', false);
|
||||
PromptCenter('网络异常错误');
|
||||
PromptCenter('服务器错误');
|
||||
}
|
||||
});
|
||||
break;
|
||||
@ -186,9 +186,9 @@ function GoodsSpecDetail()
|
||||
$.AMUI.progress.done();
|
||||
if($(window).width() < 640)
|
||||
{
|
||||
PromptBottom('网络异常错误', null, null, 50);
|
||||
PromptBottom('服务器错误', null, null, 50);
|
||||
} else {
|
||||
PromptCenter('网络异常错误');
|
||||
PromptCenter('服务器错误');
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -264,9 +264,9 @@ function GoodsSpecType()
|
||||
$.AMUI.progress.done();
|
||||
if($(window).width() < 640)
|
||||
{
|
||||
PromptBottom('网络异常错误', null, null, 50);
|
||||
PromptBottom('服务器错误', null, null, 50);
|
||||
} else {
|
||||
PromptCenter('网络异常错误');
|
||||
PromptCenter('服务器错误');
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -464,9 +464,9 @@ $(function() {
|
||||
$.AMUI.progress.done();
|
||||
if($(window).width() < 640)
|
||||
{
|
||||
PromptBottom('网络异常错误', null, null, 50);
|
||||
PromptBottom('服务器错误', null, null, 50);
|
||||
} else {
|
||||
PromptCenter('网络异常错误');
|
||||
PromptCenter('服务器错误');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@ -34,7 +34,7 @@ $(function()
|
||||
},
|
||||
error: function(xhr, type)
|
||||
{
|
||||
Prompt('网络异常错误');
|
||||
Prompt('服务器错误');
|
||||
}
|
||||
});
|
||||
}, 2000);
|
||||
|
||||
Reference in New Issue
Block a user