// 点击搜索按钮,行为与回车一致 lctSearchBtn.on("mousedown", function (event) { event.preventDefault(); const keyword = lctSearchInput.val().trim(); if (!keyword) return; if (jumpLink) { window.location.href = jumpLink; } else { window.location.href = `${location.origin}/?post_type=product&s=${encodeURIComponent(keyword)}`; } }); // 输入变化时:请求候选 + 计算是否存在“精确 SKU 命中”的跳转目标 jQuery("#lctSearchInput").on("input", () => { debounceSearch(); }); // 聚焦时展开提示层 jQuery("#lctSearchInput").on("focus", function () { jQuery("#lctSearchTip").show(); }); const debounceSearch = lodash.debounce(() => { const keyword = lctSearchInput.val().trim(); if (!keyword) { jumpLink = null; // 输入清空时,清掉跳转目标 return; } jQuery(".lct-search-tip-loading").show(); jQuery.ajax({ method: "GET", url: "/wp-json/sixe-lct-api/v1/product-query?s=" + encodeURIComponent(keyword), contentType: "application/json", success: (response) => { jQuery(".lct-search-tip-sku-right").empty(); jQuery(".lct-search-tip-product-right").empty(); let sku_search = []; let title_search = []; jumpLink = null; // ⭐ 每次新请求前重置 if (response && response.success) { sku_search = response.data?.sku_search || []; title_search = response.data?.title_search || []; // ⭐ 如果返回的 sku 列表中存在与输入值“完全相等”的一项,则设置直达链接 const exactSku = sku_search.find( (item) => (item.sku || "").trim().toLowerCase() === keyword.toLowerCase() ); if (exactSku && exactSku.link) { jumpLink = exactSku.link; // 命中精确 SKU,后续回车/点击将直达此链接 } } // 渲染 SKU 提示 sku_search.forEach((item) => { const newLi = jQuery(`
  • ${item.sku}
  • `); jQuery(".lct-search-tip-sku-right").append(newLi); }); // 渲染标题提示 title_search.forEach((item) => { const newLi = jQuery(`
  • ${item.name}
  • `); jQuery(".lct-search-tip-product-right").append(newLi); }); // “更多结果”入口(保持原行为) const moreLi = jQuery( `
  • More Items
  • ` ); jQuery(".lct-search-tip-product-right").append(moreLi); }, complete: () => { jQuery(".lct-search-tip-loading").hide(); }, }); }, 600); });
    Out Of Stock

    Refurbished LCD Assembly for MacBook Pro 13" (A2289 / A2251 / Mid 2020)(SILVER)

    SKU M0161200303

    Compatible Models

    Description

    • Refurbished LCD Assembly for MacBook Pro 13" (A2289 / A2251 / Mid 2020)(SILVER)
    • Wide viewing angle
    • It provides a smooth and sensitive usage experience
    • Each product has been tested before shipping

    Warranty & Shipping

    • Please check the warranty policy for details!
    • Warranty Policy Link
    • Same Day Ground and Overnight Shipping.

    Reviews

    There are no reviews yet.

    Be the first to review “Refurbished LCD Assembly for MacBook Pro 13″ (A2289 / A2251 / Mid 2020)(SILVER)”

    Your email address will not be published. Required fields are marked *

    X
    • Sign Up
    Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
    - +

    Choice Billing Address

    ×

    You have no billing addresses.

    Choice Shipping Address

    ×

    You have no shipping addresses.