mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-05-12 00:28:58 +08:00
7 lines
5.1 KiB
JavaScript
7 lines
5.1 KiB
JavaScript
/*!
|
|
* build: vue-admin-better
|
|
* vue-admin-beautiful.com
|
|
* https://gitee.com/chu1204505056/vue-admin-better
|
|
* time: 2022-2-26 00:26:40
|
|
*/
|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-27ac2c03"],{"342d":function(t,e,a){"use strict";a("7f94")},4075:function(t,e,a){},4439:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"small-components-container"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[a("el-divider",{attrs:{"content-position":"left"}},[t._v("小组件")])],1),a("el-col",{attrs:{xs:24,sm:24,md:12,lg:8,xl:8}},[a("el-card",{attrs:{shadow:"hover"}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("span",[t._v("snow")])]),a("vab-snow")],1)],1),a("el-col",{attrs:{xs:24,sm:24,md:12,lg:8,xl:8}},[a("el-card",{attrs:{shadow:"hover"}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("span",[t._v("profile")]),a("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text"},on:{click:t.handleProfile}},[t._v(" 重载 ")])],1),t.profileShow?a("vab-profile",{attrs:{avatar:"https://picsum.photos/80/80?random=2","user-name":"chuzhixin"}}):t._e()],1)],1),a("el-col",{attrs:{xs:24,sm:24,md:12,lg:8,xl:8}},[a("el-card",{attrs:{shadow:"hover"}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("span",[t._v("charge")])]),a("vab-charge",{attrs:{"start-val":t.startVal,"end-val":t.endVal}})],1)],1)],1)],1)},n=[],r=a("e64d"),l=a("e087"),i=a("95ec"),o={name:"Sticky",components:{VabSnow:r["default"],VabProfile:l["default"],VabCharge:i["default"]},data:function(){return{profileShow:!0,faultTextShow:!0,solidTextShow:!0,startVal:0,endVal:20,timeInterval:null}},mounted:function(){var t=this;this.handleProfile(),this.handleSolidText(),this.timeInterval=setInterval((function(){t.endVal<100&&(t.startVal=t.endVal,t.endVal++)}),5e3)},beforeDestroy:function(){this.clearInterval&&clearInterval(this.timeInterval)},methods:{handleProfile:function(){var t=this;this.profileShow=!1,setTimeout((function(){t.profileShow=!0}))},handleSolidText:function(){var t=this;this.solidTextShow=!1,setTimeout((function(){t.solidTextShow=!0}))}}},c=o,u=(a("4d3d"),a("cba8")),d=Object(u["a"])(c,s,n,!1,null,"6ad845e4",null);e["default"]=d.exports},"4d3d":function(t,e,a){"use strict";a("c5fb")},6728:function(t,e,a){"use strict";a("f9e1")},"7f94":function(t,e,a){},"95ec":function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content"},[a("div",{staticClass:"g-container",style:t.styleObj},[a("div",{staticClass:"g-number"},[a("vab-count",{attrs:{"start-val":t.startVal,"end-val":t.endVal,duration:t.duration,separator:t.separator,prefix:t.prefix,suffix:t.suffix,decimals:t.decimals}})],1),a("div",{staticClass:"g-contrast"},[a("div",{staticClass:"g-circle"}),a("ul",{staticClass:"g-bubbles"},t._l(15,(function(t,e){return a("li",{key:e})})),0)])])])},n=[],r=(a("51b3"),{name:"VabCharge",props:{styleObj:{type:Object,default:function(){return{}}},startVal:{type:Number,default:0},endVal:{type:Number,default:100}},data:function(){return{decimals:2,prefix:"",suffix:"%",separator:",",duration:3e3}},created:function(){},mounted:function(){},methods:{}}),l=r,i=(a("e9b5"),a("cba8")),o=Object(i["a"])(l,s,n,!1,null,"3a62ed49",null);e["default"]=o.exports},c5fb:function(t,e,a){},e087:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card",style:t.styleObj},[t._m(0),a("div",{staticClass:"card-content"},[a("el-image",{staticClass:"avatar",attrs:{src:t.avatar}}),a("div",{staticClass:"username"},[t._v(t._s(t.username))]),a("div",{staticClass:"social-icons"},t._l(t.iconArray,(function(t,e){return a("a",{key:e,staticClass:"social-icon",attrs:{href:t.url,target:"_blank"}},[a("vab-icon",{attrs:{icon:["fas",t.icon]}})],1)})),0)],1)])},n=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card-borders"},[a("div",{staticClass:"border-top"}),a("div",{staticClass:"border-right"}),a("div",{staticClass:"border-bottom"}),a("div",{staticClass:"border-left"})])}],r={name:"VabProfile",props:{styleObj:{type:Object,default:function(){return{}}},username:{type:String,default:""},avatar:{type:String,default:""},iconArray:{type:Array,default:function(){return[{icon:"bell",url:""},{icon:"bookmark",url:""},{icon:"cloud-sun",url:""}]}}},data:function(){return{}},created:function(){},mounted:function(){},methods:{}},l=r,i=(a("342d"),a("cba8")),o=Object(i["a"])(l,s,n,!1,null,"ac18e69e",null);e["default"]=o.exports},e64d:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content",style:t.styleObj},t._l(200,(function(t,e){return a("div",{key:e,staticClass:"snow"})})),0)},n=[],r={name:"VabSnow",props:{styleObj:{type:Object,default:function(){return{}}}},data:function(){return{}},created:function(){},mounted:function(){},methods:{}},l=r,i=(a("6728"),a("cba8")),o=Object(i["a"])(l,s,n,!1,null,"29aafa1c",null);e["default"]=o.exports},e9b5:function(t,e,a){"use strict";a("4075")},f9e1:function(t,e,a){}}]); |