mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
102 lines
20 KiB
JavaScript
102 lines
20 KiB
JavaScript
import{o as t,a,y as n}from"./vue-libs.b44bc779.js";const l={class:"van-doc-markdown-body"},e=n(`<h1>NumberKeyboard \u6570\u5B57\u952E\u76D8</h1><div class="van-doc-card"><h3 id="jie-shao" tabindex="-1">\u4ECB\u7ECD</h3><p>\u865A\u62DF\u6570\u5B57\u952E\u76D8\uFF0C\u53EF\u4EE5\u914D\u5408<a href="#/zh-CN/password-input" target="_blank">\u5BC6\u7801\u8F93\u5165\u6846\u7EC4\u4EF6</a>\u6216\u81EA\u5B9A\u4E49\u7684\u8F93\u5165\u6846\u7EC4\u4EF6\u4F7F\u7528\u3002</p></div><div class="van-doc-card"><h3 id="yin-ru" tabindex="-1">\u5F15\u5165</h3><p>\u901A\u8FC7\u4EE5\u4E0B\u65B9\u5F0F\u6765\u5168\u5C40\u6CE8\u518C\u7EC4\u4EF6\uFF0C\u66F4\u591A\u6CE8\u518C\u65B9\u5F0F\u8BF7\u53C2\u8003<a href="#/zh-CN/advanced-usage#zu-jian-zhu-ce" target="_blank">\u7EC4\u4EF6\u6CE8\u518C</a>\u3002</p><pre><code class="language-js"><span class="hljs-keyword">import</span> { createApp } <span class="hljs-keyword">from</span> <span class="hljs-string">'vue'</span>;
|
|
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">NumberKeyboard</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">'vant'</span>;
|
|
|
|
<span class="hljs-keyword">const</span> app = <span class="hljs-title function_">createApp</span>();
|
|
app.<span class="hljs-title function_">use</span>(<span class="hljs-title class_">NumberKeyboard</span>);
|
|
</code></pre></div><h2 id="dai-ma-yan-shi" tabindex="-1">\u4EE3\u7801\u6F14\u793A</h2><div class="van-doc-card"><h3 id="mo-ren-yang-shi" tabindex="-1">\u9ED8\u8BA4\u6837\u5F0F</h3><p>\u6570\u5B57\u952E\u76D8\u63D0\u4F9B\u4E86 <code>input</code>\u3001<code>delete</code>\u3001<code>blur</code> \u4E8B\u4EF6\uFF0C\u5206\u522B\u5BF9\u5E94\u8F93\u5165\u5185\u5BB9\u3001\u5220\u9664\u5185\u5BB9\u548C\u5931\u53BB\u7126\u70B9\u7684\u52A8\u4F5C\u3002</p><pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">van-cell</span> @<span class="hljs-attr">touchstart.stop</span>=<span class="hljs-string">"show = true"</span>></span>\u5F39\u51FA\u9ED8\u8BA4\u952E\u76D8<span class="hljs-tag"></<span class="hljs-name">van-cell</span>></span>
|
|
<span class="hljs-tag"><<span class="hljs-name">van-number-keyboard</span>
|
|
<span class="hljs-attr">:show</span>=<span class="hljs-string">"show"</span>
|
|
@<span class="hljs-attr">blur</span>=<span class="hljs-string">"show = false"</span>
|
|
@<span class="hljs-attr">input</span>=<span class="hljs-string">"onInput"</span>
|
|
@<span class="hljs-attr">delete</span>=<span class="hljs-string">"onDelete"</span>
|
|
/></span>
|
|
</code></pre><pre><code class="language-js"><span class="hljs-keyword">import</span> { ref } <span class="hljs-keyword">from</span> <span class="hljs-string">'vue'</span>;
|
|
<span class="hljs-keyword">import</span> { <span class="hljs-title class_">Toast</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">'vant'</span>;
|
|
|
|
<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> {
|
|
<span class="hljs-title function_">setup</span>(<span class="hljs-params"></span>) {
|
|
<span class="hljs-keyword">const</span> show = <span class="hljs-title function_">ref</span>(<span class="hljs-literal">true</span>);
|
|
<span class="hljs-keyword">const</span> <span class="hljs-title function_">onInput</span> = (<span class="hljs-params">value</span>) => <span class="hljs-title class_">Toast</span>(value);
|
|
<span class="hljs-keyword">const</span> <span class="hljs-title function_">onDelete</span> = (<span class="hljs-params"></span>) => <span class="hljs-title class_">Toast</span>(<span class="hljs-string">'\u5220\u9664'</span>);
|
|
|
|
<span class="hljs-keyword">return</span> {
|
|
show,
|
|
onInput,
|
|
onDelete,
|
|
};
|
|
},
|
|
};
|
|
</code></pre><blockquote><p>\u70B9\u51FB\u952E\u76D8\u4EE5\u5916\u7684\u533A\u57DF\u65F6\uFF0C\u952E\u76D8\u4F1A\u81EA\u52A8\u6536\u8D77\uFF0C\u901A\u8FC7\u963B\u6B62\u5143\u7D20\u4E0A\u7684 touchstart \u4E8B\u4EF6\u5192\u6CE1\u53EF\u4EE5\u907F\u514D\u952E\u76D8\u6536\u8D77\u3002</p></blockquote></div><div class="van-doc-card"><h3 id="dai-you-ce-lan-de-jian-pan" tabindex="-1">\u5E26\u53F3\u4FA7\u680F\u7684\u952E\u76D8</h3><p>\u5C06 theme \u5C5E\u6027\u8BBE\u7F6E\u4E3A <code>custom</code> \u6765\u5C55\u793A\u952E\u76D8\u7684\u53F3\u4FA7\u680F\uFF0C\u5E38\u7528\u4E8E\u8F93\u5165\u91D1\u989D\u7684\u573A\u666F\u3002</p><pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">van-number-keyboard</span>
|
|
<span class="hljs-attr">:show</span>=<span class="hljs-string">"show"</span>
|
|
<span class="hljs-attr">theme</span>=<span class="hljs-string">"custom"</span>
|
|
<span class="hljs-attr">extra-key</span>=<span class="hljs-string">"."</span>
|
|
<span class="hljs-attr">close-button-text</span>=<span class="hljs-string">"\u5B8C\u6210"</span>
|
|
@<span class="hljs-attr">blur</span>=<span class="hljs-string">"show = false"</span>
|
|
@<span class="hljs-attr">input</span>=<span class="hljs-string">"onInput"</span>
|
|
@<span class="hljs-attr">delete</span>=<span class="hljs-string">"onDelete"</span>
|
|
/></span>
|
|
</code></pre></div><div class="van-doc-card"><h3 id="shen-fen-zheng-hao-jian-pan" tabindex="-1">\u8EAB\u4EFD\u8BC1\u53F7\u952E\u76D8</h3><p>\u901A\u8FC7 <code>extra-key</code> \u5C5E\u6027\u53EF\u4EE5\u8BBE\u7F6E\u5DE6\u4E0B\u89D2\u6309\u952E\u5185\u5BB9\uFF0C\u6BD4\u5982\u9700\u8981\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7\u65F6\uFF0C\u53EF\u4EE5\u5C06 <code>extra-key</code> \u8BBE\u7F6E\u4E3A <code>X</code>\u3002</p><pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">van-cell</span> <span class="hljs-attr">plain</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"primary"</span> @<span class="hljs-attr">touchstart.stop</span>=<span class="hljs-string">"show = true"</span>></span>
|
|
\u5F39\u51FA\u8EAB\u4EFD\u8BC1\u53F7\u952E\u76D8
|
|
<span class="hljs-tag"></<span class="hljs-name">van-cell</span>></span>
|
|
<span class="hljs-tag"><<span class="hljs-name">van-number-keyboard</span>
|
|
<span class="hljs-attr">:show</span>=<span class="hljs-string">"show"</span>
|
|
<span class="hljs-attr">extra-key</span>=<span class="hljs-string">"X"</span>
|
|
<span class="hljs-attr">close-button-text</span>=<span class="hljs-string">"\u5B8C\u6210"</span>
|
|
@<span class="hljs-attr">blur</span>=<span class="hljs-string">"show = false"</span>
|
|
@<span class="hljs-attr">input</span>=<span class="hljs-string">"onInput"</span>
|
|
@<span class="hljs-attr">delete</span>=<span class="hljs-string">"onDelete"</span>
|
|
/></span>
|
|
</code></pre></div><div class="van-doc-card"><h3 id="jian-pan-biao-ti" tabindex="-1">\u952E\u76D8\u6807\u9898</h3><p>\u901A\u8FC7 <code>title</code> \u5C5E\u6027\u53EF\u4EE5\u8BBE\u7F6E\u952E\u76D8\u6807\u9898\u3002</p><pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">van-cell</span> <span class="hljs-attr">plain</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"primary"</span> @<span class="hljs-attr">touchstart.stop</span>=<span class="hljs-string">"show = true"</span>></span>
|
|
\u5F39\u51FA\u5E26\u6807\u9898\u7684\u952E\u76D8
|
|
<span class="hljs-tag"></<span class="hljs-name">van-cell</span>></span>
|
|
<span class="hljs-tag"><<span class="hljs-name">van-number-keyboard</span>
|
|
<span class="hljs-attr">:show</span>=<span class="hljs-string">"show"</span>
|
|
<span class="hljs-attr">title</span>=<span class="hljs-string">"\u952E\u76D8\u6807\u9898"</span>
|
|
<span class="hljs-attr">extra-key</span>=<span class="hljs-string">"."</span>
|
|
<span class="hljs-attr">close-button-text</span>=<span class="hljs-string">"\u5B8C\u6210"</span>
|
|
@<span class="hljs-attr">blur</span>=<span class="hljs-string">"show = false"</span>
|
|
@<span class="hljs-attr">input</span>=<span class="hljs-string">"onInput"</span>
|
|
@<span class="hljs-attr">delete</span>=<span class="hljs-string">"onDelete"</span>
|
|
/></span>
|
|
</code></pre></div><div class="van-doc-card"><h3 id="pei-zhi-duo-ge-an-jian" tabindex="-1">\u914D\u7F6E\u591A\u4E2A\u6309\u952E</h3><p>\u5F53 theme \u4E3A <code>custom</code> \u65F6\uFF0C\u652F\u6301\u4EE5\u6570\u7EC4\u7684\u5F62\u5F0F\u914D\u7F6E\u4E24\u4E2A <code>extra-key</code>\u3002</p><pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">van-cell</span> <span class="hljs-attr">plain</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"primary"</span> @<span class="hljs-attr">touchstart.stop</span>=<span class="hljs-string">"show = true"</span>></span>
|
|
\u5F39\u51FA\u914D\u7F6E\u591A\u4E2A\u6309\u952E\u7684\u952E\u76D8
|
|
<span class="hljs-tag"></<span class="hljs-name">van-cell</span>></span>
|
|
<span class="hljs-tag"><<span class="hljs-name">van-number-keyboard</span>
|
|
<span class="hljs-attr">:show</span>=<span class="hljs-string">"show"</span>
|
|
<span class="hljs-attr">theme</span>=<span class="hljs-string">"custom"</span>
|
|
<span class="hljs-attr">:extra-key</span>=<span class="hljs-string">"['00', '.']"</span>
|
|
<span class="hljs-attr">close-button-text</span>=<span class="hljs-string">"\u5B8C\u6210"</span>
|
|
@<span class="hljs-attr">blur</span>=<span class="hljs-string">"show = false"</span>
|
|
@<span class="hljs-attr">input</span>=<span class="hljs-string">"onInput"</span>
|
|
@<span class="hljs-attr">delete</span>=<span class="hljs-string">"onDelete"</span>
|
|
/></span>
|
|
</code></pre></div><div class="van-doc-card"><h3 id="sui-ji-shu-zi-jian-pan" tabindex="-1">\u968F\u673A\u6570\u5B57\u952E\u76D8</h3><p>\u901A\u8FC7 <code>random-key-order</code> \u5C5E\u6027\u53EF\u4EE5\u968F\u673A\u6392\u5E8F\u6570\u5B57\u952E\u76D8\uFF0C\u5E38\u7528\u4E8E\u5B89\u5168\u7B49\u7EA7\u8F83\u9AD8\u7684\u573A\u666F\u3002</p><pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">van-cell</span> @<span class="hljs-attr">touchstart.stop</span>=<span class="hljs-string">"show = true"</span>></span> \u5F39\u51FA\u914D\u7F6E\u968F\u673A\u6570\u5B57\u7684\u952E\u76D8 <span class="hljs-tag"></<span class="hljs-name">van-cell</span>></span>
|
|
<span class="hljs-tag"><<span class="hljs-name">van-number-keyboard</span>
|
|
<span class="hljs-attr">:show</span>=<span class="hljs-string">"show"</span>
|
|
<span class="hljs-attr">random-key-order</span>
|
|
@<span class="hljs-attr">blur</span>=<span class="hljs-string">"show = false"</span>
|
|
@<span class="hljs-attr">input</span>=<span class="hljs-string">"onInput"</span>
|
|
@<span class="hljs-attr">delete</span>=<span class="hljs-string">"onDelete"</span>
|
|
/></span>
|
|
</code></pre></div><div class="van-doc-card"><h3 id="shuang-xiang-bang-ding" tabindex="-1">\u53CC\u5411\u7ED1\u5B9A</h3><p>\u53EF\u4EE5\u901A\u8FC7 <code>v-model</code> \u7ED1\u5B9A\u952E\u76D8\u5F53\u524D\u8F93\u5165\u503C\uFF0C\u5E76\u901A\u8FC7 <code>maxlength</code> \u5C5E\u6027\u6765\u9650\u5236\u8F93\u5165\u957F\u5EA6\u3002</p><pre><code class="language-html"><span class="hljs-tag"><<span class="hljs-name">van-field</span> <span class="hljs-attr">v-model</span>=<span class="hljs-string">"value"</span> <span class="hljs-attr">readonly</span> <span class="hljs-attr">clickable</span> @<span class="hljs-attr">touchstart.stop</span>=<span class="hljs-string">"show = true"</span> /></span>
|
|
<span class="hljs-tag"><<span class="hljs-name">van-number-keyboard</span>
|
|
<span class="hljs-attr">v-model</span>=<span class="hljs-string">"value"</span>
|
|
<span class="hljs-attr">:show</span>=<span class="hljs-string">"show"</span>
|
|
<span class="hljs-attr">:maxlength</span>=<span class="hljs-string">"6"</span>
|
|
@<span class="hljs-attr">blur</span>=<span class="hljs-string">"show = false"</span>
|
|
/></span>
|
|
</code></pre><pre><code class="language-js"><span class="hljs-keyword">import</span> { ref } <span class="hljs-keyword">from</span> <span class="hljs-string">'vue'</span>;
|
|
|
|
<span class="hljs-keyword">export</span> <span class="hljs-keyword">default</span> {
|
|
<span class="hljs-title function_">setup</span>(<span class="hljs-params"></span>) {
|
|
<span class="hljs-keyword">const</span> show = <span class="hljs-title function_">ref</span>(<span class="hljs-literal">true</span>);
|
|
<span class="hljs-keyword">const</span> value = <span class="hljs-title function_">ref</span>(<span class="hljs-string">''</span>);
|
|
<span class="hljs-keyword">return</span> {
|
|
show,
|
|
value,
|
|
};
|
|
},
|
|
};
|
|
</code></pre></div><h2 id="api" tabindex="-1">API</h2><div class="van-doc-card"><h3 id="props" tabindex="-1">Props</h3><table><thead><tr><th>\u53C2\u6570</th><th>\u8BF4\u660E</th><th>\u7C7B\u578B</th><th>\u9ED8\u8BA4\u503C</th></tr></thead><tbody><tr><td>v-model</td><td>\u5F53\u524D\u8F93\u5165\u503C</td><td><em>string</em></td><td>-</td></tr><tr><td>show</td><td>\u662F\u5426\u663E\u793A\u952E\u76D8</td><td><em>boolean</em></td><td>-</td></tr><tr><td>title</td><td>\u952E\u76D8\u6807\u9898</td><td><em>string</em></td><td>-</td></tr><tr><td>theme</td><td>\u6837\u5F0F\u98CE\u683C\uFF0C\u53EF\u9009\u503C\u4E3A <code>custom</code></td><td><em>string</em></td><td><code>default</code></td></tr><tr><td>maxlength</td><td>\u8F93\u5165\u503C\u6700\u5927\u957F\u5EA6</td><td><em>number | string</em></td><td><code>Infinity</code></td></tr><tr><td>transition</td><td>\u662F\u5426\u5F00\u542F\u8FC7\u573A\u52A8\u753B</td><td><em>boolean</em></td><td><code>true</code></td></tr><tr><td>z-index</td><td>\u952E\u76D8 z-index \u5C42\u7EA7</td><td><em>number | string</em></td><td><code>100</code></td></tr><tr><td>extra-key</td><td>\u5E95\u90E8\u989D\u5916\u6309\u952E\u7684\u5185\u5BB9</td><td><em>string | string[]</em></td><td><code>''</code></td></tr><tr><td>close-button-text</td><td>\u5173\u95ED\u6309\u94AE\u6587\u5B57\uFF0C\u7A7A\u5219\u4E0D\u5C55\u793A</td><td><em>string</em></td><td>-</td></tr><tr><td>delete-button-text</td><td>\u5220\u9664\u6309\u94AE\u6587\u5B57\uFF0C\u7A7A\u5219\u5C55\u793A\u5220\u9664\u56FE\u6807</td><td><em>string</em></td><td>-</td></tr><tr><td>close-button-loading</td><td>\u662F\u5426\u5C06\u5173\u95ED\u6309\u94AE\u8BBE\u7F6E\u4E3A\u52A0\u8F7D\u4E2D\u72B6\u6001\uFF0C\u4EC5\u5728 <code>theme="custom"</code> \u65F6\u6709\u6548</td><td><em>boolean</em></td><td><code>false</code></td></tr><tr><td>show-delete-key</td><td>\u662F\u5426\u5C55\u793A\u5220\u9664\u56FE\u6807</td><td><em>boolean</em></td><td><code>true</code></td></tr><tr><td>blur-on-close <code>v3.0.6</code></td><td>\u662F\u5426\u5728\u70B9\u51FB\u5173\u95ED\u6309\u94AE\u65F6\u89E6\u53D1 blur \u4E8B\u4EF6</td><td><em>boolean</em></td><td><code>true</code></td></tr><tr><td>hide-on-click-outside</td><td>\u662F\u5426\u5728\u70B9\u51FB\u5916\u90E8\u65F6\u6536\u8D77\u952E\u76D8</td><td><em>boolean</em></td><td><code>true</code></td></tr><tr><td>teleport</td><td>\u6307\u5B9A\u6302\u8F7D\u7684\u8282\u70B9\uFF0C\u7B49\u540C\u4E8E Teleport \u7EC4\u4EF6\u7684 <a href="https://v3.cn.vuejs.org/api/built-in-components.html#teleport" target="_blank">to \u5C5E\u6027</a></td><td><em>string | Element</em></td><td>-</td></tr><tr><td>safe-area-inset-bottom</td><td>\u662F\u5426\u5F00\u542F<a href="#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei" target="_blank">\u5E95\u90E8\u5B89\u5168\u533A\u9002\u914D</a></td><td><em>boolean</em></td><td><code>true</code></td></tr><tr><td>random-key-order</td><td>\u662F\u5426\u5C06\u901A\u8FC7\u968F\u673A\u987A\u5E8F\u5C55\u793A\u6309\u952E</td><td><em>boolean</em></td><td><code>false</code></td></tr></tbody></table></div><div class="van-doc-card"><h3 id="events" tabindex="-1">Events</h3><table><thead><tr><th>\u4E8B\u4EF6\u540D</th><th>\u8BF4\u660E</th><th>\u56DE\u8C03\u53C2\u6570</th></tr></thead><tbody><tr><td>input</td><td>\u70B9\u51FB\u6309\u952E\u65F6\u89E6\u53D1</td><td><em>key: string</em></td></tr><tr><td>delete</td><td>\u70B9\u51FB\u5220\u9664\u952E\u65F6\u89E6\u53D1</td><td>-</td></tr><tr><td>close</td><td>\u70B9\u51FB\u5173\u95ED\u6309\u94AE\u65F6\u89E6\u53D1</td><td>-</td></tr><tr><td>blur</td><td>\u70B9\u51FB\u5173\u95ED\u6309\u94AE\u6216\u975E\u952E\u76D8\u533A\u57DF\u65F6\u89E6\u53D1</td><td>-</td></tr><tr><td>show</td><td>\u952E\u76D8\u5B8C\u5168\u5F39\u51FA\u65F6\u89E6\u53D1</td><td>-</td></tr><tr><td>hide</td><td>\u952E\u76D8\u5B8C\u5168\u6536\u8D77\u65F6\u89E6\u53D1</td><td>-</td></tr></tbody></table></div><div class="van-doc-card"><h3 id="slots" tabindex="-1">Slots</h3><table><thead><tr><th>\u540D\u79F0</th><th>\u8BF4\u660E</th></tr></thead><tbody><tr><td>delete</td><td>\u81EA\u5B9A\u4E49\u5220\u9664\u6309\u952E\u5185\u5BB9</td></tr><tr><td>extra-key</td><td>\u81EA\u5B9A\u4E49\u5DE6\u4E0B\u89D2\u6309\u952E\u5185\u5BB9</td></tr><tr><td>title-left</td><td>\u81EA\u5B9A\u4E49\u6807\u9898\u680F\u5DE6\u4FA7\u5185\u5BB9</td></tr></tbody></table></div><div class="van-doc-card"><h3 id="lei-xing-ding-yi" tabindex="-1">\u7C7B\u578B\u5B9A\u4E49</h3><p>\u7EC4\u4EF6\u5BFC\u51FA\u4EE5\u4E0B\u7C7B\u578B\u5B9A\u4E49\uFF1A</p><pre><code class="language-ts"><span class="hljs-keyword">import</span> <span class="hljs-keyword">type</span> { <span class="hljs-title class_">NumberKeyboardProps</span>, <span class="hljs-title class_">NumberKeyboardTheme</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">'vant'</span>;
|
|
</code></pre></div><h2 id="zhu-ti-ding-zhi" tabindex="-1">\u4E3B\u9898\u5B9A\u5236</h2><div class="van-doc-card"><h3 id="yang-shi-bian-liang" tabindex="-1">\u6837\u5F0F\u53D8\u91CF</h3><p>\u7EC4\u4EF6\u63D0\u4F9B\u4E86\u4E0B\u5217 CSS \u53D8\u91CF\uFF0C\u53EF\u7528\u4E8E\u81EA\u5B9A\u4E49\u6837\u5F0F\uFF0C\u4F7F\u7528\u65B9\u6CD5\u8BF7\u53C2\u8003 <a href="#/zh-CN/config-provider" target="_blank">ConfigProvider \u7EC4\u4EF6</a>\u3002</p><table><thead><tr><th>\u540D\u79F0</th><th>\u9ED8\u8BA4\u503C</th><th>\u63CF\u8FF0</th></tr></thead><tbody><tr><td>--van-number-keyboard-background-color</td><td><em>var(--van-gray-2)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-key-height</td><td><em>48px</em></td><td>-</td></tr><tr><td>--van-number-keyboard-key-font-size</td><td><em>28px</em></td><td>-</td></tr><tr><td>--van-number-keyboard-key-active-color</td><td><em>var(--van-gray-3)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-key-background-color</td><td><em>var(--van-white)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-delete-font-size</td><td><em>var(--van-font-size-lg)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-title-color</td><td><em>var(--van-gray-7)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-title-height</td><td><em>34px</em></td><td>-</td></tr><tr><td>--van-number-keyboard-title-font-size</td><td><em>var(--van-font-size-lg)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-close-padding</td><td><em>0 var(--van-padding-md)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-close-color</td><td><em>var(--van-text-link-color)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-close-font-size</td><td><em>var(--van-font-size-md)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-button-text-color</td><td><em>var(--van-white)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-button-background-color</td><td><em>var(--van-primary-color)</em></td><td>-</td></tr><tr><td>--van-number-keyboard-z-index</td><td><em>100</em></td><td>-</td></tr></tbody></table></div><h2 id="chang-jian-wen-ti" tabindex="-1">\u5E38\u89C1\u95EE\u9898</h2><div class="van-doc-card"><h3 id="zai-zhuo-mian-duan-wu-fa-cao-zuo-zu-jian" tabindex="-1">\u5728\u684C\u9762\u7AEF\u65E0\u6CD5\u64CD\u4F5C\u7EC4\u4EF6\uFF1F</h3><p>\u53C2\u89C1<a href="#/zh-CN/advanced-usage#zhuo-mian-duan-gua-pei" target="_blank">\u684C\u9762\u7AEF\u9002\u914D</a>\u3002</p></div>`,20),d=[e],i={__name:"README.zh-CN",setup(p,{expose:s}){return s({frontmatter:{}}),(o,c)=>(t(),a("div",l,d))}};export{i as default};
|