<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="../Public/css/common.css" type="text/css" />

<link href="../Public/js/lhgcalendar/_doc/prettify/prettify.css" type="text/css" rel="stylesheet"/>

<script type="text/javascript" src="../Public/js/lhgcalendar/_doc/prettify/prettify.js"></script>

<script type="text/javascript" src="../Public/js/lhgcalendar/jquery-1.7.1.min.js"></script>

<script type="text/javascript" src="../Public/js/lhgcalendar/lhgcalendar.min.js"></script>

<script type="text/javascript" src="../Public/js/menu.js"></script>

<title>网站统计</title>

<style>

    #resText tr td{text-align: center; font-size: 14px;}

</style>

</head>

<body>

<div class="wrapper">

<div class="wide">

    <div class="lw">    

        <include file="Menu:menu-sys" />

    </div>

<!--lw end -->

    <div class="rw">

        <div class="con">

                <div class="bodytitle">

                <div class="bodytitleleft"></div>

                <div class="bodytitletxt">快递价格表</div>

            </div>

                <div class="tab_bk1">

                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_list">

                        <thead>

                            <tr>

                                <td align="center" width="5%">序号</td>

                                <td align="center" width="20%">快递名称</td>

                                <td align="center" width="15%">快递标识</td>

                                <td align="center" width="15%">API代理价格(元/单)</td>

                                <td align="center" width="15%">普通会员价格(元/单)</td>

                                <td align="center" width="15%">高级会员价格(元/单)</td>

                                <td align="center" width="15%">金牌会员价格(元/单)</td>

                            </tr>

                        </thead>    

                        <tbody id="resText"></tbody>                    

                    </table>

                </div>  

        </div>

        <!--con end -->

    </div>

    <!--rw end -->  

</div>

<!--wide end -->  

</div>

<!--wrapper end -->

<script src="jquery-1.3.1.js" type="text/javascript"></script>

<script type="text/javascript">

$(function(){

$.ajax({

              type: "GET",

              url: "price.json",

              dataType: "json",

              success : function(data){

                    console.log(data);

                     $('#resText').empty();

                      var html = '';

                      $.each( data.data  , function(i, d) {

                        var index = i+1;

                        // inPrice = "{" + comment.config.split(",")[1] + "}";

                        // memberPrice = "{" +  comment.config.split(",")[2] + "}";

                        // objInPrice = eval("[" + inPrice +"]")[0];

                        // objMemberPrice = eval("[" + memberPrice +"]")[0];

                        objConfig = eval("[" + d.config + "]")[0];

                        expName = unescape(d.name);

                        //console.log(objConfig);

                        //html += '<tr class="comment"><td>' + objConfig.in_price + '---' + objConfig.price.a1 + ':</td><td>' + comment['sort_order'] + '</td></tr>';

                        html += '<tr><td>' + index + '</td><td>'+ expName + '</td><td>' + d.kb_identifier + '</td><td>'+ objConfig.in_price + '</td><td>'+ objConfig.price.a1 + '</td><td>'+ objConfig.price.a3 + '</td><td>'+ objConfig.price.a4 + '</td></tr>';

                      })

                     $('#resText').html(html);

              }

            });

//});

});

</script>

</body>

</html>