样式调整
This commit is contained in:
@@ -44,17 +44,16 @@
|
|||||||
/>
|
/>
|
||||||
</t-cell-group>
|
</t-cell-group>
|
||||||
</view>
|
</view>
|
||||||
<t-empty wx:else icon="chart-bubble" description="本月无账单记录" />
|
|
||||||
<view class="placeholder"/>
|
<view class="placeholder"/>
|
||||||
</view>
|
</view>
|
||||||
</t-tab-panel>
|
</t-tab-panel>
|
||||||
<t-tab-panel label="当月趋势" value="2">
|
<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>
|
<ec-canvas id="mychart-dom-line1" canvas-id="mychart-line1" ec="{{ ecLine1 }}"></ec-canvas>
|
||||||
</view>
|
</view>
|
||||||
</t-tab-panel>
|
</t-tab-panel>
|
||||||
<t-tab-panel label="近6月趋势" value="3">
|
<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>
|
<ec-canvas id="mychart-dom-line2" canvas-id="mychart-line2" ec="{{ ecLine2 }}"></ec-canvas>
|
||||||
</view>
|
</view>
|
||||||
</t-tab-panel>
|
</t-tab-panel>
|
||||||
|
|||||||
@@ -1,4 +1,13 @@
|
|||||||
.chart-box {
|
.chart-box {
|
||||||
|
width:100%;
|
||||||
|
height:500rpx;
|
||||||
|
position: absolute;
|
||||||
|
top: 200rpx;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
.line-chart-box {
|
||||||
width:100%;
|
width:100%;
|
||||||
height:500rpx;
|
height:500rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Reference in New Issue
Block a user