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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{yun:}include file="$wapstyle/member/lheader.htm"{/yun}
<link rel="stylesheet" href="{yun:}$config_wapdomain{/yun}/js/mui/css/mui.picker.min.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<link rel="stylesheet" href="{yun:}$config.sy_weburl{/yun}/app/template/wap/css/style.css?v={yun:}$config.cachecode{/yun}" type="text/css" />
<script src="{yun:}$wap_style{/yun}/js/compress.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/exif.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<div id="app" class="mui-views">
    <div class="mui-view">
        <div class="mui-pages"></div>
    </div>
</div>
<!--页面主结构结束-->
<!--单页面开始-->
<div id="main" class="mui-page">
    <!--页面主内容区开始-->
    <div class="mui-page-content">
        <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
 
                <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:}/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>
 
            </div>
        </div>
    </div>
    <!--页面主内容区结束-->
</div>
 
 
<script src="{yun:}$config_wapdomain{/yun}/js/mui/mui.picker.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<!--<script src="{yun:}$config_wapdomain{/yun}/js/mui/mui.poppicker.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>-->
<script src="{yun:}$config_wapdomain{/yun}/js/mui/mui.view.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
<script src="{yun:}$wap_style{/yun}/js/category.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
 <script language="javascript">
    mui.init();
    var viewApi = mui('#app').view({
        defaultPage: '#main'
    });
    //初始化单页的区域滚动
    mui('.mui-scroll-wrapper').scroll();
    var view = viewApi.view;
    (function($) {
        //处理view的后退与webview后退
        var oldBack = $.back;
        $.back = function() {
            if(viewApi.canBack()) { //如果view可以后退,则执行view的后退
                viewApi.back();
            } else { //执行webview后退
                oldBack();
            }
        };
 
    })(mui);
    $(document).ready(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>