|
|
@@ -521,13 +521,16 @@
|
|
|
</div>
|
|
|
|
|
|
<script th:inline="javascript">
|
|
|
-// 버튼 클래스 설정
|
|
|
-$.each($('.btn_count'), function(idx, item) {
|
|
|
- if ($(item).children().length > 3 && !$(item).hasClass('col2')) {
|
|
|
- $(item).addClass('col2');
|
|
|
+$(document).ready(function() {
|
|
|
+ // 버튼 클래스 설정
|
|
|
+ $.each($('.btn_count'), function(idx, item) {
|
|
|
+ if ($(item).children().length > 3 && !$(item).hasClass('col2')) {
|
|
|
+ $(item).addClass('col2');
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ if ([[${pageNo}]] > 1) {
|
|
|
+ $('.part_goods').css('border-top', '1px solid #eee');
|
|
|
}
|
|
|
});
|
|
|
</script>
|
|
|
-
|
|
|
-</th:block>
|
|
|
-
|