绘制电脑治理信息页面
This commit is contained in:
@@ -16,42 +16,28 @@
|
||||
<view class="mb5" v-if="detail.evtParamPhase"> 相别:{{ detail.evtParamPhase }}</view>
|
||||
</view>
|
||||
<view class="detail-tabs">
|
||||
<uni-segmented-control
|
||||
:current="detailTab"
|
||||
active-color="#376cf3"
|
||||
:values="['波形图', 'ITIC', 'F47']"
|
||||
@clickItem="onDetailTabChange"
|
||||
/>
|
||||
<uni-segmented-control :current="detailTab" active-color="#376cf3" :values="['波形图', 'ITIC', 'F47']"
|
||||
@clickItem="onDetailTabChange" />
|
||||
</view>
|
||||
<view v-if="detailTab == 0">
|
||||
<view class="detail-content">
|
||||
<view class="detail-content-title mb20">瞬时波形图</view>
|
||||
<image
|
||||
style="width: 100%"
|
||||
:src="detail.instantPics"
|
||||
mode="widthFix"
|
||||
v-if="detail.instantPics"
|
||||
@click="previewImage(detail.instantPics)"
|
||||
/>
|
||||
<image style="width: 100%" :src="detail.instantPics" mode="widthFix" v-if="detail.instantPics"
|
||||
@click="previewImage(detail.instantPics)" />
|
||||
<text v-else>暂无</text>
|
||||
</view>
|
||||
<view class="detail-content">
|
||||
<view class="detail-content-title mb20">RMS波形图</view>
|
||||
<image
|
||||
style="width: 100%"
|
||||
:src="detail.rmsPics"
|
||||
mode="widthFix"
|
||||
v-if="detail.rmsPics"
|
||||
@click="previewImage(detail.rmsPics)"
|
||||
/>
|
||||
<image style="width: 100%" :src="detail.rmsPics" mode="widthFix" v-if="detail.rmsPics"
|
||||
@click="previewImage(detail.rmsPics)" />
|
||||
<text v-else>暂无</text>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="detailTab == 1" class="chart-wrapper">
|
||||
<ITIC :store="eventStore" style="min-height: 600rpx;" />
|
||||
<ITIC :store="eventStore" style="height: calc(100vh - 360px);" />
|
||||
</view>
|
||||
<view v-if="detailTab == 2" class="chart-wrapper">
|
||||
<F47 :store="eventStore" style="min-height: 600rpx;" />
|
||||
<F47 :store="eventStore" style="height: calc(100vh - 360px);" />
|
||||
</view>
|
||||
</view>
|
||||
</Cn-page>
|
||||
@@ -143,4 +129,10 @@ export default {
|
||||
padding: 20rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.segmented-control {
|
||||
flex: 1;
|
||||
margin-right: 24rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user