作者 lihan

支付回调2.4

@@ -6,7 +6,6 @@ @@ -6,7 +6,6 @@
6 <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> 6 <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
7 <link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/swiper-3.4.2.min.css" /> 7 <link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/swiper-3.4.2.min.css" />
8 <link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/init.css" /> 8 <link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/init.css" />
9 - <link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_647640_n3cow34ja3gzaor.css" />  
10 <link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/PersonCenter/PersonCenter.css" /> 9 <link rel="stylesheet" type="text/css" href="/themes/simplebootx/Portal/Template/css/PersonCenter/PersonCenter.css" />
11 <script src="/themes/simplebootx/Portal/Template/js/base.js" type="text/javascript" charset="utf-8"></script> 10 <script src="/themes/simplebootx/Portal/Template/js/base.js" type="text/javascript" charset="utf-8"></script>
12 <title>个人中心</title> 11 <title>个人中心</title>
@@ -31,27 +30,6 @@ @@ -31,27 +30,6 @@
31 </div> 30 </div>
32 </div> 31 </div>
33 32
34 - <!--个人中心分享页面-->  
35 - <div class="sharewrap" v-if="shareimg" @click="sharewrap()">  
36 - <!--弹层-->  
37 - <div class="sharepopup">  
38 - <img src="../img/share.png" alt="" style="width:100%"/>  
39 -  
40 - </div>  
41 - <div class="sharetext">  
42 - <img src="../img/sharetext.png" alt=""/>  
43 - </div>  
44 - <div class="sharecontent" @click="righnow()">立即邀请</div>  
45 - </div>  
46 - <div class="rowwrap" v-if="rowshare">  
47 - <!--弹层-->  
48 - <div class="rowpopup" @click="shareorner()" >  
49 - <img src="../img/bg.png" alt="" style="width:100%"/>  
50 -  
51 - </div>  
52 -  
53 - </div>  
54 -  
55 <!--个人信息--> 33 <!--个人信息-->
56 <div class="person"> 34 <div class="person">
57 <div class="person_info"> 35 <div class="person_info">
@@ -363,9 +363,7 @@ new Vue({ @@ -363,9 +363,7 @@ new Vue({
363 /*console.log(JSON.stringify(res))*/ 363 /*console.log(JSON.stringify(res))*/
364 console.log(res); 364 console.log(res);
365 if(res.status==true){ 365 if(res.status==true){
366 - alert("下单成功");  
367 - //window.location.reload();  
368 - window.location.href=linkPath+'/PersonCenter/PersonCenter.html' 366 + window.location.href='/index.php?g=&m=template&a=makedetails&oid='+res.oid;
369 }else if(res.status==false){ 367 }else if(res.status==false){
370 alert(res.msg); 368 alert(res.msg);
371 alert("下单失败"); 369 alert("下单失败");
@@ -402,9 +400,8 @@ new Vue({ @@ -402,9 +400,8 @@ new Vue({
402 /*console.log(JSON.stringify(res))*/ 400 /*console.log(JSON.stringify(res))*/
403 console.log(res); 401 console.log(res);
404 if(res.status==true){ 402 if(res.status==true){
405 - alert("下单成功");  
406 //window.location.reload(); 403 //window.location.reload();
407 - window.location.href=linkPath+'/PersonCenter/PersonCenter.html' 404 + window.location.href='/index.php?g=&m=template&a=evaluatedetails&oid='+res.oid;
408 }else if(res.status==false){ 405 }else if(res.status==false){
409 alert(res.msg); 406 alert(res.msg);
410 alert("下单失败"); 407 alert("下单失败");
@@ -412,48 +409,6 @@ new Vue({ @@ -412,48 +409,6 @@ new Vue({
412 409
413 }) 410 })
414 } 411 }
415 -  
416 - //var order_note=that.remark;  
417 - //var payment=that.payment;  
418 - //var discount_coupon_id=that.discount_coupon_id;  
419 - //var url = '/Flow/done'  
420 - //var params = {  
421 - // unique_id: localStorage.getItem('unique_id'),  
422 - // consignee:nick_name,  
423 - // tel:tel_phone,  
424 - // cart_id_str:id,  
425 - // order_type:ordertype,  
426 - // spot_id:spot_id,  
427 - // store_id:store_id,  
428 - // order_notes:order_note,  
429 - // payment:payment,  
430 - // discount_coupon_id:discount_coupon_id,  
431 - // pick_up_time:pick_up_time,  
432 - // printer_id:printer_id,  
433 - // from:2  
434 - //}  
435 - //  
436 - //  
437 - //ajaxsend(url, params, function(res) {  
438 - // /*console.log(JSON.stringify(res))*/  
439 - // console.log(res);  
440 - // if(res.status==true){  
441 - // alert("下单成功");  
442 - // //window.location.reload();  
443 - // window.location.href=linkPath+'/PersonCenter/PersonCenter.html'  
444 - // }else if(res.status==false){  
445 - // alert(res.msg);  
446 - // alert("下单失败");  
447 - // }  
448 - //  
449 - //})  
450 -  
451 } 412 }
452 -  
453 -  
454 } 413 }
455 -  
456 -  
457 -})  
458 -  
459 -//});  
  414 +})