Skip to content

Commit

Permalink
Merge pull request #120 from chenjunyu19/fix-style
Browse files Browse the repository at this point in the history
修复样式
  • Loading branch information
xytoki committed Jun 17, 2024
2 parents deef2a1 + 334392e commit 513c92b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/components/UncompatibleDialog.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<el-dialog
custom-class="uncompatible-dialog"
class="uncompatible-dialog"
title="当前浏览器版本过低"
:modelValue="dialogVisible"
:close-on-click-modal="false"
Expand Down
2 changes: 1 addition & 1 deletion src/views/Achievement/AchievementDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:model-value="!!achievement"
:z-index="111"
:width="500"
:custom-class="$style.detailDialog"
:class="$style.detailDialog"
@closed="$emit('close')"
>
<div :class="$style.trigger">
Expand Down
2 changes: 1 addition & 1 deletion src/views/Achievement/ExportDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<el-dialog
v-model="exportData.show"
:title="exportData.title"
:custom-class="$style.exportDialog"
:class="$style.exportDialog"
append-to-body
destroy-on-close
>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Achievement/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
</div>
</template>
<scanner-dialog v-model:showScanner="showScanner" />
<el-dialog v-model="showImport" title="导入" :custom-class="$style.importDialog" destroy-on-close>
<el-dialog v-model="showImport" title="导入" :class="$style.importDialog" destroy-on-close>
<import-dialog :memo-id="autoImportId" @close="closeImport" />
</el-dialog>
<achievement-detail :achievement="detail" @close="detail = undefined" />
Expand Down
2 changes: 1 addition & 1 deletion src/views/Achievement/ScannerDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<el-dialog
v-model="scannerResult.show"
:title="`成功扫描 ${scannerResult.length} 个成就`"
:custom-class="$style.scannerResultDialog"
:class="$style.scannerResultDialog"
destroy-on-close
>
以下为失败和识别到的未完成成就列表,您可以自行检查确认后手动添加。
Expand Down
2 changes: 1 addition & 1 deletion src/views/Options/Sync.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

<el-drawer
:model-value="addType !== ''"
custom-class="add-drawer"
class="add-drawer"
title="添加同步账号"
:size="320"
:append-to-body="false"
Expand Down
4 changes: 2 additions & 2 deletions src/views/Options/User.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</el-table>
<el-drawer
v-model="edit.show"
custom-class="edit-drawer"
class="edit-drawer"
:size="320"
:title="`${edit.edit ? '编辑' : '添加'}账号`"
:append-to-body="false"
Expand Down Expand Up @@ -269,7 +269,7 @@ export default defineComponent({
}
}
.avatar-sel {
height: 57px;
height: 71px;
overflow: hidden;
.avatar-sel-prefix {
border-radius: 100%;
Expand Down
8 changes: 4 additions & 4 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ const usePreJS = process.argv.includes('--prejs') || false // isCI
const useSWC = isCI
? 'false'
: process.argv.includes('--no-swc')
? 'false'
: process.argv.includes('--no-swc-minify')
? 'compile'
: 'true'
? 'false'
: process.argv.includes('--no-swc-minify')
? 'compile'
: 'true'
const useSentry = false
// !process.argv.includes('--no-sentry') && process.env.NODE_ENV === 'production' && !!process.env.SENTRY_KEY
process.env.VUE_APP_BUILD = require('dayjs')().format('YYMMDDHHmm')
Expand Down

0 comments on commit 513c92b

Please sign in to comment.