chengkun
2025-04-18 1bb985f32f2efe0f9dd69f3cf29a1c809b1cf96d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{yun:}include file="$wapstyle/member/cheader.htm"{/yun}
 
<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/style.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
 
<div class="pay_choice_box">
    <form action="" method="post" onsubmit="return order_form();" id="paymentform">
        <div class="pay_xymoney">
            <span class="pay_xymoney_name">订单号</span>
            <div class="pay_xymoney_t"><em class="">{yun:}$order.order_id{/yun}</em></div>
        </div>
        <div class="pay_xymoney">
            <span class="pay_xymoney_name">支付金额</span>
            <div class="pay_xymoney_t"><em class="pay_xymoney_t_n"><span id="price">{yun:}$order.order_price{/yun}</span></em> 元</div>
        </div>
        <div class="pay_xymoney">
            <span class="pay_xymoney_name">订单类型</span>
            <div class="pay_xymoney_t">
                <em class="">
                    {yun:}if $order.type==1{/yun}购买会员
                    {yun:}elseif $order.type==2{/yun}{yun:}$config.integral_pricename{/yun}充值
                    {yun:}elseif $order.type==3{/yun}银行转帐
                    {yun:}elseif $order.type==5{/yun}购买增值包
                    {yun:}elseif $order.type==6{/yun}课程订购
                    {yun:}elseif $order.type==8{/yun}分享红包推广 
                    {yun:}elseif $order.type==9{/yun}悬赏红包 
                    {yun:}elseif $order.type==10{/yun}职位置顶 
                    {yun:}elseif $order.type==11{/yun}职位紧急 
                    {yun:}elseif $order.type==12{/yun}职位推荐
                    {yun:}elseif $order.type==13{/yun}自动刷新 
                    {yun:}elseif $order.type==16{/yun}刷新职位
                    {yun:}elseif $order.type==17{/yun}刷新兼职 
                    {yun:}elseif $order.type==18{/yun}刷新猎头职位 
                    {yun:}elseif $order.type==19{/yun}下载简历 
                    {yun:}elseif $order.type==20{/yun}发布职位
                    {yun:}elseif $order.type==21{/yun}发布兼职
                    {yun:}elseif $order.type==22{/yun}发布猎头职位
                    {yun:}elseif $order.type==23{/yun}面试邀请 
                    {yun:}elseif $order.type==24{/yun} 兼职推荐
                    {yun:}elseif $order.type==27{/yun}创建子账号
                    {yun:}elseif $order.type==28{/yun}购买招聘会报名次数
                    {yun:}elseif $order.type==29{/yun}发布供求任务
                    {yun:}elseif $order.type==30{/yun}刷新供求任务
                    {yun:}elseif $order.type==31{/yun}购买聊天数量
                    {yun:}elseif $order.type==32{/yun}网络招聘会报名
                    {yun:}elseif $order.type==33{/yun}购买视频面试
                    {yun:}/if{/yun}
                </em>
            </div>
        </div>
 
        <div id="pay_style" class="member_set_meal_fk_fbox mt10">
            {yun:}if $config.wxpay==1{/yun}
            
            <div class="member_set_meal_fk_fs member_set_meal_fk_fs_wx" onclick="paycheck('wxpay');">
                <i class="wxpay member_set_meal_fk_xz"></i>微信支付
            </div>
            {yun:}/if{/yun} 
            {yun:}if $config.alipay==1{/yun}
            <div class="member_set_meal_fk_fs member_set_meal_fk_fs_zfb" onclick="paycheck('alipay');">
                <i class="alipay member_set_meal_fk_xz"></i>支付宝
            </div>
            {yun:}/if{/yun}
        </div>
        <input type="hidden" value="" id="paytype" name="paytype" />
        
        <input type="hidden" value="{yun:}$order.order_price{/yun}" id="order_price" name="price" /> {yun:}if $config.wxpay==1 || $config.alipay==1{/yun}
        <div class="member_set_meal_fk_zf">
            <input type="submit" class="member_set_meal_fk_zf_bth" value="确认支付">
        </div>
        {yun:}else{/yun}
       <div class="pay_zfgb_tip">
            <span>网站已关闭支付功能,请联系管理员!</span>
        </div>
        {yun:}/if{/yun}
 
    </form>
</div>
 
 
 
<script language="javascript">
    
    $(function() {
        if(document.getElementById('main')){
            document.getElementById('main').addEventListener('touchmove', function (e) { e.preventDefault();}, {passive: false});
        }
        $("#pay_style").children(":first").click();
    })
    function order_form() {
        var paytype = $('#paytype').val();
        if(paytype == "") {
            showToast('请选择一种支付方式!', 2);
            return false;
        } else if(paytype == 'wxpay') {
            $("#paymentform").attr("action", "index.php?c=wxpay&id={yun:}$order.id{/yun}");
        } else if(paytype == 'alipay') {
            $("#paymentform").attr("action", "{yun:}$config.sy_weburl{/yun}/api/wapalipay/alipayto.php?dingdan={yun:}$order.order_id{/yun}&dingdanname={yun:}$order.order_id{/yun}&alimoney={yun:}$order.order_price{/yun}");
        }
    }
</script>
<script src="{yun:}$wap_style{/yun}/js/pay.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
{yun:}include file="$wapstyle//member/public/phptoast.htm"{/yun}
</body>
</html>