$(document).ready(function(){ $(".touch-toggle a").click(function(event){ var className = $(this).attr("data-drawer"); if( $("."+className).css('display') == 'none' ){ $("."+className).slideDown().siblings(".drawer-section").slideUp(); }else{ $(".drawer-section").slideUp(); } event.stopPropagation(); }); /*$(document).click(function(){ $(".drawer-section").slideUp(); })*/ $('.touch-menu a').click(function(){ if( $(this).next().is('ul') ){ if( $(this).next('ul').css('display') == 'none' ){ $(this).next('ul').slideDown(); $(this).find('i').attr("class","touch-arrow-up"); }else{ $(this).next('ul').slideUp(); $(this).next('ul').find('ul').slideUp(); $(this).find('i').attr("class","touch-arrow-down"); } } }); });

成功案例

案例展示一

db82da7403137330aed703f8df01064e.png

香米品质观:光滑油润,色泽晶莹剔透,米粒细长

闻:散发自然茉莉清香,饭香浓郁

尝:爽口怡人,冷饭不返生,柔软弹滑


上一篇:暂无 下一篇:案例展示二

Copyright © 2012-2023 j9九游会 - 真人游戏第一品牌,j9九游会登录入口首页,j9九游国际站网站 版权所有   粤ICP备xxxxxxxx号

if (!window.jQuery) { document.write(unescape("%3Cscript src='/public/static/common/js/jquery.min.js' type='text/javascript'%3E%3C/script%3E")); document.write(unescape("%3Cscript type='text/javascript'%3E try{jQuery.noConflict();}catch(e){} %3C/script%3E")); } if (window.jQuery) { (function($){ default_switch(); //简体繁体互换 function default_switch() { var home_lang = getCookie('home_lang'); if (home_lang == '') { home_lang = 'cn'; } if ($.inArray(home_lang, ['zh','cn'])) { var obj = $('#jquerys2t_1573822909'); var isSimplified = getCookie('jquerys2t_1573822909'); if ('cn' == isSimplified) { $('body').t2s(); $(obj).text('繁體'); } else if ('zh' == isSimplified) { $('body').s2t(); $(obj).text('简体'); } } } //简体繁体互换 $('#jquerys2t_1573822909').click(function(){ var obj = this; var isSimplified = getCookie('jquerys2t_1573822909'); if ('' == isSimplified || 'cn' == isSimplified) { $('body').s2t(); // 简体转繁体 setCookie('jquerys2t_1573822909', 'zh'); $(obj).text('简体'); } else { $('body').t2s(); // 繁体转简体 setCookie('jquerys2t_1573822909', 'cn'); $(obj).text('繁體'); } }); })(jQuery); }