Commit c3180025 by 肖康

订单详情

parent 7753398e
...@@ -855,7 +855,7 @@ ...@@ -855,7 +855,7 @@
&.lastitem{border:0px;} &.lastitem{border:0px;}
p { p {
&.w150{width:150px;} &.w150{width:150px;}
font-size : 14px; font-size : 15px;
font-weight : bold; font-weight : bold;
margin-bottom: 26px; margin-bottom: 26px;
} }
......
...@@ -79,6 +79,9 @@ ...@@ -79,6 +79,9 @@
&.step6 { &.step6 {
background: url(../../images/user/step6.png) no-repeat; background: url(../../images/user/step6.png) no-repeat;
} }
&.step7 {
background: url(../../images/user/step7.png) no-repeat;
}
} }
.staustime { .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 liexin_pop = require("liexin_pop");
var tool = require("tool"); var tool = require("tool");
var orderDetail = { var orderDetail = {
init: function () { init: function () {
orderDetail.handle(); 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 () { handle: function () {
$(".detailbox .sale").click(function(){ $(".detailbox .sale").click(function(){
...@@ -15,6 +29,7 @@ define('orderDetail', ['liexin_pop','tool'], function (require, exports, module) ...@@ -15,6 +29,7 @@ define('orderDetail', ['liexin_pop','tool'], function (require, exports, module)
$(".user-right ").hide(); $(".user-right ").hide();
$(".detailbox").show(); $(".detailbox").show();
}) })
//切换属性 //切换属性
$("body").on("click", ".check-group", function () { $("body").on("click", ".check-group", function () {
$(".verifyBox").find(".check-group").removeClass("act") $(".verifyBox").find(".check-group").removeClass("act")
......
...@@ -149,9 +149,7 @@ ...@@ -149,9 +149,7 @@
@verbatim @verbatim
<script id="payHtml" type="text/html">
</script>
<script id="DataTmp" type="text/html"> <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