style(system): app setting
This commit is contained in:
@@ -21,26 +21,42 @@
|
||||
</t-cell>
|
||||
<t-cell title="背景模糊特效">
|
||||
<template #right-icon>
|
||||
<t-switch :model-value="globalUIStore.backdropBlur" @change="value => globalUIStore.setBackdropBlur(value === true)" />
|
||||
<t-switch
|
||||
size="small"
|
||||
:model-value="globalUIStore.backdropBlur"
|
||||
@change="value => globalUIStore.setBackdropBlur(value === true)"
|
||||
/>
|
||||
</template>
|
||||
</t-cell>
|
||||
</t-cell-group>
|
||||
<t-cell-group title="照片" theme="card" v-entrance-transition>
|
||||
<t-cell title="拍照后存入相册">
|
||||
<template #right-icon>
|
||||
<t-switch :model-value="settingStore.albumSave" @change="value => settingStore.setAlbumSave(value === true)" />
|
||||
<t-switch
|
||||
size="small"
|
||||
:model-value="settingStore.albumSave"
|
||||
@change="value => settingStore.setAlbumSave(value === true)"
|
||||
/>
|
||||
</template>
|
||||
</t-cell>
|
||||
</t-cell-group>
|
||||
<t-cell-group title="声音" theme="card" v-entrance-transition>
|
||||
<t-cell title="扫码成功">
|
||||
<template #right-icon>
|
||||
<t-switch :model-value="settingStore.sound.scanSuccess" @change="value => handleScanSuccessChange(value === true)" />
|
||||
<t-switch
|
||||
size="small"
|
||||
:model-value="settingStore.sound.scanSuccess"
|
||||
@change="value => handleScanSuccessChange(value === true)"
|
||||
/>
|
||||
</template>
|
||||
</t-cell>
|
||||
<t-cell title="登记成功">
|
||||
<template #right-icon>
|
||||
<t-switch :model-value="settingStore.sound.registerSuccess" @change="value => handleRegisterSuccessChange(value === true)" />
|
||||
<t-switch
|
||||
size="small"
|
||||
:model-value="settingStore.sound.registerSuccess"
|
||||
@change="value => handleRegisterSuccessChange(value === true)"
|
||||
/>
|
||||
</template>
|
||||
</t-cell>
|
||||
<t-cell title="音量">
|
||||
@@ -144,7 +160,7 @@ async function playSettingSoundPreview(type: "scanSuccess" | "registerSuccess"):
|
||||
|
||||
.volume-field {
|
||||
gap: .5rem;
|
||||
width: 16rem;
|
||||
width: 14rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user