修改bug

master
qsj 2 years ago
parent a9cdfaa602
commit ac6bd1e29f

@ -54,7 +54,7 @@ const steps = 80; // 80个颜色
const colors = generateColorArray(startColor, endColor, steps);
const xList = [...new Array(61).fill(0).map((item, key) => key)];
const xList = [...new Array(37).fill(0).map((item, key) => key)];
const seriesData = [
...xList.map((item) => {
return Math.random() * 80;
@ -80,7 +80,7 @@ const seriesData = [
grid: {
// 让图表占满容器
top: "10rpx",
left: "35rpx",
left: "45rpx",
right: "28rpx",
bottom: "17rpx",
},
@ -88,9 +88,11 @@ const seriesData = [
type: "category",
data: [...xList],
axisLabel: {
interval: 9,
interval: 5,
formatter: function (value, index) {
return value * 6 + 's';
console.log(value,'查看');
return value * 10 + 's';
},
textStyle: {
color: '#999999', // 文字颜色

@ -73,15 +73,18 @@ page {
font-size: 32rpx;
font-weight: bold;
color: #000;
padding-left: 16rpx;
// margin: 48rpx 0 34rpx;
}
.eacharts{
// background-color: red;
// margin-top: 14px;
margin: auto;
margin-bottom: 45rpx;
/* margin: 52rpx 0rpx; */
width: 100%;
height: 247rpx;
// margin-left: 131rpx;
}
.van-popup {
border-radius: 30rpx;

@ -704,6 +704,10 @@ page {
height: 100% !important;
border-radius: 20rpx;
}
.showImg:last-child{
width: 40rpx !important;
height: 40rpx !important;
}
}
.info4 {
position: relative;

Loading…
Cancel
Save