Commit eadbc3db by 前端

更新样式 逻辑

1 parent 8577d8fc
......@@ -44,12 +44,12 @@ export default {
display: flex;
align-items: center;
flex-wrap: wrap;
width:11vw;
width:14vw;
height: 8.54vh;
margin-left: 0.42vw;
.legend-item {
width: 5vw;
width: 6.5vw;
height: 2.44vh;
background: #0d133b;
align-items: center;
......@@ -60,7 +60,7 @@ export default {
white-space: nowrap;
.item-content {
width: 4.2vw;
width: 5.5vw;
overflow: hidden;
}
......
......@@ -51,13 +51,9 @@
<script type='text/ecmascript-6'>
import FeedBack from 'components/FeedBack'
import data from 'utils/data'
// import FeedBack from 'plugins/FeedBack'
export default {
name: 'ViewTitle',
components: { FeedBack },
props: {
title: {
type: String,
......@@ -90,6 +86,8 @@ export default {
})
},
changeTitles() {
console.log('???????')
console.log(!this.titleClick)
this.titleClick = !this.titleClick
},
goPage(val) {
......@@ -222,11 +220,12 @@ export default {
.float-drag-wrap {
position: absolute;
//position: relative;
right: 0;
top: 18%;
z-index: 6666;
opacity: 1;
width: 1.5%;
.float-drag-object {
text-align: center;
font-size: 1vw;
......
......@@ -2,7 +2,7 @@
<div class='product'>
<div class='title title-icon'>
<span class='icon'></span>
<span>产品排名前5</span>
<span>产品排名前10</span>
</div>
<div class='container flex'>
<pie-chart height='12vh' :id="'glproduct'" :list='productData' :keys='chart.keys'></pie-chart>
......@@ -54,6 +54,7 @@ export default {
.product{
background: #0b0e31;
width: 20vw;
height: 21vh;
.container{
margin-top:3vh;
}
......
......@@ -29,7 +29,7 @@ export default {
<style lang='scss' scoped>
.rank {
margin: 3vh 0;
margin: 5vh 0;
width: 100%;
height: 15vh;
display: flex;
......
......@@ -46,6 +46,7 @@ export default {
.product{
background: #0b0e31;
width: 20vw;
height: 21vh;
.container{
margin-top:3vh;
}
......
......@@ -47,6 +47,7 @@ export default {
.product{
background: #0b0e31;
width: 20vw;
height: 21vh;
.container{
margin-top:3vh;
}
......
......@@ -2,11 +2,11 @@
<div class='vehicle'>
<div class='title title-icon'>
<span class='icon'></span>
<span>车型排名前5</span>
<span>车型排名前10</span>
</div>
<div class='container flex'>
<pie-chart height='12vh' :id="'vehicle'" :list='vehicleData' :keys='chart.keys'></pie-chart>
<pie-chart height='14vh' :id="'vehicle'" :list='vehicleData' :keys='chart.keys'></pie-chart>
<Legend :list='vehicleData' :showName="'vehicleBrand'"></Legend>
<!-- <template v-if="showType=='gl'">-->
<!-- <pie-chart height='12vh' :id="'glvehicle'" :list='glvehicleData' :keys='chart.keys'></pie-chart>-->
......@@ -56,9 +56,10 @@ export default {
.vehicle {
background: #0b0e31;
width: 20vw;
//height: 18vh;
height: 21vh;
//height: 20vh;
.container{
margin-top:3vh;
margin-top:2vh;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!