This commit is contained in:
白菜
2026-01-16 17:54:42 +08:00
parent 2f1e29dccd
commit de403e861d
9 changed files with 204 additions and 157 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "EMS移动端", "name" : "上动EMS",
"appid" : "__UNI__B330617", "appid" : "__UNI__B330617",
"description" : "", "description" : "",
"versionName" : "1.2.0", "versionName" : "1.2.0",
@ -44,7 +44,21 @@
"ios" : { "ios" : {
"dSYMs" : false "dSYMs" : false
}, },
"sdkConfigs": {} "sdkConfigs" : {},
"icons" : {
"android" : {
"hdpi" : "static/logo.png",
"xhdpi" : "static/logo.png",
"xxhdpi" : "static/logo.png",
"xxxhdpi" : "static/logo.png"
},
"ios" : {
"appstore" : ""
}
},
"splashscreen" : {
"androidStyle" : "common"
}
} }
}, },
"quickapp" : {}, "quickapp" : {},
@ -68,7 +82,7 @@
"port" : 9090, "port" : 9090,
"https" : false "https" : false
}, },
"title": "EMS-App", "title" : "上动EMS",
"router" : { "router" : {
"mode" : "hash", "mode" : "hash",
"base" : "./" "base" : "./"

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="about-container"> <view class="about-container">
<view class="header-section text-center"> <view class="header-section text-center">
<image style="width: 150rpx;height: 150rpx;" src="/static/logo200.png" mode="widthFix"> <image style="width: 150rpx;height: 150rpx;" src="/static/logo.png" mode="widthFix">
</image> </image>
<uni-title type="h2" title="EMS移动端"></uni-title> <uni-title type="h2" title="EMS移动端"></uni-title>
</view> </view>

View File

@ -75,7 +75,7 @@
<date-range-select ref="chartDateRangeSelect" @updateDate="updateChartDate" <date-range-select ref="chartDateRangeSelect" @updateDate="updateChartDate"
style="margin-bottom: 10px;" /> style="margin-bottom: 10px;" />
<view class="chart-container"> <view class="chart-container">
<qiun-data-charts type="line" :reload="showChart" :optsWatch='false' :opts="options" <qiun-data-charts type="area" :reload="showChart" :optsWatch='false' :opts="options"
:chartData="chartsData" :ontouch="true" :inScrollView="true" :pageScrollTop="pageScrollTop" /> :chartData="chartsData" :ontouch="true" :inScrollView="true" :pageScrollTop="pageScrollTop" />
</view> </view>
</view> </view>
@ -140,6 +140,7 @@
}, },
options: { options: {
padding: [10, 5, 0, 10],
duration: 0, duration: 0,
animation: false, animation: false,
dataLabel: false, dataLabel: false,
@ -149,6 +150,16 @@
itemCount: 3, itemCount: 3,
disableGrid: true disableGrid: true
}, },
extra: {
area: {
type: "curve",
opacity: 0.2,
addLine: true,
width: 2,
gradient: true,
activeType: "hollow"
}
}
}, },
range: [], range: [],
end: Date.now(), end: Date.now(),

View File

@ -41,7 +41,7 @@
<uni-section title="一周充放曲线" type="line" class="sections-list"> <uni-section title="一周充放曲线" type="line" class="sections-list">
<date-range-select ref="weekChartDateRangeSelect" @updateDate="updateWeekChartDate" /> <date-range-select ref="weekChartDateRangeSelect" @updateDate="updateWeekChartDate" />
<view style="width:100%;height: 250px;"> <view style="width:100%;height: 250px;">
<qiun-data-charts type="line" :chartData="weekChartData" :optsWatch='false' :inScrollView="true" <qiun-data-charts type="area" :chartData="weekChartData" :optsWatch='false' :inScrollView="true"
:pageScrollTop="pageScrollTop" :opts="options" :ontouch="true" /> :pageScrollTop="pageScrollTop" :opts="options" :ontouch="true" />
</view> </view>
</uni-section> </uni-section>
@ -49,7 +49,7 @@
<uni-section title="当日功率曲线" type="line" class="sections-list"> <uni-section title="当日功率曲线" type="line" class="sections-list">
<date-range-select ref="activeChartDateRangeSelect" @updateDate="updateActiveChartDate" /> <date-range-select ref="activeChartDateRangeSelect" @updateDate="updateActiveChartDate" />
<view style="width:100%;height: 250px;"> <view style="width:100%;height: 250px;">
<qiun-data-charts type="line" :chartData="activeChartData" :optsWatch='false' :inScrollView="true" <qiun-data-charts type="area" :chartData="activeChartData" :optsWatch='false' :inScrollView="true"
:pageScrollTop="pageScrollTop" :opts="glqxOptions" :ontouch="true" /> :pageScrollTop="pageScrollTop" :opts="glqxOptions" :ontouch="true" />
</view> </view>
</uni-section> </uni-section>
@ -78,6 +78,7 @@
activeChartData: {}, activeChartData: {},
pageScrollTop: 0, pageScrollTop: 0,
glqxOptions: { glqxOptions: {
padding: [10, 5, 0, 10],
dataLabel: false, dataLabel: false,
enableScroll: true, enableScroll: true,
xAxis: { xAxis: {
@ -85,6 +86,16 @@
itemCount: 3, itemCount: 3,
disableGrid: true disableGrid: true
}, },
extra: {
area: {
type: "curve",
opacity: 0.2,
addLine: true,
width: 2,
gradient: true,
activeType: "hollow"
}
}
// update: true, // update: true,
// duration: 2, // duration: 2,
// animation: false, // animation: false,
@ -92,6 +103,7 @@
// padding: [10, 15, 10, 15] // padding: [10, 15, 10, 15]
}, },
options: { options: {
padding: [10, 5, 0, 10],
dataLabel: false, dataLabel: false,
enableScroll: true, enableScroll: true,
xAxis: { xAxis: {
@ -99,6 +111,16 @@
itemCount: 5, itemCount: 5,
disableGrid: true disableGrid: true
}, },
extra: {
area: {
type: "curve",
opacity: 0.2,
addLine: true,
width: 2,
gradient: true,
activeType: "hollow"
}
}
// update: true, // update: true,
// duration: 2, // duration: 2,
// animation: false, // animation: false,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB