DEIA Midi Dress - red linen

$249.00
const TAG = "spz-custom-product-automatic"; class SpzCustomProductAutomatic extends SPZ.BaseElement { constructor(element) { super(element); this.variant_id = 'c1349c9c-229c-4276-9ef9-d327845ee514'; this.isRTL = SPZ.win.document.dir === 'rtl'; } static deferredMount() { return false; } buildCallback() { this.action_ = SPZServices.actionServiceForDoc(this.element); this.templates_ = SPZServices.templatesForDoc(this.element); this.xhr_ = SPZServices.xhrFor(this.win); this.setupAction_(); this.viewport_ = this.getViewport(); } mountCallback() { this.init(); // 监听事件 this.bindEvent_(); } async init() { this.handleFitTheme(); const data = await this.getDiscountList(); this.renderApiData_(data); } async getDiscountList() { const productId = '4f4c09cf-d996-49ea-943e-6051cb8d44b3'; const variantId = this.variant_id; const productType = 'default'; const reqBody = { product_id: productId, variant_id: variantId, discount_method: "DM_AUTOMATIC", customer: { customer_id: window.C_SETTINGS.customer.customer_id, email: window.C_SETTINGS.customer.customer_email }, product_type: productType } const url = `/api/storefront/promotion/display_setting/text/list`; const data = await this.xhr_.fetchJson(url, { method: "post", body: reqBody }).then(res => { return res; }).catch(err => { this.setContainerDisabled(false); }) return data; } async renderDiscountList() { this.setContainerDisabled(true); const data = await this.getDiscountList(); this.setContainerDisabled(false); // 重新渲染 抖动问题处理 this.renderApiData_(data); } clearDom() { const children = this.element.querySelector('*:not(template)'); children && SPZCore.Dom.removeElement(children); } async renderApiData_(data) { const parentDiv = document.querySelector('.automatic_discount_container'); const newTplDom = await this.getRenderTemplate(data); if (parentDiv) { parentDiv.innerHTML = ''; parentDiv.appendChild(newTplDom); } else { console.log('automatic_discount_container is null'); } } doRender_(data) { const renderData = data || {}; return this.templates_ .findAndRenderTemplate(this.element, renderData) .then((el) => { this.clearDom(); this.element.appendChild(el); }); } async getRenderTemplate(data) { const renderData = data || {}; return this.templates_ .findAndRenderTemplate(this.element, { ...renderData, isRTL: this.isRTL }) .then((el) => { this.clearDom(); return el; }); } setContainerDisabled(isDisable) { const automaticDiscountEl = document.querySelector('.automatic_discount_container_outer'); if(isDisable) { automaticDiscountEl.setAttribute('disabled', ''); } else { automaticDiscountEl.removeAttribute('disabled'); } } // 绑定事件 bindEvent_() { window.addEventListener('click', (e) => { let containerNodes = document.querySelectorAll(".automatic-container .panel"); let bool; Array.from(containerNodes).forEach((node) => { if(node.contains(e.target)){ bool = true; } }) // 是否popover面板点击范围 if (bool) { return; } if(e.target.classList.contains('drowdown-icon') || e.target.parentNode.classList.contains('drowdown-icon')){ return; } const nodes = document.querySelectorAll('.automatic-container'); Array.from(nodes).forEach((node) => { node.classList.remove('open-dropdown'); }) // 兼容主题 this.toggleProductSticky(true); }) // 监听变体变化 document.addEventListener('dj.variantChange', async(event) => { // 重新渲染 const variant = event.detail.selected; if (variant.product_id == '4f4c09cf-d996-49ea-943e-6051cb8d44b3' && variant.id != this.variant_id) { this.variant_id = variant.id; this.renderDiscountList(); } }); } // 兼容主题 handleFitTheme() { // top 属性影响抖动 let productInfoEl = null; if (window.SHOPLAZZA.theme.merchant_theme_name === 'Wind' || window.SHOPLAZZA.theme.merchant_theme_name === 'Flash') { productInfoEl = document.querySelector('.product-info-body .product-sticky-container'); } else if (window.SHOPLAZZA.theme.merchant_theme_name === 'Hero') { productInfoEl = document.querySelector('.product__info-wrapper .properties-content'); } if(productInfoEl){ productInfoEl.classList.add('force-top-auto'); } } // 兼容 wind/flash /hero 主题 (sticky属性影响 popover 层级展示, 会被其他元素覆盖) toggleProductSticky(isSticky) { let productInfoEl = null; if (window.SHOPLAZZA.theme.merchant_theme_name === 'Wind' || window.SHOPLAZZA.theme.merchant_theme_name === 'Flash') { productInfoEl = document.querySelector('.product-info-body .product-sticky-container'); } else if (window.SHOPLAZZA.theme.merchant_theme_name === 'Hero') { productInfoEl = document.querySelector('.product__info-wrapper .properties-content'); } if(productInfoEl){ if(isSticky) { // 还原该主题原有的sticky属性值 productInfoEl.classList.remove('force-position-static'); return; } productInfoEl.classList.toggle('force-position-static'); } } setupAction_() { this.registerAction('handleDropdown', (invocation) => { const discount_id = invocation.args.discount_id; const nodes = document.querySelectorAll('.automatic-container'); Array.from(nodes).forEach((node) => { if(node.getAttribute('id') != `automatic-${discount_id}`) { node.classList.remove('open-dropdown'); } }) const $discount_item = document.querySelector(`#automatic-${discount_id}`); $discount_item && $discount_item.classList.toggle('open-dropdown'); // 兼容主题 this.toggleProductSticky(); }); } triggerEvent_(name, data) { const event = SPZUtils.Event.create(this.win, `${ TAG }.${ name }`, data || {}); this.action_.trigger(this.element, name, event); } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } } SPZ.defineElement(TAG, SpzCustomProductAutomatic);
Size:  XXS
Quantity

Description

Slip into effortless style with this versatile linen midi dress, your perfect go-to for sun-soaked summer days. From casual beach days to sunset dinners by the sea, you’ll never want to take the DEIA Midi Dress off. The flattering bias-cut beautifully compliments your silhouette, while the chic low-back and softly gathered bust let you go braless; showing off sun-kissed skin on balmy evenings.

Crafted from 100% premium French flax linen, this dress is designed to keep you cool and comfortable, even in the hottest weather. Pair it with tousled beach waves and minimal jewellery for the ultimate summer vibe.

  • 100% mid-weight French flax linen
  • Midi length for a timeless fit
  • Flattering bias cut
  • Low back V design
  • V-neckline
  • Gathered bust detailing
  • A-line skirt
  • Fits true to size, choose the size that best matches your body measurements on our size chart
  • Our model Liva wears size S and her measurements are: 178cm (5' 10"), bust 84cm (33"), waist 67cm (26"), hips 91cm (36")
  •  

    Need some help? Ask the team via the chat or contact page.

     

    Garment Measurements
    We recommend following the size guide above however these measurements of the garment can be useful.

    Centimetres
    Length shoulder to hem - XXS/129.5, XS/132.5, S/135.5, M/138.5, L/141.5, XL/144.5, 2X/147.5, 3X/150.5
    Back length shoulder to hem - XXS/134, XS/137, S/140, M/143, L/146, XL/149, 2X/152, 3X/155
    Waist - XXS/78, XS/82, S/86, M/90, L/94, XL/98, 2X/102, 3X/106
    Hips - XXS/114, XS/118, S/122, M/126, L/130, XL/134, 2X/138, 3X/142

    Inches
    Length shoulder to hem - XXS/51, XS/52.2, S/53.3, M/54.5, L/55.7, XL/56.9, 2X/58.1, 3X/59.3
    Back length shoulder to hem - XXS/52.8, XS/53.9, S/55.1, M/56.3, L/57.5, XL/58.7, 2X/59.8, 3X/61
    Waist - XXS/30.7, XS/32.3, S/33.9, M/35.4, L/37, XL/38.6, 2X/40.2, 3X/41.7
    Hips - XXS/44.9, XS/46.5, S/48, M/49.6, L/51.2, XL/52.8, 2X/54.3, 3X/55.9

    100% French flax linen.

    Cold machine wash with like-colours and mild detergent. Warm iron if needed. Avoid tumble drying, bleaching, soaking or wringing.

    Our fabrics are pre-washed and your ROVE piece will soften over time.

    Every ROVE piece is made by hand in Bali using plant-based fibres. Our care instructions will keep your colours brighter for longer and minimise fabric degradation, ensuring it lasts you for summers to come.

    For a longer garment life and extra sustainability points, gently handwash using eco-friendly detergent and wash your clothing less often. Hang-dry inside-out and/or in the shade to preserve the dyes.