- APP ONLY! GET UP TO 30% OFF
-
- Ship to : / $USD
-
Ship to
United States
Currency
-
$ USD
-
-
$ USD
-
¥ CNY
-
€ EUR
-
£ GBP
-
$ CAD
-
$ AUD
-
₣ CHF
-
$ HKD
-
¥ JPY
-
p. RUB
-
R$ BRL
-
$ CLP
-
kr. NOK
-
kr. DKK
-
ريال SAR
-
Kr. SEK
-
₩ KRW
-
₪ ILS
-
$ MXN
-
S$ SGD
-
$ NZD
-
$ ARS
-
Rs INR
-
$ COP
-
درهم AED
-
Kč CZK
-
zł PLN
-
ريال OMR
-
د.ب BHD
-
د.ك KWD
-
ريال QAR
-
£ EGP
-
JD JOD
-
Rp IDR
-
฿ THB
-
Ft HUF
-
kn HRK
-
lei RON
-
₺ TRY
-
〒 KZT
-
лв BGN
-
R ZAR
-
Save
English
- English
- Français
- Español
- Deutsch
- Italiano
- Português
- 日本語
- Русский
- Nederlands
- العربية
- Norsk
- Dansk
- Svenska
- Suomi
- עברית
- Polski
- Čeština
- Ελληνικά
- Română
- Magyar
- Sign In
-
Welcome to LightInTheBox
Register Sign In
My Orders My Favorites Service Record My Coupons
My Favorites
- Cart
- Your shopping cart is empty.
-
Cart Total:
View My Cart Proceed to Checkout
- All Categories
Women's Clothing
Men's Clothing
Consumer Electronics
Shop by Collection
Elite Collection
Best Sellers New Arrivals Ocean Collection Vacation Vibes Mother's Day
'; } _str +='
'; for(var t=0;t
'+data[t]['text']+''+_number+'
' + _data[p]['text'] + '
'; } else { _str += '' + _data[p]['text'] + ''; } } _str += ''; } return _str; }; this.init = function () { var _data = me.options.data['menu']; for (var i = 0; i < _data.length; i++) { var html = ''; html += me.getHtml(_data[i], 'cate-menu-sub change-menu', 'left'); $('.cate-menu-in').eq(i).html(html); } me.show(); me.setNewsletterHeight(me.options.height); }; me.init(); if ($('.litb-cate-menu h2').length > 12) { $('.litb-cate-menu').addClass('line-' + $('.litb-cate-menu h2').length); } $this.parent('dl').mouseenter(function () { if ($this.is(':hidden')) { $this.fadeIn('fast') } }); $this.parent('dl').mouseleave(function () { $this.fadeOut('fast'); }); }; $.fn.litbMenuShow = function (options) { var me = this, $this = $(this), defaults = { 'on': false, 'width': [0, 226, 402, 574, 750], 'height': -1, 'isFrist': true }; var browser = $.browser, isIE9 = browser.msie === true && browser.version === '9.0'; me.options = $.extend(defaults, options); this.getMenuHeight = function (obj) { return Math.max(me.options.height, $('.cate-menu-sub', obj).height()); }; this.setNewsletterHeight = function (height) { $(document).ready(function () { if ($('#mini-home-newsletter')[0]) setTimeout(function () { getNewsletterHeight(height) }, 200); }); }; this.show = function () { $('.cate-menu-out', $this).each(function (m) { var $me = $(this); var elm = $('.cate-menu-sub>dl', this); var size = Math.ceil(elm.length / 2), mSize = 0, rSize = 0; me.options.menuHeight = $('.cate-menu').height(); rSize = $('.litb-cate-menu-specialoffer', this).length > 0 ? 176 : 0; mSize = $('.cate_menu_hero', this).length > 0 ? 172 : 0; if (elm.length == 0) { $('.cate_menu_hero', this).addClass('cate_menu_hero_left'); if ($('.cate_menu_hero', this).length > 0) mSize += 46; } else { if ($('.cate_menu_hero', this).length > 0 && $('.litb-cate-menu-specialoffer', this).length == 0) { mSize += 4; } } $('.cate_menu_hero', this).css({'right': rSize + 'px'}); var width = me.options['width'][size] + rSize + mSize; //$('.cate-menu-in',this).css({'width':width+"px",'top':-m*28+'px'}); //$(this).css({'width':width+240+"px"}); //if(litb.baseURL.match(/lightinthebox/)){ $('.cate-menu-in', this).css({'width': width + "px", 'top': 0 + 'px'}); $(this).css({'width': 240 + "px"}); //} elm.each(function (n) { if (n != 0) { if (n == size) $(this).before('
'); if (n >= size) $(this).addClass('bottop'); } }); me.options.height = $('#cate-menu').height() + 20; $(this).hover(function () { //if($(this).find('h2 a').length>0){ if ($(this).find('.cate-menu-in').find('.cate-menu-sub').length > 0) { $('h2 em', this).show(); $(this).find('h2 a').addClass('show-nav'); $('.cate-menu-in', this).css({'z-index': 50}).show(); $(this).find('.cate-menu-in').css({'height': me.getMenuHeight($me) + 'px'}); $(this).find('.litb-cate-menu-specialoffer').css({'height': me.getMenuHeight($me) + 'px'}); $('#hotsNow').css({'margin-top': me.getMenuHeight($me) + 'px'}); me.setNewsletterHeight(me.getMenuHeight($me)); $('.cate-menu').css({'height': me.getMenuHeight($me) + 1 + 'px'}); if (me.options.isFrist) { $('.cate-menu').animate({'width': width + 241 + "px"}, 200); me.options.isFrist = false; } else { $('.cate-menu').animate({'width': width + 241 + "px"}, 0).stop(); } } else { if (me.options.isFrist) { $('.cate-menu').animate({'width': width + 238 + "px"}, 200); me.options.isFrist = false; } else { $('.cate-menu').animate({'width': width + 238 + "px"}, 0).stop(); } } $(".cate-menu-in").filter(function (index) { if (m != index) $(".cate-menu-in").eq(index).hide(); }); //}else{ // $('.cate-menu').stop().css({'width':238+"px"}); //} }, function () { //$('.cate-menu-in',this).hide(); if ($(this).find('.cate-menu-in').find('.cate-menu-sub').length > 0) { $(this).find('h2 a').removeClass('show-nav'); } $('h2 em', this).hide(); //if(litb.baseURL.match(/lightinthebox/)){ $(".cate-menu-in", this).hide(); //} //if(me.options.menuDeHeight == 0) me.options.menuDeHeight = me.options.height; if (isIE9) { $this.hide(); $('.cate-menu').css({'height': me.options.height + 'px', 'z-index': 0}); $this.show(); } else { $('.cate-menu').css({'height': me.options.height + 'px', 'z-index': 0}); } // if(isIE9) $this.addClass('hover'); //$('.cate-menu').animate({'height':me.options.menuDeHeight+'px','z-index':-1},0,function(){if(isIE9) $this.removeClass('hover');}); //if(isIE9) $this.hide().show().css({'z-index':-1}); }); }); if (browser.msie === true) $('.cate-menu-out:last', $this).addClass('last'); }; this.getHtml = function (data, elm, tab) { var _str = ''; data = data[tab]; if (data && data != '') { _str += '
'; for (var t = 0; t < data.length; t++) { var _lClass = data[t]['point'] ? ' class="red"' : ''; var _href = data[t]['url'] == false ? '' : data[t]['url']; _str += '
- '; if (data[t]["text"] != false) { var _nofollow = data[t]["nofollow"] == true ? 'rel="nofollow"' : ''; var _target = data[t]['tab_target'] == true ? ' target="_blank"' : ''; if (tab == 'right') { _str += '
- ' + data[t]['text'] + ' '; } else { _str += '
' + data[t]['text'] + '
'; } } if (data[t]['children'] && data[t]['children'] != '') { var _data = data[t]['children']; for (var p = 0; p < _data.length; p++) { var __nofollow = _data[p]["nofollow"] == true ? 'rel="nofollow"' : ''; var __lClass = _data[p]['point'] ? ' class="red"' : ''; var __href = _data[p]['url'] == false ? '' : _data[p]['url']; var _target = _data[p]['tab_target'] == true ? ' target="_blank"' : ''; if (tab == 'right') { _str += '- ' + _data[p]['text'] + ' '; } else { _str += '
' + _data[p]['text'] + '
'; } } } _str += '
'; } _str += '
'; } return _str; }; this.init = function () { var _data = me.options.data['menu']; for (var i = 0; i < _data.length; i++) { var html = ''; html += me.getHtml(_data[i], 'cate-menu-sub', 'left'); html += me.getHtml(_data[i], 'cate_menu_hero', 'middle'); html += me.getHtml(_data[i], 'litb-cate-menu-specialoffer', 'right'); $('.cate-menu-in').eq(i).html(html); } me.show(); me.setNewsletterHeight(me.options.height); }; me.init(); if ($this.attr('page') != "index") { $this.parent('dl').find('dt>a').mouseenter(function () { if ($this.is(':hidden')) { $this.fadeIn('100') } }); $this.hover(function () { litb['onMenu'] = true; }, function () { litb['onMenu'] = false; //if(me.options.menuDeHeight == 0) me.options.menuDeHeight = me.options.height; me.options.isFrist = true; if (isIE9) { $this.hide(); $('.cate-menu').stop().css({'height': me.options.height, 'width': 238 + "px"}); $this.show(); } else { $('.cate-menu').stop().css({'height': me.options.height, 'width': 238 + "px"}); } }); $(document).click(function () { if (!litb['onMenu']) { $this.fadeOut('fast'); litb['onMenu'] = false; me.options.isFrist = true; } }); } else { //me.options.menuDeHeight = $('.cate-menu').height(); $this.hover(function () { }, function () { me.options.isFrist = true; //$('.cate-menu').stop().css({'width':238+"px"}); if (isIE9) { $this.hide(); $('.cate-menu').stop().css({'width': 238 + "px"}); $this.show(); } else { $('.cate-menu').stop().css({'width': 238 + "px"}); } $('#hotsNow').css({'margin-top': me.options.height + 'px'}); me.setNewsletterHeight(me.options.height); }); } }; if (nav_rev) { // create sub menu $('.nav-revision').litbMenuShowRevision({'data': litb["category_menu"]}); } else { // create sub menu $('.litb-cate-menu').litbMenuShow({'data': litb["category_menu"]}); } function item2Html(item, isFirst) { var attrs = ''; if (item.attributes) { for (attrName in item.attributes) { attrs += '
' + attrName + ': ' + item.attributes[attrName] + '
'; } } return '
- \
- \ \ \
- \
' + (item.name ? item.name : '') + '
' + attrs + ' \
'; } litb.gwBaseURL=litb.gwBaseURL||"https://gw.lightinthebox.com/"; // header优化 var OrderQuantityObj = { init: function () { this.bindEvents(); // this.checkMaxMin($(".quantity-select")); this.triggerChange($(".quantity-select")); }, bindEvents: function () { var _this = this; var isClick = true; var gwURLHead = litb.gwBaseURL; if (gwURLHead && !gwURLHead.endsWith('/')) { gwURLHead += '/'; } $('#navCartProductList').off('click.increase').on('click.increase','.num_increase',function () { var $this = $(this); var $container = $this.parent(); var miniCart_old_quantity; var is_item_checked = $container.attr("data-checked"); var product_key = $container.find('.quantity-num').attr('data-key'); var now = Number($container.find(".quantity-num").val()); var max = $container.attr("data-max-quantity"); var min = Number($container.attr("data-min-quantity")) || 1; var arrow_dom ='
'; if (!max || now < Number(max)) { $container.find(".quantity-num").val(++now); $container.find(".quantity-num").attr('value', now); miniCart_old_quantity = Number($container.find(".quantity-num").val())- 1; if (now === Number(max)) { $this.addClass("disabled"); } else { $this.removeClass("disabled"); } if(now > min){ $container.find('.num_decrease').removeClass('disabled'); } if(isClick){ isClick = false; $(".num_increase").css('pointer-events','none'); $.ajax({ type: 'GET', url: gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + 'index.php?main_page=info_check&action=ajax_shopping_cart_2020_change_products_num&hold_invalid=true&activeStatus=' + is_item_checked + '&partial_check_out=1' + '&cart_item_key=' + product_key + '&old_qty=' + miniCart_old_quantity + '&qty=' + now, success: function(){ $.getJSON( gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + 'index.php?main_page=info_check&action=ajax_shippingcart&callback=?&language='+litb.lan, function(data){ if(!data.items || data.items.length == 0){ $('#navCartInfoNote').removeClass('loading').html(arrow_dom+('
')+litb.langs.emptyNavCart); $me.data('cartInfo', 'empty'); $(".navCartCount").data('count',0).text(0); } else { var totalCount = 0, subtotalText = '', miniCartTitle = ''; //转换0为字符 data.cart_mini_num += ''; if (data.cart_mini_num!='') { totalCount = data.cart_mini_num; } $(".navCartCount").data('count',totalCount).text(formatCartNum(totalCount)); $(".navCartCount").trigger("cartNumberChange",totalCount); if(data.addon.cartTotal!== null && data.addon.cartTotal !== '' ){ subtotalText = data.addon.cartTotal; } var currency = litb.currency == 'CHF' ? litb.currency : litb.currSymbol; $('#navCartTotal').text(currency + data.addon.cartTotal); if(data.miniCartTitle!== null && data.miniCartTitle !== '' ){ miniCartTitle = data.miniCartTitle; } $(".nav-cart-more-items").text(miniCartTitle); } } ); } }); setTimeout(function(){ isClick = true; $(".num_increase").css('pointer-events','auto'); },1000); } _this.triggerChange($container); } else return; }); $('#navCartProductList').off('click.decrease').on('click.decrease','.num_decrease',function () { var $this = $(this); var $container = $this.parent(); var miniCart_old_quantity; var is_item_checked = $container.attr("data-checked"); var product_key = $container.find('.quantity-num').attr('data-key'); var min = Number($container.attr("data-min-quantity")) || 1; var now = Number($container.find(".quantity-num").val()); var arrow_dom = '
'; if (now <= min) return; $container.find(".num_increase").removeClass("disabled"); $container.find(".quantity-num").val(--now); $container.find(".quantity-num").attr('value', now); miniCart_old_quantity = Number($container.find(".quantity-num").val())+ 1 ; if (now === min) { $this.addClass("disabled"); } else { $this.removeClass("disabled"); } if(isClick){ isClick = false; $(".num_decrease").css('pointer-events','none'); $.ajax({ type: 'GET', url: gwURLHead+ (litb.lan === 'en' ? '' : litb.lan + '/') + "index.php?main_page=info_check&action=ajax_shopping_cart_2020_change_products_num&hold_invalid=true&partial_check_out=1&activeStatus=" + is_item_checked +"&cart_item_key=" + product_key +"&old_qty=" + miniCart_old_quantity + "&qty=" + now, success: function(){ $.getJSON( gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + 'index.php?main_page=info_check&action=ajax_shippingcart&callback=?&language='+litb.lan, function(data){ if(!data.items || data.items.length == 0){ $('#navCartInfoNote').removeClass('loading').html(arrow_dom+('
')+litb.langs.emptyNavCart); $me.data('cartInfo', 'empty'); $(".navCartCount").data('count',0).text(0); } else { var totalCount = 0, subtotalText = '', miniCartTitle = ''; //转换0为字符 data.cart_mini_num += ''; if (data.cart_mini_num!='') { totalCount = data.cart_mini_num; } $(".navCartCount").data('count',totalCount).text(formatCartNum(totalCount)); $(".navCartCount").trigger("cartNumberChange",totalCount); if(data.addon.cartTotal!== null && data.addon.cartTotal !== '' ){ subtotalText = data.addon.cartTotal; } var currency = litb.currency == 'CHF' ? litb.currency : litb.currSymbol; $('#navCartTotal').text(currency + data.addon.cartTotal); if(data.miniCartTitle!== null && data.miniCartTitle !== '' ){ miniCartTitle = data.miniCartTitle; } $(".nav-cart-more-items").text(miniCartTitle); } } ); } }); setTimeout(function(){ isClick = true; $(".num_decrease").css('pointer-events','auto'); },1000); } _this.triggerChange($container); }); $('#navCartProductList').on('blur','.quantity-num',function () { var $this = $(this); var $container = $this.parent(); var is_item_checked = $container.attr("data-checked"); var product_key = $container.find('.quantity-num').attr('data-key'); var val= $this.val(); var now; var miniCart_old_quantity = Number($container.find(".quantity-num").attr('old-value')); var arrow_dom = '
'; $container.find(".quantity-num").attr('old-value', val); $this.val(val.replace(/[^\d].*/g, "").replace(/^0+/, "")); _this.checkMaxMin($this.parent()); _this.triggerChange($container); now = Number($this.val()); $.ajax({ type: 'GET', url: gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + "index.php?main_page=info_check&action=ajax_shopping_cart_2020_change_products_num&hold_invalid=true&partial_check_out=1&activeStatus=" + is_item_checked +"&cart_item_key=" + product_key +"&old_qty=" + miniCart_old_quantity + "&qty=" + now, success: function(){ $.getJSON( gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + 'index.php?main_page=info_check&action=ajax_shippingcart&callback=?&language='+litb.lan, function(data){ if(!data.items || data.items.length == 0){ $('#navCartInfoNote').removeClass('loading').html(arrow_dom+('
')+litb.langs.emptyNavCart); $me.data('cartInfo', 'empty'); $(".navCartCount").data('count',0).text(0); } else { var totalCount = 0, subtotalText = '', miniCartTitle = ''; //转换0为字符 data.cart_mini_num += ''; if (data.cart_mini_num!='') { totalCount = data.cart_mini_num; } $(".navCartCount").data('count',totalCount).text(formatCartNum(totalCount)); $(".navCartCount").trigger("cartNumberChange",totalCount); if(data.addon.cartTotal!== null && data.addon.cartTotal !== '' ){ subtotalText = data.addon.cartTotal; } var currency = litb.currency == 'CHF' ? litb.currency : litb.currSymbol; $('#navCartTotal').text(currency + data.addon.cartTotal); if(data.miniCartTitle!== null && data.miniCartTitle !== '' ){ miniCartTitle = data.miniCartTitle; } $(".nav-cart-more-items").text(miniCartTitle); } } ); } }); }); $(".quantity-num").on("update",function () { _this.checkMaxMin($(this).parent()); }); $("#navCartProductList").off('click.delete').on('click.delete', '.iconic_delete', function () { var $this = $(this); var $iconContainer = $this.parent(); var $productContainer = $iconContainer.parent(); var is_item_checked = $productContainer.attr("data-checked"); var product_key = $productContainer.find('.quantity-num').attr('data-key'); var now = Number($productContainer.find(".quantity-num").val()); var $me= $('.nav-c-w-l'); var arrow_dom = '
'; $.ajax({ type: 'GET', url: gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + 'index.php?main_page=info_check&action=ajax_shopping_cart_2020_change_products_num&hold_invalid=true&partial_check_out=1&activeStatus=' + is_item_checked + '&cart_item_key=' + product_key + '&old_qty=' + now + '&qty=0', success: function () { $.getJSON( gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + 'index.php?main_page=info_check&action=ajax_shippingcart&callback=?&language=' + litb.lan, function (data) { if (!data.items || data.items.length == 0) { $('#navCartInfoNote').removeClass('loading').html(arrow_dom + ('
') + litb.langs.emptyNavCart); $me.data('cartInfo', 'empty'); $('#navCQE').hide(); $('#navCartInfoNote').show(); $(".navCartCount").data('count',0).text(0); } else { var items = data.items, prdListHtml = '', maxShow = 4, totalCount = 0, moreCount = 0 ; for (var i = 0; i < items.length; i++) { totalCount += items[i].qty; if (!items[i].attachment) --maxShow; if (maxShow < 0) { moreCount += items[i].qty; } else { prdListHtml += stringifyItem(items[i], i==0); }; }; //转换0为字符 data.cart_mini_num += ''; if (data.cart_mini_num!='') { totalCount = data.cart_mini_num; } $(".navCartCount").data('count',totalCount).text(formatCartNum(totalCount)); $(".navCartCount").trigger("cartNumberChange",totalCount); // header优化 if(litb.header_optimize){ $('#navCartProductList').html(prdListHtml); var prodDls = $('#navCartProductList').children('dl'); prodDls.each(function(){ var $this = $(this), minQty = $this.find('.quantity-select').attr('data-min-quantity'), currenttQty = $this.find('.quantity-num').attr('value'), decreaseIcon = $this.find('.order-quantity .quantity-select span.num_decrease'); if(minQty=== currenttQty){ decreaseIcon.removeClass('disabled'); } }); } else { $('#navCartProductList').html(prdListHtml).find('dl').click(function(){ jumpToUrl($(this).find('dt a').attr('href')); }); } $('#navCartProductList a').each(function(){ $(this).attr('href',$(this).attr('href')+'?prm='+litb.prm['site']+'.'+litb.prm['page']+'.180.0'); }); var currency = litb.currency == 'CHF' ? litb.currency : litb.currSymbol; $('#navCartTotal').text(currency + data.addon.cartTotal); $('#navCartMoreItems').show().text(data.miniCartTitle); if ($('#navCartInfoNote').is(':visible')) { $('#navCartInfoNote').hide(); $('#navCQE').show(); } $me.data('cartInfo', 'haveItems'); } } ); } }); _this.triggerChange($iconContainer); }); }, checkMaxMin: function ($container) { var max = $container.attr("data-max-quantity"); var min = Number($container.attr("data-min-quantity")) || 1; var $input = $container.find(".quantity-num"); var $decrease = $container.find(".num_decrease"); var $increase = $container.find(".num_increase"); var now = Number($input.val()); if (now <= min) { $input.val(min); now = min; // $input.attr('old-value', now); } else if (max && now >= Number(max)) { if (Number(max) < 0) { $container.attr("data-max-quantity", ""); } else { $input.val(max); now = Number(max); } } if (now === min) { $decrease.addClass("disabled"); } else { $decrease.removeClass("disabled"); } if (max && now === Number(max)) { $increase.addClass("disabled"); } else { $increase.removeClass("disabled"); } }, triggerChange: function ($containers, val) { $containers.each(function (i, t) { var $input = $(t).find(".quantity-num"); var now = $input.val(); if (val != now) { $input.trigger("change"); } }); } }; function stringifyItem(item) { var attrs = ''; // header优化 var quantityControlTemplate = '
' + '
'; if (!item.new_free_gift) { quantityControlTemplate += '' + '' + ''; } if (!item.new_free_gift) { quantityControlTemplate += ''; } else { quantityControlTemplate += '
x ' + item.qty + '
'; } if (!item.new_free_gift) { quantityControlTemplate += '' + '' + ''; } if (!item.new_free_gift) { quantityControlTemplate += ''; } quantityControlTemplate += '
' + '
'; var imgTemplate = ''; attrs = '
'; if(item.display_skus){ attrs += '' + item.display_skus + ''; }else if(item.attributes) { for (attrName in item.attributes) { attrs += '' + attrName + ': ' + item.attributes[attrName] + ''; } } attrs += '
'+litb.currSymbol + item.price+'
'; var template = '
- ' + '
- ' + imgTemplate + ' ' + '
'+item.name+'
' + attrs + quantityControlTemplate +'
'; return template; } $('.nav-c-w-l').hover(function(){ if(litb.mainPage == 'design_product' || litb.mainPage == 'customprint' || litb.mainPage == 'customprint_jubu'){ return false; } var $me = $(this), arrow_dom = '
', gwURLHead = litb.gwBaseURL; if (gwURLHead && !gwURLHead.endsWith('/')) { gwURLHead += '/'; } // 兼容aoq加购成功了之后刷新mini购物车的 var _preTime=$me.data('time');//15s内不刷新 var now=new Date().getTime(); if (!$me.data('cartInfo')||!_preTime||(_preTime&&now-_preTime>15000)) { $me.data('cartInfo', 'loading'); $me.data('time',now); $("#navCartInfoNote").addClass('loading').html(arrow_dom+litb.langs.loading).show(); $.getJSON( gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + 'index.php?main_page=info_check&action=ajax_shippingcart&callback=?&language='+litb.lan, function(data) { if (!data.items || data.items.length == 0) { $('#navCartInfoNote').removeClass('loading').html(arrow_dom+('
')+litb.langs.emptyNavCart); $me.data('cartInfo', 'empty'); $(".navCartCount").data('count',0).text(0); } else { var items = data.items, prdListHtml = '', maxShow = 4, totalCount = 0, moreCount = 0; var status = data.success; for (var i = 0; i < items.length; i++) { totalCount += items[i].qty; if (!items[i].attachment) --maxShow; if (maxShow < 0) { moreCount += items[i].qty; } else { prdListHtml += stringifyItem(items[i], i==0); }; }; //转换0为字符 data.cart_mini_num += ''; if (data.cart_mini_num!='') { totalCount = data.cart_mini_num; } $(".navCartCount").data('count',totalCount).text(formatCartNum(totalCount)); $(".navCartCount").trigger("cartNumberChange",totalCount); // header优化 $('#navCartProductList').html(prdListHtml); var prodDls = $('#navCartProductList').children('dl'); prodDls.each(function(){ var $this = $(this), minQty = Number($this.find('.quantity-select').attr('data-min-quantity')), currentQty = $this.find('.quantity-num').attr('value'), decreaseIcon = $this.find('dd .order-quantity .quantity-select .num_decrease'); if(minQty == currentQty){ decreaseIcon.addClass('disabled'); } }); $('#navCartProductList a').each(function(){ $(this).attr('href',$(this).attr('href')+'?prm='+litb.prm['site']+'.'+litb.prm['page']+'.180.0'); }); var currency = litb.currency == 'CHF' ? litb.currency : litb.currSymbol; $('#navCartTotal').text(currency + data.addon.cartTotal); $('#navCartMoreItems').show().text(data.miniCartTitle); if ($('#navCartInfoNote').is(':visible')) { $('#navCartInfoNote').hide(); $('#navCQE').show(); } $me.data('cartInfo', 'haveItems'); // header优化 if(status){ OrderQuantityObj.init(); } // 加载商品下拉列表的时候,图片资源错误,展示默认图 $("#navCartProductList dt img").each(function(o,img){ if(img.src){ img = $(img); var oImg = new Image(); oImg.onerror = function(){ oImg.onerror = null; var base = litb.resourceURL || litb.resouceURL; //old is `resouceURL`! if(Math.round(img.width()/img.height()) === 1){ img.attr("src", base + '/base-images/300x300.png'); }else{ img.attr("src", base + '/base-images/185x300.png'); } }; oImg.src = img.attr('src'); } }); }; } ).fail(function(){ $('#navCartInfoNote').html(arrow_dom+litb.langs.networkErrorRetry).children('.retry').click(function() { $me.data('cartInfo', null); $me.trigger('mouseover'); }); }); } else { // Has been loading or loaded switch ($me.data('cartInfo')) { case 'loading': case 'empty': $('#navCartInfoNote').show(); break; case 'haveItems': $('#navCQE').show(); } } }, function(){ $(this).children('dd').hide(); }); // 加购使用方法 window.aoqAddToCart = function() { var gwURLHead = litb.gwBaseURL; if (gwURLHead && !gwURLHead.endsWith('/')) { gwURLHead += '/'; }$.getJSON(gwURLHead + (litb.lan === 'en' ? '' : litb.lan + '/') + 'index.php?main_page=info_check&action=ajax_shippingcart&callback=?&language='+litb.lan,function(data) { $(".navCartCount").show();if (data.items && data.items.length > 0) {var items = data.items,prdListHtml = '',maxShow = 4, totalCount = 0;var status = data.success;for (var i = 0; i < items.length; i++) {if (!items[i].attachment) --maxShow;if (maxShow >= 0) {prdListHtml += stringifyItem(items[i]);};};//转换0为字符data.cart_mini_num += '';if (data.cart_mini_num!='') {totalCount = data.cart_mini_num;}$(".navCartCount").data('count',totalCount).text(formatCartNum(totalCount)); $(".navCartCount").trigger("cartNumberChange",totalCount);// header优化$('#navCartProductList').empty();$('#navCartProductList').html(prdListHtml);var prodDls = $('#navCartProductList').children('dl');prodDls.each(function(){var $this = $(this),minQty = Number($this.find('.quantity-select').attr('data-min-quantity')),currentQty = $this.find('.quantity-num').attr('value'),decreaseIcon = $this.find('dd .order-quantity .quantity-select .num_decrease');if(minQty == currentQty){decreaseIcon.addClass('disabled');}});$('#navCartProductList a').each(function(){$(this).attr('href',$(this).attr('href')+'?prm='+litb.prm['site']+'.'+litb.prm['page']+'.180.0');});$('#navCartTotal').text(litb.currSymbol + data.addon.cartTotal);$('#navCartMoreItems').show().text(data.miniCartTitle);if ($('#navCartInfoNote').is(':visible')) {$('#navCartInfoNote').hide();$('#navCQE').show();}$('.nav-c-w-l').data('cartInfo', 'haveItems');// header优化if(status){OrderQuantityObj.init();}};}); } window.aoqAddToCart();// $("#keywords").autocomplete({'parents':'#quick_find_header'});$('.searchBtnWrap').click(function(){if($('#keywords').val()!=""&&$('#keywords').val()!=$('#keywords').attr('dvalue')){jumpToUrl($('#quick_find_header').attr('action')+'&prm='+litb.prm['site']+'.'+litb.prm['page']+'.62.0&keyword='+$('#keywords').val());}});$('.checkout2Btn').click(function() { $(this).removeClass('checkout2Btn').addClass('processing2Btn');}); /** * jQuery Color Animations * @author 愚人码头 * 源自:jQuery UI jquery.effects.core.js * 更多http://www.css88.com/archives/4090 */;(function(jQuery){// 所有颜色样式jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){jQuery.fx.step[attr] = function(fx){if ( fx.state == 0 ) {fx.start = getColor( fx.elem, attr );fx.end = getRGB( fx.end );}fx.elem.style[attr] = "rgb(" + [Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0)].join(",") + ")";}});// Color Conversion functions from highlightFade// By Blair Mitchelmore// http://jquery.offput.ca/highlightFade/ //一个JavaScript 数组,其中包含 0和255之间的三个数字, (ie [255,255,255]). //An RGB 'function call syntax' string. either interger or percentage float form. (ie rgb(255,255,255) or rgb(100%,100%,100%)) //An RGB hex value. Either short or long form. (ie #FFF or #FFFFFF) //A W3C standard colour name string as defined at W3Schools. (ie 'white', 'blue', 'red', 'black', et. al)// Parse strings looking for color tuples [255,255,255]function getRGB(color) {var result;// 一个JavaScript 数组,其中包含 0和255之间的三个数字,例如: [255,255,255]if ( color && color.constructor == Array && color.length == 3 )return color;// Look for rgb(num,num,num)if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])];// Look for rgb(num%,num%,num%)if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];// Look for #a0b1c2if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];// Look for #fffif (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];// Otherwise, we're most likely dealing with a named colorreturn colors[jQuery.trim(color).toLowerCase()];}function getColor(elem, attr) {var color;do {color = jQuery.curCSS(elem, attr);// Keep going until we find an element that has color, or we hit the bodyif ( color != '' && color != 'transparent' || jQuery.nodeName(elem, "body") )break;attr = "backgroundColor";} while ( elem = elem.parentNode );return getRGB(color);};// Some named colors to work with// From Interface by Stefan Petre// http://interface.eyecon.ro/var colors = {aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]};})(jQuery);var input = $('#keywords');function animateBackgroundColor (){input.animate({'backgroundColor': '#ffbbbb' }, 200,function(){input.animate({'backgroundColor':'#fff' }, 200,function(){input.focus();});})}$('#quick_find_header').submit(function(){if(input.val()==''||(!$('.nav-keyword-show')[0]&&input.val()==input.attr('dvalue'))){input.val('');setTimeout(function(){animateBackgroundColor()},200);setTimeout(function(){animateBackgroundColor()},600);return false;}});if(!$('#nav-bar form')[0]){$('.searchBtnWrap').click(function(){if(input.val()==''||(!$('.nav-keyword-show')[0]&&input.val()==input.attr('dvalue'))){input.val('');setTimeout(function(){animateBackgroundColor()},200);setTimeout(function(){animateBackgroundColor()},600);}});input.keydown(function(e) {switch(e.keyCode) {case 13:if(input.val()==''||(!$('.nav-keyword-show')[0]&&input.val()==input.attr('dvalue'))){input.val('');setTimeout(function(){animateBackgroundColor()},200);setTimeout(function(){animateBackgroundColor()},600);}break;default:break;};});}
- Home>
-
- Popular >
-
- Tag List 0_9 >
-
- 2 Hooks Shoes >
Recommended Categories
Dog ClothesRobe HooksLatin ShoesCycling ShoesGirls' ShoesBaby ShoesShoelacesKids' Princess ShoesKids' SandalsKids' SneakersKids' BootsKids' FlatsKids' Athletic shoesKids‘ Loafers And Slip-Ons
2 Hooks ShoesSee All 3015 products in 2 Hooks Shoes
Sort by: RelevanceFavoritesPrice Low To HighPrice High To Low
LightInTheBox.com totally considered our customer’s needs. In order to save your time to find items, we give you the follow list according to your free searching result for 2 Hooks Shoes. In this way, you are achievable for all the 2 Hooks Shoes offered by our website. What you need to do is just read the products introduction and pick one you like. Just an easy click we will prepared the goods well and deliver to you as soon as possible. With the quick shopping process, we hope you will like our products as well as services.
- 1 2 3 4 5 6 7 8 ... 61
- Next
New Arrival
')$('body').prepend(pioTrackingDom);};