From 3229a3ab92c6387b8fdbb8f0c6552f808b886712 Mon Sep 17 00:00:00 2001 From: anyv <anyu@bronet.cn> Date: Tue, 4 Jun 2019 17:57:02 +0800 Subject: [PATCH] 0 --- public/themes/simpleboot3/portal/shopcart/shop_cart.html | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/public/themes/simpleboot3/portal/shopcart/shop_cart.html b/public/themes/simpleboot3/portal/shopcart/shop_cart.html index c2b7489..6fad8bf 100644 --- a/public/themes/simpleboot3/portal/shopcart/shop_cart.html +++ b/public/themes/simpleboot3/portal/shopcart/shop_cart.html @@ -213,6 +213,7 @@ for (var i = 0; i < priceSpans.length; i += 1) { // 强调: jQuery对象使用下标运算或get方法会还原成原生的JavaScript对象 if ($(checkBoxes[i]).attr("src") == "img/39.png") { + console.log($(checkBoxes[i]).attr("src")); var price = parseFloat($(priceSpans[i]).text()); var count = parseInt($(countInputs[i]).val()); totalCount += count; -- libgit2 0.24.0