正在加載中...
全選
親,請及時付款,本商城會不定時漲價噢!
件商品 小計:
刪除商品 去購物車結算
    友情鏈接:
    "; }, getFormData : function ( ele ) { var copy = ele.clone(); var copiedInputs = $("input,select,textarea", copy); $("input,select,textarea", ele).each(function( i ){ var typeInput = $(this).attr("type"); if ($.type(typeInput) === 'undefined') typeInput = $(this).is("select") ? "select" : $(this).is("textarea") ? "textarea" : ""; var copiedInput = copiedInputs.eq( i ); if ( typeInput == "radio" || typeInput == "checkbox" ) copiedInput.attr( "checked", $(this).is(":checked") ); else if ( typeInput == "text" ) copiedInput.attr( "value", $(this).val() ); else if ( typeInput == "select" ) $(this).find( "option" ).each( function( i ) { if ( $(this).is(":selected") ) $("option", copiedInput).eq( i ).attr( "selected", true ); }); else if ( typeInput == "textarea" ) copiedInput.text( $(this).val() ); }); return copy; }, getPrintWindow : function () { switch ( settings.mode ) { case modes.iframe : var f = new PrintArea.Iframe(); return { win : f.contentWindow || f, doc : f.doc }; case modes.popup : var p = new PrintArea.Popup(); return { win : p, doc : p.doc }; } }, Iframe : function () { var frameId = settings.id; var iframeStyle = 'border:0;position:absolute;width:0px;height:0px;right:0px;top:0px;'; var iframe; try { iframe = document.createElement('iframe'); document.body.appendChild(iframe); $(iframe).attr({ style: iframeStyle, id: frameId, src: "#" + new Date().getTime() }); iframe.doc = null; iframe.doc = iframe.contentDocument ? iframe.contentDocument : ( iframe.contentWindow ? iframe.contentWindow.document : iframe.document); } catch( e ) { throw e + ". iframes may not be supported in this browser."; } if ( iframe.doc == null ) throw "Cannot find document."; return iframe; }, Popup : function () { var windowAttr = "location=yes,statusbar=no,directories=no,menubar=no,titlebar=no,toolbar=no,dependent=no"; windowAttr += ",width=" + settings.popWd + ",height=" + settings.popHt; windowAttr += ",resizable=yes,screenX=" + settings.popX + ",screenY=" + settings.popY + ",personalbar=no,scrollbars=yes"; var newWin = window.open( "", "_blank", windowAttr ); newWin.doc = newWin.document; return newWin; } }; })(jQuery); //打印方法 $element.on('click', ".printAreaBtn", function () { $('.printArea').printArea(); }) }); })("control_bbcf3097-8d21-4b29-b9ef-eebe4de48ab5", undefined); (function (panelId, params) {//style: 0橫向;1豎向; $(function () { var $element = $("#" + panelId), urlParams = ""; //店鋪版本控制 if(lanh.iSDistributer()){ $element.hide(); } if (params == null) { params = { style: 0 }; } if (params.style == 1) { urlParams = "&count=5"; } getVersion(function(shop_version){ if(shop_version !=0){ $.getJSON(lanh.apiHost + "service/nav_menu/list.html?menu_type=4" + urlParams, function (result) { if (!!result && result.status == 0 && result.data.length > 0) { $.each(result.data, function (i, data) { var obj = [data.menu_name//鏈接標題 , data.menu_url//鏈接url , data.menu_target];//跳轉target var html = ""; if (params.style == 0) { html = $element.find("#tplLinkHorizontal").html(); } else if (params.style == 1) { html = $element.find("#tplLinkVertical").html(); } $.each(obj, function (i) { html = html.replace("{" + i + "}", obj[i]); }); if (params.style == 0) { $element.find(".linkList").append(html); } else if (params.style == 1) { $element.find(".linkList ul").append(html); } }) } }); }else{ $element.remove(); } }); }); })("control_5a43e7fb-6fd4-40e1-8828-6bf639e4f1ac", undefined); (function (panelId, params) { $(function () { var $element = $("#" + panelId); //店鋪版本控制 if(lanh.iSDistributer()){ $element.hide(); } getVersion(function(Version){ //多屏運營版沒有幫助中心和底部二維碼 if(Version!=0){ $.getJSON(lanh.apiHost + "service/article_base/help_article.html?column_count=5&ac_count=5&ac_type=0", function (result) { if (result.status == "0") { var navList = []; $.each(result.data, function (i, data) { var _class=data.artcat_image==""?"hide":""; var _num=data.artcat_image==""?6:5; navList = [data.artcat_image, data.artcat_id, data.artcat_name, subStringChinese(data.artcat_name,_num), _class, data.artcat_target ] var navListHtml = $element.find("#tplNavList").html(); $.each(navList, function (i) { navListHtml = navListHtml.replace("{" + i + "}", navList[i]); }) $element.find(".footNavList").append(navListHtml); $.each(data.sub, function (j, sub) { var subList = [data.artcat_id, sub.art_id, sub.art_title, subStringChinese(sub.art_title,9), data.artcat_target ]; var subListHtml = $element.find("#tplNavMenu").html(); $.each(subList, function (j) { subListHtml = subListHtml.replace("(" + j + ")", subList[j]) }) $element.find(".footNav .navItem").eq(i).find(".navMenu>ul").append(subListHtml); }) }) $url1 = 'http://m'; $.getJSON(lanh.apiHost + "service/home/buy_clients.html", function (buy_clients) { if(buy_clients.data.shop_wap_install !="-1"){ $element.find('.erweimaBox').show(); $.ajax({ type: "GET", url:lanh.apiHost+"service/online_generation/generatio.html?url="+$url1, dataType:"json", success: function (result) { $(".erweima").html(''); } }) } }); } }) }else{ $element.remove(); } }); }) })("control_075b81e9-4f87-4358-b501-e877854a312a", undefined); (function (panelId, params) { $(function () { var $element = $("#" + panelId); var _color = "red"; //打印傳遞的參數列表 getVersion(function(Version){ if(Version!=0){ $.ajax({ url: lanh.apiHost + "service/nav_menu/list.html?menu_type=2", dataType: "json", success: function (result) { if (result.status == 0) { var data = result.data if (data.length > 0) { for (var i = 0; i < data.length; i++) { var html = "
  • " + data[i].menu_name+ "|
  • " $element.find(".copyrightMenu>ul").append(html); } $element.find(".copyrightMenu>ul>li").last().find("b").css("display","none"); } } } }) } }) $.ajax({ url: lanh.apiHost + "service/shop_info/list.html", dataType: "json", success: function (result) { if (result.status == 0) { var copyrightInfo = "Copyright ? " + result.data.Year + "" + result.data.SITE_NAME + "版權所有,并保留所有權利"; var otherInfo = "" + result.data.SITE_ADDRESS + "Tel:" + result.data.SITE_SERVICE_TELEPHONE + "ICP備案證號:" + result.data.SITE_ICP_NO + "" $element.find(".copyrightInfo").append(copyrightInfo); $element.find(".otherInfo").append(otherInfo); } } }) }); })("control_8928cd01-5143-4fe2-9d1c-8f0544b61db0", undefined);