Files
littleTiger/template/mobile/rainbow/user/express.html

47 lines
2.0 KiB
HTML
Raw Normal View History

2019-02-28 19:48:21 +08:00
<include file="public/header" title="查看物流信息" body="f3"/>
<include file="public/header_nav" title="查看物流信息" href="javascript:history.back(-1)"/>
<div class="dindboxt p">
<div class="maleri30">
<div class="fl_addextra fl">
<p><span class="gray">运单编号:</span><span>{$delivery[invoice_no]}</span></p>
<p><span class="gray">国内承运人:</span><span>{$delivery[shipping_name]}</span></p>
</div>
<!--<div class="fr_extra fr">-->
<!--<a class="tuid sueye" href="javascript:void(0);">我要催单</a>-->
<!--</div>-->
</div>
</div>
<div class="listschdule orderrefuce ma-to-20">
<if condition="$delivery['shipping_code'] AND $delivery['invoice_no']">
<p class="logis-detail-date" id="express_info"></p>
<script>
queryExpress();
function queryExpress()
{
var shipping_code = "{$delivery['shipping_code']}";
var invoice_no = "{$delivery['invoice_no']}";
$.ajax({
type : "GET",
dataType: "json",
url:"/index.php?m=Home&c=Api&a=queryExpress&shipping_code="+shipping_code+"&invoice_no="+invoice_no,//+tab,
success: function(data){
var html = '';
if(data.status == 200){
$.each(data.data, function(i,o){
html +="<div class='tittimlord red-around'><h2>"+ o.context +"</h2> <p>"+ o.time +"</p></div>";
});
}else{
html +="<div class='tittimlord red-around'><h2>"+data.message+"</h2> <p></p></div>";
}
$("#express_info").after(html);
}
});
}
</script>
</if>
<!-- 物流信息 end-->
</div>
<div class="mask-filter-div" style="display: none;"></div>
</body>
</html>