DataBox 数据展示
... 2021-7-29 Less than 1 minute
<avue-data-box :option="option"></avue-data-box>
<script>
export default {
data(){
return {
option: {
span:6,
data: [
{
click: function (item) {
alert(JSON.stringify(item));
},
title: '错误日志',
count: 12332,
icon: 'el-icon-warning',
color: 'rgb(49, 180, 141)',
href:'https://avuejs.com',
target:'_blank'
},
{
click: function (item) {
alert(JSON.stringify(item));
},
title: '数据展示',
count: 33,
icon: 'el-icon-view',
color: 'rgb(56, 161, 242)',
href:'https://avuejs.com',
target:'_blank'
},
{
click: function (item) {
alert(JSON.stringify(item));
},
title: '权限管理',
count: 2223,
icon: 'el-icon-setting',
color: 'rgb(117, 56, 199)',
href:'https://avuejs.com',
target:'_blank'
},
{
click: function (item) {
alert(JSON.stringify(item));
},
title: '权限管理',
count: 2223,
icon: 'el-icon-setting',
color: 'rgb(117, 56, 199)',
href:'https://avuejs.com',
target:'_blank'
},
]
},
}
}
}
</script>
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
animation | 是否动画 | Boolean | false/true | true |
decimals | 小数点位数 | Number | — | 0 |
span | 栅格数 | String | — | 8 |
data | 数据 | Array | — | - |
This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system.