Commit 5d0c5b83 by 前端

commit

1 parent 63fdf086
......@@ -21,7 +21,7 @@ export default {
},
colors: {
type: Array,
default: () => [' #FF6E76', '#7CFFB2', ' #FDF006', '#4FA0FF', '#EB6001']
default: () => ['#FF6E76', '#7CFFB2', ' #FDF006', '#4FA0FF', '#EB6001', '#BF98FF', '#BF98FF', '#58D9F9']
}
},
watch: {
......
......@@ -39,7 +39,7 @@ export default {
},
colors: {
type: Array,
default: () => [' #FF6E76', '#7CFFB2', ' #FDF006', '#4FA0FF', '#EB6001', '#F5AA01', '#BF98FF', '#58D9F9']
default: () => ['#FF6E76', '#7CFFB2', ' #FDF006', '#4FA0FF', '#EB6001', '#BF98FF', '#BF98FF', '#58D9F9']
},
size: {
type: String,
......
......@@ -40,7 +40,7 @@ export default {
},
methods: {
toFixNum(val) {
return (val * 100).toFixed(0) + '%'
return (val * 100).toFixed(1) + '%'
},
getEnterpriseOverview() {
this.api.customer.getEnterpriseOverview().then(res => {
......@@ -55,7 +55,7 @@ export default {
<style scoped lang="scss">
.tabs {
margin: 1.22vh 0 0.98vh 0;
margin: 0.98vh 0 0.98vh 0;
padding: 0 1.67vw;
height: 6.95vh;
width: 100%;
......
......@@ -68,9 +68,10 @@ export default {
.business-wrap {
height: 13.9vh;
margin-bottom: 0.98vh;
margin-top: 0.98vh;
.business-data {
margin-right: 4px;
margin-top: 2.5vh;
// margin-top: 0.98vh;
width: 36.11vw;
height: 100%;
}
......
......@@ -33,6 +33,7 @@ export default {
</script>
<style lang="scss" scoped>
.category-box {
overflow: hidden;
height: 13.9vh;
background: #0b0e31;
.title {
......@@ -40,7 +41,7 @@ export default {
}
.category-container {
height: 11.34vh;
margin: 1.59vh 1.67vw 1.46vh 1.11vw;
// margin: 1.59vh 1.67vw 1.46vh 1.11vw;
.category-legend{
width:4.2vw;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!