diff --git a/public/themes/simpleboot3/user/center/refund.html b/public/themes/simpleboot3/user/center/refund.html index a8498c8..06e00d3 100644 --- a/public/themes/simpleboot3/user/center/refund.html +++ b/public/themes/simpleboot3/user/center/refund.html @@ -73,7 +73,7 @@ </div> <!--退款原因--> <div class="reason"> - <textarea name="" id="" cols="30" rows="10" placeholder="请填写退款原因" class="reason_text"></textarea> + <textarea name="" id="cause" cols="30" rows="10" placeholder="请填写退款原因" class="reason_text"></textarea> </div> <!--客服电话--> @@ -87,10 +87,14 @@ <script> $(".application").click(function () { var oid = $(this).attr('data-id'); - alert(oid); - $.ajax({ - - }) + if(!window.confirm('是否提交退货申请?')) { + return false; + }else { + $.ajax({ + oid: oid, + cause: $("#cause").val() + }) + } }) </script> </div>