[{"data":1,"prerenderedAt":607},["Reactive",2],{"navigation":3,"content:/guide/basic-components/button":218,"surround:/guide/basic-components/button":440,"content-query-qp55IrK2Ni":443},[4,17,46,59,105,130,164,186,196,203,215],{"title":5,"_path":6,"children":7},"GET STARTED","/get-started",[8,11,14],{"title":9,"_path":10},"简介","/get-started/introduction",{"title":12,"_path":13},"快速上手","/get-started/quick-start",{"title":15,"_path":16},"主题","/get-started/theme",{"title":18,"_path":19,"children":20},"STYLE","/style",[21,24,27,30,33,36,39,43],{"title":22,"_path":23},"Layout","/style/layout",{"title":25,"_path":26},"Typography","/style/typography",{"title":28,"_path":29},"Icon","/style/icon",{"title":31,"_path":32},"Divider","/style/divider",{"title":34,"_path":35},"Button","/style/button",{"title":37,"_path":38},"IconButton","/style/icon-button",{"title":40,"_path":41,"stage":42},"Sticky","/style/sticky","alpha",{"title":44,"_path":45,"stage":42},"Transition","/style/transition",{"title":47,"_path":48,"children":49},"BAR","/bar",[50,53,56],{"title":51,"_path":52,"stage":42},"NavigationBar","/bar/navigation-bar",{"title":54,"_path":55,"stage":42},"SearchBar","/bar/searchbar",{"title":57,"_path":58,"stage":42},"Tabs","/bar/tabs",{"title":60,"_path":61,"children":62},"FORM","/form",[63,66,69,72,75,78,81,84,87,90,93,96,99,102],{"title":64,"_path":65},"Formitem","/form/formitem",{"title":67,"_path":68},"Input","/form/input",{"title":70,"_path":71},"InputNumber","/form/inputnumber",{"title":73,"_path":74,"stage":42},"Textarea","/form/textarea",{"title":76,"_path":77},"Radio","/form/radio",{"title":79,"_path":80},"Checkbox","/form/checkbox",{"title":82,"_path":83},"Switch","/form/switch",{"title":85,"_path":86,"stage":42},"Upload","/form/upload",{"title":88,"_path":89},"Group","/form/group",{"title":91,"_path":92},"DateTimePicker","/form/datetimepicker",{"title":94,"_path":95,"stage":42},"Picker","/form/picker",{"title":97,"_path":98,"stage":42},"Rate","/form/rate",{"title":100,"_path":101,"stage":42},"Cascader","/form/cascader",{"title":103,"_path":104,"stage":42},"Select","/form/select",{"title":106,"_path":107,"children":108},"DATA","/data",[109,112,115,118,121,124,127],{"title":110,"_path":111,"stage":42},"Badge","/data/badge",{"title":113,"_path":114,"stage":42},"Tag","/data/tag",{"title":116,"_path":117,"stage":42},"TagsPanel","/data/tags-panel",{"title":119,"_path":120,"stage":42},"Image","/data/image",{"title":122,"_path":123,"stage":42},"Avatar","/data/avatar",{"title":125,"_path":126,"stage":42},"Swiper","/data/swiper",{"title":128,"_path":129},"Steps","/data/steps",{"title":131,"_path":132,"children":133},"FEEDBACK","/feedback",[134,137,140,143,146,149,152,155,158,161],{"title":135,"_path":136,"stage":42},"NoticeBar","/feedback/noticebar",{"title":138,"_path":139},"Snackbar","/feedback/snackbar",{"title":141,"_path":142,"stage":42},"Toast","/feedback/toast",{"title":144,"_path":145,"stage":42},"Dialog","/feedback/dialog",{"title":147,"_path":148},"Popup","/feedback/popup",{"title":150,"_path":151,"stage":42},"Dropdown","/feedback/dropdown",{"title":153,"_path":154,"stage":42},"Popover","/feedback/popover",{"title":156,"_path":157,"stage":42},"ActionSheet","/feedback/action-sheet",{"title":159,"_path":160},"Empty","/feedback/empty",{"title":162,"_path":163,"stage":42},"Skeleton","/feedback/skeleton",{"title":165,"_path":166,"children":167},"OTHERS","/other",[168,171,174,177,180,183],{"title":169,"_path":170},"全局配置","/other/config",{"title":172,"_path":173},"自定义主题","/other/theming",{"title":175,"_path":176},"通用属性","/other/props",{"title":178,"_path":179},"贡献指南","/other/contributing",{"title":181,"_path":182},"从 v2 到 v3","/other/migration-v3",{"title":184,"_path":185},"国际化","/other/i18n",{"title":187,"_path":188,"children":189},"组合式 API","/composables",[190,193],{"title":191,"_path":192},"useRadioGroup","/composables/radio",{"title":194,"_path":195},"useCheckboxGroup","/composables/checkbox",{"title":197,"_path":198,"children":199},"Business","/business",[200],{"title":201,"_path":202},"社区首页","/business/island-detail",{"title":204,"_path":205,"children":206},"设计指南","/guide",[207],{"title":208,"_path":209,"children":210},"基础组件","/guide/basic-components",[211,214],{"title":212,"_path":213},"按钮","/guide/basic-components/button",{"title":208,"_path":209},{"title":216,"_path":217},"","/",{"_path":213,"_dir":219,"_draft":220,"_partial":220,"_locale":216,"title":212,"description":221,"body":222,"_type":434,"_id":435,"_source":436,"_file":437,"_stem":438,"_extension":439},"basic-components",false,"用于触发操作",{"type":223,"children":224,"toc":426},"root",[225,234,240,246,252,257],{"type":226,"tag":227,"props":228,"children":230},"element","h1",{"id":229},"按钮-button",[231],{"type":232,"value":233},"text","按钮 Button",{"type":226,"tag":235,"props":236,"children":237},"p",{},[238],{"type":232,"value":239},"按钮用于触发操作。千岛小程序提供多种按钮类型。",{"type":226,"tag":241,"props":242,"children":244},"h2",{"id":243},"类型",[245],{"type":232,"value":243},{"type":226,"tag":247,"props":248,"children":250},"h3",{"id":249},"主要按钮",[251],{"type":232,"value":249},{"type":226,"tag":235,"props":253,"children":254},{},[255],{"type":232,"value":256},"用于主要操作，每个区域最多使用一次。",{"type":226,"tag":258,"props":259,"children":260},"phone-mockup",{},[261,263,292,297,302],{"type":232,"value":262},"\n  ",{"type":226,"tag":264,"props":265,"children":270},"div",{"className":266},[267,268,269],"p-16px","bg-white","min-h-full",[271,273,291],{"type":232,"value":272},"\n    ",{"type":226,"tag":264,"props":274,"children":279},{"className":275},[276,277,278],"flex","gap-12px","items-center",[280,282,290],{"type":232,"value":281},"\n      ",{"type":226,"tag":283,"props":284,"children":288},"button",{"className":285},[286,287],"du-button","du-button--primary",[289],{"type":232,"value":249},{"type":232,"value":272},{"type":232,"value":262},{"type":226,"tag":247,"props":293,"children":295},{"id":294},"次要按钮",[296],{"type":232,"value":294},{"type":226,"tag":235,"props":298,"children":299},{},[300],{"type":232,"value":301},"用于次要操作，可多个共存。",{"type":226,"tag":258,"props":303,"children":304},{},[305,306,329,334,339],{"type":232,"value":262},{"type":226,"tag":264,"props":307,"children":309},{"className":308},[267,268,269],[310,311,328],{"type":232,"value":272},{"type":226,"tag":264,"props":312,"children":314},{"className":313},[276,277,278],[315,316,321,322,327],{"type":232,"value":281},{"type":226,"tag":283,"props":317,"children":319},{"className":318},[286],[320],{"type":232,"value":294},{"type":232,"value":281},{"type":226,"tag":283,"props":323,"children":325},{"className":324},[286],[326],{"type":232,"value":294},{"type":232,"value":272},{"type":232,"value":262},{"type":226,"tag":247,"props":330,"children":332},{"id":331},"文字按钮",[333],{"type":232,"value":331},{"type":226,"tag":235,"props":335,"children":336},{},[337],{"type":232,"value":338},"用于低强调操作，如「取消」「跳过」。",{"type":226,"tag":258,"props":340,"children":341},{},[342,343,361,366,386,391],{"type":232,"value":262},{"type":226,"tag":264,"props":344,"children":346},{"className":345},[267,268,269],[347,348,360],{"type":232,"value":272},{"type":226,"tag":264,"props":349,"children":351},{"className":350},[276,277,278],[352,353,359],{"type":232,"value":281},{"type":226,"tag":283,"props":354,"children":357},{"className":355},[286,356],"du-button--text",[358],{"type":232,"value":331},{"type":232,"value":272},{"type":232,"value":262},{"type":226,"tag":241,"props":362,"children":364},{"id":363},"尺寸",[365],{"type":232,"value":363},{"type":226,"tag":367,"props":368,"children":369},"ul",{},[370,376,381],{"type":226,"tag":371,"props":372,"children":373},"li",{},[374],{"type":232,"value":375},"大按钮：高度 48px，用于主要操作",{"type":226,"tag":371,"props":377,"children":378},{},[379],{"type":232,"value":380},"中按钮：高度 40px，用于一般操作",{"type":226,"tag":371,"props":382,"children":383},{},[384],{"type":232,"value":385},"小按钮：高度 32px，用于工具栏或紧凑布局",{"type":226,"tag":241,"props":387,"children":389},{"id":388},"使用原则",[390],{"type":232,"value":388},{"type":226,"tag":392,"props":393,"children":394},"ol",{},[395,406,416],{"type":226,"tag":371,"props":396,"children":397},{},[398,404],{"type":226,"tag":399,"props":400,"children":401},"strong",{},[402],{"type":232,"value":403},"层次分明",{"type":232,"value":405},"：每个页面只用一个主要按钮",{"type":226,"tag":371,"props":407,"children":408},{},[409,414],{"type":226,"tag":399,"props":410,"children":411},{},[412],{"type":232,"value":413},"对齐方式",{"type":232,"value":415},"：左对齐或右对齐，不要居中",{"type":226,"tag":371,"props":417,"children":418},{},[419,424],{"type":226,"tag":399,"props":420,"children":421},{},[422],{"type":232,"value":423},"状态反馈",{"type":232,"value":425},"：加载中时显示 loading 态，禁止点击时显示 disabled 态",{"title":216,"searchDepth":427,"depth":427,"links":428},2,[429],{"id":243,"depth":427,"text":243,"children":430},[431,433],{"id":249,"depth":432,"text":249},3,{"id":294,"depth":432,"text":294},"markdown","content:guide:1.basic-components:button.md","content","guide/1.basic-components/button.md","guide/1.basic-components/button","md",[441,442],{"_path":202,"title":201},{"_path":209,"title":208},{"_path":213,"_dir":219,"_draft":220,"_partial":220,"_locale":216,"title":212,"description":221,"body":444,"_type":434,"_id":435,"_source":436,"_file":437,"_stem":438,"_extension":439},{"type":223,"children":445,"toc":601},[446,450,454,458,462,466],{"type":226,"tag":227,"props":447,"children":448},{"id":229},[449],{"type":232,"value":233},{"type":226,"tag":235,"props":451,"children":452},{},[453],{"type":232,"value":239},{"type":226,"tag":241,"props":455,"children":456},{"id":243},[457],{"type":232,"value":243},{"type":226,"tag":247,"props":459,"children":460},{"id":249},[461],{"type":232,"value":249},{"type":226,"tag":235,"props":463,"children":464},{},[465],{"type":232,"value":256},{"type":226,"tag":258,"props":467,"children":468},{},[469,470,487,491,495],{"type":232,"value":262},{"type":226,"tag":264,"props":471,"children":473},{"className":472},[267,268,269],[474,475,486],{"type":232,"value":272},{"type":226,"tag":264,"props":476,"children":478},{"className":477},[276,277,278],[479,480,485],{"type":232,"value":281},{"type":226,"tag":283,"props":481,"children":483},{"className":482},[286,287],[484],{"type":232,"value":249},{"type":232,"value":272},{"type":232,"value":262},{"type":226,"tag":247,"props":488,"children":489},{"id":294},[490],{"type":232,"value":294},{"type":226,"tag":235,"props":492,"children":493},{},[494],{"type":232,"value":301},{"type":226,"tag":258,"props":496,"children":497},{},[498,499,522,526,530],{"type":232,"value":262},{"type":226,"tag":264,"props":500,"children":502},{"className":501},[267,268,269],[503,504,521],{"type":232,"value":272},{"type":226,"tag":264,"props":505,"children":507},{"className":506},[276,277,278],[508,509,514,515,520],{"type":232,"value":281},{"type":226,"tag":283,"props":510,"children":512},{"className":511},[286],[513],{"type":232,"value":294},{"type":232,"value":281},{"type":226,"tag":283,"props":516,"children":518},{"className":517},[286],[519],{"type":232,"value":294},{"type":232,"value":272},{"type":232,"value":262},{"type":226,"tag":247,"props":523,"children":524},{"id":331},[525],{"type":232,"value":331},{"type":226,"tag":235,"props":527,"children":528},{},[529],{"type":232,"value":338},{"type":226,"tag":258,"props":531,"children":532},{},[533,534,551,555,570,574],{"type":232,"value":262},{"type":226,"tag":264,"props":535,"children":537},{"className":536},[267,268,269],[538,539,550],{"type":232,"value":272},{"type":226,"tag":264,"props":540,"children":542},{"className":541},[276,277,278],[543,544,549],{"type":232,"value":281},{"type":226,"tag":283,"props":545,"children":547},{"className":546},[286,356],[548],{"type":232,"value":331},{"type":232,"value":272},{"type":232,"value":262},{"type":226,"tag":241,"props":552,"children":553},{"id":363},[554],{"type":232,"value":363},{"type":226,"tag":367,"props":556,"children":557},{},[558,562,566],{"type":226,"tag":371,"props":559,"children":560},{},[561],{"type":232,"value":375},{"type":226,"tag":371,"props":563,"children":564},{},[565],{"type":232,"value":380},{"type":226,"tag":371,"props":567,"children":568},{},[569],{"type":232,"value":385},{"type":226,"tag":241,"props":571,"children":572},{"id":388},[573],{"type":232,"value":388},{"type":226,"tag":392,"props":575,"children":576},{},[577,585,593],{"type":226,"tag":371,"props":578,"children":579},{},[580,584],{"type":226,"tag":399,"props":581,"children":582},{},[583],{"type":232,"value":403},{"type":232,"value":405},{"type":226,"tag":371,"props":586,"children":587},{},[588,592],{"type":226,"tag":399,"props":589,"children":590},{},[591],{"type":232,"value":413},{"type":232,"value":415},{"type":226,"tag":371,"props":594,"children":595},{},[596,600],{"type":226,"tag":399,"props":597,"children":598},{},[599],{"type":232,"value":423},{"type":232,"value":425},{"title":216,"searchDepth":427,"depth":427,"links":602},[603],{"id":243,"depth":427,"text":243,"children":604},[605,606],{"id":249,"depth":432,"text":249},{"id":294,"depth":432,"text":294},1780485117664]