111
jihongshun
8 天以前 0c741cdda7ef9935a20d3090dfea97e1ce8ae754
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<template>
  <component :is="option.attribute.borderType" :style="{width:width+'px',height:height+'px'}"
           :color="[option.attribute.borderColor1, option.attribute.borderColor2]" :backgroundColor="option.attribute.backgroundColor"
           :title="option.attribute.borderTitle" :titleWidth="option.attribute.titleWidth"
           :dur="option.attribute.dur" :reverse="option.attribute.reverse"/>
<!--  默认宽高为100%(http://datav.jiaminghi.com/guide/borderBox.html),会出现滚动条常驻现象 -->
</template>
 
<script>
export default {
  name: "cpt-dataV-border",
  props:{
    width:Number,
    height:Number,
    option:Object
  },
  data() {
    return {}
  }
}
</script>
 
<style scoped>
 
</style>