feat: 修改部分样式

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

View File

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

View File

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

View File

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

View File

@ -35,7 +35,7 @@
<span class="input-help">{{ $t('website.rateHelper') }}</span> <span class="input-help">{{ $t('website.rateHelper') }}</span>
</el-form-item> </el-form-item>
</el-form> </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-if="enable">{{ $t('commons.button.save') }}</span>
<span v-else>{{ $t('commons.button.saveAndEnable') }}</span> <span v-else>{{ $t('commons.button.saveAndEnable') }}</span>
</el-button> </el-button>

View File

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