Merge pull request #2358 from dataease/pr@dev@refactor_style-unpublish

style: 下架图标居中
This commit is contained in:
王嘉豪 2022-05-30 19:00:03 +08:00 committed by GitHub
commit 030ffb3e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,11 @@
<div class="bg" :style="customStyle" @scroll="canvasScroll">
<div id="canvasInfoMain" ref="canvasInfoMain" :style="canvasInfoMainStyle">
<el-row v-if="showUnpublishedArea" class="custom-position">
<pre>
<svg-icon icon-class="unpublished" style="font-size: 75px" />
{{ $t('panel.panel_off') }}
</pre>
<div style="text-align: center">
<svg-icon icon-class="unpublished" style="font-size: 75px" />
<br>
<span>{{ $t('panel.panel_off') }}</span>
</div>
</el-row>
<el-row v-else-if="componentDataShow.length===0" class="custom-position">
{{ $t('panel.panelNull') }}