快速註冊會員登入星座運飾穿搭實拍 0 篇推薦 1015 篇VeryBuy 粉絲專頁關於我們會員條款隱私權政策APP下載廠商合作申請人才招募聯絡我們常見問題.
0
0
(function($)
//setting mobile search hidden
window.isSearchformHidden = 0;
var $form = $('#showform');
$form.show();//default style
window.headerMobileHeight = $('#header_MQ').innerHeight() - $('#showform').innerHeight();
window.headerShowformHeight = $('#showform').innerHeight() + headerMobileHeight;
/* panel slider func :: for RWD */
$(document).ready(function()
if (verybuy.isResponsive())
$('#show_slidepanel').slidepanel(
orientation: 'left',
mode: 'push'
);
);
$(':input[name=country_code]').change(function()
verybuy.changeCountry($(this).val());
);
$('a.a_select_country').click(function(e)
e.preventDefault();
verybuy.changeCountry($(this).data('country-code'));
);
//form controller
$('#searchMobile').on('click', function()
if (window.isSearchformHidden == 1)
$form.show();
$('#header_MQ').css('height', window.headerShowformHeight);
window.isSearchformHidden = 0;
else
$form.hide();
$('#header_MQ').css('height', window.headerMobileHeight);
window.isSearchformHidden = 1;
);
$('input[name=search_keyword]').change(function()
$('input[name=search_keyword]').val($(this).val());
);
$('body').on('click', '.search_button:visible', function()
var $form = $(this).parents('form');
var search_keyword = $form.find('input[name=search_keyword]').val();
if ('' == search_keyword.trim())
alert('請輸入搜尋的商品名稱!!!');
return false;
verybuy.actions.search(search_keyword)
$form.submit();
);
$('body').on('click', 'a.nav_logout', function(e)
verybuy.logout();
e.preventDefault();
);
$('.account_menu').click(function(e)
e.preventDefault();
if ($('ul.accountHover:visible').size() > 0)
document.location.href = '/member';
var $ul = $('ul.accountHover:hidden');
setTimeout(function()
if ($ul.is(':hidden'))
$ul.show();
$('.js-mailBox').addClass('u-hidden')
else
$ul.hide();
, 100);
);
$(document).click(function(e)
$ul = $('ul.accountHover');
if (!$ul.is(e.target) && $ul.has(e.target).length === 0)
$('.js-mailBox').removeClass('u-hidden')
$ul.hide();
);
$('ul[class=nav] li').hover(function()
$(this).children('ul').show();
, function()
$(this).children('ul').hide();
);
//下方次選單
$('ul[class="nav"] li ul li').click(function()
$(this).parent().find('a.actived').removeClass('actived');
$(this).children('a').addClass('actived');
);
/* 關閉購物車預覽 */
var hide_preview_cart = function()
$('.preCart:visible').removeClass('showing').hide().siblings('[class*=cart]').removeClass('mouseover');
;
/* 購物車預覽 */
$('.navBar').delegate('.cart_amount', 'mouseenter', function()
var $cart = $(this).parent();
$cart.addClass('mouseover').siblings('.preCart').show('fast', function()
if ($cart.is('.cart2'))
$(this).addClass('simple');
);
).delegate('.cart_amount', 'mouseleave', function()
setTimeout(function()
if (!$('.preCart:visible').is('.showing'))
hide_preview_cart();
, 100);
);
$('.preCart').mouseenter(function()
$(this).addClass('showing');
).mouseleave(function()
hide_preview_cart();
);
/* 關閉Banner */
$('.close_banner').click(function()
$(this).parent('li').hide();
);
)(jQuery);
星座運飾
穿搭實拍 0 篇
推薦 1015 篇
耳夾無耳洞女韓國三角形長款流蘇簡約假耳釘新娘耳飾耳環夾耳骨夾
約 NT$91
小溫柔~ 美國進口14K包金注金耳釘 施家奧地利珍珠耳環 手工定製
約 NT$492
人氣迷你許願玻璃瓶擰絲金屬帽米雕瓶 手工DIY吊墜小吊飾 茶壺款
約 NT$165
流蘇珍珠氣質長款顯臉瘦的夾耳環韓國冷淡風耳夾無耳洞女超仙耳墜
約 NT$237
韓國百搭個性耳環女氣質長款耳釘2019新款潮網紅洋氣純銀耳飾耳墜
約 NT$296
樓蘭客棧原創手工陶瓷鳳凰石首飾品短款古代民族風耳環複古耳墜女
約 NT$338
S925純銀耳針女後掛式雪花鋯石耳釘簡約氣質長款耳環明星名媛耳飾
約 NT$298
▇性感東京▇韓國歐美簡約春夏誇張蝴蝶結耳環長款度假風複古耳飾
約 NT$354
耳釘純銀女韓國氣質後掛式耳環個性百搭花朵耳飾品耳墜防過敏
約 NT$291
多珍珠流蘇大小串珠魚線耳環個性百搭氣質長款耳墜韓國時尚耳飾
約 NT$252
925銀針氣質新年紅色花朵耳環女時尚秋冬款百搭長款流蘇耳飾耳墜
約 NT$234
Special歐美複古花朵耳環女耳鉤氣質長鏤空耳飾耳墜吊墜龐貝古花
約 NT$893
NABO韓國 雪花微鑲鑽鋯石箭頭鍍白金珍珠花簇耳環耳釘配飾品
約 NT$369
原創手工diy耳環俄羅斯精靈耳飾女耳夾無耳洞白色珍珠無痛耳掛105
約 NT$206
韓國 宇宙少女同款程瀟同款超可愛百搭甜美愛心耳勾耳環耳夾飾品
約 NT$222
延禧攻略富察皇後同款耳環秦嵐如懿傳耳飾s925銀鉤清宮圓圈耳夾女
約 NT$321
純銀S925耳環韓國氣質約簡長款女耳釘個性百搭流蘇耳線耳墜耳飾品
約 NT$276
兒童耳夾假耳環無耳洞女公主小女孩卡通水晶珍珠長款耳墜女童飾品
約 NT$164
韓國925純銀耳貼 正品排鑽連體耳排耳環耳釘時尚氣質清新女耳飾品
約 NT$263
耳釘純銀女氣質韓國個性百搭耳飾品水晶甜美鋯石星月耳墜網紅耳環
約 NT$253
韓國高品質簡約長款氣質耳環雙珍珠耳環耳墜無耳洞耳釘耳夾耳飾女
約 NT$175
日韓名媛風氣質簡約長款歐美珍珠耳墜無耳洞耳夾耳環小清新耳飾女
約 NT$107
銀倩坊清新百搭鑲鑽雪花耳環長款流蘇耳墜個性簡約冰花耳飾
約 NT$243
誇張耳環女長款氣質耳墜韓國個性耳釘2019新款潮複古大氣時尚耳飾
約 NT$512
1
var uvOptions = ;
(function()
var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/Efes3rtqUSHYoaO185U4A.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
)();
$(document).ready(function()
verybuy.is_computer = ('computer' == verybuy.device_type);
var clientWidth = document.body.clientWidth
var timer
$(window).resize(function ()
clearTimeout(timer);
timer = setTimeout(function()
clientWidth = document.body.clientWidth
, 800)
);
//網頁版 + 手機版 => Action: 往下滑之後,就收起搜尋框, 回到頂端後,再度顯示搜尋框
var headerShowformSpy = function(targetPoint)
var $form = $('#showform');
var scroll_top = $(window).scrollTop();
if (scroll_top >= targetPoint)
$form.hide();
$('#header_MQ').css('height', window.headerMobileHeight);
window.isSearchformHidden = 1;
else
$form.show();
$('#header_MQ').css('height', window.headerShowformHeight);
window.isSearchformHidden = 0;
;
//網頁版
var sticky_navigation = function()
if (verybuy.isResponsive())
return;
var scroll_top = $(window).scrollTop();
if (scroll_top >= 80)
if (!$('#header_fixed').hasClass('showing'))
$('#header_fixed').addClass('showing');
$('#header_org').removeClass('showing');
$('#member_cart').hide();
$('#member_cart_fixed').show();
$('#header_org .accountHover').addClass('u-hidden')
else
if (!$('#header_org').hasClass('showing'))
$('#header_fixed').removeClass('showing');
$('#header_org').addClass('showing');
$('#member_cart_fixed').hide();
$('#member_cart').show();
$('#header_org .accountHover').removeClass('u-hidden')
;
sticky_navigation();
$(window).scroll(function()
if (clientWidth > 768)
//網頁版
sticky_navigation();
var targetPoint = window.isSearchformHidden ? (140 - window.headerShowformHeight) : 140;
else
// 手機版
var bannerHeight = $('#header_MQ').hasClass('trim-smartBanner') ? $('#header_MQ .smartBanner').innerHeight() : 0;
var headerWithBannerHeight = 140 + bannerHeight;
var targetPoint = window.isSearchformHidden ? (headerWithBannerHeight - window.headerShowformHeight) : headerWithBannerHeight;
$('#member_cart_fixed').hide();
headerShowformSpy(targetPoint);
);
);
// $('.tagsCloud > a').click(function(e)
// var eventParameters =
// 'event_category': 'keyword tag',
// 'event_label': $(this).text()
// ;
// verybuy.gaSendEvent('click', eventParameters);
// );
客服
var callback_FB_init = function()
;
verybuy.FB_init(callback_FB_init);
// Load the SDK Asynchronously
(function(d, s, id)
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/zh_TW/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
(document, 'script', 'facebook-jssdk'));
var _paq = _paq || [];
/* tracker methods like “setCustomDimension” should be called before “trackPageView” */
var MID = '0';
if (MID != '0')
_paq.push(['setUserId', MID]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
// (function()
// var u="//b.verybuy.tw/";
// _paq.push(['setTrackerUrl', u+'piwik.php']);
// _paq.push(['setSiteId', '2']);
// var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
// g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
// )();
verybuy.$gridContainer = $('#wrapperFav .tkListContainer');
verybuy.title = "u661fu5ea7u904bu98fe @ u975eu5e38u52f8u6557Verybuy #u7b2c1u9801";
verybuy.curPage = 1;
verybuy.baseUrl = "https://www.verybuy.cc/user/791040/user_submits";
verybuy.nextCall = 24 ? (verybuy.curPage + 1) : 0;
verybuy.pageStack = [];
verybuy.threshold =
top: 0,
bottom: 0,
genPos: 0,
isLocked: false
;
$(function()
var genThreshold = function(pageId)
var $thresholdElement = $(sprintf('%s li[data-page-id="%s"]', verybuy.$gridContainer.selector, pageId)).first();
if ($thresholdElement.length == 0)
return false;
var hT = $thresholdElement.offset().top;
var hH = $thresholdElement.outerHeight();
var wH = $(window).height();
verybuy.threshold.top = (hT + hH - wH);
$thresholdElement = $(sprintf('%s li[data-page-id="%s"]', verybuy.$gridContainer.selector, pageId)).last();
hT = $thresholdElement.offset().top;
hH = $thresholdElement.outerHeight();
wH = $(window).height();
verybuy.threshold.bottom = (hT + hH - wH);
// the genPosition is for triggering contains of next page
verybuy.threshold.genPos = verybuy.threshold.bottom - 2 * $thresholdElement.height();
verybuy.threshold.isLocked = false;
return true;
;
var gridsAppended = function()
$('#pjax-container img.lazy').lazyload(
threshold: 200
);
$('#pjax-container .tkList').appendTo(verybuy.$gridContainer);
var infiniteScroll = function()
$.pjax.defaults.timeout = 10000;
$.pjax.defaults.scrollTo = false;
// generate threshold by page id
genThreshold(verybuy.curPage);
var lastPos = $(window).scrollTop();
$(window).scroll(function()
var curPos = $(window).scrollTop();
if (lastPos = verybuy.threshold.genPos && !verybuy.threshold.isLocked)
verybuy.threshold.isLocked = true;
if (verybuy.nextCall == verybuy.curPage + 1)
if (verybuy.nextCall > 0 && $.inArray(verybuy.nextCall, verybuy.pageStack) === -1)
verybuy.showBlockUILoading();
var url = sprintf('%s/page/%s', verybuy.baseUrl, verybuy.nextCall);
$.pjax(url: url, container: '#pjax-container');
else if (curPos >= verybuy.threshold.bottom)
if (genThreshold(verybuy.curPage + 1))
verybuy.curPage++;
var title = verybuy.title.split('#')[0].trim();
title = sprintf('%s #第%s頁', title, verybuy.curPage);
$('title').text(title);
var url = sprintf('%s/page/%s', verybuy.baseUrl, verybuy.curPage);
history.replaceState(, title, url);
$('#pager').text(verybuy.curPage);
else
// direction is up
if (curPos 1 && curPos != 0)
if (genThreshold(verybuy.curPage - 1))
verybuy.curPage--;
var title = verybuy.title.split('#')[0].trim();
title = sprintf('%s #第%s頁', title, verybuy.curPage);
$('title').text(title);
var url = sprintf('%s/page/%s', verybuy.baseUrl, verybuy.curPage);
history.replaceState(, title, url);
$('#pager').text(verybuy.curPage);
lastPos = curPos;
);
$(document).on('pjax:complete', function()
gridsAppended();
// mark contains of page loaded
verybuy.pageStack.push(verybuy.nextCall);
var title = verybuy.title.split('#')[0].trim();
title = sprintf('%s #第%s頁', title, verybuy.curPage);
$('title').text(title);
var url = sprintf('%s/page/%s', verybuy.baseUrl, verybuy.curPage);
history.replaceState(, title, url);
verybuy.nextCall = ($('#pjax-container .showMore').length > 0) ? verybuy.nextCall + 1: 0;
if (verybuy.nextCall == 0)
$('#loader').hide();
$('#pjax-container').empty();
verybuy.hideBlockUILoading();
);
;
$('img.lazy').lazyload(
threshold: 200
);
if ($('#wrapperFav .tkListContainer').length > 0)
// initialize infinite Scroll
infiniteScroll();
else
$('#loader, #pager').remove();
});