Commit 7753398e by 肖康

下单 结算 购物车 订单

parent dccc9f8e
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
} }
} }
.pdf{color:#F68332;font-size: 20px;} .pdf{color:#F68332;font-size: 20px;margin-left: 10px;}
.sx{ .sx{
width: 100px; width: 100px;
height: 20px; height: 20px;
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
padding-top: 20px; padding-top: 20px;
.top{ .top{
width: 298px; width: 298px;
height: 180px; height: 90px;
background: #DFEAFA; background: #DFEAFA;
border-radius: 8px; border-radius: 8px;
padding:0 4px; padding:0 4px;
......
.carbox .cons{background:#fff;padding:19px}.carbox .cons .titles{border-bottom:3px solid #164D9A;border-radius:2px;font-size:16px;color:#222;font-weight:bold;padding-bottom:7px;padding-top:10px;width:134px;text-align:center}.carbox .cons .section .left{width:842px}.carbox .cons .section .left .list-table{width:842px;border-radius:0px 0px 8px 8px;margin-top:20px}.carbox .cons .section .left .list-table .w46{width:46px}.carbox .cons .section .left .list-table .w98{width:98px}.carbox .cons .section .left .list-table .w183{width:183px}.carbox .cons .section .left .list-table .w119{width:119px}.carbox .cons .section .left .list-table .w93{width:93px}.carbox .cons .section .left .list-table .w110{width:110px}.carbox .cons .section .left .list-table .w92{width:92px}.carbox .cons .section .left .list-table .check-group{color:#555;font-size:16px;cursor:pointer}.carbox .cons .section .left .list-table .check-group .check{width:14px;height:14px;border:1px solid #164D9A;border-radius:4px;text-align:center;line-height:14px}.carbox .cons .section .left .list-table .check-group .check i{color:#164D9A;font-size:12px;display:none}.carbox .cons .section .left .list-table .check-group span{color:#555;font-size:14px;margin-left:5px}.carbox .cons .section .left .list-table .check-group.act .check i{display:inline}.carbox .cons .section .left .list-table .thead{height:38px;background:#DFEAFA;line-height:38px;border-radius:8px 8px 0px 0px;padding:0 15px}.carbox .cons .section .left .list-table .thead .th{font-size:14px;color:#333;font-weight:bold;box-sizing:border-box;padding-right:5px}.carbox .cons .section .left .list-table .tbody{font-size:14px;color:#555;background:#F7FAFF}.carbox .cons .section .left .list-table .tbody input{width:64px;height:26px;background:#FAFAFA;border:1px solid #DFEAFA;border-radius:4px;line-height:26px;color:#333}.carbox .cons .section .left .list-table .tbody .tr{line-height:20px;border-bottom:1px solid #DFEAFA;padding:20px 15px;box-sizing:border-box}.carbox .cons .section .left .list-table .tbody .tr .td{word-break:break-all;box-sizing:border-box;padding-right:5px}.carbox .cons .section .left .list-table .tbody .tr:last-child{border:0px}.carbox .cons .section .left .list-table .tbody .tr.sxbox{background:rgba(51,51,51,0.2)}.carbox .cons .section .left .list-table .tbody .tr.sxbox input{background:none;border:1px solid #BCBCBC}.carbox .cons .section .left .list-table .tbody .pdf{color:#F68332;font-size:20px}.carbox .cons .section .left .list-table .tbody .sx{width:100px;height:20px;border:1px solid #EE1919;border-radius:14px;color:#EE1919;font-size:14px;text-align:center;line-height:20px;position:relative;top:1px}.carbox .cons .section .left .list-table .tfoot{width:842px;height:38px;line-height:38px;background:#DFEAFA;padding:0 15px;box-shadow:0 0 10px 0 rgba(0,0,0,0.15);border-radius:8px;font-size:13px;color:#555;margin-top:13px}.carbox .cons .section .left .list-table .tfoot .fw{font-weight:bold}.carbox .cons .section .left .list-table .tfoot .selectcount{margin-left:80px;margin-right:60px}.carbox .cons .section .left .list-table .tfoot .del{cursor:pointer}.carbox .cons .section .right{width:298px;padding-top:20px}.carbox .cons .section .right .top{width:298px;height:180px;background:#DFEAFA;border-radius:8px;padding:0 4px}.carbox .cons .section .right .top .itemsp{height:45px;line-height:45px;color:#333;font-size:14px;border-bottom:1px solid #fff;padding:0 17px}.carbox .cons .section .right .top .itemsp span{font-weight:bold}.carbox .cons .section .right .create{width:298px;height:32px;line-height:32px;background:#164D9A;text-align:center;border-radius:8px;font-size:14px;color:#fff;cursor:pointer;margin-top:20px}.carbox .cons .section .right .lgtips{font-size:14px;color:#555;margin-top:12px}.carbox .cons .section .right .lgtips a{color:#164D9A}.carbox .cons .section .right .bannerc img{width:298px;height:321px;margin-top:24px} .carbox .cons{background:#fff;padding:19px}.carbox .cons .titles{border-bottom:3px solid #164D9A;border-radius:2px;font-size:16px;color:#222;font-weight:bold;padding-bottom:7px;padding-top:10px;width:134px;text-align:center}.carbox .cons .section .left{width:842px}.carbox .cons .section .left .list-table{width:842px;border-radius:0px 0px 8px 8px;margin-top:20px}.carbox .cons .section .left .list-table .w46{width:46px}.carbox .cons .section .left .list-table .w98{width:98px}.carbox .cons .section .left .list-table .w183{width:183px}.carbox .cons .section .left .list-table .w119{width:119px}.carbox .cons .section .left .list-table .w93{width:93px}.carbox .cons .section .left .list-table .w110{width:110px}.carbox .cons .section .left .list-table .w92{width:92px}.carbox .cons .section .left .list-table .check-group{color:#555;font-size:16px;cursor:pointer}.carbox .cons .section .left .list-table .check-group .check{width:14px;height:14px;border:1px solid #164D9A;border-radius:4px;text-align:center;line-height:14px}.carbox .cons .section .left .list-table .check-group .check i{color:#164D9A;font-size:12px;display:none}.carbox .cons .section .left .list-table .check-group span{color:#555;font-size:14px;margin-left:5px}.carbox .cons .section .left .list-table .check-group.act .check i{display:inline}.carbox .cons .section .left .list-table .thead{height:38px;background:#DFEAFA;line-height:38px;border-radius:8px 8px 0px 0px;padding:0 15px}.carbox .cons .section .left .list-table .thead .th{font-size:14px;color:#333;font-weight:bold;box-sizing:border-box;padding-right:5px}.carbox .cons .section .left .list-table .tbody{font-size:14px;color:#555;background:#F7FAFF}.carbox .cons .section .left .list-table .tbody input{width:64px;height:26px;background:#FAFAFA;border:1px solid #DFEAFA;border-radius:4px;line-height:26px;color:#333}.carbox .cons .section .left .list-table .tbody .tr{line-height:20px;border-bottom:1px solid #DFEAFA;padding:20px 15px;box-sizing:border-box}.carbox .cons .section .left .list-table .tbody .tr .td{word-break:break-all;box-sizing:border-box;padding-right:5px}.carbox .cons .section .left .list-table .tbody .tr:last-child{border:0px}.carbox .cons .section .left .list-table .tbody .tr.sxbox{background:rgba(51,51,51,0.2)}.carbox .cons .section .left .list-table .tbody .tr.sxbox input{background:none;border:1px solid #BCBCBC}.carbox .cons .section .left .list-table .tbody .pdf{color:#F68332;font-size:20px;margin-left:10px}.carbox .cons .section .left .list-table .tbody .sx{width:100px;height:20px;border:1px solid #EE1919;border-radius:14px;color:#EE1919;font-size:14px;text-align:center;line-height:20px;position:relative;top:1px}.carbox .cons .section .left .list-table .tfoot{width:842px;height:38px;line-height:38px;background:#DFEAFA;padding:0 15px;box-shadow:0 0 10px 0 rgba(0,0,0,0.15);border-radius:8px;font-size:13px;color:#555;margin-top:13px}.carbox .cons .section .left .list-table .tfoot .fw{font-weight:bold}.carbox .cons .section .left .list-table .tfoot .selectcount{margin-left:80px;margin-right:60px}.carbox .cons .section .left .list-table .tfoot .del{cursor:pointer}.carbox .cons .section .right{width:298px;padding-top:20px}.carbox .cons .section .right .top{width:298px;height:90px;background:#DFEAFA;border-radius:8px;padding:0 4px}.carbox .cons .section .right .top .itemsp{height:45px;line-height:45px;color:#333;font-size:14px;border-bottom:1px solid #fff;padding:0 17px}.carbox .cons .section .right .top .itemsp span{font-weight:bold}.carbox .cons .section .right .create{width:298px;height:32px;line-height:32px;background:#164D9A;text-align:center;border-radius:8px;font-size:14px;color:#fff;cursor:pointer;margin-top:20px}.carbox .cons .section .right .lgtips{font-size:14px;color:#555;margin-top:12px}.carbox .cons .section .right .lgtips a{color:#164D9A}.carbox .cons .section .right .bannerc img{width:298px;height:321px;margin-top:24px}
\ No newline at end of file \ No newline at end of file
...@@ -446,6 +446,7 @@ ...@@ -446,6 +446,7 @@
line-height: 40px; line-height: 40px;
margin:0 auto; margin:0 auto;
margin-top: 24px; margin-top: 24px;
cursor: pointer;
} }
} }
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
position: absolute; position: absolute;
width: 160px; width: 160px;
background: #FFFFFF; background: #FFFFFF;
top:19px; top:17px;
left:0px; left:0px;
box-shadow: 0px 0px 5px #ccc; box-shadow: 0px 0px 5px #ccc;
padding:15px 0px; padding:15px 0px;
...@@ -1002,5 +1002,42 @@ ...@@ -1002,5 +1002,42 @@
} }
} }
} }
/**分页**/
.M-pagebox{
margin-top: 20px;
span,a{
width: 32px;
height: 32px;
background: #FAFAFA;
border: 1px solid #DFEAFA;
border-radius: 4px;
margin-left: 9px;
color:#555;
font-size: 14px;
cursor: pointer;
text-align: center;
box-sizing: border-box;
line-height: 32px;
text-align: center;
}
span.active{
background: #DFEAFA;
border: 1px solid #164D9A;
}
input{
width: 52px;
height: 32px;
background: #FAFAFA;
border: 1px solid #DFEAFA;
text-align: center;
line-height: 32px;
margin-left: 9px;
padding:0px;
box-sizing: border-box;
color:#555;
font-size: 14px;
}
}
} }
...@@ -70,12 +70,13 @@ ...@@ -70,12 +70,13 @@
.list-table{ .list-table{
.tr{ .tr{
margin-bottom: 10px; margin-bottom: 10px;
.w159{width:159px;} .w159{width:189px;}
.w98{width:98px;} .w98{width:108px;}
.w168{width:168px;} .w168{width:168px;}
.w189{width:189px;} .w189{width:239px;}
.w239{width:239px;} .w239{width:309px;}
.w150{width:150px;} .w150{width:150px;}
cursor: pointer;
.titletr{ .titletr{
height:48px; height:48px;
background: #DFEAFA; background: #DFEAFA;
...@@ -107,7 +108,7 @@ ...@@ -107,7 +108,7 @@
} }
.td-group{ .td-group{
padding:12px 19px; padding:12px 19px;
line-height: 20px;
.td{ .td{
font-size: 14px; font-size: 14px;
color:#555; color:#555;
...@@ -141,3 +142,15 @@ ...@@ -141,3 +142,15 @@
} }
} }
} }
.paybox{
.pcons{
color:#fff;
font-size: 16px;
line-height: 30px;
padding-left:30px;
box-sizing: border-box;
.h6{color:#F68332;font-weight: bold;font-size: 18px;}
}
}
\ No newline at end of file
.orderbox .search-shit{width:230px;height:32px;background:#FAFAFA;border:1px solid #DFEAFA;border-radius:8px;position:relative;top:-5px}.orderbox .search-shit span.icon{position:absolute;right:0px;top:-1px;width:50px;height:32px;background:#164D9A;text-align:center;line-height:32px;border-radius:0px 8px 8px 0px;cursor:pointer}.orderbox .search-shit span.icon i{font-size:18px;color:#fff}.orderbox .search-shit input{background:#fff;display:block;height:30px;line-height:30px;color:#333;padding-left:15px;width:182px}.orderbox .user-right{width:1024px;min-height:500px;background:#FFFFFF;padding:18px 12px}.orderbox .user-right .nav{width:950px;border-bottom:1px solid #DFEAFA;margin-bottom:16px}.orderbox .user-right .nav .item{height:38px;font-size:14px;color:#555;text-align:center;box-sizing:border-box;padding:0px 20px;cursor:pointer}.orderbox .user-right .nav .item .tt{width:80px}.orderbox .user-right .nav .item span{height:34px;line-height:38px}.orderbox .user-right .nav .item:first-child{line-height:38px}.orderbox .user-right .nav .item:last-child{line-height:38px}.orderbox .user-right .nav .item.act{font-weight:bold;color:#222;border-bottom:4px solid #164D9A}.orderbox .user-right .list-table .tr{margin-bottom:10px}.orderbox .user-right .list-table .tr .w159{width:159px}.orderbox .user-right .list-table .tr .w98{width:98px}.orderbox .user-right .list-table .tr .w168{width:168px}.orderbox .user-right .list-table .tr .w189{width:189px}.orderbox .user-right .list-table .tr .w239{width:239px}.orderbox .user-right .list-table .tr .w150{width:150px}.orderbox .user-right .list-table .tr .titletr{height:48px;background:#DFEAFA;border-radius:4px 4px 0px 0px;font-size:14px;color:#555;padding:0 18px;line-height:48px}.orderbox .user-right .list-table .tr .titletr .ordersn{margin:0 40px}.orderbox .user-right .list-table .tr .titletr .fo{color:#F68332}.orderbox .user-right .list-table .tr .titletr .down{margin-left:30px;color:#555;cursor:pointer}.orderbox .user-right .list-table .tr .titletr .down:hover{color:#164D9A}.orderbox .user-right .list-table .tr .contr{background:#F7FAFF}.orderbox .user-right .list-table .tr .contr .th-group{height:39px;line-height:39px;padding:0 19px;border-bottom:1px solid #DFEAFA}.orderbox .user-right .list-table .tr .contr .th-group .th{font-size:14px;color:#333;font-weight:bold;box-sizing:border-box;padding-right:5px}.orderbox .user-right .list-table .tr .contr .td-group{padding:12px 19px}.orderbox .user-right .list-table .tr .contr .td-group .td{font-size:14px;color:#555;box-sizing:border-box;padding-right:5px;word-break:break-all}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi{width:96px;height:30px;background:#164D9A;border-radius:4px;color:#fff;font-size:14px;line-height:30px;text-align:center;cursor:pointer;box-sizing:border-box;margin-bottom:6px}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi.paybtn{background:#F68332}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi.cancelbtn{background:#fff;color:#555;border:1px solid #DFEAFA} .orderbox .search-shit{width:230px;height:32px;background:#FAFAFA;border:1px solid #DFEAFA;border-radius:8px;position:relative;top:-5px}.orderbox .search-shit span.icon{position:absolute;right:0px;top:-1px;width:50px;height:32px;background:#164D9A;text-align:center;line-height:32px;border-radius:0px 8px 8px 0px;cursor:pointer}.orderbox .search-shit span.icon i{font-size:18px;color:#fff}.orderbox .search-shit input{background:#fff;display:block;height:30px;line-height:30px;color:#333;padding-left:15px;width:182px}.orderbox .user-right{width:1024px;min-height:500px;background:#FFFFFF;padding:18px 12px}.orderbox .user-right .nav{width:950px;border-bottom:1px solid #DFEAFA;margin-bottom:16px}.orderbox .user-right .nav .item{height:38px;font-size:14px;color:#555;text-align:center;box-sizing:border-box;padding:0px 20px;cursor:pointer}.orderbox .user-right .nav .item .tt{width:80px}.orderbox .user-right .nav .item span{height:34px;line-height:38px}.orderbox .user-right .nav .item:first-child{line-height:38px}.orderbox .user-right .nav .item:last-child{line-height:38px}.orderbox .user-right .nav .item.act{font-weight:bold;color:#222;border-bottom:4px solid #164D9A}.orderbox .user-right .list-table .tr{margin-bottom:10px;cursor:pointer}.orderbox .user-right .list-table .tr .w159{width:189px}.orderbox .user-right .list-table .tr .w98{width:108px}.orderbox .user-right .list-table .tr .w168{width:168px}.orderbox .user-right .list-table .tr .w189{width:239px}.orderbox .user-right .list-table .tr .w239{width:309px}.orderbox .user-right .list-table .tr .w150{width:150px}.orderbox .user-right .list-table .tr .titletr{height:48px;background:#DFEAFA;border-radius:4px 4px 0px 0px;font-size:14px;color:#555;padding:0 18px;line-height:48px}.orderbox .user-right .list-table .tr .titletr .ordersn{margin:0 40px}.orderbox .user-right .list-table .tr .titletr .fo{color:#F68332}.orderbox .user-right .list-table .tr .titletr .down{margin-left:30px;color:#555;cursor:pointer}.orderbox .user-right .list-table .tr .titletr .down:hover{color:#164D9A}.orderbox .user-right .list-table .tr .contr{background:#F7FAFF}.orderbox .user-right .list-table .tr .contr .th-group{height:39px;line-height:39px;padding:0 19px;border-bottom:1px solid #DFEAFA}.orderbox .user-right .list-table .tr .contr .th-group .th{font-size:14px;color:#333;font-weight:bold;box-sizing:border-box;padding-right:5px}.orderbox .user-right .list-table .tr .contr .td-group{padding:12px 19px;line-height:20px}.orderbox .user-right .list-table .tr .contr .td-group .td{font-size:14px;color:#555;box-sizing:border-box;padding-right:5px;word-break:break-all}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi{width:96px;height:30px;background:#164D9A;border-radius:4px;color:#fff;font-size:14px;line-height:30px;text-align:center;cursor:pointer;box-sizing:border-box;margin-bottom:6px}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi.paybtn{background:#F68332}.orderbox .user-right .list-table .tr .contr .td-group .td .btnsi.cancelbtn{background:#fff;color:#555;border:1px solid #DFEAFA}.paybox .pcons{color:#fff;font-size:16px;line-height:30px;padding-left:30px;box-sizing:border-box}.paybox .pcons .h6{color:#F68332;font-weight:bold;font-size:18px}
\ No newline at end of file \ No newline at end of file
...@@ -8,14 +8,13 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio ...@@ -8,14 +8,13 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio
limit: 10, limit: 10,
init: function () { init: function () {
brandlist.handle(); brandlist.handle();
brandlist.pagehandle();
brandlist.getData() brandlist.getData()
}, },
getData: function () { getData: function () {
var data_ = { var data_ = {
page: brandlist.page, page: brandlist.page,
page_size: brandlist.limit, page_size: brandlist.limit,
"brand_name/like":$("#brandvalxsp").text() "brand_id/eq":$("#brandvalxsp").attr("guid")
} }
if ($(".eqsort").hasClass("act")) { if ($(".eqsort").hasClass("act")) {
data_["goods_name/eq"] = $(".mallbrandlistvalx").val() data_["goods_name/eq"] = $(".mallbrandlistvalx").val()
...@@ -49,7 +48,8 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio ...@@ -49,7 +48,8 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio
return return
} }
var json_ = { var json_ = {
data: dataArr data: dataArr,
brand_id:$("#brandvalxsp").attr("guid")
} }
var html = template('DataTmp', json_); var html = template('DataTmp', json_);
$(".data-td").html(html); $(".data-td").html(html);
...@@ -59,12 +59,21 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio ...@@ -59,12 +59,21 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio
}) })
//分页初始化 //分页初始化
$('.M-pagebox').pagination({ $('.M-pagebox').pagination({
coping: false,
homePage: '<<',
endPage: '>>',
totalData: res.data.total, totalData: res.data.total,
showData: res.data.page_size, showData: Number(res.data.page_size),
current: res.data.page coping: true,
prevContent: '<',
nextContent: '>',
jump: true,
jumpBtn:"Go",
keepShowPN:true,
current: Number(res.data.page),
isHide:true,
callback: function (api) {
brandlist.page=api.getCurrent()
brandlist.getData();
}
}); });
} else { } else {
tool.NoData(".data-td") tool.NoData(".data-td")
...@@ -97,31 +106,41 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio ...@@ -97,31 +106,41 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio
} }
brandlist.getData() brandlist.getData()
}) })
//copy
$("body").on("click", ".copyname", function () {
$("#domainxksearch").val($(this).attr("goods_name"));
var copyobject = document.getElementById("domainxksearch");
copyobject.select();
document.execCommand("Copy");
liexin_pop.Tip({ title: "Copy Success" })
})
//输入数量 //输入数量
$("body").on("input", '.valuepsearch', tool.debounce(function (e) { $("body").on("input", '.valuepSearch', tool.debounce(function (e) {
var num = $(this).val(); var num = $(this).val();
var max_num=Number($(this).attr("maxNum")); var max_num = Number($(this).attr("maxNum"));
var min_num=Number($(this).attr("minNum")); var min_num = Number($(this).attr("minNum"));
if(num>max_num){ if (num > max_num) {
$(this).val(max_num) $(this).val(max_num)
liexin_pop.Tip({ title: "At Most "+max_num }) liexin_pop.Tip({ title: "At Most " + max_num })
return return
} }
if(num<min_num){ if (num < min_num) {
$(this).val(min_num) $(this).val(min_num)
liexin_pop.Tip({ title: "At Least "+min_num }) liexin_pop.Tip({ title: "At Least " + min_num })
return return
} }
}, 300)) brandlist.onePriceRow($(this).parents(".td-group"))
}, 600))
//加购物车 //加购物车
$("body").on("click",".addCarsearch",function(){ $("body").on("click", ".addCarSearch", function () {
var data_=[{ var data_ = {
goods_id:$(this).attr("goods_id"), goods_id: $(this).attr("goods_id"),
buy_number:$(this).prev(".valuepsearch").val() buy_number: $(this).prev(".valuepSearch").val()
}] }
$.liexin_ajax('/api/cart/saveCart', 'POST', {items:JSON.stringify(data_)}, function (res) { $.liexin_ajax('/api/cart/saveCart', 'POST', data_, function (res) {
if (res.code == 0) { if (res.code == 0) {
liexin_pop.Tip({ title: res.msg }) liexin_pop.Tip({ title: res.msg })
tool.getCarNum() tool.getCarNum()
...@@ -173,24 +192,9 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio ...@@ -173,24 +192,9 @@ define('brandlist', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], functio
//计算合计价格 //计算合计价格
var ac_price = obj.find(".price-group.act").find(".jtpc").text().replace(/\s/g, "") var ac_price = obj.find(".price-group.act").find(".jtpcval").text()
obj.find(".totalrow").text(((ac_price * value_) || 0).toFixed(2)) obj.find(".totalrow").text(((ac_price * value_) || 0).toFixed(2))
}, },
pagehandle: function () {
$("body").on("click", ".M-pagebox a", function () {
if ($(this).attr("data-page")) {
brandlist.page = $(this).attr("data-page");
} else {
if ($(this).hasClass("prev")) {
brandlist.page = brandlist.page - 1;
} else if ($(this).hasClass("next")) {
brandlist.page = brandlist.page + 1;
}
}
brandlist.getData();
})
},
} }
module.exports = brandlist.init(); module.exports = brandlist.init();
}) })
......
define('car', ['tool', 'liexin_pop', 'artTemplate'], function (require, exports, module) {
var tool = require("tool");
var liexin_pop = require("liexin_pop");
var artTemplate = require("artTemplate");
var car = {
init: function () {
car.handle();
car.getData()
},
getData: function () {
$.liexin_ajax('/api/cart/cartLists', 'POST', {}, function (res) {
if (res.code == 0) {
var dataArr = res.data.lists || [];
$(".selectcount b").html(res.data.total || 0)
if (dataArr.length == 0) {
tool.NoData(".tbody")
return
}
var json_ = {
data: dataArr
}
var html = template('DataTmp', json_);
$(".tbody").html(html);
//阶梯价格 合计价格初始化
car.priceInit();
} else {
tool.NoData(".tbody")
liexin_pop.Tip({ title: res.msg })
}
})
},
priceInit:function(){
var pr=0;
var leng=0;
$(".tbody .check-group.act").each(function(){
var parents=$(this).parents(".tr")
if(!parents.hasClass("sxbox")){
leng++;
pr+=Number(parents.find(".rowxj").text())
}
})
$(".selectcount b").text(leng)
$(".goods_total").text(pr.toFixed(2))
$(".pay_total").text(pr.toFixed(2))
},
handle: function () {
//选中
$(".carbox").on("click",".check-group",function(){
if($(this).hasClass("selectall")){
if($(this).hasClass("act")){
$(".carbox .check-group").removeClass("act")
}else{
$(".carbox .check-group").addClass("act")
}
}else{
$(this).toggleClass("act")
}
car.priceInit();
})
//修改数量
$("body").on("input", '.valuep', tool.debounce(function (e) {
var num = $(this).val();
var parents=$(this).parents(".tr")
var max_num=Number($(this).attr("maxNum"));
var min_num=Number($(this).attr("minNum"));
if(num>max_num){
$(this).val(max_num)
liexin_pop.Tip({ title: "At Most "+max_num })
return
}
if(num<min_num){
$(this).val(min_num)
liexin_pop.Tip({ title: "At Least "+min_num })
return
}
var data_={
goods_id:$(this).attr("goods_id"),
buy_number:$(this).val()
}
$.liexin_ajax('/api/cart/saveCart', 'POST', data_, function (res) {
if (res.code == 0) {
liexin_pop.Tip({ title: res.msg },function(){
parents.find(".rowdj").text(res.data.buy_price)
parents.find(".rowxj").text(res.data.ext_price)
car.priceInit();
})
} else {
liexin_pop.Tip({ title: res.msg })
}
})
}, 300))
//删除购物车
$(".delcarsd").click(function(){
var arr_=[]
$(".tbody .check-group.act").each(function(){
var parents=$(this).parents(".tr")
if(!parents.hasClass("sxbox")){
arr_.push(parents.attr("cart_id"))
}
})
if(arr_.length==0){
liexin_pop.Tip({ title: "No Selected" })
return
}
liexin_pop.Confirm({title:"Are you sure to delete the cars",success:function(ele){
$.liexin_ajax('/api/cart/cartDelete', 'POST', {cart_id:arr_.join(",")}, function (res) {
if (res.code === 0) {
liexin_pop.Tip({ title: res.msg },function(){
car.getData()
})
} else {
liexin_pop.Tip({ title: res.msg })
}
})
}})
})
//下单
$(".createcarbtn").click(function(){
if (!tool.isLogin()) {
liexin_pop.LoginPop({},function(){
car.createOrder()
})
return
}
car.createOrder()
})
},
createOrder:function(){
var arr_=[]
$(".tbody .check-group.act").each(function(){
var parents=$(this).parents(".tr")
if(!parents.hasClass("sxbox")){
arr_.push(parents.attr("cart_id"))
}
})
if(arr_.length==0){
liexin_pop.Tip({ title: "No Data" })
return
}
tool.setCookie("car_xk", arr_.join(","), 1)
window.location.href="/confirm"
}
}
module.exports = car.init();
})
seajs.use(['car'])
\ No newline at end of file
...@@ -9,22 +9,21 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ...@@ -9,22 +9,21 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function
limit: 10, limit: 10,
init: function () { init: function () {
class_p.handle(); class_p.handle();
class_p.pagehandle();
class_p.getData() class_p.getData()
}, },
getData: function () { getData: function () {
var data_ = { var data_ = {
page: class_p.page, page: class_p.page,
page_size: class_p.limit, page_size: class_p.limit,
"class_id1/eq":$("#class_id_two").val(), "class_id1/eq": $("#class_id_two").val(),
"brand_name/like":$(".brandvals").val() "brand_name/like": $(".brandvals").val()
} }
if ($(".eqsort").hasClass("act")) { if ($(".eqsort").hasClass("act")) {
data_["goods_name/eq"] = $(".classsearchvals").val() data_["goods_name/eq"] = $(".classsearchvals").val()
} else { } else {
data_["goods_name/like"] = $(".classsearchvals").val() data_["goods_name/like"] = $(".classsearchvals").val()
} }
if($("#class_id_three").val()){ if ($("#class_id_three").val()) {
data_["class_id2/eq"] = $("#class_id_three").val() data_["class_id2/eq"] = $("#class_id_three").val()
} }
$.liexin_ajax(SO_URL + '/semour/skuLists', 'POST', data_, function (res) { $.liexin_ajax(SO_URL + '/semour/skuLists', 'POST', data_, function (res) {
...@@ -46,12 +45,21 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ...@@ -46,12 +45,21 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function
}) })
//分页初始化 //分页初始化
$('.M-pagebox').pagination({ $('.M-pagebox').pagination({
coping: false,
homePage: '<<',
endPage: '>>',
totalData: res.data.total, totalData: res.data.total,
showData: res.data.page_size, showData: Number(res.data.page_size),
current: res.data.page coping: true,
prevContent: '<',
nextContent: '>',
jump: true,
jumpBtn:"Go",
keepShowPN:true,
current: Number(res.data.page),
isHide:true,
callback: function (api) {
class_p.page=api.getCurrent()
class_p.getData();
}
}); });
} else { } else {
tool.NoData(".data-td") tool.NoData(".data-td")
...@@ -61,36 +69,38 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ...@@ -61,36 +69,38 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function
}, },
handle: function () { handle: function () {
//搜索BTN //搜索BTN
$(".searchbq").click(function(){ $(".searchbq").click(function () {
class_p.page=1;
class_p.getData() class_p.getData()
}) })
//重置 //重置
$(".resetst").click(function(){ $(".resetst").click(function () {
$(".classsearchvals").val(""); $(".classsearchvals").val("");
$(".eqsort").removeClass("act") $(".eqsort").removeClass("act")
}) })
//排序操作 //排序操作
$(".checksearchsz").click(function () { $(".checksearchsz").click(function () {
$(this).toggleClass("act") $(this).toggleClass("act")
class_p.page=1;
class_p.getData() class_p.getData()
}) })
//品牌匹配 //品牌匹配
$("body").on("input", '.brandvals', tool.debounce(function (e) { $("body").on("input", '.brandvals', tool.debounce(function (e) {
$(".brandvals").attr("guid","") $(".brandvals").attr("guid", "")
if(!$(this).val()){ if (!$(this).val()) {
$(".brand-box .bcon").hide(); $(".brand-box .bcon").hide();
return return
} }
$.liexin_ajax('/api/brand/list', 'GET', { brand_name: $(this).val() }, function (res) { $.liexin_ajax('/api/brand/list', 'GET', { brand_name: $(this).val() }, function (res) {
if (res.code == 0) { if (res.code == 0) {
var arr_=res.data||[]; var arr_ = res.data || [];
if(arr_.length==0){ if (arr_.length == 0) {
$(".brand-box .bcon").hide(); $(".brand-box .bcon").hide();
return return
} }
var html_=""; var html_ = "";
for(var i=0;i<arr_.length;i++){ for (var i = 0; i < arr_.length; i++) {
html_+='<p class="itembranssearch" guid="'+arr_[i].standard_brand_id+'">'+arr_[i].brand_name_en+'</p>' html_ += '<p class="itembranssearch" guid="' + arr_[i].standard_brand_id + '">' + arr_[i].brand_name_en + '</p>'
} }
$(".brand-box .bcon").html(html_).show() $(".brand-box .bcon").html(html_).show()
} else { } else {
...@@ -101,11 +111,20 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ...@@ -101,11 +111,20 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function
}, 300)) }, 300))
$("body").on("click",".itembranssearch",function(){ $("body").on("click", ".itembranssearch", function () {
$(".brandvals").val($(this).text()).attr("guid",$(this).attr("guid")) $(".brandvals").val($(this).text()).attr("guid", $(this).attr("guid"))
$(".brand-box .bcon").hide(); $(".brand-box .bcon").hide();
}) })
//copy
$("body").on("click", ".copyname", function () {
$("#domainxksearch").val($(this).attr("goods_name"));
var copyobject = document.getElementById("domainxksearch");
copyobject.select();
document.execCommand("Copy");
liexin_pop.Tip({ title: "Copy Success" })
})
//输入数量 //输入数量
$("body").on("input", '.valuepSearch', tool.debounce(function (e) { $("body").on("input", '.valuepSearch', tool.debounce(function (e) {
var num = $(this).val(); var num = $(this).val();
var max_num = Number($(this).attr("maxNum")); var max_num = Number($(this).attr("maxNum"));
...@@ -121,14 +140,16 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ...@@ -121,14 +140,16 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function
return return
} }
}, 300)) class_p.onePriceRow($(this).parents(".td-group"))
}, 600))
//加购物车 //加购物车
$("body").on("click", ".addCarSearch", function () { $("body").on("click", ".addCarSearch", function () {
var data_ = [{ var data_ = {
goods_id: $(this).attr("goods_id"), goods_id: $(this).attr("goods_id"),
buy_number: $(this).prev(".valuepSearch").val() buy_number: $(this).prev(".valuepSearch").val()
}] }
$.liexin_ajax('/api/cart/saveCart', 'POST', { items: JSON.stringify(data_) }, function (res) { $.liexin_ajax('/api/cart/saveCart', 'POST', data_, function (res) {
if (res.code == 0) { if (res.code == 0) {
liexin_pop.Tip({ title: res.msg }) liexin_pop.Tip({ title: res.msg })
tool.getCarNum() tool.getCarNum()
...@@ -180,26 +201,12 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ...@@ -180,26 +201,12 @@ define('class_p', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function
//计算合计价格 //计算合计价格
var ac_price = obj.find(".price-group.act").find(".jtpc").text().replace(/\s/g, "") var ac_price = obj.find(".price-group.act").find(".jtpcval").text()
obj.find(".totalrow").text(((ac_price * value_) || 0).toFixed(2)) obj.find(".totalrow").text(((ac_price * value_) || 0).toFixed(2))
}, },
pagehandle: function () {
$("body").on("click", ".M-pagebox a", function () {
if ($(this).attr("data-page")) {
class_p.page = $(this).attr("data-page");
} else {
if ($(this).hasClass("prev")) {
class_p.page = class_p.page - 1;
} else if ($(this).hasClass("next")) {
class_p.page = class_p.page + 1;
} }
}
class_p.getData();
})
}, module.exports = class_p.init();
}
module.exports = class_p.init();
}) })
......
...@@ -8,9 +8,9 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ( ...@@ -8,9 +8,9 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (
limit: 10, limit: 10,
init: function () { init: function () {
search.handle(); search.handle();
search.pagehandle();
search.getData() search.getData()
}, },
getData: function () { getData: function () {
var data_ = { var data_ = {
page: search.page, page: search.page,
...@@ -40,6 +40,7 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ( ...@@ -40,6 +40,7 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (
} }
} }
$.liexin_ajax(SO_URL + '/semour/skuLists', 'POST', data_, function (res) { $.liexin_ajax(SO_URL + '/semour/skuLists', 'POST', data_, function (res) {
console.log(res)
if (res.code == 0) { if (res.code == 0) {
var dataArr = res.data.lists || []; var dataArr = res.data.lists || [];
$(".searchCount").html(res.data.total || 0) $(".searchCount").html(res.data.total || 0)
...@@ -58,12 +59,21 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ( ...@@ -58,12 +59,21 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (
}) })
//分页初始化 //分页初始化
$('.M-pagebox').pagination({ $('.M-pagebox').pagination({
coping: false,
homePage: '<<',
endPage: '>>',
totalData: res.data.total, totalData: res.data.total,
showData: res.data.page_size, showData: Number(res.data.page_size),
current: res.data.page coping: true,
prevContent: '<',
nextContent: '>',
jump: true,
jumpBtn:"Go",
keepShowPN:true,
current: Number(res.data.page),
isHide:true,
callback: function (api) {
search.page=api.getCurrent()
search.getData();
}
}); });
} else { } else {
tool.NoData(".data-td") tool.NoData(".data-td")
...@@ -75,6 +85,7 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ( ...@@ -75,6 +85,7 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (
//排序操作 //排序操作
$(".checksearchsz").click(function () { $(".checksearchsz").click(function () {
$(this).toggleClass("act") $(this).toggleClass("act")
search.page=1;
search.getData() search.getData()
}) })
...@@ -90,8 +101,18 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ( ...@@ -90,8 +101,18 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (
$(this).removeClass("bottom") $(this).removeClass("bottom")
} }
} }
search.page=1;
search.getData() search.getData()
}) })
//copy
$("body").on("click",".copyname",function(){
$("#domainxksearch").val($(this).attr("goods_name"));
var copyobject = document.getElementById("domainxksearch");
copyobject.select();
document.execCommand("Copy");
liexin_pop.Tip({ title: "Copy Success"})
})
//输入数量 //输入数量
$("body").on("input", '.valuepSearch', tool.debounce(function (e) { $("body").on("input", '.valuepSearch', tool.debounce(function (e) {
...@@ -109,14 +130,16 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ( ...@@ -109,14 +130,16 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (
return return
} }
}, 300)) search.onePriceRow($(this).parents(".td-group"))
}, 600))
//加购物车 //加购物车
$("body").on("click",".addCarSearch",function(){ $("body").on("click",".addCarSearch",function(){
var data_=[{ var data_={
goods_id:$(this).attr("goods_id"), goods_id:$(this).attr("goods_id"),
buy_number:$(this).prev(".valuepSearch").val() buy_number:$(this).prev(".valuepSearch").val()
}] }
$.liexin_ajax('/api/cart/saveCart', 'POST', {items:JSON.stringify(data_)}, function (res) { $.liexin_ajax('/api/cart/saveCart', 'POST',data_, function (res) {
if (res.code == 0) { if (res.code == 0) {
liexin_pop.Tip({ title: res.msg }) liexin_pop.Tip({ title: res.msg })
tool.getCarNum() tool.getCarNum()
...@@ -168,24 +191,9 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function ( ...@@ -168,24 +191,9 @@ define('search', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (
//计算合计价格 //计算合计价格
var ac_price = obj.find(".price-group.act").find(".jtpc").text().replace(/\s/g, "") var ac_price = obj.find(".price-group.act").find(".jtpcval").text();
obj.find(".totalrow").text(((ac_price * value_) || 0).toFixed(2)) obj.find(".totalrow").text(((ac_price * value_) || 0).toFixed(2))
}, },
pagehandle: function () {
$("body").on("click", ".M-pagebox a", function () {
if ($(this).attr("data-page")) {
search.page = $(this).attr("data-page");
} else {
if ($(this).hasClass("prev")) {
search.page = search.page - 1;
} else if ($(this).hasClass("next")) {
search.page = search.page + 1;
}
}
search.getData();
})
},
} }
module.exports = search.init(); module.exports = search.init();
}) })
......
...@@ -199,7 +199,7 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi ...@@ -199,7 +199,7 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi
if (guid_) { if (guid_) {
//编辑逻辑 //编辑逻辑
$(".addressPop").find(".addressPopBtn").attr("guid",guid_) $(".addressPop").find(".addressPopBtn").attr("guid",guid_)
getAddressDetail(guid_) account.getAddressDetail(guid_)
} }
} }
}) })
...@@ -287,7 +287,7 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi ...@@ -287,7 +287,7 @@ define('account', ['tool', 'liexin_pop', 'form', 'artTemplate'], function (requi
} }
$(".addressPop .email6").val(res.data.email) $(".addressPop .email6").val(res.data.email)
$(".addressPop .telephone6").val(res.data.phone) $(".addressPop .telephone6").val(res.data.phone)
$(".addressPop .country6").val(res.data.country).attr(res.data.country) $(".addressPop .country6").val(res.data.country).attr("guid",res.data.country_id)
$(".addressPop .last_name6").val(res.data.last_name) $(".addressPop .last_name6").val(res.data.last_name)
$(".addressPop .first_name6").val(res.data.first_name) $(".addressPop .first_name6").val(res.data.first_name)
$(".addressPop .company_name6").val(res.data.company_name) $(".addressPop .company_name6").val(res.data.company_name)
......
define('order', ['tool', 'liexin_pop', 'artTemplate', 'pagination'], function (require, exports, module) {
var tool = require("tool");
var liexin_pop = require("liexin_pop");
var artTemplate = require("artTemplate");
var pagination = require('pagination');
var order = {
page: 1,
limit: 5,
bankInfo:"",
init: function () {
order.handle();
order.getData()
},
getData: function () {
var data_ = {
page: order.page,
page_size: order.limit,
status: $(".user-right .nav .item.act").attr("guid"),
goods_name: $(".userOrderS").val()
}
$.liexin_ajax('/api/order/orderLists', 'POST', data_, function (res) {
if (res.code == 0) {
var dataArr = res.data.lists || [];
var order_count_=res.data.order_count;
order.bankInfo=res.data.bank_info;
for(let key in order_count_){
$(".user-right .nav .item[guid='"+key+"'] span").text("("+order_count_[key]+")")
}
if (dataArr.length == 0) {
tool.NoData(".orderdataboxs")
return
}
var json_ = {
data: dataArr
}
var html = template('DataTmp', json_);
$(".orderdataboxs").html(html);
//分页初始化
$('.M-pagebox').pagination({
totalData: res.data.total,
showData: Number(res.data.page_size),
coping: true,
prevContent: '<',
nextContent: '>',
jump: true,
jumpBtn: "Go",
keepShowPN: true,
current: Number(res.data.page),
isHide: true,
callback: function (api) {
order.page = api.getCurrent()
order.getData();
}
});
} else {
tool.NoData(".orderdataboxs")
liexin_pop.Tip({ title: res.msg })
}
})
},
handle: function () {
$("body").on("click",".trgo",function(e){
e.stopPropagation()
window.location.href=$(this).attr("data-href")
})
//搜索BTN
$(".ordersearchbtnsas").click(function () {
order.page=1;
order.getData()
})
//tab
$(".user-right .nav .item").click(function(){
$(".user-right .nav .item").removeClass("act")
$(this).addClass("act")
order.page=1;
order.getData()
})
//取消
$("body").on("click",".cancelbtn",function(e){
e.stopPropagation()
var guid_=$(this).attr("guid")
liexin_pop.Confirm({
title: "Are you sure to cancel the order?", success: function (ele) {
$.liexin_ajax('/api/order/cancelOrder', 'POST', { order_id: guid_ }, function (res) {
if (res.code === 0) {
ele.fadeOut(300)
liexin_pop.Tip({ title: res.msg },function(){
order.getData()
})
} else {
liexin_pop.Tip({ title: res.msg })
}
})
}
})
})
$("body").on("click",".paybtn",function(e){
e.stopPropagation()
var self=$(this);
liexin_pop.Open({
title:"Payment",
width:766,
ele:".payDetailPop",
success:function(){
$(".paypal").text(order.bankInfo.paypal)
$(".ttl_bank_name").text(order.bankInfo.ttl_bank_name)
$(".ttl_bank_address").text(order.bankInfo.ttl_bank_address)
$(".ttl_swift_code").text(order.bankInfo.ttl_swift_code)
$(".ttl_company_name").text(order.bankInfo.ttl_company_name)
$(".ttl_account_no").text(order.bankInfo.ttl_account_no)
$(".merchandise_pay").text(self.attr("merchandise_pay"))
$(".shipping_pay").text(self.attr("shipping_pay"))
$(".ps_pay").text(self.attr("ps_pay"))
$(".goods_num_pay").text(self.attr("goods_num_pay"))
$(".subtotal_pay").text(self.attr("subtotal_pay"))
}
})
})
$("body").on("click",".check-group-payp",function(){
$(".check-group-payp").removeClass("act")
$(this).addClass("act")
$(".payDetailPop .zftai").hide();
if($(this).attr("guid")==1){
$(".payDetailPop .ppbox").show();
}else{
$(".payDetailPop .ttbox").show();
}
})
},
}
module.exports = order.init();
})
seajs.use(['order'])
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
@endsection @endsection
@section('body') @section('body')
<textarea id="domainxksearch" style="position: fixed;right:9999px;"></textarea>
<div class="mallpage"> <div class="mallpage">
@include('common.mallHeaderTop') @include('common.mallHeaderTop')
@include('common.mallHeaderNav') @include('common.mallHeaderNav')
...@@ -78,7 +79,7 @@ ...@@ -78,7 +79,7 @@
</div> </div>
<div class="M-pagebox"></div> <div class="M-pagebox row rowCenter"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -93,7 +94,7 @@ ...@@ -93,7 +94,7 @@
{{each data value index}} {{each data value index}}
<div class="td-group boxsiz row" goods_id="{{value.goods_id}}"> <div class="td-group boxsiz row" goods_id="{{value.goods_id}}">
<div class="td w180"> <div class="td w180">
<a href="/sku/{{value.goods_id}}" class="goodsname">{{value.goods_name}}</a> <a href="/sku/{{value.goods_id}}?brand_id={{brand_id}}" class="goodsname">{{value.goods_name}}</a>
<div class="copyname" goods_name="{{value.goods_name}}"> <div class="copyname" goods_name="{{value.goods_name}}">
<i class="icon iconfont icon-fuzhi"></i> <i class="icon iconfont icon-fuzhi"></i>
</div> </div>
...@@ -109,13 +110,13 @@ ...@@ -109,13 +110,13 @@
<div> Min:{{value.moq}} <span class="mult">Mult:{{value.mult}} </span></div> <div> Min:{{value.moq}} <span class="mult">Mult:{{value.mult}} </span></div>
<div> Full Reel:{{value.mpq}} </div> <div> Full Reel:{{value.mpq}} </div>
</div> </div>
<div class="td w140">{{value.hk_delivery_time||"&nbsp;"}}</div> <div class="td w140">{{value.hk_delivery_time||" "}}</div>
<div class="th w180"> <div class="th w180">
<div class="price-jt"> <div class="price-jt">
{{each value['ladder_price'] val i}} {{each value['ladder_price'] val i}}
<div class="price-group row" purchases="{{val.purchases}}"> <div class="price-group row" purchases="{{val.purchases}}">
<div class="jtpr">{{val.purchases}}+</div> <div class="jtpr">{{val.purchases}}+</div>
<div class="jtpc">${{val.price_us}}</div> <div class="jtpc">$<span class="jtpcval">{{val.price_us}}</span></div>
</div> </div>
{{/each}} {{/each}}
{{if !value['ladder_price']|| value['ladder_price'].length==0}} {{if !value['ladder_price']|| value['ladder_price'].length==0}}
...@@ -125,7 +126,7 @@ ...@@ -125,7 +126,7 @@
</div> </div>
<div class="td"> <div class="td">
<div class="input-box "> <div class="input-box ">
<input type="text" class="valuep valuepSearch" minNum="{{value.moq}}" maxNum="{{value.max_buy_stock}}" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"> <input type="text" class="valuep valuepSearch" minNum="{{value.moq}}" value="{{value.moq}}" maxNum="{{value.max_buy_stock}}" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}">
<div class="addCar addCarSearch" goods_id="{{value.goods_id}}">Add</div> <div class="addCar addCarSearch" goods_id="{{value.goods_id}}">Add</div>
</div> </div>
<div class="total-price"> <div class="total-price">
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
<div class="ttl">{{$key}}</div> <div class="ttl">{{$key}}</div>
<div class="ttc row boxsiz"> <div class="ttc row boxsiz">
@foreach ($item as $itemchild) @foreach ($item as $itemchild)
<a href="/brand/{{$itemchild['standard_brand_id']}}" target="_blank">{{$itemchild['brand_name_en']}}</a> <a href="/brand/{{$itemchild['standard_brand_id']}}" >{{$itemchild['brand_name_en']}}</a>
@endforeach @endforeach
</div> </div>
</div> </div>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div class="list-table"> <div class="list-table">
<div class="thead row boxsiz"> <div class="thead row boxsiz">
<div class="th row verCenter w46"> <div class="th row verCenter w46">
<div class="check-group row verCenter act"> <div class="check-group selectall row verCenter act">
<div class="check"> <div class="check">
<i class="icon iconfont icon-gou"></i> <i class="icon iconfont icon-gou"></i>
</div> </div>
...@@ -36,68 +36,23 @@ ...@@ -36,68 +36,23 @@
<div class="th">Ext. Price</div> <div class="th">Ext. Price</div>
</div> </div>
<div class="tbody boxsiz"> <div class="tbody boxsiz">
<div class="tr row">
<div class="td w46">
<div class="check-group row verCenter act">
<div class="check">
<i class="icon iconfont icon-gou"></i>
</div>
<span>1</span>
</div>
</div>
<div class="td w98">STTH1L06A</div>
<div class="td w183">Manufacturers:Yageo</div>
<div class="td w119">2-5 workdays</div>
<div class="td w93">
<input type="text" class="valuep" value="100">
</div>
<div class="td w110">10000</div>
<div class="td w92">$0.0011</div>
<div class="td">$0.11</div>
</div>
<div class="tr row sxbox">
<div class="td w46">
<div class="check-group row verCenter act">
<div class="check">
<i class="icon iconfont icon-gou"></i>
</div>
<span>2</span>
</div>
</div>
<div class="td w98">
STTH1L06A
<div class="pdf">
<i class="icon iconfont icon-PDF"></i>
</div>
</div>
<div class="td w183">
Manufacturers:Yageo
<div class="sx">Invalid Model</div>
</div>
<div class="td w119">2-5 workdays</div>
<div class="td w93">
<input type="text" class="valuep" value="100">
</div>
<div class="td w110">10000</div>
<div class="td w92">$0.0011</div>
<div class="td">$0.11</div>
</div>
</div> </div>
<div class="tfoot boxsiz"> <div class="tfoot boxsiz">
<div class="tr row"> <div class="tr row">
<div class="td"> <div class="td">
<div class="check-group row verCenter act"> <div class="check-group row verCenter selectall act">
<div class="check"> <div class="check">
<i class="icon iconfont icon-gou"></i> <i class="icon iconfont icon-gou"></i>
</div> </div>
<span class="fw selectall">Select All</span> <span class="fw ">Select All</span>
</div> </div>
</div> </div>
<div class="td selectcount"> <div class="td selectcount">
<b class="fw">2 </b>Items Selected <b class="fw">0 </b>Items Selected
</div> </div>
<div class="td"> <div class="td">
<div class="del">Delete</div> <div class="del delcarsd">Delete</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -107,24 +62,24 @@ ...@@ -107,24 +62,24 @@
<div class="top boxsiz"> <div class="top boxsiz">
<div class="itemsp row bothSide"> <div class="itemsp row bothSide">
<span>Merchandise Total</span> <span>Merchandise Total</span>
<span>$509.71</span> <span>$<span class="goods_total">0.00</span></span>
</div> </div>
<div class="itemsp row bothSide"> <!-- <div class="itemsp row bothSide">
<span>Shipping</span> <span>Shipping</span>
<span>TBC</span> <span>TBC</span>
</div> </div>
<div class="itemsp row bothSide"> <div class="itemsp row bothSide">
<span>Merchant Fee</span> <span>Merchant Fee</span>
<span>TBC</span> <span>TBC</span>
</div> </div> -->
<div class="itemsp row bothSide"> <div class="itemsp row bothSide">
<span>Subtotal</span> <span>Subtotal</span>
<span>$559.71</span> <span>$<span class="pay_total">0.00</span></span>
</div> </div>
</div> </div>
<div class="create">Place Order</div> <div class="create createcarbtn">Place Order</div>
<div class="lgtips"> <div class="lgtips">
Already Registered? <a href="/login">Log In</a> Already Registered? <a href="/login?referer={{\Illuminate\Support\Facades\URL::current()}}">Log In</a>
</div> </div>
<a href="javascript:void(0)" class="bannerc"> <a href="javascript:void(0)" class="bannerc">
<img src="{{$public}}/assets/images/car/carbanner.png" alt=""> <img src="{{$public}}/assets/images/car/carbanner.png" alt="">
...@@ -137,6 +92,44 @@ ...@@ -137,6 +92,44 @@
</div> </div>
@endsection @endsection
@verbatim
<script id="DataTmp" type="text/html">
{{each data value index}}
<div class="tr row {{if value.status==-1}}sxbox{{/if}}" cart_id="{{value.cart_id}}">
<div class="td w46">
<div class="check-group row verCenter act">
<div class="check">
<i class="icon iconfont icon-gou"></i>
</div>
<span>{{index+1}}</span>
</div>
</div>
<div class="td w98">
{{value.goods_name}}
{{if value.pdf}}
<a class="pdf" href="{{value.pdf}}" target="_blank"><i class="icon iconfont icon-PDF"></i></a>
{{/if}}
</div>
<div class="td w183">
Manufacturers:{{value.brand_name}}
{{if value.status==-1}}
<div class="sx">Invalid Model</div>
{{/if}}
</div>
<div class="td w119">{{value.hk_delivery_time}}</div>
<div class="td w93">
<input type="text" class="valuep" goods_id="{{value.goods_id}}" minNum="{{value.moq}}" maxNum="{{value.max_buy_stock}}" value="{{value.buy_number}}" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}">
</div>
<div class="td w110">{{value.stock}}</div>
<div class="td w92">$<span class="rowdj">{{value.buy_price}}</span></div>
<div class="td">$<span class="rowxj">{{value.ext_price}}</span></div>
</div>
{{/each}}
</script>
@endverbatim
@section('js') @section('js')
<script src="{{$public}}/assets/js/car/car.js?v={{time()}}"></script> <script src="{{$public}}/assets/js/car/car.js?v={{time()}}"></script>
@endsection @endsection
\ No newline at end of file
...@@ -9,39 +9,35 @@ ...@@ -9,39 +9,35 @@
@include('common.mallHeaderNav') @include('common.mallHeaderNav')
<div class="confirmbox w1200"> <div class="confirmbox w1200">
<div class="back row verCenter"> <div class="back row verCenter">
<a href=""> <a href="javascript:history.go(-1)">
<i class="icon iconfont icon-fanhui"></i> <i class="icon iconfont icon-fanhui"></i>
<span>Back to Previous Page</span> <span>Back to Previous Page</span>
</a> </a>
</div> </div>
<div class="cons"> <div class="cons">
<div class="top"> <div class="top">
<div class="head row verCenter boxsiz">Shipping Address</div> <div class="head row verCenter boxsiz">Shipping Address</div>
<div class="address-group ship"> <div class="address-group ship">
<div class="info row"> <div class="xrdata">
<span class="name">Michael Jordan</span>
<span class="app">Apple inc</span>
<span class="email">123456789@qq.com</span>
<span>000-000-000-XXXX</span>
</div>
<div class="addre row">
<span>79, 105 Center Street, Queens, New York City</span>
<span class="defaults">Default address</span>
</div> </div>
<div class="handle-box row"> <div class="handle-box row">
<div class="bts choosebtadress">Choose Another Address</div> <div class="bts choosebtadress" guid="1">Choose Another Address</div>
<div class="bts popaddressbtn addbtn" guid="1">Add Address</div> <div class="bts popaddressbtn addbtn" guid="1">Add Address</div>
</div> </div>
<div class="edit row"> <div class="edit row editboxcs" style="display:none;">
<div class="bt popaddressbtn editbtn" guid="1">Modify</div> <div class="bt popaddressbtn editbtn" guid="1">Modify</div>
<div class="bt delbtn">Delete</div> <div class="bt delbtn ">Delete</div>
</div> </div>
</div> </div>
<div class="address-group bill"> <div class="address-group bill">
<div class="row choose verCenter"> <div class="row choose verCenter">
Billing Address Billing Address
</div> </div>
<div class="info row"> <div class="xrdata">
<!-- <div class="info row">
<span class="name">Michael Jordan</span> <span class="name">Michael Jordan</span>
<span class="app">Apple inc</span> <span class="app">Apple inc</span>
<span class="email">123456789@qq.com</span> <span class="email">123456789@qq.com</span>
...@@ -49,9 +45,11 @@ ...@@ -49,9 +45,11 @@
</div> </div>
<div class="addre row"> <div class="addre row">
<span>79, 105 Center Street, Queens, New York City</span> <span>79, 105 Center Street, Queens, New York City</span>
</div> -->
</div> </div>
<div class="handle-box row"> <div class="handle-box row">
<div class="bts choosebtadress">Choose Another Address</div> <div class="bts choosebtadress" guid="2">Choose Another Address</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -72,70 +70,15 @@ ...@@ -72,70 +70,15 @@
<div class="th w120">Ext. Price</div> <div class="th w120">Ext. Price</div>
<div class="th">Remark</div> <div class="th">Remark</div>
</div> </div>
<div class="tbody boxsiz"> <div class="tbody boxsiz tbodycars">
<div class="tr row">
<div class="td w70">
1
</div>
<div class="td w184">STTH1L06A</div>
<div class="td w176">Manufacturers:Yageo</div>
<div class="td w153">2-5 workdays</div>
<div class="td w116">
100
</div>
<div class="td w123">10000</div>
<div class="td w120">$0.0011</div>
<div class="td">
<input type="text" value="55555">
</div>
</div>
<div class="tr row sxbox">
<div class="td w70">
2
</div>
<div class="td w184">
STTH1L06A
<div class="pdf">
<i class="icon iconfont icon-PDF"></i>
</div>
</div>
<div class="td w176">
Manufacturers:Yageo
<div class="sx">Invalid Model</div>
</div>
<div class="td w153">2-5 workdays</div>
<div class="td w116">
100
</div>
<div class="td w123">10000</div>
<div class="td w120">$0.0011</div>
<div class="td">
<input type="text" value="55555">
</div>
</div>
<div class="tr row">
<div class="td w70">
1
</div>
<div class="td w184">STTH1L06A</div>
<div class="td w176">Manufacturers:Yageo</div>
<div class="td w153">2-5 workdays</div>
<div class="td w116">
100
</div>
<div class="td w123">10000</div>
<div class="td w120">$0.0011</div>
<div class="td">
<input type="text" value="55555">
</div>
</div>
</div> </div>
</div> </div>
<div class="jsInfo boxsiz"> <div class="jsInfo boxsiz">
<div class="row jsitem notip"> <div class="row jsitem notip">
<div class="tcon row bothSide"> <div class="tcon row bothSide">
<span class="tt">Merchandise Total</span> <span class="tt">Merchandise Total</span>
<span class="price">$509.71</span> <span class="price">$<span class="goods_total">0.00</span></span>
</div> </div>
</div> </div>
<div class="row jsitem"> <div class="row jsitem">
...@@ -164,13 +107,13 @@ ...@@ -164,13 +107,13 @@
</div> </div>
<div class="row jsitem notip"> <div class="row jsitem notip">
<div class="tcon row bothSide"> <div class="tcon row bothSide">
<span class="tt">Subtotal(3 item)</span> <span class="tt">Subtotal(<b class="selectcount">0</b> item)</span>
<span class="total f-red">$509.71</span> <span class="total f-red">$<span class="pay_total">0.00</span></span>
</div> </div>
</div> </div>
</div> </div>
<div class="submit">Place Order</div> <div class="submit ordercreates">Place Order</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -269,40 +212,55 @@ ...@@ -269,40 +212,55 @@
<div class="list-table"> <div class="list-table">
<div class="thead row boxsiz"> <div class="thead row boxsiz">
<div class="th w45">NO.</div> <div class="th w45">NO.</div>
<div class="th w130">Part NO.</div>
<div class="th w210">NAME</div> <div class="th w210">NAME</div>
<div class="th w153">COMPANY NAME</div> <div class="th w153">COMPANY NAME</div>
<div class="th w148">EMAIL</div> <div class="th w148">EMAIL</div>
<div class="th w122">TELEPHONE</div> <div class="th w122">TELEPHONE</div>
<div class="th w150">ADDRESS</div> <div class="th w150">ADDRESS</div>
</div> </div>
<div class="tbody boxsiz scrollbar"> <div class="tbody choosetbodys boxsiz scrollbar">
<div class="tr row boxsiz">
<div class="td w45">1</div> </div>
<div class="td w130">STTH1L06A</div>
<div class="td w210">Manufacturers:Yageo</div>
<div class="td w153">2-5 workdays</div>
<div class="td w148"> 100</div>
<div class="td w122">10000</div>
<div class="td w150">asasd </div>
</div>
<div class="tr act row boxsiz">
<div class="td w45">1</div>
<div class="td w130">STTH1L06A</div>
<div class="td w210">Manufacturers:Yageo</div>
<div class="td w153">2-5 workdays</div>
<div class="td w148"> 100</div>
<div class="td w122">10000</div>
<div class="td w150">asasd </div>
</div> </div>
<div class="choosesubmit">Confirm</div>
</div>
@endsection
@verbatim
<script id="DataTmp" type="text/html">
{{each data value index}}
<div class="tr row {{if value.status==-1}}sxbox{{/if}}" cart_id="{{value.cart_id}}" numcar="{{value.buy_number}}" goods_id="{{value.goods_id}}">
<div class="td w70">
{{index+1}}
</div> </div>
<div class="td w184">
{{value.goods_name}}
{{if value.pdf}}
<a class="pdf" href="{{value.pdf}}" target="_blank"><i class="icon iconfont icon-PDF"></i></a>
{{/if}}
</div>
<div class="td w176">
Manufacturers:{{value.brand_name}}
{{if value.status==-1}}
<div class="sx">Invalid Model</div>
{{/if}}
</div>
<div class="td w153">{{value.hk_delivery_time}}</div>
<div class="td w116 numcar">
{{value.buy_number}}
</div>
<div class="td w123">$<span class="rowdj">{{value.buy_price}}</span></div>
<div class="td w120">$<span class="rowxj">{{value.ext_price}}</span></div>
<div class="td">
<input type="text" value="" class="remarkcar">
</div> </div>
<div class="choosesubmit">Confirm</div>
</div> </div>
@endsection
{{/each}}
</script>
@endverbatim
@section('js') @section('js')
<script src="{{$public}}/assets/js/car/confirm.js?v={{time()}}"></script> <script src="{{$public}}/assets/js/car/confirm.js?v={{time()}}"></script>
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
@endsection @endsection
@section('body') @section('body')
<textarea id="domainxksearch" style="position: fixed;right:9999px;"></textarea>
<div class="mallpage"> <div class="mallpage">
@include('common.mallHeaderTop') @include('common.mallHeaderTop')
@include('common.mallHeaderNav') @include('common.mallHeaderNav')
...@@ -27,7 +28,7 @@ ...@@ -27,7 +28,7 @@
<div class="csec boxsiz clear"> <div class="csec boxsiz clear">
@foreach($classification['children'] as $class) @foreach($classification['children'] as $class)
<a href="/class/{{$class['class_id']}}">{{$class['class_name_en']}}({{$class['sku_number']}})</a> <a href="/class/{{$class['class_id']}}" >{{$class['class_name_en']}}({{$class['sku_number']}})</a>
@endforeach @endforeach
</div> </div>
</div> </div>
...@@ -77,7 +78,7 @@ ...@@ -77,7 +78,7 @@
</div> </div>
<div class="data-td"> <div class="data-td">
</div> </div>
<div class="M-pagebox"></div> <div class="M-pagebox row rowCenter"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -108,13 +109,13 @@ ...@@ -108,13 +109,13 @@
<div> Min:{{value.moq}} <span class="mult">Mult:{{value.mult}} </span></div> <div> Min:{{value.moq}} <span class="mult">Mult:{{value.mult}} </span></div>
<div> Full Reel:{{value.mpq}} </div> <div> Full Reel:{{value.mpq}} </div>
</div> </div>
<div class="td w140">{{value.hk_delivery_time||"&nbsp;"}}</div> <div class="td w140">{{value.hk_delivery_time||" "}}</div>
<div class="th w180"> <div class="th w180">
<div class="price-jt"> <div class="price-jt">
{{each value['ladder_price'] val i}} {{each value['ladder_price'] val i}}
<div class="price-group row" purchases="{{val.purchases}}"> <div class="price-group row" purchases="{{val.purchases}}">
<div class="jtpr">{{val.purchases}}+</div> <div class="jtpr">{{val.purchases}}+</div>
<div class="jtpc">${{val.price_us}}</div> <div class="jtpc">$<span class="jtpcval">{{val.price_us}}</span></div>
</div> </div>
{{/each}} {{/each}}
{{if !value['ladder_price']|| value['ladder_price'].length==0}} {{if !value['ladder_price']|| value['ladder_price'].length==0}}
...@@ -124,7 +125,7 @@ ...@@ -124,7 +125,7 @@
</div> </div>
<div class="td"> <div class="td">
<div class="input-box "> <div class="input-box ">
<input type="text" class="valuep valuepSearch" minNum="{{value.moq}}" maxNum="{{value.max_buy_stock}}" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"> <input type="text" class="valuep valuepSearch" minNum="{{value.moq}}" value="{{value.moq}}" maxNum="{{value.max_buy_stock}}" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}">
<div class="addCar addCarSearch" goods_id="{{value.goods_id}}">Add</div> <div class="addCar addCarSearch" goods_id="{{value.goods_id}}">Add</div>
</div> </div>
<div class="total-price"> <div class="total-price">
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<div class="mallpage"> <div class="mallpage">
@include('common.mallHeaderTop') @include('common.mallHeaderTop')
@include('common.mallHeaderNav') @include('common.mallHeaderNav')
<textarea id="domainxksearch" style="position: fixed;right:9999px;"></textarea>
<div class="searchbox w1200"> <div class="searchbox w1200">
<div class="bread-menu row boxsiz"> <div class="bread-menu row boxsiz">
<a href="/mall">Home</a> <a href="/mall">Home</a>
...@@ -71,7 +72,7 @@ ...@@ -71,7 +72,7 @@
</div> </div>
<div class="M-pagebox"></div> <div class="M-pagebox row rowCenter"></div>
</div> </div>
</div> </div>
</div> </div>
...@@ -103,13 +104,13 @@ ...@@ -103,13 +104,13 @@
<div> Min:{{value.moq}} <span class="mult">Mult:{{value.mult}} </span></div> <div> Min:{{value.moq}} <span class="mult">Mult:{{value.mult}} </span></div>
<div> Full Reel:{{value.mpq}} </div> <div> Full Reel:{{value.mpq}} </div>
</div> </div>
<div class="td w140">{{value.hk_delivery_time||"&nbsp;"}}</div> <div class="td w140">{{value.hk_delivery_time||" "}}</div>
<div class="th w180"> <div class="th w180">
<div class="price-jt"> <div class="price-jt">
{{each value['ladder_price'] val i}} {{each value['ladder_price'] val i}}
<div class="price-group row" purchases="{{val.purchases}}"> <div class="price-group row" purchases="{{val.purchases}}">
<div class="jtpr">{{val.purchases}}+</div> <div class="jtpr">{{val.purchases}}+</div>
<div class="jtpc">${{val.price_us}}</div> <div class="jtpc">$<span class="jtpcval">{{val.price_us}}</span></div>
</div> </div>
{{/each}} {{/each}}
{{if !value['ladder_price']|| value['ladder_price'].length==0}} {{if !value['ladder_price']|| value['ladder_price'].length==0}}
...@@ -119,7 +120,7 @@ ...@@ -119,7 +120,7 @@
</div> </div>
<div class="td"> <div class="td">
<div class="input-box "> <div class="input-box ">
<input type="text" class="valuep valuepSearch" minNum="{{value.moq}}" maxNum="{{value.max_buy_stock}}" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"> <input type="text" class="valuep valuepSearch" minNum="{{value.moq}}" value="{{value.moq}}" maxNum="{{value.max_buy_stock}}" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}">
<div class="addCar addCarSearch" goods_id="{{value.goods_id}}">Add</div> <div class="addCar addCarSearch" goods_id="{{value.goods_id}}">Add</div>
</div> </div>
<div class="total-price"> <div class="total-price">
......
...@@ -29,17 +29,17 @@ ...@@ -29,17 +29,17 @@
<div class="nav row inuirynavs"> <div class="nav row inuirynavs">
<div class="item act " guid=""> <div class="item act " guid="">
<div class="row rowCenter"> <div class="row rowCenter">
<div>All</div><span>(2)</span> <div>All</div><span>({{$statusCount['all']}})</span>
</div> </div>
</div> </div>
<div class="item " guid="0"> <div class="item " guid="0">
<div class="row rowCenter"> <div class="row rowCenter">
<div>Pending</div><span>(2)</span> <div>Pending</div><span>({{$statusCount['pending']}})</span>
</div> </div>
</div> </div>
<div class="item " guid="1"> <div class="item " guid="1">
<div class="row rowCenter"> <div class="row rowCenter">
<div>Replied</div><span>(2)</span> <div>Replied</div><span>({{$statusCount['processed']}})</span>
</div> </div>
</div> </div>
</div> </div>
......
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