问题修改

This commit is contained in:
cwchen 2025-01-20 15:33:26 +08:00
parent 7be6102054
commit 3cd212f29c
6 changed files with 22 additions and 18 deletions

View File

@ -207,26 +207,27 @@ body {
width: 226px !important; width: 226px !important;
height: 120px !important; height: 120px !important;
align-items: start; align-items: start;
justify-content: space-evenly; justify-content: start;
cursor: pointer; cursor: pointer;
} }
.data-info { .data-info {
margin: 20px 40px 0 0; margin: 20px 0 0 0;
} }
.data-img { .data-img {
margin: 20px 0 0 0; margin: 20px 10px 0 10px;
} }
.data-detail p { .data-detail p {
letter-spacing: 1px; letter-spacing: 1px;
font-size: 14px; font-size: 14px;
color: #fff; color: #fff;
margin-bottom: 5px;
} }
.data-detail p:nth-child(2) { .data-detail p:nth-child(2) {
font-size: 28px; font-size: 22px;
font-weight: bold; font-weight: bold;
} }

View File

@ -174,6 +174,9 @@ function initTable() {
unresize: true, unresize: true,
align: "center", align: "center",
sort:true, sort:true,
templet: function (d) {
return '<span>¥ ' + d.money + '</span>'
},
}, },
{ {
field: "companyName", field: "companyName",

View File

@ -33,9 +33,9 @@ function getDataPreviewData() {
$('#noDispatchCarNum').html(obj.noDispatchCarNum); $('#noDispatchCarNum').html(obj.noDispatchCarNum);
$('#craneNum').html(obj.craneNum); $('#craneNum').html(obj.craneNum);
$('#noDispatchCraneNum').html(obj.noDispatchCraneNum); $('#noDispatchCraneNum').html(obj.noDispatchCraneNum);
$('#payMoney').html(obj.payMoney); $('#payMoney').html('¥ ' + obj.payMoney);
$('#payPlanNum').html(obj.payPlanNum); $('#payPlanNum').html(obj.payPlanNum);
$('#estimateMoney').html(obj.estimateMoney); $('#estimateMoney').html('¥ ' + obj.estimateMoney);
$('#estimatePlanNum').html(obj.estimatePlanNum); $('#estimatePlanNum').html(obj.estimatePlanNum);
} }
} }

View File

@ -18,7 +18,7 @@ function initOneCharts(list) {
const yName = ''; // y轴名称 const yName = ''; // y轴名称
const unit = '辆'; const unit = '辆';
/* 颜色 */ /* 颜色 */
const colorList = ['rgba(57, 126, 240, 1)', 'rgba(250, 173, 20, 1)']; // 主颜色系 const colorList = ['#397ef0', '#ff9900']; // 主颜色系
const areaColorList = [ const areaColorList = [
{ {
type: 'linear', type: 'linear',
@ -29,7 +29,7 @@ function initOneCharts(list) {
colorStops: [ colorStops: [
{ {
offset: 0, offset: 0,
color: 'rgba(0, 117, 255, 0.3)' // 0% 处的颜色 color: '#397ef030' // 0% 处的颜色
}, },
{ {
offset: 1, offset: 1,
@ -47,7 +47,7 @@ function initOneCharts(list) {
colorStops: [ colorStops: [
{ {
offset: 0, offset: 0,
color: 'rgba(255, 175, 20, 0.3)' // 0% 处的颜色 color: '#ff990030' // 0% 处的颜色
}, },
{ {
offset: 1, offset: 1,
@ -90,7 +90,7 @@ function initOneCharts(list) {
}, },
b: { b: {
fontSize: 14, fontSize: 14,
color: '#ffe58f', color: '#ff9900',
fontFamily: fontFamily, fontFamily: fontFamily,
padding: [2, 2, 0, 2] padding: [2, 2, 0, 2]
} }
@ -112,7 +112,7 @@ function initOneCharts(list) {
}, },
b: { b: {
fontSize: 14, fontSize: 14,
color: '#ffe58f', color: '#ff9900',
fontFamily: fontFamily, fontFamily: fontFamily,
padding: [2, 2, 0, 2] padding: [2, 2, 0, 2]
} }
@ -155,7 +155,7 @@ function initOneCharts(list) {
}, },
b: { b: {
fontSize: 14, fontSize: 14,
color: '#ffe58f', color: '#ff9900',
fontFamily: fontFamily, fontFamily: fontFamily,
padding: [4, 2, 0, 2] padding: [4, 2, 0, 2]
} }
@ -177,7 +177,7 @@ function initOneCharts(list) {
}, },
b: { b: {
fontSize: 14, fontSize: 14,
color: '#ffe58f', color: '#ff9900',
fontFamily: fontFamily, fontFamily: fontFamily,
padding: [4, 2, 0, 2] padding: [4, 2, 0, 2]
} }
@ -266,7 +266,7 @@ function initOneCharts(list) {
rich: { rich: {
b: { b: {
fontSize: 14, fontSize: 14,
color: '#ffe58f', color: '#ff9900',
fontFamily: fontFamily, fontFamily: fontFamily,
padding: [4, 2, 0, 2] padding: [4, 2, 0, 2]
} }
@ -282,7 +282,7 @@ function initOneCharts(list) {
rich: { rich: {
b: { b: {
fontSize: 14, fontSize: 14,
color: '#ffe58f', color: '#ff9900',
fontFamily: fontFamily, fontFamily: fontFamily,
padding: [4, 2, 0, 2] padding: [4, 2, 0, 2]
} }

View File

@ -55,7 +55,7 @@
<div class="layui-inline"> <div class="layui-inline">
<div class="layui-input-inline" style="width: 200px;"> <div class="layui-input-inline" style="width: 200px;">
<select class="layui-select" id="status"> <select class="layui-select" id="status">
<option value="">请选择状态</option> <option value="">请选择合同状态</option>
<option value="0">生效</option> <option value="0">生效</option>
<option value="1">失效</option> <option value="1">失效</option>
</select> </select>

View File

@ -78,7 +78,7 @@
<div class="data-img"><img src="../../images/welcome/data_view_5.png" alt=""></div> <div class="data-img"><img src="../../images/welcome/data_view_5.png" alt=""></div>
<div class="data-info"> <div class="data-info">
<p>已付款金额</p> <p>已付款金额</p>
<p id="payMoney">0</p> <p id="payMoney">¥ 0</p>
<p>需求计划<span id="payPlanNum">0</span></p> <p>需求计划<span id="payPlanNum">0</span></p>
</div> </div>
</div> </div>
@ -86,7 +86,7 @@
<div class="data-img"><img src="../../images/welcome/data_view_6.png" alt=""></div> <div class="data-img"><img src="../../images/welcome/data_view_6.png" alt=""></div>
<div class="data-info"> <div class="data-info">
<p>待付款金额</p> <p>待付款金额</p>
<p id="estimateMoney">0</p> <p id="estimateMoney">¥ 0</p>
<p>需求计划<span id="estimatePlanNum">0</span></p> <p>需求计划<span id="estimatePlanNum">0</span></p>
</div> </div>
</div> </div>