Commit 66ae1c3d by 李伟康

修改样式

1 parent 288386d2
......@@ -13,9 +13,13 @@
</div>
<div class="total-number-box flex">
<transition-number
:num="pageData.total.totalNum"
:num="test"
idKey="number-total"
/>
<!-- <transition-number
:num="pageData.total.totalNum"
idKey="number-total"
/> -->
<transition-number
:num="pageData.total.incrNum"
idKey="number-incr"
......@@ -247,7 +251,7 @@ export default {
{ tabType } = this
lineData.map(e => {
let month = new Date(e.statDate).getMonth()
xData.push(queryType == 0 ? `${month == 0 ? '1月' : `${Number(month) + 1}月`}` : e.statDate)
xData.push(queryType == 0 ? `${month == 0 ? '1月' : `${Number(month) + 1}月`}` : new Date(e.statDate).format('MM-dd'))
data.push(e.totalNum)
})
let options = {
......@@ -268,10 +272,11 @@ export default {
type: 'category',
axisLabel: {
show: true,
interval: queryType == 0 ? 0 : 7,
interval: queryType == 0 ? 0 : 6,
color: '#606266',
fontSize: '0.8em',
margin: 20
margin: 20,
showMaxLabel: true
},
data: xData,
axisTick: {
......@@ -346,7 +351,7 @@ export default {
grid-template-columns: 41.5% 57.5%;
justify-content: space-between;
margin-bottom: 0.5vh;
overflow: hidden;
.tab-total-box {
height: 100%;
padding-left: 8px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!