Files
smart_storage_app/pages/home-page/device-detail/components/stack.vue

962 lines
27 KiB
Vue
Raw Normal View History

2025-06-30 10:21:25 +08:00
<template>
<view class="stack-warp">
<view class="all-con-item-box" style="margin-top: 0!important;">
<Section :title="$t('homePage.device.stackTotalVol')">
</Section>
<view class="chart-box">
<zero-loading v-if="chartLoading" position="absolute"></zero-loading>
<charts v-else :id="'pcsChart'" :options="curve_option"></charts>
</view>
</view>
<view class="all-con-item-box">
<Section :title="$t('homePage.device.runData')" />
<zero-loading v-if="runLoading" position="absolute"></zero-loading>
<view v-else class="group-box ">
<view class="group-item" @click="showHistory($t('homePage.device.leftTemCabin'), 'wet', 'transmitter','℃','','左')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.cabinetTemperatureLeft | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.leftTemCabin')}}()</view>
</view>
</view>
<view class="group-item" @click="showHistory($t('homePage.device.leftHubCabin'), 'temperature', 'transmitter','%','','左')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.cabinetHumidityLeft | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.leftHubCabin')}}(%)</view>
</view>
</view>
<view class="group-item " @click="showHistory($t('homePage.device.rightTemCabin'), 'transmitter', 'stack','℃','','右')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.cabinetTemperatureRight | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.rightTemCabin')}}()</view>
</view>
</view>
<view class="group-item " @click="showHistory($t('homePage.device.rightHubCabin'), 'wet', 'transmitter','%','','右')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.cabinetHumidityRight | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.rightHubCabin')}}(%)</view>
</view>
</view>
<view class="group-item "
@click="showHistory($t('homePage.device.stackCurrent'), 'outputPower', 'bms','A','', '',`${outputPowerType}`,`${outputPowerId}`)">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.outputPower | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.stackCurrent')}}(A)</view>
</view>
</view>
<view class="group-item" @click="showHistory($t('homePage.device.stackTotalVol'), 'stackTotalVol', 'bms','V','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.stackTotalVol | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.stackTotalVol')}}(V)</view>
</view>
</view>
<view class="group-item " @click="showHistory($t('homePage.device.stackTotalCurrent'), 'stackTotalCurrent', 'bms','A','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.stackTotalCurrent | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.stackTotalCurrent')}}(A)</view>
</view>
</view>
<view class="group-item" @click="showHistory($t('homePage.device.stackSoc'), 'soc', 'bms','%','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.soc | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.stackSoc')}}(%)</view>
</view>
</view>
<view class="group-item " @click="showHistory($t('homePage.device.CumulativeCharge'), 'totalCharge', 'bms','kWh','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{(panelData.totalCharge / 1000).toFixed(2) | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.CumulativeCharge')}}(MWh)</view>
</view>
</view>
<view class="group-item" @click="showHistory($t('homePage.device.CumulativeDischarge'), 'totalDischarge', 'bms','kWh','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{(panelData.totalDischarge / 1000).toFixed(2) | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.CumulativeDischarge')}}(MWh)</view>
</view>
</view>
<view class="group-item"
@click="showHistory($t('homePage.device.zdz'), 'stackInsulationPositiveResistance', 'bms','kΩ','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.stackInsulationPositiveResistance | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.zdz')}}()</view>
</view>
</view>
<view class="group-item "
@click="showHistory($t('homePage.device.fdz'), 'stackInsulationNegativeResistance', 'bms','kΩ','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.stackInsulationNegativeResistance | isNull}}
</view>
<view class="item-title">{{this.$t('homePage.device.fdz')}}()</view>
</view>
</view>
<view class="group-item " @click="showHistory($t('homePage.device.rechargeCapacity'), 'rechargeCapacity', 'bms','kWh','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.rechargeCapacity | kwhFormat}}
</view>
<view class="item-title">{{this.$t('homePage.device.rechargeCapacity')}}({{panelData.rechargeCapacity | kwhUnitFormat}})</view>
</view>
</view>
<view class="group-item" @click="showHistory($t('homePage.device.dischargeCapacity'), 'dischargeCapacity', 'bms','kWh','')">
<view class="history-icon">
<image src="/static/aidex/images/history-icon.png"></image>
</view>
<view class="item-icon">
<image src="/static/aidex/images/rcdl.png"></image>
</view>
<view class="item-con">
<view class="item-num">{{panelData.dischargeCapacity | kwhFormat}}
</view>
<view class="item-title">{{this.$t('homePage.device.dischargeCapacity')}}({{panelData.dischargeCapacity | kwhUnitFormat}})</view>
</view>
</view>
</view>
</view>
<view class="all-con-item-box">
<Section :title="$t('homePage.device.runData')" />
<view class="group-box border-bottom padding-top-30 padding-bottom-30"
@click="showHistory($t('homePage.device.totalMaxVolData'), 'totalMaxVolData', 'bms','V','')">
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.totalMaxVolData')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
</view>
<view class="value">
{{panelData.totalMaxVolData | isNull}}V
</view>
</view>
<view class="bottom-value">
{{this.$t('homePage.device.stackCell')}}{{panelData.totalMaxVolNum | isNull}}
</view>
</view>
</view>
<view class="group-box border-bottom padding-top-30 padding-bottom-30"
@click="showHistory($t('homePage.device.totalMinVolData'), 'totalMinVolData', 'bms','V','')">
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.totalMinVolData')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
</view>
<view class="value">
{{panelData.totalMinVolData | isNull}}V
</view>
</view>
<view class="bottom-value">
{{this.$t('homePage.device.stackCell')}}{{panelData.totalMinVolNum | isNull}}
</view>
</view>
</view>
<view class="group-box border-bottom padding-top-30 padding-bottom-30">
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.maxvolDiff')}}
</view>
<view class="value">
{{(panelData.singleMaxVolData - panelData.singleMinVolData).toFixed(3) | isNull }}V
</view>
</view>
</view>
</view>
<view class="group-box border-bottom padding-top-30 padding-bottom-30"
@click="showHistory($t('homePage.device.maxCellVol'), 'singleMaxVolData', 'bms','V','')">
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.maxCellVol')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
</view>
<view class="value">
{{panelData.singleMaxVolData | isNull}}V
</view>
</view>
<view class="bottom-value">
<view>
{{this.$t('homePage.device.stackNum')}}{{panelData.singleMaxVolNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.groupNum')}}{{panelData.singleMaxVolBMUNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.cellLocation')}}{{panelData.singleMaxVolBoxNum | isNull}}
</view>
</view>
</view>
</view>
<view class="group-box border-bottom padding-top-30 padding-bottom-30"
@click="showHistory($t('homePage.device.minCellVol'), 'singleMinVolData', 'bms','V','')">
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.minCellVol')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
</view>
<view class="value">
{{panelData.singleMinVolData | isNull}}V
</view>
</view>
<view class="bottom-value">
<view>
{{this.$t('homePage.device.stackNum')}}{{panelData.singleMinVolNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.groupNum')}}{{panelData.singleMinVolBMUNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.cellLocation')}}{{panelData.singleMinVolBoxNum | isNull}}
</view>
</view>
</view>
</view>
<view class="group-box border-bottom padding-top-30 padding-bottom-30">
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.maxTemDiff')}}
</view>
<view class="value">
{{ panelData.singleMaxTemData - panelData.singleMinTemData | isNull}}
</view>
</view>
</view>
</view>
<view class="group-box border-bottom padding-top-30 padding-bottom-30"
@click="showHistory($t('homePage.device.maxCellTem'), 'singleMaxTemData', 'bms','℃','')">
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.maxCellTem')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
</view>
<view class="value">
{{ panelData.singleMaxTemData | isNull}}
</view>
</view>
<view class="bottom-value">
<view>
{{this.$t('homePage.device.stackNum')}}{{ panelData.singleMaxTemNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.groupNum')}}{{ panelData.singleMaxTemBMUNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.cellLocation')}}{{ panelData.singleMaxTemBoxNum | isNull}}
</view>
</view>
</view>
</view>
<view class="group-box padding-top-30 " @click="showHistory($t('homePage.device.minCellTem'), 'singleMinTemData', 'bms','℃','')">
<view class="other-value">
<view class="top-value">
<view class="title">
{{this.$t('homePage.device.minCellTem')}}
</view>
<view class="zhexian-icon">
<image src="/static/aidex/images/zhexian.png"></image>
</view>
<view class="value">
{{ panelData.singleMinTemData | isNull}}
</view>
</view>
<view class="bottom-value">
<view>
{{this.$t('homePage.device.stackNum')}}{{ panelData.singleMinTemNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.groupNum')}}{{ panelData.singleMinTemBMUNum | isNull}}
</view>
<view>
{{this.$t('homePage.device.cellLocation')}}{{ panelData.singleMinTemBoxNum | isNull }}
</view>
</view>
</view>
</view>
</view>
<historyModal :is-show.sync="histroyShow" :title="chartTitle" :params="hisParams" />
</view>
</template>
<script>
import Section from '@/components/section/index.vue'
import charts from "@/components/charts/index";
import historyModal from '@/components/history-modal/index.vue'
export default {
data() {
return {
loading: false,
histroyShow: false,
chartTitle: null,
curve_option: {},
hisParams: {},
stationId: null,
srcId: null,
chartLoading: false,
panelData: {},
runLoading: false
}
},
components: {
Section,
charts,
historyModal
},
computed: {
currentStation() {
return this.vuex_currentStation
}
},
watch: {
currentStation: {
handler(val) {
this.stationId = val.id;
},
deep: true,
immediate: true
},
},
methods: {
showHistory(name, modelCol, modelType, unit, name2, deviceName, outputPowerType, outputPowerId) {
this.hisParams = {
modelCol: modelCol,
modelType: outputPowerType ? outputPowerType : modelType,
unit: unit,
stationId: this.stationId,
srcId: outputPowerId ? outputPowerId : this.srcId,
// deviceType: outputPowerType ? outputPowerType : deviceType,
deviceName: deviceName
}
this.chartTitle = name
this.histroyShow = true
},
getTotalData() {
this.runLoading = true
const self = this
return new Promise((resolve, reject) => {
self.$u.api.deviceList
.GetNewValue({
colList: ["cabinetHumidityLeft", "cabinetHumidityRight",
'cabinetTemperatureLeft', 'cabinetTemperatureRight',
'outputPower', 'stackTotalVol', 'stackTotalCurrent', 'soc',
'singleMaxVolData', 'singleMinVolData', 'totalCharge', 'totalDischarge',
'stackInsulationPositiveResistance', 'stackInsulationNegativeResistance',
'rechargeCapacity', 'dischargeCapacity', 'totalMaxVolData',
'totalMaxVolNum', 'totalMinVolData',
'totalMinVolNum', 'singleMaxVolNum', 'singleMaxVolBMUNum',
'singleMaxVolBoxNum',
'singleMinVolNum', 'singleMinVolBMUNum', 'singleMinVolBoxNum',
'singleMaxTemData', 'singleMaxTemNum', 'singleMaxTemBMUNum',
'singleMaxTemBoxNum',
'singleMinTemData', 'singleMinTemNum', 'singleMinTemBMUNum',
'singleMinTemBoxNum'
],
stationId: this.stationId,
srcId: this.srcId
})
.then((res) => {
this.panelData = {
cabinetHumidityLeft: res.data.cabinetHumidityLeft?.value,
cabinetHumidityRight: res.data.cabinetHumidityRight?.value,
cabinetTemperatureLeft: res.data.cabinetTemperatureLeft?.value,
cabinetTemperatureRight: res.data.cabinetTemperatureRight?.value,
outputPower: res.data.outputPower?.value,
stackTotalVol: res.data.stackTotalVol?.value,
stackTotalCurrent: res.data.stackTotalCurrent?.value,
soc: res.data.soc?.value,
singleMaxVolData: res.data.singleMaxVolData?.value,
singleMinVolData: res.data.singleMinVolData?.value,
totalCharge: res.data.totalCharge?.value,
totalDischarge: res.data.totalDischarge?.value,
stackInsulationPositiveResistance: res.data
.stackInsulationPositiveResistance?.value,
stackInsulationNegativeResistance: res.data
.stackInsulationNegativeResistance?.value,
rechargeCapacity: res.data.rechargeCapacity?.value,
dischargeCapacity: res.data.dischargeCapacity?.value,
totalMaxVolData: res.data.totalMaxVolData?.value,
totalMaxVolNum: res.data.totalMaxVolNum?.value,
totalMinVolData: res.data.totalMinVolData?.value,
totalMinVolNum: res.data.totalMinVolNum?.value,
singleMaxVolNum: res.data.singleMaxVolNum?.value,
singleMaxVolBMUNum: res.data.singleMaxVolBMUNum?.value,
singleMaxVolBoxNum: res.data.singleMaxVolBoxNum?.value,
singleMinVolNum: res.data.singleMinVolNum?.value,
singleMinVolBMUNum: res.data.singleMinVolBMUNum?.value,
singleMinVolBoxNum: res.data.singleMinVolBoxNum?.value,
singleMaxTemData: res.data.singleMaxTemData?.value,
singleMaxTemNum: res.data.singleMaxTemNum?.value,
singleMaxTemBMUNum: res.data.singleMaxTemBMUNum?.value,
singleMaxTemBoxNum: res.data.singleMaxTemBoxNum?.value,
singleMinTemData: res.data.singleMinTemData?.value,
singleMinTemNum: res.data.singleMinTemNum?.value,
singleMinTemBMUNum: res.data.singleMinTemBMUNum?.value,
singleMinTemBoxNum: res.data.singleMinTemBoxNum?.value
}
this.outputPowerType = res.data.outputPower?.deviceType
this.outputPowerId = res.data.outputPower?.srcId
resolve(res);
})
.finally((err) => {
this.runLoading = false
})
});
},
getData(srcId) {
this.srcId = srcId
this.loading = true
const api = [
this.getSocChart(),
this.getTotalData()
]
Promise.all(api).then(result => {
this.err = result
this.loading = false
})
},
getSocChart() {
this.chartLoading = true
const self = this
return new Promise((resolve, reject) => {
self.$u.api.homePageData
.GetSocCurve({
colName: ["soc", "stackTotalvol"],
stationId: this.stationId,
type: 'day',
srcId: this.srcId
})
.then((res) => {
self.initChargeChart(res.data);
resolve(res);
})
.finally(() => {
this.chartLoading = false
})
});
},
initChargeChart(val) {
const gonglv = []
const soc = []
const xAxis = []
val[1].staticCurveList.forEach(v => {
xAxis.push(v.date)
gonglv.push(v.digital)
})
val[0].staticCurveList.forEach(v => {
soc.push(v.digital)
})
this.curve_option = {
animationDuration: 500,
animationEasing: "cubicInOut",
tooltip: {
trigger: "axis",
textStyle: {
textShadowBlur: 10, // 重点
textShadowColor: 'transparent', // 重点
},
axisPointer: {},
confine: true,
position: function(point, params, dom, rect, size) {
// 鼠标坐标和提示框位置的参考坐标系是以外层div的左上角那一点为原点x轴向右y轴向下
// 提示框位置
var x = 0; // x坐标位置
var y = 0; // y坐标位置
// 当前鼠标位置
var pointX = point[0];
var pointY = point[1];
// 外层div大小
// var viewWidth = size.viewSize[0];
// var viewHeight = size.viewSize[1];
// 提示框大小
var boxWidth = size.contentSize[0];
var boxHeight = size.contentSize[1];
// boxWidth > pointX 说明鼠标左边放不下提示框
if (boxWidth > pointX) {
x = 5; // 自己定个x坐标值以防出屏
y -= 15; // 防止点被覆盖住,可根据情况自行调节
} else {
// 左边放的下
x = pointX - boxWidth - 15;
}
// boxHeight > pointY 说明鼠标上边放不下提示框
if (boxHeight + 20 > pointY) {
y = pointY + 15;
} else if (boxHeight > pointY) {
y = 5;
} else {
// 上边放得下
y += pointY - boxHeight;
}
return [x, y];
},
},
2025-07-01 16:59:10 +08:00
color: ['#009458', '#BFE49F'],
2025-06-30 10:21:25 +08:00
grid: {
top: '15%',
left: '5%',
right: '3%',
bottom: '5%',
containLabel: true
},
xAxis: {
type: 'category',
data: xAxis,
splitLine: {
show: false
},
axisLabel: {
show: true,
color: "#A3A3A3",
formatter: function(params) {
let newParamsName = '';
const paramsNameNumber = params.length; // 文字总长度
const provideNumber = 11; //一行显示几个字
const rowNumber = Math.ceil(paramsNameNumber / provideNumber);
if (paramsNameNumber > provideNumber) {
for (let p = 0; p < rowNumber; p++) {
const start = p * provideNumber;
const end = start + provideNumber;
const tempStr = p === rowNumber - 1 ? params.substring(start,
paramsNameNumber) : params.substring(start, end) + '\n';
newParamsName += tempStr;
}
} else {
newParamsName = params;
}
return newParamsName;
},
},
},
yAxis: [
{
type: 'value',
name: this.$t('homePage.device.stackTotalVol') + '(V)',
axisLabel: {
color: '#A3A3A3'
},
nameTextStyle: {
color: '#A3A3A3',
padding: [0,0,0,20]
}
},
{
type: 'value',
name: 'SOC(%)',
axisLabel: {
color: '#A3A3A3'
},
nameTextStyle: {
color: '#A3A3A3'
}
}
],
dataZoom: [{
type: 'inside',
start: 0,
end: 100
},
{
start: 0,
height: 20,
bottom: 10,
end: 100
}
],
series: [{
name: this.$t('homePage.device.stackTotalVol'),
type: 'line',
smooth: true,
symbol: 'none',
areaStyle: {
opacity: 0
},
data: gonglv
},
{
name: 'SOC',
type: 'line',
smooth: true,
yAxisIndex: 1,
symbol: 'none',
areaStyle: {
opacity: 0
},
data: soc
}
]
}
}
}
}
</script>
<style lang="scss" scoped>
.stack-warp {
background-color: #f5f5f5;
.all-con-item-box {
background: #ffffff;
border-radius: 16rpx;
padding: 30rpx;
width: 710rpx;
border: 16rpx;
position: relative;
margin-top: 30rpx;
box-shadow: 0px 4rpx 16rpx rgba(0, 0, 0, 0.08);
.top-right-box {
display: flex;
flex-direction: row;
align-items: center;
flex: 1;
justify-content: flex-end;
.top-right-item {
padding: 5rpx 10rpx;
border: 1rpx solid #4c9ee6;
font-size: 24rpx;
color: #4c9ee6;
cursor: pointer;
margin-right: 10rpx;
border-radius: 8rpx;
&.active {
background: #4c9ee6;
color: #ffffff;
}
}
}
.ring-data-box {
padding: 30rpx;
.ring-data-item {
.ring-title {
font-size: 28rpx;
color: #4c9ee6;
}
}
}
.group-box {
width: 100%;
display: flex;
flex-wrap: wrap;
position: relative;
.other-value {
display: flex;
flex-direction: column;
width: 100%;
.top-value {
display: flex;
justify-content: space-between;
position: relative;
.title {
font-size: 24rpx;
color: rgba(40, 40, 40, 1);
}
.zhexian-icon {
position: absolute;
right: 70%;
image {
width: 28rpx;
height: 28rpx;
}
}
.value {
font-size: 32rpx;
color: rgba(0, 156, 119, 1);
font-weight: 400;
}
}
.bottom-value {
width: 100%;
display: flex;
justify-content: space-between;
font-size: 24rpx;
color: rgba(153, 153, 153, 1);
}
}
}
.group-item {
display: flex;
flex-direction: column;
align-items: center;
width: 199rpx;
justify-content: center;
background: #d7e9e548;
border-radius: 10rpx;
margin: 10rpx 10rpx;
position: relative;
padding: 10rpx 0;
.history-icon {
position: absolute;
right: 0rpx;
top: 0rpx;
}
image {
width: 40rpx;
height: 40rpx;
}
.item-con {
display: flex;
flex-direction: column;
align-items: center;
// margin-left: 15rpx;
width: 100%;
.item-title {
width: 100%;
font-size: 24rpx;
color: #2a2a2a;
margin-top: 10rpx;
text-align: center;
}
.item-num {
font-size: 36rpx;
color: #282828;
font-weight: bold;
max-width: 90%;
text-align: center;
}
.item-unit {
color: #cccccc;
font-size: 16rpx;
padding-left: 10rpx;
}
}
}
}
.chart-box {
width: 650rpx;
height: 500rpx;
margin-top: 20rpx;
}
.slot-content {
padding: 20rpx;
}
.border-bottom {
border-bottom: 4rpx dotted #e5e5e5;
}
.border-right {
border-right: 4rpx dotted #e5e5e5;
}
.padding-top-30 {
padding-top: 30rpx;
}
.padding-bottom-30 {
padding-bottom: 30rpx;
}
}
</style>