You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhishifufei_php/application/wap/view/first/callback/pay_success_synchro.html

77 lines
3.2 KiB

10 months ago
<!-- +---------------------------------------------------------------------- -->
<!-- | 天诚科技 [ 刘海东 17600099397赋能开发者,助力企业发展 ] -->
<!-- +---------------------------------------------------------------------- -->
<!-- | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved. -->
<!-- +---------------------------------------------------------------------- -->
<!-- | Licensed 该系统并不是自由软件,未经许可不能去掉相关版权 -->
<!-- +---------------------------------------------------------------------- -->
<!-- | Author:甘肃天诚志信电子商务有限公司 刘海东 联系电话维系17600099397 -->
<!-- +---------------------------------------------------------------------- -->
{extend name="public/container"}
{block name="title"}支付结果{/block}
{block name="head_top"}
<style>
body {
background-color: #ddd;
}
</style>
{/block}
{block name="content"}
<div class="payState" id="app" v-cloak>
<!--fail.png-->
<div class="pictrue"><img src="{__WAP_PATH}zsff/images/msg_image/success.png"></div>
<!--支付失败-->
<div class="status">操作完成</div>
<!--重新支付-->
<a class="learn" style="display: inherit;" href="javascript:" @click="goPage">查看支付结果</a>
</div>
{/block}
{block name='foot'}
<script>
var type = '{$type}';
var id = '{$id}';
require(['vue', 'helper'], function (Vue, $h) {
var vm = new Vue({
el: '#app',
data: {
id: id,
type: type
},
methods: {
goPage: function () {
switch (this.type) {
case '1':
window.location = $h.U({ c: 'special', a: 'details', q: { id: this.id } });
break;
case '2':
window.location = "{:url('wap/special/order_store_list')}?type=1";
break;
case '3':
window.location = $h.U({ c: 'my', a: 'sign_list'});
break;
case '4':
window.location = $h.U({ c: 'special', a: 'recharge_index'});
break;
case '5':
window.location = $h.U({ c: 'special', a: 'member_recharge'});
break;
case '6':
window.location = $h.U({ c: 'special', a: 'question_index', q: { id: this.id } });
break;
case '7':
window.location = $h.U({ c: 'special', a: 'single_details', q: { id: this.id } });
break;
case '8':
window.location = $h.U({ c: 'special', a: 'data_details', q: { id: this.id } });
break;
default:
window.location = $h.U({ c: 'index', a: 'index'});
break;
}
}
}
});
});
</script>
{/block}