Commit 9c5bb693 by 胡悦

样式修改

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