| | |
| | | appStore.setLocale(show) |
| | | } |
| | | |
| | | // 消息图标 |
| | | const message = ref(appStore.getMessage) |
| | | |
| | | const messageChange = (show: boolean) => { |
| | | appStore.setMessage(show) |
| | | } |
| | | |
| | | // 标签页 |
| | | const tagsView = ref(appStore.getTagsView) |
| | | |
| | |
| | | } |
| | | |
| | | // 页脚 |
| | | const footer = ref(appStore.getFooter) |
| | | |
| | | const footerChange = (show: boolean) => { |
| | | appStore.setFooter(show) |
| | | } |
| | | |
| | | |
| | | |
| | | // 灰色模式 |
| | | const greyMode = ref(appStore.getGreyMode) |
| | |
| | | </div> |
| | | |
| | | <div class="flex items-center justify-between"> |
| | | <span class="text-14px">{{ t('setting.messageIcon') }}</span> |
| | | <ElSwitch v-model="message" @change="messageChange" /> |
| | | </div> |
| | | |
| | | <div class="flex items-center justify-between"> |
| | | <span class="text-14px">{{ t('setting.tagsView') }}</span> |
| | | <ElSwitch v-model="tagsView" @change="tagsViewChange" /> |
| | | </div> |
| | |
| | | <ElSwitch v-model="fixedHeader" @change="fixedHeaderChange" /> |
| | | </div> |
| | | |
| | | <div class="flex items-center justify-between"> |
| | | <span class="text-14px">{{ t('setting.footer') }}</span> |
| | | <ElSwitch v-model="footer" @change="footerChange" /> |
| | | </div> |
| | | <!-- 【本需求】页脚(Copyright ©2024-心电排队装机系统)已全局去掉,这里不再提供开关 --> |
| | | |
| | | <div class="flex items-center justify-between"> |
| | | <span class="text-14px">{{ t('setting.greyMode') }}</span> |