样式背景

main
严飞永 2 months ago
parent 8302af65f4
commit 5d6eb792d7

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

@ -186,7 +186,7 @@ export default {
float: left; float: left;
height: 50px !important; height: 50px !important;
line-height: 50px !important; line-height: 50px !important;
color: #999093 !important; color: #fff !important;
padding: 0 5px !important; padding: 0 5px !important;
margin: 0 10px !important; margin: 0 10px !important;
} }

@ -127,11 +127,10 @@ export default {
height: 50px; height: 50px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
background: #fff;
.logoimg{ .logoimg{
display: flex; display: flex;
align-items: center; align-items: center;
gap: .5rem; gap: .8rem;
} }
.logoimg img{ .logoimg img{
width: 3.69rem; width: 3.69rem;
@ -149,6 +148,7 @@ export default {
text-align: left; text-align: left;
font-style: normal; font-style: normal;
text-transform: none; text-transform: none;
} }
.navbarleft{ .navbarleft{
display: flex; display: flex;

@ -89,13 +89,15 @@ export default {
.header-container { .header-container {
width: 100%; width: 100%;
height: $base-header-height; height: $base-header-height;
background-color: #fff; background-image: url("../../src/assets/images/top@1x.png");
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); background-size: 100% 100%;
background-repeat: no-repeat;
z-index: 1000; z-index: 1000;
} }
.main-container { .main-container {
display: flex; display: flex;
border-radius: 1rem;
flex: 1; flex: 1;
overflow: hidden; overflow: hidden;
background-color: #FAFAFA; background-color: #FAFAFA;
@ -111,7 +113,8 @@ export default {
} }
.breadword-container{ .breadword-container{
border-radius: 5rem; background-color: #fff;
border-radius: 1rem 1rem 0 0;
} }
.content-container { .content-container {

@ -72,7 +72,7 @@ export default {
.container { .container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 2rem; gap: 1.5rem;
} }
table { table {

@ -42,7 +42,7 @@ export default {
{ {
name: '项目分布', name: '项目分布',
type: 'pie', type: 'pie',
radius: ['40%', '70%'], radius: ['40%', '60%'],
center: ['30%', '50%'], center: ['30%', '50%'],
data: [ data: [
{ value: 54, name: '高贸区' , itemStyle:{color:'#36C3FB'}}, { value: 54, name: '高贸区' , itemStyle:{color:'#36C3FB'}},

@ -35,19 +35,19 @@
]; ];
// //
const item = data.find(item => item.name === name); const item = data.find(item => item.name === name);
return `${name} ${item.value} ${((item.value / 384) * 100).toFixed(1)}%`; return `${name} ${item.value}`;
} }
}, },
series: [ series: [
{ {
name: '项目分布', name: '项目分布',
type: 'pie', type: 'pie',
radius: ['40%', '70%'], radius: ['40%', '60%'],
center: ['30%', '50%'], center: ['30%', '50%'],
data: [ data: [
{ value: 54, name: '国企' , itemStyle:{color:'#36C3FB'}}, { value: 54, name: '国企' , itemStyle:{color:'#36C3FB'}},
{ value: 65, name: '民企' , itemStyle:{color:'#5B76F9'} }, { value: 65, name: '民企' , itemStyle:{color:'#5B76F9'} },
{ value: 32, name: '外企' , itemStyle:{color:'#F08445'} }, { value: 32, name: '外企' , itemStyle:{color:'#FAC858'} },
], ],
label: { label: {
show: false // show: false //

@ -61,6 +61,6 @@ export default {
<style scoped> <style scoped>
.container{ .container{
width: 30rem; width: 30rem;
height: 15.5rem;; height: 14.5rem;;
} }
</style> </style>

@ -174,7 +174,7 @@ export default {
.allarea { .allarea {
width: 100%; width: 100%;
height: 15.5rem; height: 14.5rem;
padding: 1rem 1.5rem; padding: 1rem 1.5rem;
} }

Loading…
Cancel
Save