1 line
6.4 KiB
JavaScript
1 line
6.4 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-8b217d34"],{bb51:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"home"},[t._m(0),e("br"),e("h2",[t._v("# Trend 组件 ")]),e("a-divider",[t._v(" 正常 ")]),e("a-card",[e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"up"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("工资")]),t._v(" 5% ")]),e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"up"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("工作量")]),t._v(" 50% ")]),e("trend",{attrs:{flag:"down"}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("身体状态")]),t._v(" 50% ")])],1),e("a-divider",[t._v(" 颜色反转 ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"up","reverse-color":!0}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("工资")]),t._v(" 5% ")]),e("trend",{staticStyle:{"margin-right":"16px"},attrs:{flag:"down","reverse-color":!0}},[e("span",{attrs:{slot:"term"},slot:"term"},[t._v("工作量")]),t._v(" 50% ")])],1),e("h2",[t._v("# AvatarList 组件 ")]),e("a-divider",[t._v(" AvatarList ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("avatar-list",{attrs:{"max-length":3}},[e("avatar-list-item",{attrs:{tips:"Jake",src:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png"}}),e("avatar-list-item",{attrs:{tips:"Andy",src:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}})],1),e("a-divider",{staticStyle:{margin:"0 16px"},attrs:{type:"vertical"}}),e("avatar-list",{attrs:{size:"mini"}},[e("avatar-list-item",{attrs:{tips:"Jake",src:"https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png"}}),e("avatar-list-item",{attrs:{tips:"Andy",src:"https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png"}}),e("avatar-list-item",{attrs:{tips:"Niko",src:"https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png"}})],1)],1),e("h2",[t._v("# CountDown 组件 ")]),e("a-divider",[t._v(" CountDown ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("count-down",{staticStyle:{"font-size":"2rem"},attrs:{target:(new Date).getTime()+3e6,"on-end":t.onEndHandle}}),e("a-divider",{staticStyle:{margin:"0 16px"},attrs:{type:"vertical"}}),e("count-down",{staticStyle:{"font-size":"2rem"},attrs:{target:(new Date).getTime()+1e4,"on-end":t.onEndHandle2}})],1),e("h2",[t._v("# Ellipsis 组件 ")]),e("a-divider",[t._v(" Ellipsis ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("ellipsis",{attrs:{length:100,tooltip:""}},[t._v(" There were injuries alleged in three cases in 2015, and a fourth incident in September, according to the safety recall report. After meeting with US regulators in October, the firm decided to issue a voluntary recall. ")])],1),e("h2",[t._v("# NumberInfo 组件 ")]),e("a-divider",[t._v(" NumberInfo ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("number-info",{attrs:{"sub-title":function(){return"Visits this week"},total:12321,status:"up","sub-total":17.1}})],1),e("h2",[t._v("# TagSelect 组件 ")]),e("a-divider",[t._v(" TagSelect ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("tag-select",[e("tag-select-option",{attrs:{value:"cat1"}},[t._v("类目1")]),e("tag-select-option",{attrs:{value:"cat2"}},[t._v("类目2")]),e("tag-select-option",{attrs:{value:"cat3"}},[t._v("类目3")]),e("tag-select-option",{attrs:{value:"cat4"}},[t._v("类目4")]),e("tag-select-option",{attrs:{value:"cat5"}},[t._v("类目5")]),e("tag-select-option",{attrs:{value:"cat6"}},[t._v("类目6")]),e("tag-select-option",{attrs:{value:"cat7"}},[t._v("类目7")])],1)],1),e("h2",[t._v("# DescriptionList 组件 ")]),e("a-divider",[t._v(" DescriptionList ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("description-list",{attrs:{title:"组名称",size:"small"}},[e("description-list-item",{attrs:{term:"负责人"}},[t._v("林东东")]),e("description-list-item",{attrs:{term:"角色码"}},[t._v("1234567")]),e("description-list-item",{attrs:{term:"所属部门"}},[t._v("XX公司-YY部")]),e("description-list-item",{attrs:{term:"过期时间"}},[t._v("2018-08-08")]),e("description-list-item",{attrs:{term:"描述"}},[t._v("这段描述很长很长很长很长很长很长很长很长很长很长很长很长很长很长...")])],1)],1),e("a-divider",[t._v(" TagCloud ")]),e("a-card",{staticStyle:{"margin-bottom":"3rem"}},[e("tag-cloud",{attrs:{"tag-list":t.tagCloudData}})],1)],1)},i=[function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"banner"},[s("img",{staticStyle:{width:"64px",height:"64px"},attrs:{alt:"Vue logo",src:e("cf05")}}),s("h3",{staticStyle:{"margin-top":"1rem"}},[t._v("Welcome to Your Vue.js App")])])}],r=(e("0d03"),e("611e")),o=e("a545"),n=e("6a2a"),l=e("c4db"),c=e("2ce4"),m=e("ac94"),p=e("2af9"),d=o["a"].AvatarItem,g=m["a"].Option,v=p["a"].Item,u={name:"Home",components:{NumberInfo:c["a"],Ellipsis:l["a"],CountDown:n["a"],Trend:r["a"],AvatarList:o["a"],AvatarListItem:d,TagSelect:m["a"],TagSelectOption:g,TagCloud:p["g"],DescriptionList:p["a"],DescriptionListItem:v},data:function(){return{targetTime:(new Date).getTime()+39e5,tagCloudData:[]}},created:function(){this.getTagCloudData()},methods:{onEndHandle:function(){this.$message.success("CountDown callback!!!")},onEndHandle2:function(){this.$notification.open({message:"Notification Title",description:"This is the content of the notification. This is the content of the notification. This is the content of the notification."})},getTagCloudData:function(){var t=this;this.$http.get("/data/antv/tag-cloud").then((function(a){t.tagCloudData=a.result}))}}},h=u,f=(e("d005"),e("2877")),_=Object(f["a"])(h,s,i,!1,null,"2a92492a",null);a["default"]=_.exports},cf05:function(t,a,e){t.exports=e.p+"img/logo.c9241552.png"},d005:function(t,a,e){"use strict";var s=e("feb8"),i=e.n(s);i.a},feb8:function(t,a,e){}}]); |