mirror of
https://github.com/blossom-editor/blossom
synced 2024-11-17 14:39:21 +08:00
perf: 弹框中的刷新样式
This commit is contained in:
parent
096e561b94
commit
8e3c4d273e
@ -7,7 +7,7 @@
|
||||
|
||||
.el-message--success {
|
||||
@include themeBg(#f7f7f7, #1e1e1e);
|
||||
// --el-message-bg-color: var(--bl-html-color) !important;
|
||||
// border: 0 !important;
|
||||
--el-message-bg-color: var(--bl-html-color) !important;
|
||||
border: 0 !important;
|
||||
// border: 1px solid rgb(51, 217, 0) !important;
|
||||
}
|
||||
|
@ -8,28 +8,32 @@
|
||||
|
||||
<div class="content">
|
||||
<div class="workbench">
|
||||
<el-button @click="getBackupList"> <span class="iconbl bl-refresh-line" style="margin-right: 7px"></span>刷新 </el-button>
|
||||
<el-tooltip content="将文章以 Markdown 格式进行备份" :hide-after="0">
|
||||
<el-button @click="backupNow('MARKDOWN', 'NO')">
|
||||
<span class="iconbl bl-file-markdown" style="margin-right: 7px"></span>备份 Markdown
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="将文章以 Markdown 格式进行备份,同时备份所有图片" :hide-after="0">
|
||||
<el-button @click="backupNow('MARKDOWN', 'YES')">
|
||||
<span class="iconbl bl-file-markdown" style="margin-right: 7px"></span>备份本地 Markdown
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
<bl-row just="space-between">
|
||||
<div>
|
||||
<el-tooltip content="将文章以 Markdown 格式进行备份" :hide-after="0">
|
||||
<el-button @click="backupNow('MARKDOWN', 'NO')">
|
||||
<span class="iconbl bl-file-markdown" style="margin-right: 7px"></span>备份 Markdown
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="将文章以 Markdown 格式进行备份,同时备份所有图片" :hide-after="0">
|
||||
<el-button @click="backupNow('MARKDOWN', 'YES')">
|
||||
<span class="iconbl bl-file-markdown" style="margin-right: 7px"></span>备份本地 Markdown
|
||||
</el-button>
|
||||
</el-tooltip>
|
||||
|
||||
<el-tooltip content="将文章以 Html 格式进行备份" :hide-after="0">
|
||||
<el-button @click="backupNow('HTML', 'NO')"> <span class="iconbl bl-HTML" style="margin-right: 7px"></span>备份 Html </el-button>
|
||||
</el-tooltip>
|
||||
<el-tooltip content="将文章以 Html 格式进行备份" :hide-after="0">
|
||||
<el-button @click="backupNow('HTML', 'NO')"> <span class="iconbl bl-HTML" style="margin-right: 7px"></span>备份 Html </el-button>
|
||||
</el-tooltip>
|
||||
|
||||
<el-tooltip content="将文章以 Html 格式进行备份,同时备份所有图片" :hide-after="0">
|
||||
<el-button @click="backupNow('HTML', 'YES')"> <span class="iconbl bl-HTML" style="margin-right: 7px"></span>备份本地 Html </el-button>
|
||||
</el-tooltip>
|
||||
<el-button @click="cancelDownload" type="danger" plain>
|
||||
<span class="iconbl bl-a-closeline-line" style="margin-right: 7px"></span>取消下载
|
||||
</el-button>
|
||||
<el-tooltip content="将文章以 Html 格式进行备份,同时备份所有图片" :hide-after="0">
|
||||
<el-button @click="backupNow('HTML', 'YES')"> <span class="iconbl bl-HTML" style="margin-right: 7px"></span>备份本地 Html </el-button>
|
||||
</el-tooltip>
|
||||
<el-button @click="cancelDownload" type="danger" plain>
|
||||
<span class="iconbl bl-a-closeline-line" style="margin-right: 7px"></span>取消下载
|
||||
</el-button>
|
||||
</div>
|
||||
<el-button @click="getBackupList" text> <span class="iconbl bl-refresh-line"></span></el-button>
|
||||
</bl-row>
|
||||
<div class="tips">服务器将于每日早上 7 点备份 Markdown 数据。</div>
|
||||
<div class="download-process">
|
||||
<el-progress :text-inside="true" :stroke-width="20" :percentage="downloadProgress" striped striped-flow :duration="200" />
|
||||
|
@ -7,10 +7,12 @@
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<bl-row class="workbench">
|
||||
<el-button @click="getBackupList"> <span class="iconbl bl-refresh-line" style="margin-right: 7px"></span>刷新</el-button>
|
||||
<el-input style="width: 150px; margin-left: 10px" placeholder="搜索文章名" v-model="recycleSearch"></el-input>
|
||||
<div class="tips">回收站只保存 {{ userinfo.params.ARTICLE_RECYCLE_EXP_DAYS }} 天内的文章。</div>
|
||||
<bl-row class="workbench" just="space-between">
|
||||
<div style="width: auto">
|
||||
<el-input style="width: 150px; margin-left: 10px" placeholder="搜索文章名" v-model="recycleSearch"></el-input>
|
||||
<span class="tips">回收站只保存 {{ userinfo.params.ARTICLE_RECYCLE_EXP_DAYS }} 天内的文章。</span>
|
||||
</div>
|
||||
<el-button @click="getBackupList" text> <span class="iconbl bl-refresh-line"></span></el-button>
|
||||
</bl-row>
|
||||
|
||||
<div class="recycle-container">
|
||||
|
@ -26,7 +26,7 @@
|
||||
<el-option :value="3" label="只读用户" />
|
||||
</el-select>
|
||||
</div>
|
||||
<el-button size="default" class="iconbl bl-refresh-line" @click="getUserList"></el-button>
|
||||
<el-button size="default" class="iconbl bl-refresh-line" text @click="getUserList"></el-button>
|
||||
</bl-row>
|
||||
<div class="user-container">
|
||||
<div :class="['user-item', user.delTime !== '0' ? 'warn-bg-zebra' : '']" v-for="user in usersComputed" @click="showDetailDialog(user.id)">
|
||||
@ -200,6 +200,9 @@ const infoSaved = () => {
|
||||
.search {
|
||||
height: 30px;
|
||||
margin: 10px 0 10px 0;
|
||||
.iconbl {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.user-container {
|
||||
|
Loading…
Reference in New Issue
Block a user