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