mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
1 line
34 KiB
JavaScript
1 line
34 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[136],{334:function(s,C,E){"use strict";E.r(C);var u={created:function(){this.content=unescape("%3Ch2%3ESku%20%u5546%u54C1%u89C4%u683C%3C/h2%3E%0A%3Ch3%3E%u4F7F%u7528%u6307%u5357%3C/h3%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eimport%3C/span%3E%20%7B%20Sku%20%7D%20%3Cspan%20class%3D%22hljs-keyword%22%3Efrom%3C/span%3E%20%3Cspan%20class%3D%22hljs-string%22%3E%27vant%27%3C/span%3E%3B%0A%0AVue.use%28Sku%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3E%u4EE3%u7801%u6F14%u793A%3C/h3%3E%0A%3Ch4%3E%u57FA%u7840%u7528%u6CD5%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-html%22%3E%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Evan-sku%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22showBase%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Asku%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22sku%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Agoods%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22goods%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Agoods-id%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22goodsId%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Ahide-stock%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22sku.hide_stock%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Aquota%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22quota%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Aquota-used%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22quotaUsed%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Areset-stepper-on-hide%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22resetStepperOnHide%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Areset-selected-sku-on-hide%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22resetSelectedSkuOnHide%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Aclose-on-click-overlay%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22closeOnClickOverlay%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Adisable-stepper-input%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22disableStepperInput%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Amessage-config%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22messageConfig%22%3C/span%3E%0A%20%20@%3Cspan%20class%3D%22hljs-attr%22%3Ebuy-clicked%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onBuyClicked%22%3C/span%3E%0A%20%20@%3Cspan%20class%3D%22hljs-attr%22%3Eadd-cart%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onAddCartClicked%22%3C/span%3E%0A/%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u81EA%u5B9A%u4E49%u6B65%u8FDB%u5668%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-html%22%3E%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Evan-sku%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22showBase%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Asku%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22sku%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Agoods%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22goods%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Agoods-id%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22goodsId%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Ahide-stock%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22sku.hide_stock%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Aquota%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22quota%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Aquota-used%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22quotaUsed%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Acustom-stepper-config%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22customStepperConfig%22%3C/span%3E%0A%20%20@%3Cspan%20class%3D%22hljs-attr%22%3Ebuy-clicked%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onBuyClicked%22%3C/span%3E%0A%20%20@%3Cspan%20class%3D%22hljs-attr%22%3Eadd-cart%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onAddCartClicked%22%3C/span%3E%0A/%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u9AD8%u7EA7%u7528%u6CD5%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-html%22%3E%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Evan-sku%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22showCustomAction%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Estepper-title%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6211%u8981%u4E70%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Asku%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22sku%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Agoods%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22goods%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Agoods-id%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22goodsId%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Ahide-stock%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22sku.hide_stock%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Aquota%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22quota%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Aquota-used%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22quotaUsed%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eshow-add-cart-btn%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ereset-stepper-on-hide%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Ainitial-sku%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22initialSku%22%3C/span%3E%0A%20%20@%3Cspan%20class%3D%22hljs-attr%22%3Ebuy-clicked%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onBuyClicked%22%3C/span%3E%0A%20%20@%3Cspan%20class%3D%22hljs-attr%22%3Eadd-cart%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onAddCartClicked%22%3C/span%3E%0A%26gt%3B%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E%26lt%3B%21--%20%u81EA%u5B9A%u4E49%20sku-header-price%20--%26gt%3B%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Etemplate%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eslot%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22sku-header-price%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eslot-scope%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22props%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Ediv%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eclass%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22van-sku__goods-price%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Espan%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eclass%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22van-sku__price-symbol%22%3C/span%3E%26gt%3B%3C/span%3E%uFFE5%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Espan%3C/span%3E%26gt%3B%3C/span%3E%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Espan%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eclass%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22van-sku__price-num%22%3C/span%3E%26gt%3B%3C/span%3E%7B%7B%20props.price%20%7D%7D%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Espan%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Ediv%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Etemplate%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E%26lt%3B%21--%20%u81EA%u5B9A%u4E49%20sku%20actions%20--%26gt%3B%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Etemplate%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eslot%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22sku-actions%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eslot-scope%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22props%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Ediv%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eclass%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22van-sku-actions%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Evan-button%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ebottom-action%3C/span%3E%20@%3Cspan%20class%3D%22hljs-attr%22%3Eclick%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onPointClicked%22%3C/span%3E%26gt%3B%3C/span%3E%u79EF%u5206%u5151%u6362%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-button%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-comment%22%3E%26lt%3B%21--%20%u76F4%u63A5%u89E6%u53D1%20sku%20%u5185%u90E8%u4E8B%u4EF6%uFF0C%u901A%u8FC7%u5185%u90E8%u4E8B%u4EF6%u6267%u884C%20onBuyClicked%20%u56DE%u8C03%20--%26gt%3B%3C/span%3E%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Evan-button%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etype%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22primary%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ebottom-action%3C/span%3E%20@%3Cspan%20class%3D%22hljs-attr%22%3Eclick%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22props.skuEventBus.%24emit%28%27sku%3Abuy%27%29%22%3C/span%3E%26gt%3B%3C/span%3E%u4E70%u4E70%u4E70%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-button%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Ediv%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Etemplate%3C/span%3E%26gt%3B%3C/span%3E%0A%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-sku%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3EAPI%3C/h3%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u53C2%u6570%3C/th%3E%0A%3Cth%3E%u8BF4%u660E%3C/th%3E%0A%3Cth%3E%u7C7B%u578B%3C/th%3E%0A%3Cth%3E%u9ED8%u8BA4%u503C%3C/th%3E%0A%3Cth%3E%u7248%u672C%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Ev-model%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u663E%u793Asku%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esku%3C/td%3E%0A%3Ctd%3E%u5546%u54C1sku%u6570%u636E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EObject%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Egoods%3C/td%3E%0A%3Ctd%3E%u5546%u54C1%u4FE1%u606F%3C/td%3E%0A%3Ctd%3E%3Ccode%3EObject%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Egoods-id%3C/td%3E%0A%3Ctd%3E%u5546%u54C1%20id%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%20%7C%20Number%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ehide-stock%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u663E%u793A%u5546%u54C1%u5269%u4F59%u5E93%u5B58%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ehide-quota-text%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u663E%u793A%u9650%u8D2D%u63D0%u793A%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.4.8%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eshow-add-cart-btn%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u663E%u793A%u52A0%u5165%u8D2D%u7269%u8F66%u6309%u94AE%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Etrue%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Equota%3C/td%3E%0A%3Ctd%3E%u9650%u8D2D%u6570%uFF0C0%20%u8868%u793A%u4E0D%u9650%u8D2D%3C/td%3E%0A%3Ctd%3E%3Ccode%3ENumber%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E0%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Equota-used%3C/td%3E%0A%3Ctd%3E%u5DF2%u7ECF%u8D2D%u4E70%u8FC7%u7684%u6570%u91CF%3C/td%3E%0A%3Ctd%3E%3Ccode%3ENumber%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E0%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ereset-stepper-on-hide%3C/td%3E%0A%3Ctd%3E%u9690%u85CF%u65F6%u91CD%u7F6E%u9009%u62E9%u7684%u5546%u54C1%u6570%u91CF%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ereset-selected-sku-on-hide%3C/td%3E%0A%3Ctd%3E%u9690%u85CF%u65F6%u91CD%u7F6E%u5DF2%u9009%u62E9%u7684%20sku%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Edisable-stepper-input%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u7981%u7528%u6B65%u8FDB%u5668%u8F93%u5165%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eclose-on-click-overlay%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5728%u70B9%u51FB%u8499%u5C42%u540E%u5173%u95ED%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Efalse%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Estepper-title%3C/td%3E%0A%3Ctd%3E%u6570%u91CF%u9009%u62E9%u7EC4%u4EF6%u5DE6%u4FA7%u6587%u6848%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%u8D2D%u4E70%u6570%u91CF%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ecustom-stepper-config%3C/td%3E%0A%3Ctd%3E%u6B65%u8FDB%u5668%u76F8%u5173%u81EA%u5B9A%u4E49%u914D%u7F6E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EObject%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%7B%7D%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Emessage-config%3C/td%3E%0A%3Ctd%3E%u7559%u8A00%u76F8%u5173%u914D%u7F6E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EObject%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%7B%7D%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eget-container%3C/td%3E%0A%3Ctd%3E%u6307%u5B9A%u6302%u8F7D%u7684%u8282%u70B9%uFF0C%u53EF%u4EE5%u4F20%u5165%u9009%u62E9%u5668%uFF0C%3Cbr%3E%u6216%u4E00%u4E2A%u8FD4%u56DE%u8282%u70B9%u7684%u51FD%u6570%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%20%7C%20%28%29%20%3D%26gt%3B%20HTMLElement%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Einitial-sku%3C/td%3E%0A%3Ctd%3E%u9ED8%u8BA4%u9009%u4E2D%u7684sku%uFF0C%u5177%u4F53%u53C2%u8003%u9AD8%u7EA7%u7528%u6CD5%3C/td%3E%0A%3Ctd%3E%3Ccode%3EObject%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%7B%7D%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eshow-soldout-sku%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5C55%u793A%u552E%u7F44%u7684sku%uFF0C%u5982%u679C%u5C55%u793A%uFF0C%u5219%u4E3A%u7F6E%u7070%u4E0D%u53EF%u9009%u72B6%u6001%uFF0C%u4E0D%u5C55%u793A%u5219%u76F4%u63A5%u9690%u85CF%3C/td%3E%0A%3Ctd%3E%3Ccode%3EBoolean%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Etrue%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3EEvent%3C/h3%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u4E8B%u4EF6%u540D%3C/th%3E%0A%3Cth%3E%u8BF4%u660E%3C/th%3E%0A%3Cth%3E%u53C2%u6570%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Eadd-cart%3C/td%3E%0A%3Ctd%3E%u70B9%u51FB%u6DFB%u52A0%u8D2D%u7269%u8F66%u56DE%u8C03%3C/td%3E%0A%3Ctd%3EskuData%3A%20Object%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ebuy-clicked%3C/td%3E%0A%3Ctd%3E%u70B9%u51FB%u8D2D%u4E70%u56DE%u8C03%3C/td%3E%0A%3Ctd%3EskuData%3A%20Object%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Estepper-change%3C/td%3E%0A%3Ctd%3E%u8D2D%u4E70%u6570%u91CF%u53D8%u5316%u65F6%u89E6%u53D1%3C/td%3E%0A%3Ctd%3Evalue%3A%20number%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esku-selected%3C/td%3E%0A%3Ctd%3E%u5207%u6362%u89C4%u683C%u7C7B%u76EE%u65F6%u89E6%u53D1%3C/td%3E%0A%3Ctd%3E%7B%20skuValue%2C%20selectedSku%2C%20selectedSkuComb%20%7D%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3E%u65B9%u6CD5%3C/h3%3E%0A%3Cp%3E%u901A%u8FC7%20ref%20%u53EF%u4EE5%u83B7%u53D6%u5230%20sku%20%u5B9E%u4F8B%u5E76%u8C03%u7528%u5B9E%u4F8B%u65B9%u6CD5%3C/p%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u65B9%u6CD5%u540D%3C/th%3E%0A%3Cth%3E%u53C2%u6570%3C/th%3E%0A%3Cth%3E%u8FD4%u56DE%u503C%3C/th%3E%0A%3Cth%3E%u4ECB%u7ECD%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3EgetSkuData%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3EskuData%3C/td%3E%0A%3Ctd%3E%u83B7%u53D6%u5F53%u524D%20skuData%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3ESlot%3C/h3%3E%0A%3Cp%3ESku%20%u7EC4%u4EF6%u9ED8%u8BA4%u5212%u5206%u597D%u4E86%u82E5%u5E72%u533A%u5757%uFF0C%u8FD9%u4E9B%u533A%u5757%u90FD%u5B9A%u4E49%u6210%u4E86%u63D2%u69FD%uFF0C%u53EF%u4EE5%u6309%u9700%u8FDB%u884C%u66FF%u6362%u3002%u533A%u5757%u987A%u5E8F%u89C1%u4E0B%u8868%uFF1A%3C/p%3E%0A%3Ctable%3E%0A%3Cthead%3E%0A%3Ctr%3E%0A%3Cth%3E%u540D%u79F0%3C/th%3E%0A%3Cth%3E%u8BF4%u660E%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Esku-header%3C/td%3E%0A%3Ctd%3E%u5546%u54C1%u4FE1%u606F%u5C55%u793A%u533A%uFF0C%u5305%u542B%u5546%u54C1%u56FE%u7247%u3001%u540D%u79F0%u3001%u4EF7%u683C%u7B49%u4FE1%u606F%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esku-header-price%3C/td%3E%0A%3Ctd%3E%u81EA%u5B9A%u4E49%20sku%20%u5934%u90E8%u4EF7%u683C%u5C55%u793A%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esku-body-top%3C/td%3E%0A%3Ctd%3Esku%20%u5C55%u793A%u533A%u4E0A%u65B9%u7684%u5185%u5BB9%uFF0C%u65E0%u9ED8%u8BA4%u5C55%u793A%u5185%u5BB9%uFF0C%u6309%u9700%u4F7F%u7528%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esku-group%3C/td%3E%0A%3Ctd%3E%u5546%u54C1%20sku%20%u5C55%u793A%u533A%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eextra-sku-group%3C/td%3E%0A%3Ctd%3E%u989D%u5916%u5546%u54C1%20sku%20%u5C55%u793A%u533A%uFF0C%u4E00%u822C%u7528%u4E0D%u5230%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esku-stepper%3C/td%3E%0A%3Ctd%3E%u5546%u54C1%u6570%u91CF%u9009%u62E9%u533A%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esku-messages%3C/td%3E%0A%3Ctd%3E%u5546%u54C1%u7559%u8A00%u533A%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esku-actions%3C/td%3E%0A%3Ctd%3E%u64CD%u4F5C%u6309%u94AE%u533A%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3E%u6570%u636E%u7ED3%u6784%3C/h3%3E%0A%3Ch4%3Esku%20%u5BF9%u8C61%u7ED3%u6784%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3Esku%3A%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u6240%u6709sku%u89C4%u683C%u7C7B%u76EE%u4E0E%u5176%u503C%u7684%u4ECE%u5C5E%u5173%u7CFB%uFF0C%u6BD4%u5982%u5546%u54C1%u6709%u989C%u8272%u548C%u5C3A%u7801%u4E24%u5927%u7C7B%u89C4%u683C%uFF0C%u989C%u8272%u4E0B%u9762%u53C8%u6709%u7EA2%u8272%u548C%u84DD%u8272%u4E24%u4E2A%u89C4%u683C%u503C%u3002%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u53EF%u4EE5%u7406%u89E3%u4E3A%u4E00%u4E2A%u5546%u54C1%u53EF%u4EE5%u6709%u591A%u4E2A%u89C4%u683C%u7C7B%u76EE%uFF0C%u4E00%u4E2A%u89C4%u683C%u7C7B%u76EE%u4E0B%u53EF%u4EE5%u6709%u591A%u4E2A%u89C4%u683C%u503C%u3002%3C/span%3E%0A%20%20tree%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ek%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u989C%u8272%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20skuKeyName%uFF1A%u89C4%u683C%u7C7B%u76EE%u540D%u79F0%3C/span%3E%0A%20%20%20%20%20%20v%3A%20%5B%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eid%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%2730349%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20skuValueId%uFF1A%u89C4%u683C%u503C%20id%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20name%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u7EA2%u8272%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20skuValueName%uFF1A%u89C4%u683C%u503C%u540D%u79F0%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20imgUrl%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27https%3A//img.yzcdn.cn/1.jpg%27%3C/span%3E%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u89C4%u683C%u7C7B%u76EE%u56FE%u7247%uFF0C%u53EA%u6709%u7B2C%u4E00%u4E2A%u89C4%u683C%u7C7B%u76EE%u53EF%u4EE5%u5B9A%u4E49%u56FE%u7247%3C/span%3E%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eid%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%271215%27%3C/span%3E%2C%0A%20%20%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ename%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u84DD%u8272%27%3C/span%3E%2C%0A%20%20%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3EimgUrl%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27https%3A//img.yzcdn.cn/2.jpg%27%3C/span%3E%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ek_s%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27s1%27%3C/span%3E%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20skuKeyStr%uFF1Asku%20%u7EC4%u5408%u5217%u8868%uFF08%u4E0B%u65B9%20list%uFF09%u4E2D%u5F53%u524D%u7C7B%u76EE%u5BF9%u5E94%u7684%20key%20%u503C%uFF0Cvalue%20%u503C%u4F1A%u662F%u4ECE%u5C5E%u4E8E%u5F53%u524D%u7C7B%u76EE%u7684%u4E00%u4E2A%u89C4%u683C%u503C%20id%3C/span%3E%0A%20%20%20%20%7D%0A%20%20%5D%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u6240%u6709%20sku%20%u7684%u7EC4%u5408%u5217%u8868%uFF0C%u6BD4%u5982%u7EA2%u8272%u3001M%20%u7801%u4E3A%u4E00%u4E2A%20sku%20%u7EC4%u5408%uFF0C%u7EA2%u8272%u3001S%20%u7801%u4E3A%u53E6%u4E00%u4E2A%u7EC4%u5408%3C/span%3E%0A%20%20list%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eid%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-number%22%3E2259%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20skuId%uFF0C%u4E0B%u5355%u65F6%u540E%u7AEF%u9700%u8981%3C/span%3E%0A%20%20%20%20%20%20price%3A%20%3Cspan%20class%3D%22hljs-number%22%3E100%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u4EF7%u683C%uFF08%u5355%u4F4D%u5206%uFF09%3C/span%3E%0A%20%20%20%20%20%20s1%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%271215%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u89C4%u683C%u7C7B%u76EE%20k_s%20%u4E3A%20s1%20%u7684%u5BF9%u5E94%u89C4%u683C%u503C%20id%3C/span%3E%0A%20%20%20%20%20%20s2%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%271193%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u89C4%u683C%u7C7B%u76EE%20k_s%20%u4E3A%20s2%20%u7684%u5BF9%u5E94%u89C4%u683C%u503C%20id%3C/span%3E%0A%20%20%20%20%20%20s3%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%270%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u6700%u591A%u5305%u542B3%u4E2A%u89C4%u683C%u503C%uFF0C%u4E3A0%u8868%u793A%u4E0D%u5B58%u5728%u8BE5%u89C4%u683C%3C/span%3E%0A%20%20%20%20%20%20stock_num%3A%20%3Cspan%20class%3D%22hljs-number%22%3E110%3C/span%3E%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u5F53%u524D%20sku%20%u7EC4%u5408%u5BF9%u5E94%u7684%u5E93%u5B58%3C/span%3E%0A%20%20%20%20%7D%0A%20%20%5D%2C%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eprice%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%271.00%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u9ED8%u8BA4%u4EF7%u683C%uFF08%u5355%u4F4D%u5143%uFF09%3C/span%3E%0A%20%20stock_num%3A%20%3Cspan%20class%3D%22hljs-number%22%3E227%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u5546%u54C1%u603B%u5E93%u5B58%3C/span%3E%0A%20%20collection_id%3A%20%3Cspan%20class%3D%22hljs-number%22%3E2261%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u65E0%u89C4%u683C%u5546%u54C1%20skuId%20%u53D6%20collection_id%uFF0C%u5426%u5219%u53D6%u6240%u9009%20sku%20%u7EC4%u5408%u5BF9%u5E94%u7684%20id%3C/span%3E%0A%20%20none_sku%3A%20%3Cspan%20class%3D%22hljs-literal%22%3Efalse%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u662F%u5426%u65E0%u89C4%u683C%u5546%u54C1%3C/span%3E%0A%20%20messages%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u5546%u54C1%u7559%u8A00%3C/span%3E%0A%20%20%20%20%20%20datetime%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%270%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u7559%u8A00%u7C7B%u578B%u4E3A%20time%20%u65F6%uFF0C%u662F%u5426%u542B%u65E5%u671F%u3002%271%27%20%u8868%u793A%u5305%u542B%3C/span%3E%0A%20%20%20%20%20%20multiple%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%270%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u7559%u8A00%u7C7B%u578B%u4E3A%20text%20%u65F6%uFF0C%u662F%u5426%u591A%u884C%u6587%u672C%u3002%271%27%20%u8868%u793A%u591A%u884C%3C/span%3E%0A%20%20%20%20%20%20name%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u7559%u8A00%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u7559%u8A00%u540D%u79F0%3C/span%3E%0A%20%20%20%20%20%20type%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27text%27%3C/span%3E%2C%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u7559%u8A00%u7C7B%u578B%uFF0C%u53EF%u9009%3A%20id_no%uFF08%u8EAB%u4EFD%u8BC1%uFF09%2C%20text%2C%20tel%2C%20date%2C%20time%2C%20email%3C/span%3E%0A%20%20%20%20%20%20required%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%271%27%3C/span%3E%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u662F%u5426%u5FC5%u586B%20%271%27%20%u8868%u793A%u5FC5%u586B%3C/span%3E%0A%20%20%20%20%7D%0A%20%20%5D%2C%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ehide_stock%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-literal%22%3Efalse%3C/span%3E%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u662F%u5426%u9690%u85CF%u5269%u4F59%u5E93%u5B58%3C/span%3E%0A%7D%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3EinitialSku%20%u5BF9%u8C61%u7ED3%u6784%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3E%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u952E%uFF1AskuKeyStr%uFF08sku%20%u7EC4%u5408%u5217%u8868%u4E2D%u5F53%u524D%u7C7B%u76EE%u5BF9%u5E94%u7684%20key%20%u503C%uFF09%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u503C%uFF1AskuValueId%uFF08%u89C4%u683C%u503C%20id%uFF09%3C/span%3E%0A%20%20s1%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%2730349%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Es2%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%271193%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u521D%u59CB%u9009%u4E2D%u6570%u91CF%3C/span%3E%0A%20%20selectedNum%3A%20%3Cspan%20class%3D%22hljs-number%22%3E3%3C/span%3E%0A%7D%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3Egoods%20%u5BF9%u8C61%u7ED3%u6784%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3Egoods%3A%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u5546%u54C1%u6807%u9898%3C/span%3E%0A%20%20title%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u6D4B%u8BD5%u5546%u54C1%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u9ED8%u8BA4%u5546%u54C1%20sku%20%u7F29%u7565%u56FE%3C/span%3E%0A%20%20picture%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27https%3A//img.yzcdn.cn/1.jpg%27%3C/span%3E%0A%7D%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3EcustomStepperConfig%20%u5BF9%u8C61%u7ED3%u6784%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3EcustomStepperConfig%3A%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u81EA%u5B9A%u4E49%u9650%u8D2D%u6587%u6848%3C/span%3E%0A%20%20quotaText%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u6BCF%u6B21%u9650%u8D2Dxxx%u4EF6%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u81EA%u5B9A%u4E49%u6B65%u8FDB%u5668%u8D85%u8FC7%u9650%u5236%u65F6%u7684%u56DE%u8C03%3C/span%3E%0A%20%20handleOverLimit%3A%20%3Cspan%20class%3D%22hljs-function%22%3E%28%3Cspan%20class%3D%22hljs-params%22%3Edata%3C/span%3E%29%20%3D%26gt%3B%3C/span%3E%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Econst%3C/span%3E%20%7B%20action%2C%20limitType%2C%20quota%2C%20quotaUsed%20%7D%20%3D%20data%3B%0A%0A%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Eif%3C/span%3E%20%28action%20%3D%3D%3D%20%3Cspan%20class%3D%22hljs-string%22%3E%27minus%27%3C/span%3E%29%20%7B%0A%20%20%20%20%20%20Toast%28%3Cspan%20class%3D%22hljs-string%22%3E%27%u81F3%u5C11%u9009%u62E9%u4E00%u4EF6%u5546%u54C1%27%3C/span%3E%29%3B%0A%20%20%20%20%7D%20%3Cspan%20class%3D%22hljs-keyword%22%3Eelse%3C/span%3E%20%3Cspan%20class%3D%22hljs-keyword%22%3Eif%3C/span%3E%20%28action%20%3D%3D%3D%20%3Cspan%20class%3D%22hljs-string%22%3E%27plus%27%3C/span%3E%29%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20const%20%7B%20LIMIT_TYPE%20%7D%20%3D%20Sku.skuConstants%3B%3C/span%3E%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Eif%3C/span%3E%20%28limitType%20%3D%3D%3D%20LIMIT_TYPE.QUOTA_LIMIT%29%20%7B%0A%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Elet%3C/span%3E%20msg%20%3D%20%3Cspan%20class%3D%22hljs-string%22%3E%60%u5355%u6B21%u9650%u8D2D%3Cspan%20class%3D%22hljs-subst%22%3E%24%7Bquota%7D%3C/span%3E%u4EF6%60%3C/span%3E%3B%0A%20%20%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Eif%3C/span%3E%20%28quotaUsed%20%26gt%3B%20%3Cspan%20class%3D%22hljs-number%22%3E0%3C/span%3E%29%20msg%20+%3D%20%3Cspan%20class%3D%22hljs-string%22%3E%60%uFF0C%u4F60%u5DF2%u8D2D%u4E70%3Cspan%20class%3D%22hljs-subst%22%3E%24%7BquotaUsed%7D%3C/span%3E%60%3C/span%3E%3B%0A%20%20%20%20%20%20%20%20Toast%28msg%29%3B%0A%20%20%20%20%20%20%7D%20%3Cspan%20class%3D%22hljs-keyword%22%3Eelse%3C/span%3E%20%7B%0A%20%20%20%20%20%20%20%20Toast%28%3Cspan%20class%3D%22hljs-string%22%3E%27%u5E93%u5B58%u4E0D%u591F%u4E86%27%3C/span%3E%29%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3EmessageConfig%20Data%20Structure%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3EmessageConfig%3A%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u56FE%u7247%u4E0A%u4F20%u56DE%u8C03%uFF0C%u9700%u8981%u8FD4%u56DE%u4E00%u4E2Apromise%uFF0Cpromise%u6B63%u786E%u6267%u884C%u7684%u7ED3%u679C%u9700%u8981%u662F%u4E00%u4E2A%u56FE%u7247url%3C/span%3E%0A%20%20uploadImg%3A%20%3Cspan%20class%3D%22hljs-function%22%3E%3Cspan%20class%3D%22hljs-params%22%3E%28%29%3C/span%3E%20%3D%26gt%3B%3C/span%3E%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Ereturn%3C/span%3E%20%3Cspan%20class%3D%22hljs-keyword%22%3Enew%3C/span%3E%20%3Cspan%20class%3D%22hljs-built_in%22%3EPromise%3C/span%3E%28%3Cspan%20class%3D%22hljs-function%22%3E%28%3Cspan%20class%3D%22hljs-params%22%3Eresolve%3C/span%3E%29%20%3D%26gt%3B%3C/span%3E%20%7B%0A%20%20%20%20%20%20setTimeout%28%3Cspan%20class%3D%22hljs-function%22%3E%3Cspan%20class%3D%22hljs-params%22%3E%28%29%3C/span%3E%20%3D%26gt%3B%3C/span%3E%20resolve%28%3Cspan%20class%3D%22hljs-string%22%3E%27https%3A//img.yzcdn.cn/upload_files/2017/02/21/FjKTOxjVgnUuPmHJRdunvYky9OHP.jpg%21100x100.jpg%27%3C/span%3E%29%2C%20%3Cspan%20class%3D%22hljs-number%22%3E1000%3C/span%3E%29%3B%0A%20%20%20%20%7D%29%3B%0A%20%20%7D%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u6700%u5927%u4E0A%u4F20%u4F53%u79EF%20%28MB%29%3C/span%3E%0A%20%20uploadMaxSize%3A%20%3Cspan%20class%3D%22hljs-number%22%3E3%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20placehold%u914D%u7F6E%3C/span%3E%0A%20%20placeholderMap%3A%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Etext%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27xxx%27%3C/span%3E%2C%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Etel%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27xxx%27%3C/span%3E%2C%0A%20%20%20%20...%0A%20%20%7D%0A%7D%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u6DFB%u52A0%u8D2D%u7269%u8F66%u548C%u70B9%u51FB%u8D2D%u4E70%u56DE%u8C03%u51FD%u6570%u63A5%u6536%u7684%20skuData%20%u5BF9%u8C61%u7ED3%u6784%3C/h4%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3EskuData%3A%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u5546%u54C1%20id%3C/span%3E%0A%20%20goodsId%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27946755%27%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u7559%u8A00%u4FE1%u606F%3C/span%3E%0A%20%20messages%3A%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emessage_0%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%2712%27%3C/span%3E%2C%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emessage_1%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27%27%3C/span%3E%0A%20%20%7D%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u53E6%u4E00%u79CD%u683C%u5F0F%u7684%u7559%u8A00%uFF0Ckey%20%u4E0D%u540C%3C/span%3E%0A%20%20cartMessages%3A%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u7559%u8A001%27%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%27xxxx%27%3C/span%3E%0A%20%20%7D%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u9009%u62E9%u7684%u5546%u54C1%u6570%u91CF%3C/span%3E%0A%20%20selectedNum%3A%20%3Cspan%20class%3D%22hljs-number%22%3E1%3C/span%3E%2C%0A%20%20%3Cspan%20class%3D%22hljs-comment%22%3E//%20%u9009%u62E9%u7684%20sku%20%u7EC4%u5408%3C/span%3E%0A%20%20selectedSkuComb%3A%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eid%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-number%22%3E2257%3C/span%3E%2C%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eprice%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-number%22%3E100%3C/span%3E%2C%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Es1%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%2730349%27%3C/span%3E%2C%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Es2%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%271193%27%3C/span%3E%2C%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Es3%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-string%22%3E%270%27%3C/span%3E%2C%0A%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Estock_num%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-number%22%3E111%3C/span%3E%0A%20%20%7D%0A%7D%0A%3C/code%3E%3C/pre%3E%0A")}},a=E(7),t=Object(a.a)(u,function(){this.$createElement;this._self._c;return this._m(0)},[function(){var s=this.$createElement;return(this._self._c||s)("section",{domProps:{innerHTML:this._s(this.content)}})}],!1,null,null,null);C.default=t.exports}}]); |