Browse Source

提交bug

release_0.0.4
wangyue 2 years ago
parent
commit
3f398ea2ba
  1. 3
      web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js
  2. 6
      web/client/src/sections/quanju/containers/footer/leadership/left/echarts/lefttopecharts.js

3
web/client/src/sections/quanju/containers/footer/leadership/centerleft/daolu.js

@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react'
import Lun from "../right/lunbo"
import { getRoadmaintain, getdaolutongji } from "../../../../actions/example"
import moment from 'moment'
import { Spin } from 'antd'
const Right = (props) => {
const { dispatch } = props
@ -86,6 +87,7 @@ const Right = (props) => {
<p style={{ position: "absolute", color: "#D8F0FF", fontSize: "14px", right: "6%" }}><span style={{ marginLeft: "-20%" }}>道路</span><span style={{ fontSize: "18px", fontFamily: "YouSheBiaoTiHei", color: "#ffffff", marginLeft: "10%" }}>{nums ? nums[0]?.count : []}</span><span style={{ marginLeft: "10%" }}></span></p>
{/* <img src='/assets/images/leadership/zibiaoti.png' style={{ width: "95%", height: "34px", position: "absolute", top: "12px", left: "6%" }} /> */}
</div>
{/* <Spin spinning={true} style={{ height: "80%" }}> */}
<Lun
// canScroll={true}
content={renderBody()}
@ -93,6 +95,7 @@ const Right = (props) => {
divHeight={"100%"}
divId={"screen"}
/>
{/* </Spin> */}
</div>
</div>

6
web/client/src/sections/quanju/containers/footer/leadership/left/echarts/lefttopecharts.js

@ -66,7 +66,7 @@ const Lefttopecharts = (props) => {
var option = {
// backgroundColor: "#0E1327",
tooltip: {
formatter: "{a} <br/>{b} : {c}%",
formatter: "{a} <br/>{b} : {c}",
},
series: [
@ -104,8 +104,8 @@ const Lefttopecharts = (props) => {
if (value !== 0) {
// var num = Math.round(value);
return (
value.toFixed(2) +
"%" +
value +
"\n" +
"\n" +
"\n" +

Loading…
Cancel
Save