明树Git Lab

Commit e1030023 authored by yangyajing's avatar yangyajing

大屏数据更新

parent b64ea626
Pipeline #104513 passed with stage
in 14 seconds
...@@ -84,13 +84,13 @@ ...@@ -84,13 +84,13 @@
<div class="info-progress"> <div class="info-progress">
<div class="progress-pie" ref="progressPie"></div> <div class="progress-pie" ref="progressPie"></div>
<div class="progress-bar"> <div class="progress-bar">
<div class="progress-text">19.72/58.42亿元</div> <div class="progress-text">109.04/122.52亿元</div>
<div class="progress-image"> <div class="progress-image">
<div class="progress-show-value"></div> <div class="progress-show-value"></div>
<!-- rel100%宽在css上占父元素的85%,进度样式上要做换算 --> <!-- rel100%宽在css上占父元素的85%,进度样式上要做换算 -->
<div <div
class="progress-show-value-rel" class="progress-show-value-rel"
:style="{ width: `${33.8 * 85 / 100}%` }" :style="{ width: `${89 * 85 / 100}%` }"
></div> ></div>
</div> </div>
</div> </div>
...@@ -304,7 +304,7 @@ const navList = reactive([ ...@@ -304,7 +304,7 @@ const navList = reactive([
const infoObj = reactive({ const infoObj = reactive({
lixiang: [ lixiang: [
{ {
title: "总个数", value: "0", unit: "个", title: "总个数", value: "36", unit: "个",
data: [ data: [
{ {
name: "/", name: "/",
...@@ -327,7 +327,7 @@ const infoObj = reactive({ ...@@ -327,7 +327,7 @@ const infoObj = reactive({
} }
] ]
}, },
{ title: "总投资", value: "0", unit: "亿元" }, { title: "总投资", value: "3107.22", unit: "亿元" },
{ title: "总规模", value: "0", unit: "公里" } { title: "总规模", value: "0", unit: "公里" }
], ],
jianshe: { jianshe: {
...@@ -536,13 +536,13 @@ const infoObj = reactive({ ...@@ -536,13 +536,13 @@ const infoObj = reactive({
], ],
tzwcqk: [ tzwcqk: [
// { title: "10月完成投资", value: "*" }, // { title: "10月完成投资", value: "*" },
{ title: "2025年完成投资", value: "*" }, { title: "2025年完成投资", value: "109.04", unit: "亿元" },
{ title: "累计完成投资", value: "*" } { title: "累计完成投资", value: "531.39", unit: "亿元" }
], ],
tzhswcqk: [ tzhswcqk: [
// { title: "10月完成回收", value: "*" }, // { title: "10月完成回收", value: "*" },
{ title: "2025年完成回收", value: "*" }, { title: "2025年完成回收", value: "28.84", unit: "亿元" },
{ title: "完成率", value: "*" } { title: "完成率", value: "53.16", unit: "%" }
] ]
}, },
shiyunying: { shiyunying: {
...@@ -1167,7 +1167,7 @@ const initProgressPie = () => { ...@@ -1167,7 +1167,7 @@ const initProgressPie = () => {
const option = { const option = {
// 中心百分比文字 // 中心百分比文字
title: { title: {
text: ["{a|33.8}", "{b|%}"].join(" "), text: ["{a|89}", "{b|%}"].join(" "),
left: "center", left: "center",
top: "center", top: "center",
textStyle: { textStyle: {
...@@ -1201,12 +1201,12 @@ const initProgressPie = () => { ...@@ -1201,12 +1201,12 @@ const initProgressPie = () => {
labelLine: { show: false }, labelLine: { show: false },
data: [ data: [
{ {
value: 33.8, value: 89,
name: "绿色扇区", name: "绿色扇区",
itemStyle: { color: "#00FF00", fontSize: 12 }, itemStyle: { color: "#00FF00", fontSize: 12 },
}, // 绿色扇区 }, // 绿色扇区
{ {
value: 66.2, value: 11,
name: "背景扇区", name: "背景扇区",
itemStyle: { color: "transparent" }, itemStyle: { color: "transparent" },
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment