This commit is contained in:
cclu 2023-10-30 16:13:37 +08:00
parent 1d001a6340
commit cf26c2a445
9 changed files with 702 additions and 195 deletions

Binary file not shown.

View File

@ -2038,13 +2038,13 @@ $iphoneHeight: env(safe-area-inset-bottom);
} }
.header { .header {
width: 100%; width: 100%;
//background: linear-gradient(315deg, #FF8670 0%, #FFDCA8 100%); background: linear-gradient(315deg, #FF8670 0%, #FFDCA8 100%);
box-sizing: border-box; box-sizing: border-box;
//padding: 0 16px; //padding: 0 16px;
//position: relative; //position: relative;
.headerTop{ .headerTop{
width: 100%; width: 100%;
//background: linear-gradient(315deg, #FFAF95 0%, #FFD6A6 100%); background: linear-gradient(315deg, #FFAF95 0%, #FFD6A6 100%);
position: fixed; position: fixed;
top: 0;left:0; top: 0;left:0;
box-sizing: border-box; box-sizing: border-box;
@ -3197,7 +3197,12 @@ $iphoneHeight: env(safe-area-inset-bottom);
} }
} }
} }
//.firstHeader{
// background: linear-gradient(315deg, #FF8670 0%, #FFDCA8 100%)!important;
// .headerTop{
// background: linear-gradient(315deg, #FFAF95 0%, #FFD6A6 100%)!important;
// }
//}
.secondHeader{ .secondHeader{
background: linear-gradient(315deg, #69BDE6 0%, #9BE2F5 100%)!important; background: linear-gradient(315deg, #69BDE6 0%, #9BE2F5 100%)!important;
.headerTop{ .headerTop{
@ -3621,7 +3626,7 @@ $iphoneHeight: env(safe-area-inset-bottom);
.topText{ .topText{
font-size: 32rpx; font-size: 32rpx;
//font-family: Alimama ShuHeiTi; font-family: Alimama ShuHeiTi;
font-weight: bold; font-weight: bold;
color: #EC6C00; color: #EC6C00;
line-height: 38rpx; line-height: 38rpx;

View File

@ -36,8 +36,9 @@ export default {
console.log('e',e) console.log('e',e)
uChartsInstance[e.target.id].showToolTip(e, { uChartsInstance[e.target.id].showToolTip(e, {
formatter: (item, category, index, opts) => { formatter: (item, category, index, opts) => {
console.log('item',item)
if (item.data){ if (item.data){
return item.name + ":" + item.data + '万元'; return item.name + ":" + this.$util.fmoney(item.data.value,2) + '万元';
}else{ }else{
return item.name + ":" + 0 + '万元'; return item.name + ":" + 0 + '万元';
} }
@ -85,7 +86,7 @@ export default {
return 5 return 5
}else{ }else{
let sum = Number(value) + Number(value) *0.2 let sum = Number(value) + Number(value) *0.2
return Number((sum / 1000).toFixed(0)) * 1000 return Number((Math.ceil(sum / 1000)).toFixed(0)) * 1000
} }
}, },
drawCharts(id, data,config) { drawCharts(id, data,config) {

View File

@ -39,7 +39,7 @@ export default {
uChartsInstance[e.target.id].showToolTip(e, { uChartsInstance[e.target.id].showToolTip(e, {
formatter: (item, category, index, opts) => { formatter: (item, category, index, opts) => {
if (item.data){ if (item.data){
return item.name + ":" + this.$util.noDecimal(item.data) + '辆'; return item.name + ":" + this.$util.noDecimal(item.data.value) + '辆';
}else{ }else{
return item.name + ":" + 0 + '辆'; return item.name + ":" + 0 + '辆';
} }
@ -74,7 +74,7 @@ export default {
return 5 return 5
}else{ }else{
let sum = Number(value) + Number(value) *0.2 let sum = Number(value) + Number(value) *0.2
return Number((sum / 1000).toFixed(0)) * 1000 return Number((Math.round(sum / 10000))*1.2) * 10000
} }
}, },
drawCharts(id, data,config) { drawCharts(id, data,config) {

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
@font-face { @font-face {
font-family: 'Alimama ShuHeiTi'; font-family: 'Alimama ShuHeiTi';
src:url("/static/public/font2/EPAg3o21O7iw.woff2"); src:url("/static/public/font2/uj4HAtspu5eH.woff");
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;

Binary file not shown.