style(sj_map_reduce): 优化版本号样式
This commit is contained in:
parent
ff4aca803f
commit
edbad0c914
@ -24,7 +24,7 @@ const theme = ref({
|
||||
fontSize: '18px'
|
||||
},
|
||||
'.cm-scroller': {
|
||||
height: '520px',
|
||||
minHeight: '180px',
|
||||
overflowY: 'auto',
|
||||
overflowX: 'hidden'
|
||||
}
|
||||
|
@ -7,13 +7,13 @@ defineOptions({
|
||||
});
|
||||
|
||||
const { VITE_APP_VERSION } = import.meta.env;
|
||||
const version = ref<string>(`v${localStg.get('version') || VITE_APP_VERSION}`);
|
||||
const version = ref<string>(`${localStg.get('version') || VITE_APP_VERSION}`);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DarkModeContainer class="h-full flex-center">
|
||||
<a href="https://gitee.com/aizuda/easy-retry/blob/master/LICENSE" target="_blank" rel="noopener noreferrer">
|
||||
Copyright © 2024 Snail Job {{ version }}
|
||||
Copyright © 2024 Snail Job v{{ version }}
|
||||
</a>
|
||||
</DarkModeContainer>
|
||||
</template>
|
||||
|
@ -19,7 +19,7 @@ interface Props {
|
||||
const props = defineProps<Props>();
|
||||
|
||||
const { VITE_APP_VERSION } = import.meta.env;
|
||||
const version = ref<string>(`v${localStg.get('version') || VITE_APP_VERSION}`);
|
||||
const version = ref<string>(`${localStg.get('version') || VITE_APP_VERSION}`);
|
||||
|
||||
const getVersion = async () => {
|
||||
const { data, error } = await fetchVersion();
|
||||
@ -73,7 +73,7 @@ const href = (url: string) => {
|
||||
<SystemLogo class="text-64px text-primary lt-sm:text-48px" />
|
||||
<h3 class="flex text-28px text-primary font-500 lt-sm:text-22px">
|
||||
{{ $t('system.title') }}
|
||||
<span class="mt-3px pl-12px text-16px color-#00000072 font-600">{{ version }}</span>
|
||||
<span class="mt-3px pl-12px text-16px color-#00000072 font-600">v{{ version }}</span>
|
||||
</h3>
|
||||
<div class="i-flex-col">
|
||||
<ThemeSchemaSwitch
|
||||
|
Loading…
Reference in New Issue
Block a user