모바일 접속시 에러문제...

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
모바일 접속시 에러문제...

QA

모바일 접속시 에러문제...

본문

http://crossmintonkorea.or.kr/mobile/shop  모바일로 접속하면 이렇게 깨져서 나옵니다.

 

css오류 같은데 어디를 수정해야 하는지요??

 

<?php
include_once('./_common.php');

define("_INDEX_", TRUE);

include_once(G5_MSHOP_PATH.'/_head.php');
?>

<script src="<?php echo G5_JS_URL; ?>/swipe.js"></script>
<script src="<?php echo G5_JS_URL; ?>/shop.mobile.main.js"></script>
<div id="sidx" class="swipe">

    <div id="sidx_slide" class="swipe-wrap">
        <?php if($default['de_mobile_type1_list_use']) { ?>
        <div class="sct_wrap">
            <header>
                <h2>히트상품</h2>
                <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 히트상품 모음</p>
            </header>
            <?php
            $list = new item_list();
            $list->set_mobile(true);
            $list->set_type(1);
            $list->set_view('it_id', false);
            $list->set_view('it_name', true);
            $list->set_view('it_cust_price', true);
            $list->set_view('it_price', true);
            $list->set_view('it_icon', true);
            $list->set_view('sns', true);
            echo $list->run();
            ?>
            <div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=1">더 보기</a></div>
        </div>
        <?php } ?>

        <?php if($default['de_mobile_type2_list_use']) { ?>
        <div class="sct_wrap">
            <header>
                <h2>추천상품</h2>
                <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 추천상품 모음</p>
            </header>
            <?php
            $list = new item_list();
            $list->set_mobile(true);
            $list->set_type(2);
            $list->set_view('it_id', false);
            $list->set_view('it_name', true);
            $list->set_view('it_cust_price', true);
            $list->set_view('it_price', true);
            $list->set_view('it_icon', true);
            $list->set_view('sns', true);
            echo $list->run();
            ?>
            <div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=2">더 보기</a></div>
        </div>
        <?php } ?>

        <?php if($default['de_mobile_type3_list_use']) { ?>
        <div class="sct_wrap">
            <header>
                <h2>최신상품</h2>
                <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 최신상품 모음</p>
            </header>
            <?php
            $list = new item_list();
            $list->set_mobile(true);
            $list->set_type(3);
            $list->set_view('it_id', false);
            $list->set_view('it_name', true);
            $list->set_view('it_cust_price', true);
            $list->set_view('it_price', true);
            $list->set_view('it_icon', true);
            $list->set_view('sns', true);
            echo $list->run();
            ?>
            <div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=3">더 보기</a></div>
        </div>
        <?php } ?>

        <?php if($default['de_mobile_type4_list_use']) { ?>
        <div class="sct_wrap">
            <header>
                <h2>인기상품</h2>
                <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 인기상품 모음</p>
            </header>
            <?php
            $list = new item_list();
            $list->set_mobile(true);
            $list->set_type(4);
            $list->set_view('it_id', false);
            $list->set_view('it_name', true);
            $list->set_view('it_cust_price', true);
            $list->set_view('it_price', true);
            $list->set_view('it_icon', true);
            $list->set_view('sns', true);
            echo $list->run();
            ?>
            <div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=4">더 보기</a></div>
        </div>
        <?php } ?>

        <?php if($default['de_mobile_type5_list_use']) { ?>
        <div class="sct_wrap">
            <header>
                <h2>할인상품</h2>
                <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 할인상품 모음</p>
            </header>
            <?php
            $list = new item_list();
            $list->set_mobile(true);
            $list->set_type(5);
            $list->set_view('it_id', false);
            $list->set_view('it_name', true);
            $list->set_view('it_cust_price', true);
            $list->set_view('it_price', true);
            $list->set_view('it_icon', true);
            $list->set_view('sns', true);
            echo $list->run();
            ?>
            <div class="sct_more"><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=5">더 보기</a></div>
        </div>
        <?php } ?>

        <?php
        $hsql = " select ev_id, ev_subject, ev_subject_strong from {$g5['g5_shop_event_table']} where ev_use = '1' order by ev_id desc ";
        $hresult = sql_query($hsql);

        if(sql_num_rows($hresult)) {
        ?>
        <div class="sct_wrap">
            <header>
                <h2>이벤트</h2>
                <p class="sct_wrap_hdesc"><?php echo $config['cf_title']; ?> 이벤트 모음</p>
            </header>
            <?php include_once(G5_MSHOP_SKIN_PATH.'/main.event.skin.php'); ?>
        </div>
        <?php
        }
        ?>

    </div>

</div>

<script>
$(function() {
    $("#sidx").swipeSlide({
        slides: ".swipe-wrap > div",
        header: "header h2",
        tabWrap: "slide_tab",
        tabActive: "tab_active",
        tabOffset: 10,
        startSlide: 0,
        auto: 0
    });
});
</script>

<?php
include_once(G5_MSHOP_PATH.'/_tail.php');
?> 

이 질문에 댓글 쓰기 :

답변 2

모바일에서 default_shop.css 파일이 링크되는지 확인이 필요합니다.

일단 아래 코드를 넣어보고 모바일에서 텍스트가 출력되는지 확인해보세요.

 


include_once(G5_MSHOP_PATH.'/_head.php');
if(G5_IS_MOBILE) echo '모바일로 접속하였습니다.'; //추가
답변을 작성하시기 전에 로그인 해주세요.
전체 16,844
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT