mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
1 line
23 KiB
JavaScript
1 line
23 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[156],{284:function(s,E,C){"use strict";C.r(E);var a={created:function(){this.content=unescape("%3Ch2%3ETab%20%u6807%u7B7E%u9875%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%20Tab%2C%20Tabs%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%28Tab%29.use%28Tabs%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%3Cp%3E%u9ED8%u8BA4%u60C5%u51B5%u4E0B%u542F%u7528%u7B2C%u4E00%u4E2A%u6807%u7B7E%uFF0C%u53EF%u4EE5%u901A%u8FC7%3Ccode%3Ev-model%3C/code%3E%u7ED1%u5B9A%u5F53%u524D%u6FC0%u6D3B%u7684%u6807%u7B7E%u7D22%u5F15%3C/p%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-tabs%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22active%22%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%201%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%201%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%202%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%202%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%203%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%203%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%204%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%204%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-js%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eexport%3C/span%3E%20%3Cspan%20class%3D%22hljs-keyword%22%3Edefault%3C/span%3E%20%7B%0A%20%20data%28%29%20%7B%0A%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Ereturn%3C/span%3E%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-attr%22%3Eactive%3C/span%3E%3A%20%3Cspan%20class%3D%22hljs-number%22%3E2%3C/span%3E%0A%20%20%20%20%7D%3B%0A%20%20%7D%0A%7D%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u6A2A%u5411%u6EDA%u52A8%3C/h4%3E%0A%3Cp%3E%u591A%u4E8E%204%20%u4E2A%u6807%u7B7E%u65F6%uFF0CTab%20%u53EF%u4EE5%u6A2A%u5411%u6EDA%u52A8%3C/p%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-tabs%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-for%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22index%20in%208%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Atitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%27%u6807%u7B7E%20%27%20+%20index%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%u5185%u5BB9%20%7B%7B%20index%20%7D%7D%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u7981%u7528%u6807%u7B7E%3C/h4%3E%0A%3Cp%3E%u8BBE%u7F6E%3Ccode%3Edisabled%3C/code%3E%u5C5E%u6027%u5373%u53EF%u7981%u7528%u6807%u7B7E%u3002%u5982%u679C%u9700%u8981%u76D1%u542C%u7981%u7528%u6807%u7B7E%u7684%u70B9%u51FB%u4E8B%u4EF6%uFF0C%u53EF%u4EE5%u5728%3Ccode%3Evan-tabs%3C/code%3E%u4E0A%u76D1%u542C%3Ccode%3Edisabled%3C/code%3E%u4E8B%u4EF6%3C/p%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-tabs%3C/span%3E%20@%3Cspan%20class%3D%22hljs-attr%22%3Edisabled%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onClickDisabled%22%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%201%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%201%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%202%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Edisabled%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%202%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%203%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%203%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eexport%3C/span%3E%20%3Cspan%20class%3D%22hljs-keyword%22%3Edefault%3C/span%3E%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emethods%3C/span%3E%3A%20%7B%0A%20%20%20%20onClickDisabled%28index%2C%20title%29%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Ethis%3C/span%3E.%24toast%28title%20+%20%3Cspan%20class%3D%22hljs-string%22%3E%27%u5DF2%u88AB%u7981%u7528%27%3C/span%3E%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u6837%u5F0F%u98CE%u683C%3C/h4%3E%0A%3Cp%3E%3Ccode%3ETab%3C/code%3E%u652F%u6301%u4E24%u79CD%u6837%u5F0F%u98CE%u683C%uFF1A%3Ccode%3Eline%3C/code%3E%u548C%3Ccode%3Ecard%3C/code%3E%uFF0C%u9ED8%u8BA4%u4E3A%3Ccode%3Eline%3C/code%3E%u6837%u5F0F%uFF0C%u53EF%u4EE5%u901A%u8FC7%3Ccode%3Etype%3C/code%3E%u5C5E%u6027%u4FEE%u6539%u6837%u5F0F%u98CE%u683C%3C/p%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-tabs%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etype%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22card%22%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%201%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%201%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%202%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%202%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%203%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%203%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u70B9%u51FB%u4E8B%u4EF6%3C/h4%3E%0A%3Cp%3E%u53EF%u4EE5%u5728%3Ccode%3Evan-tabs%3C/code%3E%u4E0A%u7ED1%u5B9A%3Ccode%3Eclick%3C/code%3E%u4E8B%u4EF6%uFF0C%u4E8B%u4EF6%u4F20%u53C2%u4E3A%u6807%u7B7E%u5BF9%u5E94%u7684%u7D22%u5F15%u548C%u6807%u9898%3C/p%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-tabs%3C/span%3E%20@%3Cspan%20class%3D%22hljs-attr%22%3Eclick%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22onClick%22%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%201%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%201%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Etitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%u6807%u7B7E%202%22%3C/span%3E%26gt%3B%3C/span%3E%u5185%u5BB9%202%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Cpre%3E%3Ccode%20class%3D%22language-javascript%22%3E%3Cspan%20class%3D%22hljs-keyword%22%3Eexport%3C/span%3E%20%3Cspan%20class%3D%22hljs-keyword%22%3Edefault%3C/span%3E%20%7B%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Emethods%3C/span%3E%3A%20%7B%0A%20%20%20%20onClick%28index%2C%20title%29%20%7B%0A%20%20%20%20%20%20%3Cspan%20class%3D%22hljs-keyword%22%3Ethis%3C/span%3E.%24toast%28title%29%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u7C98%u6027%u5E03%u5C40%3C/h4%3E%0A%3Cp%3E%u901A%u8FC7%3Ccode%3Esticky%3C/code%3E%u5C5E%u6027%u53EF%u4EE5%u5F00%u542F%u7C98%u6027%u5E03%u5C40%uFF0C%u7C98%u6027%u5E03%u5C40%u4E0B%uFF0C%u5F53%20Tab%20%u6EDA%u52A8%u5230%u9876%u90E8%u65F6%u4F1A%u81EA%u52A8%u5438%u9876%3C/p%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-tabs%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22active%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Esticky%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-for%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22index%20in%204%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Atitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%27%u9009%u9879%20%27%20+%20index%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%u5185%u5BB9%20%7B%7B%20index%20%7D%7D%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u81EA%u5B9A%u4E49%u6807%u7B7E%3C/h4%3E%0A%3Cp%3E%u901A%u8FC7%20title%20%u63D2%u69FD%u53EF%u4EE5%u81EA%u5B9A%u4E49%u6807%u7B7E%u5185%u5BB9%3C/p%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-tabs%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22active%22%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-for%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22index%20in%202%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%3Eslot%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22title%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-icon%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ename%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22more-o%22%3C/span%3E%20/%26gt%3B%3C/span%3E%u9009%u9879%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%20%20%u5185%u5BB9%20%7B%7B%20index%20%7D%7D%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u5207%u6362%u52A8%u753B%3C/h4%3E%0A%3Cp%3E%u901A%u8FC7%3Ccode%3Eanimated%3C/code%3E%u5C5E%u6027%u53EF%u4EE5%u5F00%u542F%u5207%u6362%u6807%u7B7E%u5185%u5BB9%u65F6%u7684%u8F6C%u573A%u52A8%u753B%3C/p%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-tabs%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22active%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eanimated%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-for%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22index%20in%204%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Atitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%27%u9009%u9879%20%27%20+%20index%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%u5185%u5BB9%20%7B%7B%20index%20%7D%7D%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3E%u6ED1%u52A8%u5207%u6362%3C/h4%3E%0A%3Cp%3E%u901A%u8FC7%3Ccode%3Eswipeable%3C/code%3E%u5C5E%u6027%u53EF%u4EE5%u5F00%u542F%u6ED1%u52A8%u5207%u6362%u6807%u7B7E%u9875%3C/p%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-tabs%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-model%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22active%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Eswipeable%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%3Evan-tab%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Ev-for%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22index%20in%204%22%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Atitle%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%27%u9009%u9879%20%27%20+%20index%22%3C/span%3E%26gt%3B%3C/span%3E%0A%20%20%20%20%u5185%u5BB9%20%7B%7B%20index%20%7D%7D%0A%20%20%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B/%3Cspan%20class%3D%22hljs-name%22%3Evan-tab%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-tabs%3C/span%3E%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3ETabs%20API%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%u5F53%u524D%u6807%u7B7E%u7684%u7D22%u5F15%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%20%3Ccode%3ENumber%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E0%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.0.6%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Etype%3C/td%3E%0A%3Ctd%3E%u6837%u5F0F%u7C7B%u578B%uFF0C%u53EF%u9009%u503C%u4E3A%3Ccode%3Ecard%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Eline%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eduration%3C/td%3E%0A%3Ctd%3E%u52A8%u753B%u65F6%u95F4%uFF0C%u5355%u4F4D%u79D2%3C/td%3E%0A%3Ctd%3E%3Ccode%3ENumber%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E0.3%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ebackground%3C/td%3E%0A%3Ctd%3E%u6807%u7B7E%u680F%u80CC%u666F%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3Ewhite%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.6.5%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eline-width%3C/td%3E%0A%3Ctd%3E%u5E95%u90E8%u6761%u5BBD%u5EA6%uFF0C%u5355%u4F4D%20px%3C/td%3E%0A%3Ctd%3E%3Ccode%3ENumber%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E1.1.1%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eline-height%3C/td%3E%0A%3Ctd%3E%u5E95%u90E8%u6761%u9AD8%u5EA6%uFF0C%u5355%u4F4D%20px%3C/td%3E%0A%3Ctd%3E%3Ccode%3ENumber%3C/code%3E%3C/td%3E%0A%3Ctd%3E3%3C/td%3E%0A%3Ctd%3E1.5.0%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ecolor%3C/td%3E%0A%3Ctd%3E%u6807%u7B7E%u4E3B%u9898%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%23f44%3C/code%3E%3C/td%3E%0A%3Ctd%3E1.2.0%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Etitle-active-color%3C/td%3E%0A%3Ctd%3E%u6807%u9898%u9009%u4E2D%u6001%u989C%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E1.6.5%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Etitle-inactive-color%3C/td%3E%0A%3Ctd%3E%u6807%u9898%u9ED8%u8BA4%u6001%u989C%u8272%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3Ctd%3E1.6.5%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eswipeable%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5F00%u542F%u624B%u52BF%u6ED1%u52A8%u5207%u6362%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.0.0%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Esticky%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u4F7F%u7528%u7C98%u6027%u5B9A%u4F4D%u5E03%u5C40%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%3Eoffset-top%3C/td%3E%0A%3Ctd%3E%u7C98%u6027%u5B9A%u4F4D%u5E03%u5C40%u4E0B%u4E0E%u9876%u90E8%u7684%u6700%u5C0F%u8DDD%u79BB%uFF0C%u5355%u4F4D%20px%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%3E1.1.15%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eswipe-threshold%3C/td%3E%0A%3Ctd%3E%u6EDA%u52A8%u9608%u503C%uFF0C%u6807%u7B7E%u6570%u91CF%u8D85%u8FC7%u591A%u5C11%u4E2A%u53EF%u6EDA%u52A8%3C/td%3E%0A%3Ctd%3E%3Ccode%3ENumber%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E4%3C/code%3E%3C/td%3E%0A%3Ctd%3E-%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eanimated%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5F00%u542F%u5207%u6362%u6807%u7B7E%u5185%u5BB9%u65F6%u7684%u8F6C%u573A%u52A8%u753B%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.5%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eellipsis%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u7701%u7565%u8FC7%u957F%u7684%u6807%u9898%u6587%u5B57%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%3E1.5.0%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Elazy-render%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u5F00%u542F%u6807%u7B7E%u9875%u5185%u5BB9%u5EF6%u8FDF%u6E32%u67D3%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%3E1.6.6%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3ETab%20API%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%3Etitle%3C/td%3E%0A%3Ctd%3E%u6807%u9898%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%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%3Edisabled%3C/td%3E%0A%3Ctd%3E%u662F%u5426%u7981%u7528%u6807%u7B7E%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%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3ETabs%20Slot%3C/h3%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%3Enav-left%3C/td%3E%0A%3Ctd%3E%u6807%u9898%u5DE6%u4FA7%u5185%u5BB9%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Enav-right%3C/td%3E%0A%3Ctd%3E%u6807%u9898%u53F3%u4FA7%u5185%u5BB9%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3ETab%20Slot%3C/h3%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%3Edefault%3C/td%3E%0A%3Ctd%3E%u6807%u7B7E%u9875%u5185%u5BB9%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Etitle%3C/td%3E%0A%3Ctd%3E%u81EA%u5B9A%u4E49%u6807%u7B7E%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A%3Ch3%3ETabs%20Event%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%3Eclick%3C/td%3E%0A%3Ctd%3E%u70B9%u51FB%u6807%u7B7E%u65F6%u89E6%u53D1%3C/td%3E%0A%3Ctd%3Eindex%uFF1A%u6807%u7B7E%u7D22%u5F15%uFF0Ctitle%uFF1A%u6807%u9898%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Echange%3C/td%3E%0A%3Ctd%3E%u5F53%u524D%u6FC0%u6D3B%u7684%u6807%u7B7E%u6539%u53D8%u65F6%u89E6%u53D1%3C/td%3E%0A%3Ctd%3Eindex%uFF1A%u6807%u7B7E%u7D22%u5F15%uFF0Ctitle%uFF1A%u6807%u9898%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Edisabled%3C/td%3E%0A%3Ctd%3E%u70B9%u51FB%u88AB%u7981%u7528%u7684%u6807%u7B7E%u65F6%u89E6%u53D1%3C/td%3E%0A%3Ctd%3Eindex%uFF1A%u6807%u7B7E%u7D22%u5F15%uFF0Ctitle%uFF1A%u6807%u9898%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Escroll%3C/td%3E%0A%3Ctd%3E%u6EDA%u52A8%u65F6%u89E6%u53D1%uFF0C%u4EC5%u5728%20sticky%20%u6A21%u5F0F%u4E0B%u751F%u6548%3C/td%3E%0A%3Ctd%3E%7B%20scrollTop%3A%20%u8DDD%u79BB%u9876%u90E8%u4F4D%u7F6E%2C%20isFixed%3A%20%u662F%u5426%u5438%u9876%20%7D%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A")}},t=C(7),u=Object(t.a)(a,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);E.default=u.exports}}]); |