Creative Speaker Small Night lamp

$58.99
$117.98
Save $58.99
Color : Pink
Style : without audio
Quantity
/** @private {string} */ class SpzCustomAnchorScroll extends SPZ.BaseElement { static deferredMount() { return false; } constructor(element) { super(element); /** @private {Element} */ this.scrollableContainer_ = null; } isLayoutSupported(layout) { return layout == SPZCore.Layout.LOGIC; } buildCallback() { this.viewport_ = this.getViewport(); this.initActions_(); } setTarget(containerId, targetId) { this.containerId = '#' + containerId; this.targetId = '#' + targetId; } scrollToTarget() { const container = document.querySelector(this.containerId); const target = container.querySelector(this.targetId); const {scrollTop} = container; const eleOffsetTop = this.getOffsetTop_(target, container); this.viewport_ .interpolateScrollIntoView_( container, scrollTop, scrollTop + eleOffsetTop ); } initActions_() { this.registerAction( 'scrollToTarget', (invocation) => this.scrollToTarget(invocation?.caller) ); this.registerAction( 'setTarget', (invocation) => this.setTarget(invocation?.args?.containerId, invocation?.args?.targetId) ); } /** * @param {Element} element * @param {Element} container * @return {number} * @private */ getOffsetTop_(element, container) { if (!element./*OK*/ getClientRects().length) { return 0; } const rect = element./*OK*/ getBoundingClientRect(); if (rect.width || rect.height) { return rect.top - container./*OK*/ getBoundingClientRect().top; } return rect.top; } } SPZ.defineElement('spz-custom-anchor-scroll', SpzCustomAnchorScroll); const STRENGTHEN_TRUST_URL = "/api/strengthen_trust/settings"; class SpzCustomStrengthenTrust extends SPZ.BaseElement { constructor(element) { super(element); this.renderElement_ = null; } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } buildCallback() { this.xhr_ = SPZServices.xhrFor(this.win); const renderId = this.element.getAttribute('render-id'); SPZCore.Dom.waitForChild( document.body, () => !!document.getElementById(renderId), () => { this.renderElement_ = SPZCore.Dom.scopedQuerySelector( document.body, `#${renderId}` ); if (this.renderElement_) { this.render_(); } this.registerAction('track', (invocation) => { this.track_(invocation.args); }); } ); } render_() { this.fetchData_().then((data) => { if (!data) { return; } SPZ.whenApiDefined(this.renderElement_).then((apis) => { apis?.render(data); document.querySelector('#strengthen-trust-render-1539149753700').addEventListener('click',(event)=>{ if(event.target.nodeName == 'A'){ this.track_({type: 'trust_content_click'}); } }) }); }); } track_(data = {}) { const track = window.sa && window.sa.track; if (!track) { return; } track('trust_enhancement_event', data); } parseJSON_(string) { let result = {}; try { result = JSON.parse(string); } catch (e) {} return result; } fetchData_() { return this.xhr_ .fetchJson(STRENGTHEN_TRUST_URL) .then((responseData) => { if (!responseData || !responseData.data) { return null; } const data = responseData.data; const moduleSettings = (data.module_settings || []).reduce((result, moduleSetting) => { return result.concat(Object.assign(moduleSetting, { logos: (moduleSetting.logos || []).map((item) => { return moduleSetting.logos_type == 'custom' ? this.parseJSON_(item) : item; }) })); }, []); return Object.assign(data, { module_settings: moduleSettings, isEditor: window.self !== window.top, }); }); } } SPZ.defineElement('spz-custom-strengthen-trust', SpzCustomStrengthenTrust);
Description

Product Details

Voltage: 5V (V)

Shade Material: ABS

Dimensions: 124X90X205 (mm)

switch type: button type

Style: Nordic

Light color:White basic model (without audio), gray basic model (without audio), pink basic model (without audio), white Bluetooth model, gray Bluetooth model, pink Bluetooth model
Light source power: 4W (W)

Power supply: Charging (with USB cable)

Battery capacity: 1200mAh

  • Unique Creative Design: Nordic creative modern and simple style small night lamp, open a bright door, let the light into your heart, a touch of soft artistic conception, warm companionship, like the light color of natural Sparks, all eyes are gentle.
  • Function: it is not only a night light, but also a sound box. The soft light is not dazzling. It simulates comfortable candlelight and is more warm. It will accompany you to sleep at ease. High quality Bluetooth speaker, enjoy soft and light music in a quiet night, and feel comfortable in it. Simple and exquisite appearance, beautiful and practical, is the best choice for you to send gifts!
  • 3-speed dimming: long press for 3 seconds to adjust the light brightness, 30%-100% brightness any choice, delicate touch switch button. Hidden Bluetooth influence, playing music quietly behind. (The light switch is independent of the speaker switch) it is convenient to use.
  • Features: voice prompts to charge, when the power is insufficient. USB charging 1200mAh built-in battery, 5V energy-saving lamp, 4.5-72 hours when fully charged, depending on different use and brightness. Product Size 124*90 * 205mm (4.88*3.54*8.07 inch), weight: 360g, does not occupy space.