style: 修改显示

pull/82/head
zhengkunwang223 2022-12-21 17:49:47 +08:00 committed by zhengkunwang223
parent fd748c78cb
commit 198db6ddb5
1 changed files with 2 additions and 5 deletions

View File

@ -63,11 +63,8 @@
</LayoutContent>
</div>
<div v-if="nginxIsExist">
<el-card width="30%" v-if="nginxStatus == 'Stopped'" class="mask-prompt">
<span style="font-size: 14px">当前未启动 OpenResty 服务</span>
</el-card>
<el-card width="30%" v-else-if="nginxStatus !== 'Running'" class="mask-prompt">
<span style="font-size: 14px">OpenResty 服务状态异常</span>
<el-card width="30%" v-if="nginxStatus != 'Running' && !loading" class="mask-prompt">
<span style="font-size: 14px">{{ $t('commons.service.serviceNotStarted', ['OpenResty']) }}</span>
</el-card>
</div>