From f133837589fa4b87df3a57cb3e0653522a7db856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=BB=B6=E4=B9=89?= Date: Tue, 27 Sep 2022 15:52:11 +0800 Subject: [PATCH] * Hide left border. --- module/product/js/all.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/module/product/js/all.js b/module/product/js/all.js index fd69289343..093c154f65 100644 --- a/module/product/js/all.js +++ b/module/product/js/all.js @@ -2,12 +2,18 @@ $("#" + browseType + "Tab").addClass('btn-active-text'); $(function() { $('#productListForm .c-checkbox, #productListForm .check-all').hide(); + $('.c-name').css('border-left', 'none'); $('input[name^="showEdit"]').click(function() { $('#productListForm .c-checkbox, #productListForm .check-all').hide(); + $('.c-name').css('border-left', 'none'); var showEdit = $(this).is(':checked') ? 1 : 0; - if(showEdit) $('#productListForm .c-checkbox, #productListForm .check-all').show(); + if(showEdit) + { + $('#productListForm .c-checkbox, #productListForm .check-all').show(); + $('.c-name').css('border-left', '1px solid #ddd'); + } }); /* Init table sort. */