/*! For license information please see 3289.62a3c6b5.js.LICENSE.txt */ (self.webpackChunk=self.webpackChunk||[]).push([["3289"],{36905:function(s,a,n){"use strict";n.r(a);var l=n("80681");let t=["innerHTML"];a.default={setup:()=>({html:""}),render:()=>((0,l.wg)(),(0,l.iD)("div",{class:"van-doc-markdown-body",innerHTML:'
Vant \u57FA\u4E8E CSS \u53D8\u91CF\u63D0\u4F9B\u4E86\u4E3B\u9898\u5B9A\u5236\u7684\u80FD\u529B\uFF0C\u53EF\u4EE5\u5BF9\u7EC4\u4EF6\u6837\u5F0F\u8FDB\u884C\u7EDF\u4E00\u4FEE\u6539\uFF0C\u8BE6\u89C1 ConfigProvider \u5168\u5C40\u914D\u7F6E \u7EC4\u4EF6\u3002
\n\u5982\u679C\u4E3B\u9898\u5B9A\u5236\u4E0D\u80FD\u6EE1\u8DB3\u4F60\u7684\u9700\u6C42\uFF0C\u4E5F\u53EF\u4EE5\u901A\u8FC7\u81EA\u5B9A\u4E49\u6837\u5F0F\u7C7B\u6765\u8986\u76D6\u9ED8\u8BA4\u6837\u5F0F\uFF0C\u53C2\u8003\u4E0B\u9762\u7684\u793A\u4F8B\uFF1A
\n<template>\n <van-button class="my-button">\u6309\u94AE</van-button>\n</template>\n\n<style>\n /** \u8986\u76D6 Button \u6700\u5916\u5C42\u5143\u7D20\u7684\u6837\u5F0F */\n .my-button {\n width: 200px;\n }\n\n /** \u8986\u76D6 Button \u5185\u90E8\u5B50\u5143\u7D20\u7684\u6837\u5F0F */\n .my-button .van-button__text {\n color: red;\n }\n</style>\n
\n\u5728 HTML \u4E2D\u4F7F\u7528 Vant \u7EC4\u4EF6\u65F6\uFF0C\u4F60\u53EF\u80FD\u4F1A\u78B0\u5230\u90E8\u5206\u793A\u4F8B\u4EE3\u7801\u65E0\u6CD5\u6B63\u786E\u6E32\u67D3\u7684\u60C5\u51B5\uFF0C\u6BD4\u5982\u4E0B\u9762\u7684\u7528\u6CD5\uFF1A
\n<van-cell-group>\n <van-cell title="\u5355\u5143\u683C" value="\u5185\u5BB9" />\n <van-cell title="\u5355\u5143\u683C" value="\u5185\u5BB9" />\n</van-cell-group>\n
\n\u8FD9\u662F\u56E0\u4E3A HTML \u5E76\u4E0D\u652F\u6301\u81EA\u95ED\u5408\u7684\u81EA\u5B9A\u4E49\u5143\u7D20\uFF0C\u4E5F\u5C31\u662F\u8BF4 <van-cell />
\u8FD9\u6837\u7684\u8BED\u6CD5\u662F\u4E0D\u88AB\u8BC6\u522B\u7684\uFF0C\u4F7F\u7528\u5B8C\u6574\u7684\u95ED\u5408\u6807\u7B7E\u53EF\u4EE5\u907F\u514D\u8FD9\u4E2A\u95EE\u9898\uFF1A
<van-cell-group>\n <van-cell title="\u5355\u5143\u683C" value="\u5185\u5BB9"></van-cell>\n <van-cell title="\u5355\u5143\u683C" value="\u5185\u5BB9"></van-cell>\n</van-cell-group>\n
\n\u5728\u5355\u6587\u4EF6\u7EC4\u4EF6\u3001\u5B57\u7B26\u4E32\u6A21\u677F\u548C JSX \u4E2D\u53EF\u4EE5\u4F7F\u7528\u81EA\u95ED\u5408\u7684\u81EA\u5B9A\u4E49\u5143\u7D20\uFF0C\u56E0\u6B64\u4E0D\u4F1A\u51FA\u73B0\u8FD9\u4E2A\u95EE\u9898\u3002
\n\u8FD9\u662F\u56E0\u4E3A iOS Safari \u9ED8\u8BA4\u4E0D\u4F1A\u89E6\u53D1 :active
\u4F2A\u7C7B\uFF0C\u89E3\u51B3\u65B9\u6CD5\u662F\u5728 body
\u6807\u7B7E\u4E0A\u6DFB\u52A0\u4E00\u4E2A\u7A7A\u7684 ontouchstart
\u5C5E\u6027\uFF1A
<body ontouchstart="">\n ...\n</body>\n
\n\u53C2\u8003\u94FE\u63A5\uFF1Astackoverflow - :active pseudo-class doesn\'t work in mobile safari
\nSelect \u662F\u684C\u9762\u7AEF\u5E38\u7528\u7684\u7EC4\u4EF6\uFF0C\u4F46\u5B83\u7684\u4EA4\u4E92\u5F62\u5F0F\u4E0D\u9002\u5408\u79FB\u52A8\u7AEF\u3002
\n\u5728\u79FB\u52A8\u7AEF\uFF0C\u6211\u4EEC\u63A8\u8350\u4F7F\u7528 Picker \u9009\u62E9\u5668\u7EC4\u4EF6 \u4F5C\u4E3A\u4EE3\u66FF\u3002
\nVant \u6240\u6709\u7EC4\u4EF6\u90FD\u662F\u57FA\u4E8E Vue \u6846\u67B6\u5B9E\u73B0\u7684\uFF0C\u6CA1\u6709\u9488\u5BF9 uni-app \u8FDB\u884C\u9002\u914D\uFF0C\u56E0\u6B64\u4E0D\u4FDD\u8BC1\u5404\u4E2A\u7EC4\u4EF6\u5728 uni-app \u4E0B\u7684\u53EF\u7528\u6027\u3002
\n\u5982\u679C\u4F60\u5728 uni-app \u4E2D\u4F7F\u7528 Vant \u9047\u5230\u95EE\u9898\uFF0C\u5EFA\u8BAE\u5411 uni-app \u8FDB\u884C\u53CD\u9988\u3002
\n\u53C2\u89C1\u684C\u9762\u7AEF\u9002\u914D\u3002
\n\u53C2\u89C1\u6D4F\u89C8\u5668\u9002\u914D\u3002
\n