单体电池

This commit is contained in:
2025-07-31 14:24:05 +08:00
parent dc4140b366
commit 8722d1317f
2 changed files with 54 additions and 27 deletions

View File

@ -9,8 +9,8 @@
</view>
<view class="chart-container">
<qiun-data-charts type="line" :reload="show" :chartData="chartsData" :canvas2d="true"
canvasId="componentsinit" :optsWatch='false' :inScrollView="true" :pageScrollTop="pageScrollTop"
:opts="options" />
canvasId="scrollcolumnid" :optsWatch='false' :inScrollView="true" :pageScrollTop="pageScrollTop"
:opts="options" :ontouch="true" />
</view>
</view>
</uni-popup>
@ -34,6 +34,12 @@
data() {
return {
options: {
enableScroll: true,
xAxis: {
scrollShow: true,
itemCount: 4,
disableGrid: true
},
update: true,
duration: 0,
animation: false,
@ -166,6 +172,7 @@
.chart-container {
width: 100%;
height: 250px;
margin-top: 20px;
}
::v-deep {