Commit 5d0c5b83 by 前端

commit

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