-
Notifications
You must be signed in to change notification settings - Fork 0
/
dp.html
2187 lines (1191 loc) · 60.2 KB
/
dp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="ko">
<head>
<!--[if lte IE 8]>
<script>
location.replace('/support/explorer_upgrade.html');
</script>
<![endif]-->
<meta charset="utf-8"/>
<title>한빛출판네트워크</title>
<link rel="shortcut icon" href="https://www.hanbit.co.kr/images/common/hanbit.ico">
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="한빛출판네트워크"/>
<meta property="og:description" content="출판사, IT전문서, 대학교재, 경제경영, 어린이/유아, MAKE, 실용/여행, 전자책, 인터넷 강의"/>
<meta property="og:image" content="https://www.hanbit.co.kr/images/hanbitpubnet_logo.jpg" />
<meta property="og:url" content="https://www.hanbit.co.kr/store/books/full_book_list.html"/>
<link rel="canonical" href="https://www.hanbit.co.kr/store/books/full_book_list.html" />
<meta name="keywords" content="책,전자책,ebook,출판사,동영상,콘텐츠,강의,자격증,대학교재" />
<meta name="description" content="출판사, IT전문서, 대학교재, 경제경영, 어린이/유아, MAKE, 실용/여행, 전자책, 인터넷 강의" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
<meta name="viewport" content="width=1260">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="naver-site-verification" content="01c29ed1852aecca7a48ac0c3e0869627bc512d8"/>
<!-- <meta name="naver-site-verification" content="823ff8b8e7e3eb396c310703c2bbd731f48c1d9b"/> -->
<link rel="stylesheet" href="/css/common.css?20190625102532" />
<link href="/css/hover.css" rel="stylesheet" media="all">
<link rel="stylesheet" href="/js/jquery.raty.css" />
<script type="text/javascript" src="/js/jquery-latest.js"></script>
<script type="text/javascript" src="/js/jquery-ui.js"></script>
<script type="text/javascript" src="/js/jquery.event.drag-1.5.min.js"></script>
<script type="text/javascript" src="/js/jquery.touchSlider.js"></script>
<script type="text/javascript" src="/js/jquery.raty.js"></script>
<script type="text/javascript" src="/js/main.js"></script>
<script type="text/javascript" src="/lib/cheditor/cheditor.js"></script>
<script type="text/javascript" src="/js/jquery.ui.datepicker-ko.js"></script>
<script type="text/javascript" src="/js/engine.js"></script>
<script type="text/javascript" src="/js/vue.js"></script>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47080738-1', 'hanbit.co.kr');
ga('require', 'linkid', 'linkid.js');
ga('send', 'pageview');
</script>
<!-- Google Analytics -->
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '406459623338891');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=406459623338891&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
<!-- Kakao Pixel Code -->
<script type="text/javascript" charset="UTF-8" src="//t1.daumcdn.net/adfit/static/kp.js"></script>
<script type="text/javascript">
kakaoPixel('3011392806152551233').pageView();
</script>
<!-- //Kakao Pixel Code -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W9D5PM3"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<link rel="stylesheet" href="/css/layout-hanbit.css?20191130" />
<link rel="stylesheet" href="/css/layout-member.css" />
<link rel="stylesheet" href="/css/layout-network.css" />
<link rel="stylesheet" href="/css/layout-store.css" />
<link rel="stylesheet" href="/css/layout-myhanbit.css" />
<link rel="stylesheet" href="/css/layout-event.css" />
<!-- 메뉴 바로가기 -->
<div id="quick_skip_menu">
<a href="#gnb" onclick="document.getElementById('gnb').tabIndex = -1;document.getElementById('gnb').focus();return false;"><span>메뉴 바로가기</span></a>
<a href="#top_search" onclick="view_hover('main_search_area','','show'), document.getElementById('top_search').tabIndex = -1;document.getElementById('top_search').focus();return false;"><span>검색 및 카테고리 바로가기</span></a>
<a href="#container" onclick="document.getElementById('container').tabIndex = -1;document.getElementById('container').focus();return false;"><span>본문 바로가기</span></a>
</div>
<!-- //메뉴 바로가기 -->
<!-- header -->
<header>
<!-- top menu -->
<nav>
<div id="wrap_nav">
<ul class="top_brand">
<li><a href="https://www.hanbit.co.kr/index.html" name="hanbit_network"><span>HOME</span></a></li>
<li><a href="https://www.hanbit.co.kr/media/">한빛미디어</a></li>
<li><a href="https://www.hanbit.co.kr/academy/">한빛아카데미</a></li>
<li><a href="https://www.hanbit.co.kr/biz/">한빛비즈</a></li>
<li><a href="https://www.hanbit.co.kr/life/">한빛라이프</a></li>
<li><a href="https://www.hanbit.co.kr/edu/">한빛에듀</a></li>
<li><a href="https://www.hanbit.co.kr/realtime/">리얼타임</a></li>
<li><a href="https://www.hanbit.co.kr/textbook/" target="_blank">한빛정보교과서</a></li>
<li><a href="https://www.hanbit.co.kr/rent/" target="_blank">한빛대관서비스</a></li>
</ul>
<ul class="top_menu">
<li><a href="https://www.hanbit.co.kr/member/login.html" class="login">로그인</a></li>
<li><a href="https://www.hanbit.co.kr/member/member_agree.html" class="join">회원가입</a></li>
<li><a href="https://www.hanbit.co.kr/myhanbit/myhanbit.html" class="myhanbit">마이한빛</a></li>
<li><a href="https://www.hanbit.co.kr/myhanbit/cart.html" class="cart">장바구니</a></li>
<!-- <li class="top_menu_store"><a href="https://www.hanbit.co.kr/store/store_submain.html">STORE</a></li> -->
</ul>
</div>
</nav> <!-- //top menu -->
<div id="wrap_gnb">
<!-- logo -->
<h1><a href="https://www.hanbit.co.kr/index.html">한빛출판네트워크</a></h1>
<!-- //logo -->
<!-- Menu -->
<div id="gnb" name="gnb">
<ul>
<li><a href="https://www.hanbit.co.kr/brand/brand_submain.html" class="">BRAND</a></li>
<li><a href="https://www.hanbit.co.kr/channel/channel_submain.html" class="">Channel.H</a></li>
<li><a href="https://www.hanbit.co.kr/store/store_submain.html" class="curr">STORE</a></li>
<li><a href="https://www.hanbit.co.kr/support/help_info.html" class="">SUPPORT</a></li>
<li><a href="https://www.hanbit.co.kr/event/current/current_event_list.html" class="">EVENT</a></li>
<li id="top_search" class="search"><a href="javascript:;" onClick="view_hover('main_search_area','','show'); $('#keyword_str').focus();"><span>SERACH</span></a></li>
</ul>
</div>
<!-- //Menu -->
<!-- lnb -->
<div class="lnb" style="top:92px;">
<div class="lnb_area">
<!-- BRAND -->
<ul class="lnb_depth1_category">
<li onmouseover="view_hover('category_store','','show')" onMouseOut="view_hover('category_store','','hide')"><a href="#" onFocus="view_hover('category_store','','show')" class="gnb_category">카테고리</a>
<ul id="category_store">
<li onmouseover="view_hover('category_store1','','show')" onMouseOut="view_hover('category_store1','','hide')"><a href="/store/books/category_list.html?cate_cd=001" onFocus="view_hover('category_store1','','show')">IT/모바일</a>
<ul id="category_store1">
<li><a href="/store/books/category_list.html?cate_cd=001001">프로그래밍</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001002">웹</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001003">모바일/스마트기기</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001013">데이터베이스</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001005">운영체제</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001014">하드웨어</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001015">시스템/네트워크</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001016">보안</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001009">비즈니스/문화</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001010">게임</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001017">IT에세이</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001012">자격증</a></li>
<li><a href="/store/books/category_list.html?cate_cd=001018">인공지능/데이터과학</a></li>
</ul></li> <li onmouseover="view_hover('category_store2','','show')" onMouseOut="view_hover('category_store2','','hide')"><a href="/store/books/category_list.html?cate_cd=002" onFocus="view_hover('category_store2','','show')">MAKE</a>
<ul id="category_store2">
<li><a href="/store/books/category_list.html?cate_cd=002001">Make 매거진</a></li>
<li><a href="/store/books/category_list.html?cate_cd=002002">Make 프로젝트 북</a></li>
</ul></li> <li onmouseover="view_hover('category_store3','','show')" onMouseOut="view_hover('category_store3','','hide')"><a href="/store/books/category_list.html?cate_cd=003" onFocus="view_hover('category_store3','','show')">IT활용</a>
<ul id="category_store3">
<li><a href="/store/books/category_list.html?cate_cd=003001">오피스/OA</a></li>
<li><a href="/store/books/category_list.html?cate_cd=003002">그래픽/멀티미디어</a></li>
<li><a href="/store/books/category_list.html?cate_cd=003003">사진/예술</a></li>
<li><a href="/store/books/category_list.html?cate_cd=003004">컴퓨터입문/IT교양</a></li>
</ul></li> <li onmouseover="view_hover('category_store4','','show')" onMouseOut="view_hover('category_store4','','hide')"><a href="/store/books/category_list.html?cate_cd=004" onFocus="view_hover('category_store4','','show')">대학교재</a>
<ul id="category_store4">
<li><a href="/store/books/category_list.html?cate_cd=004007">컴퓨터공학</a></li>
<li><a href="/store/books/category_list.html?cate_cd=004008">정보통신/전기/전자</a></li>
<li><a href="/store/books/category_list.html?cate_cd=004003">수학/과학/공학</a></li>
<li><a href="/store/books/category_list.html?cate_cd=004004">프로그래밍/웹</a></li>
<li><a href="/store/books/category_list.html?cate_cd=004005">그래픽/디자인</a></li>
<li><a href="/store/books/category_list.html?cate_cd=004006">OA/활용</a></li>
<li><a href="/store/books/category_list.html?cate_cd=004009">수험서/자격증</a></li>
</ul></li> <li onmouseover="view_hover('category_store5','','show')" onMouseOut="view_hover('category_store5','','hide')"><a href="/store/books/category_list.html?cate_cd=006" onFocus="view_hover('category_store5','','show')">실용서</a>
<ul id="category_store5">
<li><a href="/store/books/category_list.html?cate_cd=006001">취미/실용</a></li>
<li><a href="/store/books/category_list.html?cate_cd=006002">여행</a></li>
<li><a href="/store/books/category_list.html?cate_cd=006003">건강</a></li>
<li><a href="/store/books/category_list.html?cate_cd=006004">유아/육아</a></li>
</ul></li> <li onmouseover="view_hover('category_store6','','show')" onMouseOut="view_hover('category_store6','','hide')"><a href="/store/books/category_list.html?cate_cd=007" onFocus="view_hover('category_store6','','show')">경제/경영/인문</a>
<ul id="category_store6">
<li><a href="/store/books/category_list.html?cate_cd=007001">경제/경영</a></li>
<li><a href="/store/books/category_list.html?cate_cd=007002">자기계발</a></li>
<li><a href="/store/books/category_list.html?cate_cd=007003">인문/교양</a></li>
<li><a href="/store/books/category_list.html?cate_cd=007004">마케팅</a></li>
<li><a href="/store/books/category_list.html?cate_cd=007005">에세이</a></li>
</ul></li> <li onmouseover="view_hover('category_store7','','show')" onMouseOut="view_hover('category_store7','','hide')"><a href="/store/books/category_list.html?cate_cd=008" onFocus="view_hover('category_store7','','show')">유아/어린이/초등</a>
<ul id="category_store7">
<li><a href="/store/books/category_list.html?cate_cd=008001">4~6세</a></li>
<li><a href="/store/books/category_list.html?cate_cd=008002">5~7세</a></li>
<li><a href="/store/books/category_list.html?cate_cd=008003">예비초등</a></li>
<li><a href="/store/books/category_list.html?cate_cd=008004">초등교과연계 1~12영역</a></li>
<li><a href="/store/books/category_list.html?cate_cd=008005">초등 전학년</a></li>
</ul></li>
<!-- 항상 노출 메뉴 -->
<li class="gnb_category_series"><a href="https://www.hanbit.co.kr/store/books/series_list.html">시리즈</a></li>
<li class="gnb_category_reservations"><a href="https://www.hanbit.co.kr/store/books/reservations_list.html">예약도서</a></li>
<!--
<li class="gnb_category_full"><a href="https://www.hanbit.co.kr/store/books/full_book_list.html">전체도서목록</a></li>
-->
<!--/li-->
</ul>
</ul>
<!--/li-->
<!--/ul-->
<ul class="lnb_depth1">
<li><a href="https://www.hanbit.co.kr/store/books/new_book_list.html">새로나온 책</a></li><span>l</span>
<li><a href="https://www.hanbit.co.kr/store/books/bestseller_list.html">베스트셀러</a></li><span>l</span>
<li><a href="https://www.hanbit.co.kr/store/books/full_book_list.html">전체도서목록</a></li><span>l</span>
<li><a href="https://www.hanbit.co.kr/store/education/edu_list.html">교육</a></li><span>l</span>
<li><a href="https://www.hanbit.co.kr/store/item/item_list.html">Item & Maker Shed</a></li>
</ul>
<!-- SUPPORT -->
</div>
</div>
<!--// lnb -->
</div>
</header>
<!-- //header -->
<!-- 메인 검색 및 카테고리 영역 -->
<div id="main_search_area" class="fixed" style="display:none;">
<div class="msa_wrap">
<!-- 검색 -->
<div class="msa_srch_wrap">
<form onsubmit="return false;">
<fieldset class="msa_srch_field">
<legend>한빛출판네트워크 검색</legend>
<input title="검색어" autocomplete="off" class="srch_keyword" accesskey="s" type="text" name="keyword_str" id="keyword_str" v-model="keyword" @input="typeKeyword">
<input type="submit" class="srch_btn" style="cursor:pointer;" @click="clickSearch">
</fieldset>
</form>
</div>
<!-- //검색 -->
<!-- ① 인기검색어 -->
<div class="msa_srch_polular" v-if="showPopularKeyword === true">
<h2 class="tit">인기 검색어 <span>(최근 1개월간)</span></h2>
<div class="popula_box">
<ul class="left">
<li v-for="keyword in leftPopularKeywordList">
<a :class="keyword.bold" @click="clickPopularKeyword(keyword)">
{{ keyword.number }} {{ keyword.bookName }}
</a>
</li>
</ul>
<ul class="right">
<li v-for="keyword in rightPopularKeywordList">
<a :class="keyword.bold" @click="clickPopularKeyword(keyword)">
{{ keyword.number }} {{ keyword.bookName }}
</a>
</li>
</ul>
</div>
</div>
<!-- ① 인기검색어 -->
<!-- ② 검색결과/검색서제스쳔 -->
<div class="msa_srch_suggestion" v-if="showPopularKeyword === false">
<div class="sugg_left" v-if="bookList.length !== 0">
<h3 class="tit">BOOK</h3>
<ul class="books_list">
<li v-for="book in bookList" @mouseover="mouseOverBook(book.id)"><a @click="clickBookKeyword(book)"><p v-html="book.name"></p></a></li>
</ul>
</div>
<div class="sugg_right">
<div class="sugg_book" v-if="bookList.length !== 0">
<table class="sugg_book_detail">
<tr>
<td class="cover">
<a @click="clickBookKeyword(bookSummary)">
<img :src="bookSummary.imgUrl" class="b_cover">
</a>
</td>
<td class="draft">
<a @click="clickBookKeyword(bookSummary)" class="b_title"><strong v-html="bookSummary.originName"></strong></a>
<p class="b_int">
{{ bookSummary.author }} 지음<br />
{{ bookSummary.publishingCompany }} | {{ bookSummary.date }}
</p>
<p class="b_type">
<span>{{ bookSummary.bookType }}</span>
</p>
</td>
</tr>
</table>
</div>
<div class="sugg_edu" v-if="educationList.length !== 0">
<h3 class="tit">EDUCATION</h3>
<ul class="edu_list">
<li v-for="education in educationList">• <a @click="clickEducationKeyword(education)"><span v-html="education.title"></span></a></li>
</ul>
</div>
<div class="sugg_cont" v-if="contentList.length !== 0">
<h3 class="tit">CONTENTS</h3>
<ul class="cont_list">
<li v-for="content in contentList">• <a @click="clickContentKeyword(content)"><span v-html="content.title"></span></a></li>
</ul>
</div>
</div>
</div>
<!-- //② 검색결과/검색서제스쳔 -->
<!-- 닫기 -->
<div class="msa_wrap_close">
<a href="javascript:;" onclick="view_hover('main_search_area','','hide')">닫기</a>
</div>
<!-- //닫기 -->
</div>
</div>
<!-- old // 구현시 필요없으면 삭제해도 됩니다.
<script type="text/javascript">
function sch_smit(){
if(!$.trim($("#keyword_str").val()).length) {
alert("검색어를 입력해주세요");
$("#keyword_str").focus();
return false;
}else{
$("#gnbsearchfrm").attr("action","/search/search_list.html");
$("#gnbsearchfrm").submit();
}
}
</script>
-->
<script type="text/javascript">
"use strict";
var common_top_search_vue = new Vue({
el: '#main_search_area',
data: {
//검색엔진 URL
searchProxyURL: "https://search.hanbit.co.kr",
//인기 검색어 show 여부
showPopularKeyword: true,
//사용자 검색 키워드
keyword: '',
//인기 검색어 리스트
popularKeywordList: [],
// 인기 검색어 리스트 (왼쪽)
leftPopularKeywordList: [],
// 인기 검색어 리스트 (오른쪽)
rightPopularKeywordList: [],
// 자동완성에서의 책 리스트
bookList: [],
// 자동완성에서의 책 정보
bookSummary: {
'imgUrl': '',
'link': '',
'name': '',
'author': '',
'publishingCompany': '',
'date': '',
'bookType': ''
},
//에듀케이션 리스트
educationList: [],
//컨텐츠 리스트
contentList: []
},
created: function created() {
// 인기 검색어 조회
this.getPopularKeyword();
},
methods: {
/**
* 사용자가 검색 키워드를 입력할때 발생하는 이벤트
*/
typeKeyword: function typeKeyword() {
var self = this;
var keyword = $("#keyword_str").val();
if (keyword.length !== 0) {
//자동완성어
this.findAutocompleteResult(keyword);
} else {
//인기검색어
self.showPopularKeyword = true;
}
},
/**
* 인기검색어 조회
*/
getPopularKeyword: function getPopularKeyword() {
var self = this;
this.popularKeywordList = [];
$.get(this.searchProxyURL + "/querylog/popularKeyword").done(function (data) {
if (data != null) {
self.drawPopularKeyword(data);
}
});
},
/**
* 인기 검색어 그리기
*/
drawPopularKeyword: function drawPopularKeyword(popularBooks) {
var self = this;
popularBooks.forEach(function (item) {
var popularBook = {
bookName: item.keyword
};
self.popularKeywordList.push(popularBook);
});
var number = 0;
for (var _iterator = this.popularKeywordList, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
var _ref;
if (_isArray) {
if (_i >= _iterator.length) break;
_ref = _iterator[_i++];
} else {
_i = _iterator.next();
if (_i.done) break;
_ref = _i.value;
}
var keyword = _ref;
number = number + 1;
keyword.number = number.toString().length < 2 ? "0" + number : number;
if (number > 5) {
keyword.direction = "right";
self.rightPopularKeywordList.push(keyword);
} else {
keyword.direction = "left";
if (number < 4) {
keyword.bold = 'active';
}
self.leftPopularKeywordList.push(keyword);
}
}
},
/**
* 자동완성 검색 결과
*/
findAutocompleteResult: function findAutocompleteResult(keyword) {
var self = this;
var param = {
q: keyword,
types: "education,book,contents",
fq: keyword
};
$.post(this.searchProxyURL + "/autocomplete/search", param).done(function (data) {
if (data != null) {
var bookResult = data.booksResults;
self.changeBookList(keyword, bookResult);
var contentResult = data.contentsResults;
self.changeContentList(keyword, contentResult);
var educationResult = data.educationResults;
self.changeEducationList(keyword, educationResult);
}
});
this.showPopularKeyword = false;
},
/**
* 자동완성어에서 BOOK 부분에서 마우스를 올렸을 시에 발생하는 이벤트
* @param bookId
*/
mouseOverBook: function mouseOverBook(bookId) {
var currentBook = this.bookList.filter(function (book) {
return book.id === bookId;
});
this.changeBookSummary(currentBook[0]);
},
/**
* 책 소개 변경
* @param book
*/
changeBookSummary: function changeBookSummary(book) {
if (book !== {}) {
this.bookSummary.name = book.name;
this.bookSummary.originName = book.originName;
this.bookSummary.author = book.author;
this.bookSummary.bookType = book.bookType;
this.bookSummary.imgUrl = book.imgUrl;
this.bookSummary.link = book.link;
this.bookSummary.publishingCompany = book.publishingCompany;
this.bookSummary.date = book.date;
this.bookSummary.bookType = book.bookType;
}
},
/**
* BOOK 리스트 변경
*/
changeBookList: function changeBookList(keyword, bookResultList) {
var self = this;
self.bookList = [];
var index = 0;
if (bookResultList != null) {
for (var _iterator2 = bookResultList, _isArray2 = Array.isArray(_iterator2), _i2 = 0, _iterator2 = _isArray2 ? _iterator2 : _iterator2[Symbol.iterator]();;) {
var _ref2;
if (_isArray2) {
if (_i2 >= _iterator2.length) break;
_ref2 = _iterator2[_i2++];
} else {
_i2 = _iterator2.next();
if (_i2.done) break;
_ref2 = _i2.value;
}
var result = _ref2;
if (index < 10) {
var book = {};
book.id = result.code;
book.originName = result.title;
book.name = JSON.parse(JSON.stringify(self.replaceHighlightWord(result.title, keyword)));
book.link = result.code;
book.imgUrl = self.getBookImageURL(result.code);
book.author = result.author;
book.publishingCompany = result.brand;
book.date = result.pubDate;
book.bookType = result.bookType;
self.bookList.push(book); //책 미리보기 변경
self.changeBookSummary(self.bookList[0]);
}
}
} else {
self.initBookSummary();
}
},
/**
* 책 이미지 주소 가져오기
*/
getBookImageURL: function getBookImageURL(bookCode) {
var imgURL;
if (bookCode.substr(0, 1) === "E") {
imgURL = '/data/ebook/' + bookCode + '_m.jpg';
} else {
imgURL = '/data/books/' + bookCode + "_m.jpg";
}
return imgURL;
},
/**
* 검색 결과가 없을 경우 책 미리보기 초기화
*/
initBookSummary: function initBookSummary() {
this.bookSummary = {
'imgUrl': '',
'link': '',
'name': '',
'author': '',
'publishingCompany': '',
'date': '',
'bookType': ''
};
},
/**
* education 리스트 변경
*/
changeEducationList: function changeEducationList(keyword, educationResultList) {
var self = this;
self.educationList = [];
var index = 0;
if (educationResultList != null) {
for (var _iterator3 = educationResultList, _isArray3 = Array.isArray(_iterator3), _i3 = 0, _iterator3 = _isArray3 ? _iterator3 : _iterator3[Symbol.iterator]();;) {
var _ref3;
if (_isArray3) {
if (_i3 >= _iterator3.length) break;
_ref3 = _iterator3[_i3++];
} else {
_i3 = _iterator3.next();
if (_i3.done) break;
_ref3 = _i3.value;
}
var result = _ref3;
if (index < 3) {
var content = {};
content.title = JSON.parse(JSON.stringify(self.replaceHighlightWord(result.title, keyword)));
content.link = result.code;
self.educationList.push(content);
index = index + 1;
}
}
}
},
/**
* contents 리스트 변경
*/
changeContentList: function changeContentList(keyword, contentResult) {
var self = this;
self.contentList = [];
var index = 0;
if (contentResult != null) {
for (var _iterator4 = contentResult, _isArray4 = Array.isArray(_iterator4), _i4 = 0, _iterator4 = _isArray4 ? _iterator4 : _iterator4[Symbol.iterator]();;) {
var _ref4;
if (_isArray4) {
if (_i4 >= _iterator4.length) break;
_ref4 = _iterator4[_i4++];
} else {
_i4 = _iterator4.next();
if (_i4.done) break;
_ref4 = _i4.value;
}
var result = _ref4;
if (index < 3) {
var content = {};
content.title = JSON.parse(JSON.stringify(self.replaceHighlightWord(result.title, keyword)));
content.link = result.code;
self.contentList.push(content);
index = index + 1;
}
}
}
},
/**
* 하이라이트 표시
*/
replaceHighlightWord: function replaceHighlightWord(str, highlightKeyword) {
var replaceHighlightKeyword = highlightKeyword.replace(/[^a-z0-9가-힣_ ]/gi, '');
var regEx = new RegExp(replaceHighlightKeyword, "gi");
str = str.replace(regEx, function (a) {
return '<span class="keysel">' + a + '</span>';
});
return str;
},
/**
* 검색 버튼 클릭 시
* @param e
*/
clickSearch: function clickSearch(e) {
if (!this.keyword || this.keyword.length === 0) {
alert("검색어를 입력하세요");
$("#keyword_str").focus();
e.preventDefault();
} else {
location.href = "/search/search_list.html?keyword=" + this.keyword;
}
},
/**
* 인기 검색어 클릭시
* @param book
*/
clickPopularKeyword: function clickPopularKeyword(book) {
var searchKeyword = book.bookName;
location.href = "/search/search_list.html?keyword=" + searchKeyword;
},
/**
* 책 검색어 클릭시 책 상세로 이동
* @param book
*/
clickBookKeyword: function clickBookKeyword(book) {
location.href = "/store/books/look.php?p_code=" + book.link;
},
/**
* 교육 클릭시 교육 상세로 이동
* @param education
*/
clickEducationKeyword: function clickEducationKeyword(education) {
location.href = "/store/education/edu_view.html?p_code=" + education.link;
},
/**
* 컨텐츠 클릭시 컨텐츠 상세로 이동
* @param contents
*/
clickContentKeyword: function clickContentKeyword(content) {
location.href = "/channel/category/category_view.html?cms_code=" + content.link;
}
}
});
</script>
<!-- //메인 검색 및 카테고리 영역 -->
<!-- Contents -->
<div id="container">
<div class="docu_title">
<h2>전체도서목록</h2>
</div>
<!-- 전체도서목록 wrap -->
<div class="full_book_list_wrap">
<!-- 브랜드 정렬 버튼 -->
<div class="btn_brand_area">
<ul>
<li class="curr">
<a href="/store/books/full_book_list.html">
<span class="name_full">전체</span>
</a>
</li>
<li >
<a href="/store/books/full_book_list.html?brand=HM">
<span class="name_abbr">M</span>
</a>
</li>
<li >
<a href="/store/books/full_book_list.html?brand=HA">
<span class="name_abbr">A</span>
</a>
</li>
<li >
<a href="/store/books/full_book_list.html?brand=HB">
<span class="name_abbr">B</span>
</a>
</li>
<li >
<a href="/store/books/full_book_list.html?brand=HL">
<span class="name_abbr">L</span>
</a>
</li>
<li >
<a href="/store/books/full_book_list.html?brand=HE">
<span class="name_abbr">E</span>
</a>
</li>
<li >
<a href="/store/books/full_book_list.html?brand=HR">
<span class="name_abbr">R</span>
</a>
</li>
<li >
<a href="/store/books/full_book_list.html?brand=MK">
<span class="name_abbr">MK</span>
</a>
</li>
</ul>
</div>
<!-- //브랜드 정렬 버튼 -->
<!-- 출간일/도서명 순-->
<div class="series_lineup">
<ul>
<li><a href="/store/books/full_book_list.html?srt=p_pub_date&brand=" class="curr" >출간일 순</a></li>
<li><a href="/store/books/full_book_list.html?srt=p_title&brand=" >도서명 순</a></li>
</ul>
</div>
<!-- //출간일/도서명 순-->
<!-- 전체 목록 다운로드 버튼-->
<div class="btn_full_list"><a href="javascript:document.frm.submit();">전체 목록 다운로드</a></div>
<!-- 책 리스트 -->
<div class="table_area">
<table class="tbl_type_list" border="0" cellspacing="0" summary="전체목록 리스트 테이블">
<caption>전체목록 리스트</caption>
<colgroup>
<col width="180px">
<col width="">
<col width="160px">
<col width="134px">
<col width="130px">
</colgroup>
<thead>
<tr>
<th scope="col">브랜드</th>
<th scope="col">도서명</th>
<th scope="col">저자</th>
<th scope="col">발행일</th>
<th scope="col">정가</th>
</tr>
</thead>
<tbody>
<tr>
<td class="brd_m">한빛미디어</td>
<td class="left"><a href="/store/books/look.php?p_code=B7026921929">파이썬 증권 데이터 분석</a></td>
<td class="left">김황후 </td>
<td>2020-07-01</td>
<td class="right">32,000원</td>
</tr>
<tr>
<td class="brd_m">한빛미디어</td>
<td class="left"><a href="/store/books/look.php?p_code=B9609283195">혼자 공부하는 첫 프로그래밍 with 파이썬</a></td>
<td class="left">문현일 </td>
<td>2020-06-30</td>
<td class="right">17,000원</td>
</tr>
<tr>
<td class="brd_m">한빛미디어</td>
<td class="left"><a href="/store/books/look.php?p_code=B7859887743">실전 자바 소프트웨어 개발</a></td>
<td class="left">라울-게이브리얼 우르마 외 1명 </td>
<td>2020-06-20</td>
<td class="right">18,000원</td>
</tr>
<tr>
<td class="brd_a">한빛아카데미</td>
<td class="left"><a href="/store/books/look.php?p_code=B3126325886">IT CookBook, 쉽게 배우는 MFC 윈도우 프로그래밍</a></td>
<td class="left">김선우 외 1명 </td>
<td>2020-06-20</td>
<td class="right">30,000원</td>
</tr>
<tr>
<td class="brd_a">한빛아카데미</td>
<td class="left"><a href="/store/books/look.php?p_code=B3715221949">IT CookBook, 인공지능 시대를 위한 컴퓨터 과학 개론</a></td>
<td class="left">정기철 </td>
<td>2020-06-19</td>
<td class="right">27,000원</td>
</tr>
<tr>
<td class="brd_b">한빛비즈</td>
<td class="left"><a href="/store/books/look.php?p_code=B3354514449">까면서 보는 해부학 만화</a></td>
<td class="left">압듈라 외 1명 </td>
<td>2020-06-19</td>
<td class="right">18,500원</td>
</tr>
<tr>
<td class="brd_a">한빛아카데미</td>
<td class="left"><a href="/store/books/look.php?p_code=B3055805288">IT CookBook, 코틀린을 활용한 안드로이드 프로그래밍</a></td>
<td class="left">우재남 외 1명 </td>
<td>2020-06-19</td>
<td class="right">34,000원</td>
</tr>
<tr>
<td class="brd_b">한빛비즈</td>
<td class="left"><a href="/store/books/look.php?p_code=B1789503265">뱅크 4.0</a></td>
<td class="left">브렛 킹 </td>
<td>2020-06-15</td>
<td class="right">18,000원</td>
</tr>
<tr>
<td class="brd_m">한빛미디어</td>
<td class="left"><a href="/store/books/look.php?p_code=B1047711884">클라우드 네이티브</a></td>
<td class="left">보리스 숄 외 2명 </td>
<td>2020-06-13</td>
<td class="right">22,000원</td>
</tr>
<tr>
<td class="brd_a">한빛아카데미</td>
<td class="left"><a href="/store/books/look.php?p_code=B4872546419">IT CookBook, 처음 만나는 신재생에너지</a></td>
<td class="left">김지홍 </td>
<td>2020-06-10</td>
<td class="right">25,000원</td>
</tr>
<tr>
<td class="brd_a">한빛아카데미</td>
<td class="left"><a href="/store/books/look.php?p_code=B1710834745">프리드버그 선형대수학</a></td>
<td class="left">스티븐 H. 프리드버그 외 2명 </td>
<td>2020-06-05</td>
<td class="right">35,000원</td>
</tr>
<tr>
<td class="brd_m">한빛미디어</td>
<td class="left"><a href="/store/books/look.php?p_code=B9632716381">이더리움 디앱 개발</a></td>
<td class="left">로베르토 인판테 </td>
<td>2020-06-04</td>
<td class="right">40,000원</td>
</tr>
<tr>
<td class="brd_m">한빛미디어</td>
<td class="left"><a href="/store/books/look.php?p_code=B7283790591">딥러닝과 바둑</a></td>
<td class="left">막스 펌펄라 외 1명 </td>
<td>2020-06-01</td>
<td class="right">36,000원</td>
</tr>
<tr>
<td class="brd_b">한빛비즈</td>
<td class="left"><a href="/store/books/look.php?p_code=B8151169674">CIA 요원, 최강 비즈니스맨이 되다</a></td>
<td class="left">제이슨 핸슨 </td>
<td>2020-06-01</td>
<td class="right">15,800원</td>
</tr>
<tr>
<td class="brd_m">한빛미디어</td>
<td class="left"><a href="/store/books/look.php?p_code=B3669653041">필수 공식으로 하루에 하나씩 정복하는 엑셀 업무 공략집</a></td>
<td class="left">최준선 </td>
<td>2020-06-01</td>
<td class="right">19,000원</td>
</tr>
<tr>
<td class="brd_a">한빛아카데미</td>
<td class="left"><a href="/store/books/look.php?p_code=B8200129293">IT CookBook, CentOS 리눅스</a></td>
<td class="left">이종원 </td>
<td>2020-05-30</td>
<td class="right">32,000원</td>
</tr>
<tr>
<td class="brd_b">한빛비즈</td>
<td class="left"><a href="/store/books/look.php?p_code=B8912615747">2020 부동산 세금 사용설명서</a></td>
<td class="left">김성일 </td>
<td>2020-05-26</td>
<td class="right">11,200원</td>
</tr>
<tr>
<td class="brd_b">한빛비즈</td>
<td class="left"><a href="/store/books/look.php?p_code=B6465057927">내러티브 앤 넘버스</a></td>
<td class="left">애스워드 다모다란 </td>
<td>2020-05-20</td>
<td class="right">18,000원</td>
</tr>
<tr>
<td class="brd_e">한빛에듀</td>
<td class="left"><a href="/store/books/look.php?p_code=B1158791094">똑똑한 두뇌 연습 : 세계 여행 다른 그림 찾기</a></td>
<td class="left">제니 에스피노사 </td>
<td>2020-05-15</td>
<td class="right">8,000원</td>
</tr>
<tr>
<td class="brd_e">한빛에듀</td>
<td class="left"><a href="/store/books/look.php?p_code=B3778443233">똑똑한 두뇌 연습 : 점 잇기</a></td>
<td class="left">조 문 </td>
<td>2020-05-15</td>
<td class="right">8,000원</td>
</tr>
<tr>
<td class="brd_b">한빛비즈</td>
<td class="left"><a href="/store/books/look.php?p_code=B2894027772">포스트 코로나</a></td>
<td class="left">임승규(국제경제) 외 6명 </td>
<td>2020-05-15</td>
<td class="right">18,000원</td>
</tr>
<tr>
<td class="brd_e">한빛에듀</td>
<td class="left"><a href="/store/books/look.php?p_code=B8852889897">똑똑한 두뇌 연습 100 : 공주, 동물, 색칠 세트</a></td>
<td class="left">발롱 미디어 </td>
<td>2020-05-15</td>
<td class="right">18,000원</td>
</tr>
<tr>
<td class="brd_e">한빛에듀</td>
<td class="left"><a href="/store/books/look.php?p_code=B3895086770">똑똑한 두뇌 연습 100 : 탈것, 동물, 축구 세트</a></td>
<td class="left">발롱 미디어 </td>
<td>2020-05-15</td>
<td class="right">18,000원</td>
</tr>
<tr>
<td class="brd_m">한빛미디어</td>
<td class="left"><a href="/store/books/look.php?p_code=B4731993755">만들면서 배우는 워드프레스 (개정2판)</a></td>
<td class="left">박현우 </td>
<td>2020-05-11</td>
<td class="right">26,000원</td>
</tr>