样式调整

This commit is contained in:
2023-02-11 13:44:53 +08:00
parent 5a43cf3f0b
commit 8ab1fa8125
2 changed files with 11 additions and 3 deletions

View File

@@ -44,17 +44,16 @@
/>
</t-cell-group>
</view>
<t-empty wx:else icon="chart-bubble" description="本月无账单记录" />
<view class="placeholder"/>
</view>
</t-tab-panel>
<t-tab-panel label="当月趋势" value="2">
<view class="chart-box">
<view class="line-chart-box">
<ec-canvas id="mychart-dom-line1" canvas-id="mychart-line1" ec="{{ ecLine1 }}"></ec-canvas>
</view>
</t-tab-panel>
<t-tab-panel label="近6月趋势" value="3">
<view class="chart-box">
<view class="line-chart-box">
<ec-canvas id="mychart-dom-line2" canvas-id="mychart-line2" ec="{{ ecLine2 }}"></ec-canvas>
</view>
</t-tab-panel>

View File

@@ -1,4 +1,13 @@
.chart-box {
width:100%;
height:500rpx;
position: absolute;
top: 200rpx;
bottom: 0;
left: 0;
right: 0;
}
.line-chart-box {
width:100%;
height:500rpx;
position: absolute;