feat: 修改部分样式

This commit is contained in:
zhengkunwang223 2023-02-22 19:11:34 +08:00 committed by zhengkunwang223
parent a7326fef2d
commit bb4799e611
6 changed files with 12 additions and 12 deletions

View file

@ -7,7 +7,7 @@
width="30%"
:before-close="handleClose"
>
<el-row>
<el-row v-loading="loading">
<el-col :span="22" :offset="1">
<el-form ref="accountForm" label-position="top" :model="account" :rules="rules" v-loading="loading">
<el-form-item :label="$t('website.email')" prop="email">
@ -19,7 +19,7 @@
<template #footer>
<span class="dialog-footer">
<el-button @click="handleClose" :disabled="loading">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="submit(accountForm)" :loading="loading">
<el-button type="primary" @click="submit(accountForm)" :disabled="loading">
{{ $t('commons.button.confirm') }}
</el-button>
</span>

View file

@ -3,7 +3,7 @@
<template #header>
<DrawerHeader :header="$t('ssl.create')" :back="handleClose" />
</template>
<el-row>
<el-row v-loading="loading">
<el-col :span="22" :offset="1">
<el-form
ref="sslForm"
@ -83,7 +83,7 @@
<template #footer>
<span class="dialog-footer">
<el-button @click="handleClose" :disabled="loading">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="submit(sslForm)" :loading="loading">
<el-button type="primary" @click="submit(sslForm)" :disabled="loading">
{{ $t('commons.button.confirm') }}
</el-button>
</span>

View file

@ -7,7 +7,7 @@
width="30%"
:before-close="handleClose"
>
<div style="text-align: center">
<div style="text-align: center" v-loading="loading">
<div v-if="websites.length > 0">
<span>{{ $t('ssl.renewWebsite') }}</span>
<div>
@ -25,7 +25,7 @@
<template #footer>
<span class="dialog-footer">
<el-button @click="handleClose" :disabled="loading">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="submit()" :disabled="loading" :loading="loading">
<el-button type="primary" @click="submit()" :disabled="loading">
{{ $t('commons.button.confirm') }}
</el-button>
</span>

View file

@ -1,7 +1,7 @@
<template>
<el-row :gutter="20">
<el-row :gutter="20" v-loading="loading">
<el-col :span="8" :offset="1">
<el-form ref="defaultForm" label-position="top" :model="defaultModel" :rules="rules" :loading="loading">
<el-form ref="defaultForm" label-position="top" :model="defaultModel" :rules="rules">
<el-form-item :label="$t('website.defaultDoc')" prop="index">
<el-input
v-model="defaultModel.index"
@ -10,7 +10,7 @@
></el-input>
</el-form-item>
</el-form>
<el-button type="primary" @click="submit(defaultForm)" :loading="loading">
<el-button type="primary" @click="submit(defaultForm)" :disabled="loading">
{{ $t('commons.button.save') }}
</el-button>
</el-col>

View file

@ -35,7 +35,7 @@
<span class="input-help">{{ $t('website.rateHelper') }}</span>
</el-form-item>
</el-form>
<el-button type="primary" @click="submit(limitForm)" :loading="loading">
<el-button type="primary" @click="submit(limitForm)" :disabled="loading">
<span v-if="enable">{{ $t('commons.button.save') }}</span>
<span v-else>{{ $t('commons.button.saveAndEnable') }}</span>
</el-button>

View file

@ -36,7 +36,7 @@
</template>
</DrawerHeader>
</template>
<el-row>
<el-row v-loading="loading">
<el-col :span="22" :offset="1">
<el-alert
v-if="website.type == 'deployment'"
@ -175,7 +175,7 @@
<template #footer>
<span>
<el-button @click="handleClose" :disabled="loading">{{ $t('commons.button.cancel') }}</el-button>
<el-button type="primary" @click="submit(websiteForm)" :loading="loading">
<el-button type="primary" @click="submit(websiteForm)" :disabled="loading">
{{ $t('commons.button.confirm') }}
</el-button>
</span>