Commit 9c5bb693 by 胡悦

样式修改

1 parent 52504fc6
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-06-23 15:05:21
* @LastEditors: huyue
* @LastEditTime: 2022-06-27 15:45:19
* @LastEditTime: 2022-06-27 18:30:09
-->
<template>
<div class="flow-box">
......@@ -45,12 +45,12 @@ export default {
{
id: 1,
name: '林则徐:苟利国家生死以岂因祸福避趋之',
num: 33234
num: 3323425
},
{
id: 2,
name: '林则徐',
num: 33234
num: 9999999
},
{
id: 3,
......@@ -83,12 +83,17 @@ export default {
option = {
tooltip: {
trigger: 'item',
formatter: '{a} <br/>{b} : {c}%'
backgroundColor: 'rgba(68,68,68,0.8)',
formatter: '{a} <br/>{b} : {c}%',
textStyle: {
color: '#fff'
},
borderWidth: 0
},
// color: [''],
color: ['rgba(245, 170, 2, .8)', 'rgba(235, 96, 2, .4)', 'rgba(235, 96, 2, .6)', 'rgba(235, 96, 2, .8)', 'rgba(235, 96, 2, 1)'],
series: [
{
name: 'Funnel',
name: '漏斗图',
type: 'funnel',
left: 0,
top: 8,
......@@ -113,7 +118,7 @@ export default {
},
itemStyle: {
borderColor: '#fff',
borderWidth: 1
borderWidth: 0
},
emphasis: {
label: {
......@@ -121,9 +126,9 @@ export default {
}
},
data: [
{ value: 60, name: 'Visit' },
{ value: 40, name: 'Inquiry' },
{ value: 20, name: 'Order' },
{ value: 40, name: 'Inquiry' },
{ value: 60, name: 'Visit' },
{ value: 80, name: 'Click' },
{ value: 100, name: 'Show' }
]
......@@ -154,6 +159,7 @@ export default {
display: flex;
width: 100%;
margin-right: 20px;
cursor: default;
.active {
background-color: #eb6001;
color: #fff;
......@@ -175,10 +181,11 @@ export default {
line-height: 2.2vh;
height: 2.2vh;
.ranking-name {
width: calc(100% - 33% - 24px);
width: calc(100% - 33% - 28px);
}
.ranking-text {
width: 33%;
padding-left: 4px;
// width: calc(100% - 50px);
}
span {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!