diff --git a/application/index/view/default/buy/index.html b/application/index/view/default/buy/index.html index bf73fba2e..fa2f6a2fc 100755 --- a/application/index/view/default/buy/index.html +++ b/application/index/view/default/buy/index.html @@ -571,12 +571,7 @@ function BuySubmitBack(e) if(e.code == 0) { $.AMUI.progress.done(); - if($(window).width() < 640) - { - PromptBottom(e.msg, 'success', null, 50); - } else { - PromptCenter(e.msg, 'success'); - } + Prompt(e.msg, 'success'); setTimeout(function() { window.location.href = e.data.jump_url; @@ -584,12 +579,7 @@ function BuySubmitBack(e) } else { $('form.form-validation').find('button[type="submit"]').button('reset'); $.AMUI.progress.done(); - if($(window).width() < 640) - { - PromptBottom(e.msg, null, null, 50); - } else { - PromptCenter(e.msg); - } + Prompt(e.msg); } } \ No newline at end of file diff --git a/application/index/view/default/index/index.html b/application/index/view/default/index/index.html index 609002114..fb89164d3 100755 --- a/application/index/view/default/index/index.html +++ b/application/index/view/default/index/index.html @@ -88,10 +88,10 @@ {{if !empty($article_list)}}