vant/v1/async_125.24247963.js
2024-04-20 08:49:23 +00:00

1 line
5.0 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[125],{348:function(s,t,C){"use strict";C.r(t);var E={created:function(){this.content=unescape("%3Ch2%3EProgress%3C/h2%3E%0A%3Ch3%3EInstall%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%20Progress%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%28Progress%29%3B%0A%3C/code%3E%3C/pre%3E%0A%3Ch3%3EUsage%3C/h3%3E%0A%3Ch4%3EBasic%20Usage%3C/h4%3E%0A%3Cp%3EUse%20%27percentage%27%20prop%20to%20set%20current%20progress%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-progress%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Apercentage%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%2250%22%3C/span%3E%20/%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3EInactive%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-progress%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3Einactive%3C/span%3E%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Apercentage%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%2250%22%3C/span%3E%20/%26gt%3B%3C/span%3E%0A%3C/code%3E%3C/pre%3E%0A%3Ch4%3ECustom%20Style%3C/h4%3E%0A%3Cp%3EUse%20%3Ccode%3Epivot-text%3C/code%3E%20to%20custom%20text%uFF0Cuse%20%3Ccode%3Ecolor%3C/code%3E%20to%20custom%20bar%20color%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-progress%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Epivot-text%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22Orange%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ecolor%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%23f2826a%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Apercentage%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%2225%22%3C/span%3E%0A/%26gt%3B%3C/span%3E%0A%0A%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Evan-progress%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Epivot-text%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22Red%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ecolor%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%23f44%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Apercentage%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%2250%22%3C/span%3E%0A/%26gt%3B%3C/span%3E%0A%0A%3Cspan%20class%3D%22hljs-tag%22%3E%26lt%3B%3Cspan%20class%3D%22hljs-name%22%3Evan-progress%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3E%3Apercentage%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%2275%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Epivot-text%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22Purple%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Epivot-color%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22%237232dd%22%3C/span%3E%0A%20%20%3Cspan%20class%3D%22hljs-attr%22%3Ecolor%3C/span%3E%3D%3Cspan%20class%3D%22hljs-string%22%3E%22linear-gradient%28to%20right%2C%20%23be99ff%2C%20%237232dd%29%22%3C/span%3E%0A/%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%3EAttribute%3C/th%3E%0A%3Cth%3EDescription%3C/th%3E%0A%3Cth%3EType%3C/th%3E%0A%3Cth%3EDefault%3C/th%3E%0A%3C/tr%3E%0A%3C/thead%3E%0A%3Ctbody%3E%0A%3Ctr%3E%0A%3Ctd%3Einactive%3C/td%3E%0A%3Ctd%3EWhether%20to%20be%20gray%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%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Epercentage%3C/td%3E%0A%3Ctd%3EPercentage%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%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Eshow-pivot%3C/td%3E%0A%3Ctd%3EWhether%20to%20show%20text%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%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Ecolor%3C/td%3E%0A%3Ctd%3EColor%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%231989fa%3C/code%3E%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Epivot-text%3C/td%3E%0A%3Ctd%3EText%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3Epercentage%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Epivot-color%3C/td%3E%0A%3Ctd%3EText%20background%20color%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3Einherit%20progress%20color%3C/td%3E%0A%3C/tr%3E%0A%3Ctr%3E%0A%3Ctd%3Etext-color%3C/td%3E%0A%3Ctd%3EText%20color%3C/td%3E%0A%3Ctd%3E%3Ccode%3EString%3C/code%3E%3C/td%3E%0A%3Ctd%3E%3Ccode%3E%23fff%3C/code%3E%3C/td%3E%0A%3C/tr%3E%0A%3C/tbody%3E%0A%3C/table%3E%0A")}},a=C(7),e=Object(a.a)(E,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);t.default=e.exports}}]);