(function(){ var cv=document.getElementById('dust'),cx=cv.getContext('2d'),W,H; function size(){W=cv.width=innerWidth;H=cv.height=innerHeight}size();addEventListener('resize',size); var P=[];var GOLD=[255,217,138],PERI=[159,176,255],WHITE=[240,243,255]; function spawn(x,y,opt){opt=opt||{};var c=[GOLD,PERI,WHITE][Math.random()*3|0]; P.push({x:x,y:y,vx:(Math.random()-.5)*(opt.sp||1.2),vy:(Math.random()-.5)*1.2,life:1,decay:.012+Math.random()*.02,s:opt.s||(1+Math.random()*2.2),c:c,tw:Math.random()*6.28});} addEventListener('mousemove',function(e){for(var i=0;i<3;i++)spawn(e.clientX+(Math.random()-.5)*10,e.clientY+(Math.random()-.5)*10,{sp:.9});}); setInterval(function(){spawn(Math.random()*W,Math.random()*H*.6,{sp:.3,s:1});},280); function loop(){cx.clearRect(0,0,W,H);cx.globalCompositeOperation='lighter'; for(var i=P.length-1;i>=0;i--){var p=P[i];p.x+=p.vx;p.y+=p.vy;p.life-=p.decay;p.tw+=.25; if(p.life<=0){P.splice(i,1);continue} var a=p.life*(.55+.45*Math.sin(p.tw)); var g=cx.createRadialGradient(p.x,p.y,0,p.x,p.y,p.s*3.2); g.addColorStop(0,'rgba('+p.c[0]+','+p.c[1]+','+p.c[2]+','+a+')');g.addColorStop(1,'rgba('+p.c[0]+','+p.c[1]+','+p.c[2]+',0)'); cx.fillStyle=g;cx.beginPath();cx.arc(p.x,p.y,p.s*3.2,0,6.28);cx.fill();} requestAnimationFrame(loop);}loop(); var io=new IntersectionObserver(function(es){es.forEach(function(e){if(e.isIntersecting)e.target.classList.add('awake');});},{threshold:.15}); document.querySelectorAll('.awaken').forEach(function(el){io.observe(el)}); })();
让我们保持联系
我们期待您的反馈。
无论是有疑问、建议,还是想分享一个睡前故事——我们的团队都会用您的语言为您解答。
联系我们
发送留言
填写下面的简短表格,这家人就会用你的语言给你回信。
访问
来躺下吧
在加拿大、美国、越南和中国设有九家展厅。
我们的展厅
来躺下 吧。
每家Sleepm门店都欢迎您前来参观。您可以试躺床铺、触摸水晶,随时提问——无需预约。
多伦多
约翰街2600号 205室 安大略省马克姆市 L3R 3W3简体中文(大陆)
里士满山
莱斯利街9009号 里士满山,安大略省 L4B 3B6
纽约
格兰德街325号,6楼 纽约州纽约市 10002简体中文(大陆)
弗吉尼亚州
13899 Metrotech Dr, ,钱蒂利,弗吉尼亚州 20151简体中文(大陆)
洛杉矶
11837 Goldring Rd, ,Arcadia,CA 91006
拉斯维加斯
内华达州拉斯维加斯市萨哈拉大道西3160号,A11室 邮编:89102
胡志明市
9楼903室 越南胡志明市西贡坊勒杜安街34号
上海
中国上海市闵行区漕宝路1245号七楼 上海市闵行区漕宝路1245号七楼
临沂
中国山东省临沂市谭城县西关商业市场 1号楼1-14单元
郯城
谭城县人民路117号 中国山东省临沂市临沂市郯城县人民路117号
或者深入了解
加入我们的大家庭。
在您所在的社区,用您熟悉的语言分享Sleepm,身后有成千上万的支持者。
✦ 成为经销商
(function(){var root=document.getElementById('lloydLang');if(!root)return;var btn=root.querySelector('.ll-btn');btn.addEventListener('click',function(e){e.stopPropagation();root.classList.toggle('ll-open');});document.addEventListener('click',function(){root.classList.remove('ll-open');});function sw(code){var done=false;if(window.Weglot){if(Weglot.switchTo){Weglot.switchTo(code);done=true;}}if(!done){var a=document.getElementById('weglot-language-'+code);if(a){a.click();}}}var opts=root.querySelectorAll('.ll-opt');opts.forEach(function(o){o.addEventListener('click',function(e){e.preventDefault();var code=o.getAttribute('data-wg');sw(code);var el=root.querySelector('.ll-cur');if(el){el.textContent=code.toUpperCase();}root.classList.remove('ll-open');});});function setCur(){var cur='';if(window.Weglot){if(Weglot.getCurrentLang){cur=Weglot.getCurrentLang();}}if(cur){var el=root.querySelector('.ll-cur');if(el){el.textContent=(''+cur).toUpperCase();}}}setTimeout(setCur,900);})();
(function(){var btn=document.querySelector('.lb-btn');if(btn){btn.addEventListener('click',function(e){e.preventDefault();document.documentElement.classList.toggle('lbopen');});}var menu=document.querySelector('.lb-menu');if(menu){menu.addEventListener('click',function(){document.documentElement.classList.remove('lbopen');});}})();
var ids=['wpforms-2350-field_0','wpforms-2350-field_0-last','wpforms-2350-field_1','wpforms-2350-field_3','wpforms-2350-field_2'];
function glow(el){
var L=document.documentElement.classList.contains('lloyd-light');
el.style.setProperty('border-color',L?'rgba(169,118,26,0.45)':'rgba(255,217,138,0.5)','important');
el.style.setProperty('box-shadow',L?'0 0 0 3px rgba(169,118,26,0.08)':'0 0 0 3px rgba(255,217,138,0.08)','important');
if(!L)el.style.setProperty('background','rgba(255,255,255,0.07)','important');
el.style.setProperty('caret-color',L?'#a9761a':'#ffd98a','important');
el.style.setProperty('outline','none','important');
el.style.setProperty('transition','border-color .25s ease, box-shadow .25s ease','important');
}
(function(){var a=document.getElementById('wpforms-2350-field_0'),b=document.getElementById('wpforms-2350-field_0-last');if(a)a.placeholder='First';if(b)b.placeholder='Last';})();
(function sleepmTypeIn(){
var ids=['wpforms-2350-field_0','wpforms-2350-field_0-last','wpforms-2350-field_1','wpforms-2350-field_3'];
var els=ids.map(function(id){return document.getElementById(id);}).filter(Boolean);
if(!els.length)return;
if(window.matchMedia&&matchMedia('(prefers-reduced-motion: reduce)').matches)return;
var txt=els.map(function(e){return e.getAttribute('placeholder')||'';});
els.forEach(function(e){e.setAttribute('placeholder','');});
var started=false;
function run(){if(started)return;started=true;var i=0;
(function next(){if(i>=els.length)return;var e=els[i],t=txt[i],k=0;
(function step(){k++;e.setAttribute('placeholder',t.slice(0,k));
if(t.length>k){setTimeout(step,45+Math.random()*35);}else{i++;setTimeout(next,160);}})();})();}
var form=document.getElementById('wpforms-form-2350')||els[0];
if('IntersectionObserver' in window){var io=new IntersectionObserver(function(en){en.forEach(function(x){if(x.isIntersecting){io.disconnect();setTimeout(run,250);}});},{threshold:0.2});io.observe(form);}else{run();}
})();
function unglow(el){
el.style.removeProperty('border-color');
el.style.removeProperty('box-shadow');
el.style.removeProperty('background');
el.style.removeProperty('outline');
}
function wire(){
var i=0;
while(i!==ids.length){
(function(id){
var el=document.getElementById(id);
if(el){
el.addEventListener('focus',function(){glow(el);});
el.addEventListener('blur',function(){unglow(el);});
}
})(ids[i]);
i=i+1;
}
}
function tryFocus(){
var touch=('ontouchstart' in window);
var wide=(Math.max(window.innerWidth,821)===window.innerWidth);
if(touch===false){
if(wide){
var f=document.getElementById(ids[0]);
if(f){
if(document.activeElement!==f){
f.focus({preventScroll:true});
}
if(document.activeElement===f){
glow(f);
}
}
}
}
}
setTimeout(function(){wire(); tryFocus();},400);
setTimeout(tryFocus,1600);
(function(){
var ta=document.querySelector('.ct-write .formcard textarea');
var box=document.getElementById('ctTopics');
if(box){box.addEventListener('click',function(e){var b=e.target.closest('button');if(!b)return;
[].forEach.call(box.querySelectorAll('button'),function(x){x.classList.toggle('on',x===b)});
if(ta){var v=ta.value.replace(/^\[[^\]]*\]\s*/,'');ta.value='['+b.getAttribute('data-t')+'] '+v;
var fc=document.querySelector('.ct-write .formcard');if(window.innerWidth>960){ta.focus({preventScroll:true})}else if(fc){fc.scrollIntoView({behavior:'smooth',block:'start'})}}});}
var off=document.querySelector('#showrooms .offices');
if(off){var cards=[].slice.call(off.querySelectorAll('.off'));var order=['Canada','United States','China','Vietnam'];var cnt={};
cards.forEach(function(c){var t=c.querySelector('.tag');var k=t?t.textContent.split('·')[0].trim():'';c.setAttribute('data-ct',k);cnt[k]=(cnt[k]||0)+1});
var bar=document.createElement('div');bar.className='ct-cf';bar.setAttribute('role','group');bar.setAttribute('aria-label','Filter showrooms by country');
var mk=function(label,key,n){var b=document.createElement('button');b.type='button';b.setAttribute('data-k',key);b.innerHTML=label+' <i>'+n+'</i>';bar.appendChild(b);return b};
mk('All',' ',cards.length).classList.add('on');order.forEach(function(k){if(cnt[k])mk(k,k,cnt[k])});
bar.addEventListener('click',function(e){var b=e.target.closest('button');if(!b)return;var k=b.getAttribute('data-k');
[].forEach.call(bar.children,function(x){x.classList.toggle('on',x===b);x.setAttribute('aria-pressed',x===b)});
if(!off._cols){off._cols=getComputedStyle(off).gridTemplateColumns.split(' ').length;off._w=cards[0].getBoundingClientRect().width}
cards.forEach(function(c){c.hidden=!(k===' '||c.getAttribute('data-ct')===k)});
var n=cards.filter(function(c){return !c.hidden}).length;
if(k!==' '&&n<off._cols&&window.innerWidth>700){off.style.setProperty('grid-template-columns','repeat('+n+','+off._w+'px)','important');off.style.setProperty('justify-content','center','important')}else{off.style.removeProperty('grid-template-columns');off.style.removeProperty('justify-content')}});
off.parentNode.insertBefore(bar,off);}
})();
语言
下载应用
用手机摄像头扫描——iPhone版已在App Store上线,Android版已在Google Play上线。
或在手机上点击此处 →
其他一切
外观
Light mode Off