(function () { 'use strict'; const WPDATA = typeof vertuCatalogAjax !== 'undefined' ? vertuCatalogAjax : {}; const config = { ajaxUrl: WPDATA.ajax_url, nonce: WPDATA.nonce, pageSize: 12 }; const state = { allCategories: [], currentMainCategory: null, currentSubCategory: null, currentSelectedCategoryId: null, currentSortBy: 'default', currentPage: 1, }; const DOM = {}; //【恢复】这个 map 作为 "Learn More" 链接的首选来源 const landingPageMap = { "Quantum Flip": "https://vertu.com/quantum/", "Metavertu Curve": "https://vertu.com/metavertu-curve/", "Metavertu 2 Max": "https://vertu.com/metamax/", "Grand Watch": "https://vertu.com/grandwatch/", "Aura Ring": "https://vertu.com/aura-ring/", "Signature S": "https://vertu.com/signature-s/", "Ironflip": "https://vertu.com/page-ironflip/", "OWS Earbuds": "https://vertu.com/ows-earbuds/", "AI Diamond Ring": "https://vertu.com/smartring/" }; //【恢复】这个函数用于从 map 中查找链接 function getLandingPageUrlByName(productName) { const name = productName.toLowerCase(); let bestMatch = null; let longestKey = 0; for (const key in landingPageMap) { const lowerKey = key.toLowerCase(); if (name.includes(lowerKey)) { if (lowerKey.length > longestKey) { bestMatch = landingPageMap[key]; longestKey = lowerKey.length; } } } return bestMatch; } function initDOMCache() { DOM.catalogWrapper = document.querySelector('.vertu-catalog-wrapper'); if (!DOM.catalogWrapper) { return false; } const requiredIds = ['initial-loading', 'error-state', 'product-list', 'banner-categories', 'category-dropdown', 'dropdown-menu', 'sort-dropdown-btn', 'sort-dropdown-menu', 'discover-prev-btn', 'discover-next-btn']; for (const id of requiredIds) { DOM[id.replace(/-/g, '_')] = document.getElementById(id); if (!DOM[id.replace(/-/g, '_')]) { console.warn(`#${id} not found.`); return false; } } DOM.banner_title = DOM.catalogWrapper.querySelector('.banner-title'); DOM.banner_desc = DOM.catalogWrapper.querySelector('.banner-desc'); return true; } async function fetchData(action, data = {}) { try { const formData = new FormData(); formData.append('action', action); formData.append('nonce', config.nonce); for (const key in data) { formData.append(key, data[key]); } const response = await fetch(config.ajaxUrl, { method: 'POST', body: formData }); if (!response.ok) throw new Error(`Network error: ${response.status}`); const result = await response.json(); if (!result.success) throw new Error(result.data || 'AJAX request failed.'); return result.data; } catch (error) { console.error(`Failed to fetch ${action}:`, error); loadingManager.showError(error.message); return null; } } //【修改】实现混合式 "Learn More" 链接逻辑 function renderProductCard(product) { let learnMoreUrl = null; // 1. 优先从 JS map 中查找 const urlFromMap = getLandingPageUrlByName(product.name); if (urlFromMap) { learnMoreUrl = urlFromMap; } // 2. 如果 map 中没有,则使用从 WP 后端传来的链接作为后备 else if (product.learn_more_url) { learnMoreUrl = product.learn_more_url; } let learnMoreButtonHtml = ''; if (learnMoreUrl) { learnMoreButtonHtml = `Learn more`; } const imageHtml = product.image_html || ``; return `
${product.on_sale ? '
On Sale
' : ''}
${imageHtml}

${product.name}

${product.price_html}
${product.stock_status !== 'outofstock' ? `Buy now` : ''} ${learnMoreButtonHtml}
`; } function renderProductsPaged(newProducts, reset = false) { if (reset) { DOM.product_list.innerHTML = newProducts.map(renderProductCard).join(''); } else { DOM.product_list.insertAdjacentHTML('beforeend', newProducts.map(renderProductCard).join('')); } let loadMoreBtn = DOM.catalogWrapper.querySelector('.load-more-btn'); if (loadMoreBtn) loadMoreBtn.remove(); if (newProducts.length === config.pageSize) { loadMoreBtn = document.createElement('button'); loadMoreBtn.className = 'load-more-btn'; loadMoreBtn.textContent = 'Load more'; loadMoreBtn.onclick = async (e) => { const btn = e.target; btn.textContent = 'Loading...'; btn.disabled = true; state.currentPage++; await updateProductsDisplay(false); }; DOM.product_list.parentNode.appendChild(loadMoreBtn); } } async function updateProductsDisplay(reset = true) { if (reset) { state.currentPage = 1; loadingManager.showLoading(); } const products = await fetchData('vertu_get_products', { category_id: state.currentSelectedCategoryId, sort_by: state.currentSortBy, page: state.currentPage, posts_per_page: config.pageSize }); if (products) { renderProductsPaged(products, reset); } if (reset) { loadingManager.hideLoading(); } } function renderSubCategories() { const parentId = state.currentMainCategory ? state.currentMainCategory.id : 0; let subCats = state.allCategories.filter(cat => cat.parent === parentId); // 添加调试信息 console.log('Current main category:', state.currentMainCategory?.name, 'ID:', parentId); console.log('Sub categories found:', subCats.length); subCats.forEach(cat => console.log('-', cat.name, 'term_order:', cat.term_order)); // 使用WordPress的term_order排序,如果都为0则按名称排序 subCats.sort((a, b) => { const orderA = parseInt(a.term_order) || 0; const orderB = parseInt(b.term_order) || 0; // 如果term_order都为0,按名称排序 if (orderA == 0 && orderB == 0) { return a.name.localeCompare(b.name); } // 否则按term_order排序 return orderA - orderB; }); // 添加排序后的调试信息 console.log('Sorted sub categories:'); subCats.forEach((cat, index) => console.log(`${index + 1}. ${cat.name} (term_order: ${cat.term_order})`)); if (DOM.banner_categories) { const imagePlaceholder = ``; DOM.banner_categories.innerHTML = subCats.map(cat => { const isActive = state.currentSubCategory && state.currentSubCategory.id === cat.id; return ``; }).join(''); } } function renderCategoryDropdown() { if (!state.currentMainCategory) return; const parentId = state.currentMainCategory.id; let subCats = state.allCategories.filter(cat => cat.parent === parentId); // 使用WordPress的term_order排序,如果都为0则按名称排序 subCats.sort((a, b) => { const orderA = parseInt(a.term_order) || 0; const orderB = parseInt(b.term_order) || 0; // 如果term_order都为0,按名称排序 if (orderA == 0 && orderB == 0) { return a.name.localeCompare(b.name); } // 否则按term_order排序 return orderA - orderB; }); let html = ``; html += subCats.map(cat => { const isSelected = state.currentSubCategory && state.currentSubCategory.id === cat.id; return ``; }).join(''); if (DOM.dropdown_menu) DOM.dropdown_menu.innerHTML = html; } function updateActiveCategory(catId) { if(state.currentSelectedCategoryId === catId) return; if(catId === 0) { state.currentMainCategory = null; state.currentSubCategory = null; state.currentSelectedCategoryId = null; } else { state.currentSelectedCategoryId = catId; const selectedCat = state.allCategories.find(c => c.id === catId); if (selectedCat) { if (selectedCat.parent === 0) { if (state.currentMainCategory?.id !== selectedCat.id) { state.currentMainCategory = selectedCat; state.currentSubCategory = null; renderSubCategories(); renderCategoryDropdown(); } } else { state.currentSubCategory = selectedCat; const parentCat = state.allCategories.find(c => c.id === selectedCat.parent); if (parentCat && state.currentMainCategory?.id !== parentCat.id) { state.currentMainCategory = parentCat; renderSubCategories(); renderCategoryDropdown(); } } } } document.querySelectorAll('.banner-category-card.active').forEach(c => c.classList.remove('active')); const activeCard = DOM.banner_categories.querySelector(`[data-cat-id="${catId}"]`); if (activeCard) activeCard.classList.add('active'); updateDropdownBtnText(); updateProductsDisplay(true); } function updateDropdownBtnText() { const allSpan = DOM.category_dropdown.querySelector('.dropdown-all'); const maincatSpan = DOM.category_dropdown.querySelector('.dropdown-maincat'); if (!allSpan || !maincatSpan) return; if (state.currentSubCategory) { allSpan.textContent = ''; maincatSpan.textContent = state.currentSubCategory.name; } else if (state.currentMainCategory) { allSpan.textContent = 'All'; maincatSpan.textContent = ` ${state.currentMainCategory.name}`; } else { allSpan.textContent = 'All'; maincatSpan.textContent = ' Categories'; } } async function startApp() { if (!initDOMCache()) { loadingManager.showError('Failed to initialize page elements.'); return; } loadingManager.showInitialLoading(); const categories = await fetchData('vertu_get_categories'); if(!categories) return; state.allCategories = categories.filter(c => c.name !== 'Payment Link' && typeof c.parent !== 'undefined'); const initialCategorySlug = DOM.catalogWrapper.dataset.initialCategory; let mainCategories = state.allCategories.filter(cat => cat.parent === 0); // 使用与PHP后端相同的排序逻辑 mainCategories.sort((a, b) => { // 优先使用term_order,如果都为0则使用menu_order if ((a.term_order || 0) != 0 || (b.term_order || 0) != 0) { return (a.term_order || 0) - (b.term_order || 0); } // 如果term_order都为0,使用menu_order if ((a.menu_order || 0) != 0 || (b.menu_order || 0) != 0) { return (a.menu_order || 0) - (b.menu_order || 0); } // 最后按名称排序 return a.name.localeCompare(b.name); }); let initialCategory = null; if(initialCategorySlug) { initialCategory = state.allCategories.find(cat => cat.slug.toLowerCase() === initialCategorySlug.toLowerCase() && cat.parent === 0); } state.currentMainCategory = initialCategory || mainCategories[0] || null; if (state.currentMainCategory) { state.currentSelectedCategoryId = state.currentMainCategory.id; DOM.banner_title.textContent = state.currentMainCategory.name; DOM.banner_desc.innerHTML = state.currentMainCategory.description || ''; renderSubCategories(); renderCategoryDropdown(); updateDropdownBtnText(); await updateProductsDisplay(true); } else { loadingManager.showError('No product categories found.'); } dropdownManager.init(); initEventListeners(); initScrollButtons(); loadingManager.hideInitialLoading(); } function initializeCatalog() { const catalogWrapper = document.querySelector('.vertu-catalog-wrapper'); if (!catalogWrapper) { let attempts = 0; const interval = setInterval(function() { const wrapper = document.querySelector('.vertu-catalog-wrapper'); if (wrapper) { clearInterval(interval); startApp(); } attempts++; if (attempts > 50) { clearInterval(interval); console.error('Catalog wrapper did not appear after 5 seconds. Aborting.'); const errorDiv = document.getElementById('error-state'); if (errorDiv) { const errorText = errorDiv.querySelector('.error-state-text'); if (errorText) errorText.textContent = 'Failed to load catalog content.'; errorDiv.style.display = 'flex'; } } }, 100); return; } startApp(); } const dropdownManager = { init() { this.menus = { category: DOM.dropdown_menu, sort: DOM.sort_dropdown_menu }; this.buttons = { category: DOM.category_dropdown, sort: DOM.sort_dropdown_btn }; this.currentOpenMenu = null; this.bindEvents(); }, bindEvents() { Object.entries(this.buttons).forEach(([type, button]) => { if (button) button.addEventListener('click', (e) => { e.stopPropagation(); this.toggleMenu(type); }); }); document.addEventListener('click', () => this.closeAllMenus()); document.addEventListener('keydown', (e) => { if (e.key === 'Escape') this.closeAllMenus(); }); }, toggleMenu(type) { this.currentOpenMenu === type ? this.closeAllMenus() : this.openMenu(type); }, openMenu(type) { this.closeAllMenus(); if(this.menus[type]) this.menus[type].style.display = 'block'; if(this.buttons[type]) this.buttons[type].classList.add('active'); this.currentOpenMenu = type; }, closeAllMenus() { if (!this.currentOpenMenu) return; if(this.menus[this.currentOpenMenu]) this.menus[this.currentOpenMenu].style.display = 'none'; if(this.buttons[this.currentOpenMenu]) this.buttons[this.currentOpenMenu].classList.remove('active'); this.currentOpenMenu = null; } }; function initEventListeners() { if (DOM.banner_categories) DOM.banner_categories.addEventListener('click', e => { const card = e.target.closest('.banner-category-card'); if (card && card.dataset.catId) updateActiveCategory(parseInt(card.dataset.catId, 10)); }); if (DOM.dropdown_menu) DOM.dropdown_menu.addEventListener('click', e => { const item = e.target.closest('.dropdown-item'); if (item && item.dataset.catId) updateActiveCategory(parseInt(item.dataset.catId, 10)); }); if (DOM.sort_dropdown_menu) DOM.sort_dropdown_menu.addEventListener('click', e => { const item = e.target.closest('.sort-dropdown-item'); if (item && item.dataset.sort) { state.currentSortBy = item.dataset.sort; DOM.sort_dropdown_menu.querySelectorAll('.sort-dropdown-item').forEach(i => i.classList.remove('selected')); item.classList.add('selected'); updateProductsDisplay(true); dropdownManager.closeAllMenus(); } }); } function initScrollButtons() { if (DOM.discover_prev_btn && DOM.discover_next_btn && DOM.banner_categories) { DOM.discover_prev_btn.addEventListener('click', () => { DOM.banner_categories.scrollBy({ left: -300, behavior: 'smooth' }); }); DOM.discover_next_btn.addEventListener('click', () => { DOM.banner_categories.scrollBy({ left: 300, behavior: 'smooth' }); }); } } const loadingManager = { getInitialLoadingEl() { return document.getElementById('initial-loading'); }, getErrorStateEl() { return document.getElementById('error-state'); }, showInitialLoading() { const el = this.getInitialLoadingEl(); if (el) el.style.display = 'flex'; }, hideInitialLoading() { const el = this.getInitialLoadingEl(); if (el) el.style.display = 'none'; }, showLoading() { renderSkeletonCards(config.pageSize); }, hideLoading() { /* This function is now intentionally left blank as renderProductsPaged handles content replacement */ }, showError(message) { this.hideInitialLoading(); if (DOM.product_list) DOM.product_list.innerHTML = ''; const el = this.getErrorStateEl(); if (el) { const textEl = el.querySelector('.error-state-text'); if (textEl) textEl.textContent = message; el.style.display = 'flex'; } else { alert(`Error: ${message}`); } } }; function renderSkeletonCards(count) { let html = ''; for (let i = 0; i < count; i++) { html += `
`; } if (DOM.product_list) DOM.product_list.innerHTML = html; } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', initializeCatalog); } else { initializeCatalog(); } })(); Vertu Ironflip Carbon Yellow | Luxury Flip Phone

الموقع الرسمي لـVERTU®

Vertu® Ironflip Carbon Texture Series – Yellow

US$7,150.00

  • Luxury & Durability: Swiss precision craftsmanship. Steel ceramic & adamantium frame, and 36mm sapphire crystal screen .
  • Engineered Hinge: Durable diamond hinge and Swiss watch-grade bearings, up to 650,000 folds.
  • Dual Screens: 6.9″ flexible OLED (high-res, split-screen) and water-resistant external (AF coated).
  • Powerful Core: Qualcomm snapdragon 8 gen 2 4nm 5G chip, Dual-Chip, Triple OS.
  • Extensive Storage: 12GB RAM / 512GB ROM, 10T secure distributed storage.
  • Reliable Battery: 4310mAh battery and 65W Flash Charging, up to 30 hours of video playback.
  • Advanced Photography: 50MP rear camera and 16MP front camera with AI enhancements.
  • Security & AI: Multi-layered security features like the MPC digital wallet and advanced AI capabilities.
  • Concierge Service: 24/7 private assistant with 6 privileges and 27 services.

غير متوفر في المخزون

ضمان الخروج الآمن
IRON YET GENTLE

هيكل خارجي من الياقوت مقاس 36 مم

Akin to an invincible sword, bears the hardnessof diamond and the lucidity of crystal, a testament to the clarity and strength of a man's resolve

Sturdy frame

Ever resistant, crafted from the fusion of steel ceramic, and adamantium, doth endurethe harshest battlefieldslike a warrior standing tall in the storm

V-shaped peaked lapel

A token of hero's honor accentuates you masculinity,akin to a chivalrous knight's medal.

Swiss craftsmanship of triangular pits

Doth capture brilliance with amight unbending, embodying bothresoluteness and finesse

Teardrop hinge

Akin to a knight's gauntlet, allowssingle-handed control, offering thefreedom to project a man's genuineheroism, akin to a valiant heroin the heat of battle

Fortuitous repetition
of 'V’

As though in chorus, dothresonate with the mantra ofwin-win, exuding regal poisemuch like a monarch'ssure stride.

Leather wrap

Supple as a maiden's touchyet firm as a knight's grippresents itself akin to a chivalroustrench coat – sturdy yet gentlean armor both commanding and comforting

FLEX YET FIRM

Immerse thyself in the raw allure of joints highlighted with diamond and bearings of Swiss watch-grade stainless steel, effortlessly withstanding up to 650,000 folds akin to the relentless tenacity of legends in the shadowed galleries of gangland.

Master the art of navigation single-handed, seamlessly adjusting to any angle mirroring the finesse of steering the intricate machinations.

Rely on the steadfast might of the solid metal pivot cover plate, as unwavering as the resolve of a gang's fearless reputation.

Savor the definitive snap of closure, echoing the ominous sound of a bullet being chambered – each click an unbroken promise and precise as a mafia pact sealed in silence, a testimony to deadly whispered promises.

FOREVER STRONG

Possessing a robust 4310 Mah battery

lt promises unwavering standby supportreminiscent of an unvanquished gentleman ofan era bygone, resilient in its impeccable charm

With 65W ultra-fast charging

It's akin to a fresh gust of power, much like anelegant yet undefeatable knight, encapsulatingboth the sophistication of nobility and therawness of untamed spirit

ALL THE WORLD'S
A STAGE

Armed with a primary lens of 50 million pixels and a 2M wide-angle co-sta

The world unveils its form, with nothing being able to conceal itself from the eyes of the hero.

At the touch of AI photo editor

All imperfections swept away, rendering every image reborn with renewed life.

Zooming without loss

It's as if the hero is looking back, every memory appearing vivid, as clear as yesterday.

Ship with a variety of facial makeup styles at disposal

Switch your look anytime, anywhere, bestowing unique charm upon each countenance

INFINITE IN FACULTIES

ثلاثة أنظمة تشغيل وزوج من الشرائح

Escorted by multifaceted encryption, granting you the liberty to course freely amongst a variety of social platforms, unveiling the authentic hero beneath the casual banter.

An AI offline language model

Always ready to converse, whether on or off the grid. The heart's deepest desires, much like secretswhispered into the wind, remain tucked away, never to leave a trace

A grand expanse of 10-terabyte distributed storage

Sprinkling and preserving data like seeds scattered to the wind, steadfastly safeguarding that which is precious.

The shard storage of the MPC digital wallet's private key

Not unlike a sword of unmeasured virtue, valiantly upholds the safety and integrity of your digital fortune.

BOUNDLESS AS
THE SEA

Telephonic Missives Recorded
Instantly As Written Account

Stretching Your Vast Distance And Through Unfathomable Depths Revealing The World’s Stimulation

Universal Communication

With AI Translation Grasping 48 Global Languages In A Breath, Making Tongue Flow As Smooth As One's Mother’s Speech

Equipped With Dual
AI Models At Your Command

Snap pictures is also available fromthe lock screen

The Global 5G Frequencies
Open For Your Strides

The azure planet lies beneath your heel, exhibiting the gallantry of a hero's grandeur

ALL ONE

Double Screens at Command

Efficiency takes flight. Messenger roundabouts without a switch, the assertiveness of a man shines bright.

The 6.9-Inch Flexible OLED Screen

Fear not of leaks or spills, solid as a rock standing still

With Ultra-High Resolution Unfolding as Water on Stone

Every detail shone, beauty is made known

Peaking brightness adapts to refresh rate

Stunning your sight as a hero riding the world's gate

The Unique Watch-Like Outer Screen

Of use and more, mirrors the countenance of a hero it bore

Bearing Unique AF Coating as a Golden Shield

Walking through peaks with no yield.

BRTHERHOoD BEYDND
THE HEAVENS

Unseal the treasure of the honour box

let it be the testament of thy loyalty and glory

ELEGANT CHARISMA

Inherited from the marrow of Savile's Haute Couture

Bespoke to one's heart content VERTU dothdisplay extraordinary tasteExotic, colourful leather easily changedakin to a hero swapping his robeseach unique and stunning

Precious metal accessories finely carved

Millennium heritage lacquer techniquebrightly capturing eyes; enameledby the European royaltysuch a sight to behold

Craftsmanship that runs
deep

It's like the peerless sword in a hero's gripsharp and unmatched, leaving man in admiration profound

To hold this magnificent bespoke creation

crafted with ancient lacquer techniquesfrom European royal ateliers

ALL THE WORLD'S
AN OYSTER

Inheritance of butler service from the British Downton

Relishing in goods and suppliance scarce found ‘mongst Google, proffering one hundred and forty-seven basic rights, life of the elite, attended to in its minutiae

Hence, special privileges yield

A supper with Buffett, savouring the sagacity of commerce; a foot on Cannes' crimson carpet presenting the sheen of heroic disposition

Men of the realm

Indulge in an extraordinary existence, thus only can the true heroic character be revealed

لون

الأصفر، الفينيق الميمون، التفتا

قد يعجبك أيضاً…

  • Quantum Flip Agate launch Exclusive Package - Ethereal Mist إضافة إلى السلة
  • Quantum Flip Alligator launch Exclusive Package - Gold V Iron Black إضافة إلى السلة
  • Quantum Flip Agate launch Exclusive Package - Celestial Dark إضافة إلى السلة
  • Quantum Flip Cyber launch Exclusive Package - Black إضافة إلى السلة
Shopping Cart

VERTU Exclusive Benefits