1 line
		
	
	
		
			232 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			1 line
		
	
	
		
			232 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
| 
								 | 
							
								webpackJsonp([23],{"0LII":function(t,e,A){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=A("cazi"),a=A.n(o);for(var s in o)"default"!==s&&function(t){A.d(e,t,function(){return o[t]})}(s);var n=A("m6H8"),i=A("VU/8"),l=i(a.a,n.a,!1,null,null,null);e["default"]=l.exports},"0SmG":function(t,e){"use strict";e.a={render:function(){var t=this,e=t.$createElement,A=t._self._c||e;return A("div",{staticClass:"md-example-child md-example-child-toast md-example-child-toast-7"},[A("md-toast",{ref:"toast"},[A("md-activity-indicator",{attrs:{size:20,"text-size":16,color:"yellow","text-color":"white"}},[t._v("loading...")])],1),t._v(" "),A("md-button",{on:{click:t.showTextToast}},[t._v("\u5B9A\u5236Toast")])],1)},staticRenderFns:[]}},"18zt":function(t,e,A){var o=A("XmYT");"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);A("rjj0")("08048d4c",o,!0,{})},"2Tf+":function(t,e,A){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e,A){return e in t?Object.defineProperty(t,e,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[e]=A,t}Object.defineProperty(e,"__esModule",{value:!0});var s=A("TjX1"),n=o(s),i=A("oOyB"),l=o(i);e.default={name:"toast-demo",title:"\u7EAF\u6587\u5B57",titleEnUS:"Plain text",components:a({},l.default.name,l.default),methods:{showTextToast:function(){n.default.info("\u4E00\u6BB5\u6587\u5B57")}}}},"2pvk":function(t,e,A){var o,a,s;(function(){(function(n,i){a=[e,A("aTn/"),A("U6ik"),A("18zt")],o=i,s="function"==typeof o?o.apply(e,a):o,!(void 0!==s&&(t.exports=s))})(this,function(t,e){"use strict";function A(t,e,A){return e in t?Object.defineProperty(t,e,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[e]=A,t}Object.defineProperty(t,"__esModule",{value:!0});var o=function(t){return t&&t.__esModule?t:{default:t}}(e);t.default={name:"md-activity-indicator-carousel",components:A({},o.default.name,o.default),props:{size:{type:Number,default:30},color:{type:String,default:"#2F86F6"}},data:function(){return{circleAnimateValues:[[1,.8,.6,.6,.6,.8,1],[.6,.8,1,.8,.6,.6,.6],[.6,.6,.6,.8,1,.8,.6]]}},computed:{viewWidth:function(){var t=this.size,e=this.circleAnimateValues.length;return e*t+(e-1)*t/2},viewBox:function(){return"0 0 "+this.viewWidth+" "+this.size}}}})})(),t.exports.__esModule&&(t.exports=t.exports.default);var n="function"==typeof t.exports?t.exports.options:t.exports;n.render=function(){var t=this,e=t.$createElement,A=t._self._c||e;return A("div",{staticClass:"md-activity-indicator-carousel"},[A("svg",{staticClass:"md-activity-indicator-svg carouseling",style:{width:t.viewWidth+"px",height:t.size+"px"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:t.viewBox,fill:t.color}},t._l(t.circleAnimateValues,function(e,o){return A("md-activity-indicator-carousel-circle",{key:"carousel-circle-"+o,attrs:{size:t.size,index:o,"animate-values":e}})}),1)])},n.staticRenderFns=[]},"2q+k":function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var A=e.info={title:"Toast",preview:"https://didi.github.io/mand-mobile/examples/#/toast"},o=e.body="<h3 id=\"Import\">Import<a href=\"javascript:jumpAnchor('Import')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><pre><code class=\"language-javascript\"><span class=\"hljs-keyword\">import</span> { Toast } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'mand-mobile'</span>\n\nToast.succeed(<span class=\"hljs-string\">'Good Job!'</span>)\n\n<span class=\"hljs-keyword\">this</span>.$toast.info(<span class=\"hljs-string\">'hint'</span>) <span class=\"hljs-comment\">// Totally Import</span></code></pre>\n<h3 id=\"Instruction\">Instruction<a href=\"javascript:jumpAnchor('Instruction')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h3 id=\"Code Examples\">Code Examples<a href=\"javascript:jumpAnchor('Code Examples')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><!-- DEMO -->\n\n<h3 id=\"API\">API<a href=\"javascript:jumpAnchor('API')\" class=\"mfe-blog-toc-item mfe-blog-toc-item-h3\">#</a></h3><h4 id=\"Toast Static Methods\">Toast Static Method
							 |