|
@@ -71,7 +71,7 @@
|
|
</table>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="btn_wrap">
|
|
<div class="btn_wrap">
|
|
- <button type="button" class="btn m_more sise" onclick="loadMoreSise()">더보기</button>
|
|
|
|
|
|
+ <button type="button" class="btn m_more" onclick="loadMoreSise()">더보기</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
@endforelse
|
|
@endforelse
|
|
</ul>
|
|
</ul>
|
|
<div class="btn_wrap">
|
|
<div class="btn_wrap">
|
|
- <button type="button" class="btn m_more youtube" onclick="loadMoreYoutube()">더보기</button>
|
|
|
|
|
|
+ <button type="button" class="btn m_more" onclick="loadMoreYoutube()">더보기</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -136,6 +136,7 @@
|
|
<script>
|
|
<script>
|
|
currentSiseType = 'golf';
|
|
currentSiseType = 'golf';
|
|
$(document).ready(function() {
|
|
$(document).ready(function() {
|
|
|
|
+ // console.log('mainYoutubeList : ',mainYoutubeList);
|
|
// 필터링된 리스트를 렌더링하는 함수 호출
|
|
// 필터링된 리스트를 렌더링하는 함수 호출
|
|
changeSiseListByDefault(currentSiseType);
|
|
changeSiseListByDefault(currentSiseType);
|
|
$('.main-header').addClass('main_header');
|
|
$('.main-header').addClass('main_header');
|
|
@@ -241,7 +242,6 @@ function renderMainSiseList(siseList){
|
|
// 유튜브 더보기
|
|
// 유튜브 더보기
|
|
function loadMoreYoutube(){
|
|
function loadMoreYoutube(){
|
|
var offset = $('.m_youtube .list li').length;
|
|
var offset = $('.m_youtube .list li').length;
|
|
- console.log('offset : ', offset);
|
|
|
|
var limit = 12;
|
|
var limit = 12;
|
|
|
|
|
|
$.ajax({
|
|
$.ajax({
|
|
@@ -250,7 +250,6 @@ function renderMainSiseList(siseList){
|
|
data: { offset: offset, limit: limit},
|
|
data: { offset: offset, limit: limit},
|
|
success: function(response) {
|
|
success: function(response) {
|
|
var youtubeList = response.Page;
|
|
var youtubeList = response.Page;
|
|
-
|
|
|
|
if (youtubeList!=null) {
|
|
if (youtubeList!=null) {
|
|
appendMainYoutubeList(youtubeList);
|
|
appendMainYoutubeList(youtubeList);
|
|
} else {
|
|
} else {
|
|
@@ -274,7 +273,6 @@ function renderMainSiseList(siseList){
|
|
method: 'GET',
|
|
method: 'GET',
|
|
data: { offset: offset, limit: limit },
|
|
data: { offset: offset, limit: limit },
|
|
success: function(response) {
|
|
success: function(response) {
|
|
- console.log('response :', response);
|
|
|
|
var blogList = response.Page;
|
|
var blogList = response.Page;
|
|
|
|
|
|
if (blogList!=null) {
|
|
if (blogList!=null) {
|