Commit c3180025 by 肖康

订单详情

parent 7753398e
......@@ -855,7 +855,7 @@
&.lastitem{border:0px;}
p {
&.w150{width:150px;}
font-size : 14px;
font-size : 15px;
font-weight : bold;
margin-bottom: 26px;
}
......
......@@ -79,6 +79,9 @@
&.step6 {
background: url(../../images/user/step6.png) no-repeat;
}
&.step7 {
background: url(../../images/user/step7.png) no-repeat;
}
}
.staustime {
......
define('orderDetail', ['liexin_pop','tool'], function (require, exports, module) {
define('orderDetail', ['liexin_pop','tool','artTemplate'], function (require, exports, module) {
var liexin_pop = require("liexin_pop");
var tool = require("tool");
var orderDetail = {
init: function () {
orderDetail.handle();
orderDetail.getData()
},
getData:function(){
$.liexin_ajax('/api/order/orderDetail', 'POST', {order_id:tool.getRequest("order_id")}, function (res) {
if (res.code == 0) {
var json_=res.data
var html = template('DataTmp', json_);
console.log(json_)
$(".orderdetailboxs").html(html);
} else {
liexin_pop.Tip({ title: res.msg })
}
})
},
handle: function () {
$(".detailbox .sale").click(function(){
......@@ -15,6 +29,7 @@ define('orderDetail', ['liexin_pop','tool'], function (require, exports, module)
$(".user-right ").hide();
$(".detailbox").show();
})
//切换属性
$("body").on("click", ".check-group", function () {
$(".verifyBox").find(".check-group").removeClass("act")
......
......@@ -149,9 +149,7 @@
@verbatim
<script id="payHtml" type="text/html">
</script>
<script id="DataTmp" type="text/html">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment