1、更换登录底图

2、加水印
This commit is contained in:
SGK\17962 2025-06-29 13:21:13 +08:00
parent 637b5dd61a
commit 594bc683cf
3 changed files with 8 additions and 6 deletions

View File

@ -31,7 +31,7 @@ const watermarkProps = computed<WatermarkProps>(() => {
cross: true,
fullscreen: true,
fontSize: 14,
fontColor: themeStore.darkMode ? 'rgba(200, 200, 200, 0.03)' : 'rgba(200, 200, 200, 0.2)',
fontColor: themeStore.darkMode ? 'rgba(200, 200, 200, 0.1)' : 'rgba(200, 200, 200, 0.2)',
lineHeight: 14,
width: 200,
height: 300,

View File

@ -17,14 +17,16 @@ const darkColor = computed(() => getPaletteColorByNumber(props.themeColor, 500))
<template>
<div class="absolute-lt z-1 size-full overflow-hidden">
<div class="absolute -right-300px -top-900px lt-sm:(-right-100px -top-1170px)">
<div class="absolute -right-700px -top-400px lt-sm:(-right-600px -top-1170px)">
<svg height="1337" width="1337">
<defs>
<path
id="path-1"
opacity="1"
fill-rule="evenodd"
d="M1337,668.5 C1337,1037.455193874239 1037.455193874239,1337 668.5,1337 C523.6725684305388,1337 337,1236 370.50000000000006,1094 C434.03835568300906,824.6732385973953 6.906089672974592e-14,892.6277623047779 0,668.5000000000001 C0,299.5448061257611 299.5448061257609,1.1368683772161603e-13 668.4999999999999,0 C1037.455193874239,0 1337,299.544806125761 1337,668.5Z"
stroke-linecap="round"
stroke-linejoin="round"
d="M892 280A216 216 270 00676 64H136A180 180 270 0072.064 412.336 144 144 270 00252.448 597.04 252 252 270 00743.632 485.2 216.096 216.096 270 00892 280Z"
/>
<linearGradient id="linearGradient-2" x1="0.79" y1="0.62" x2="0.21" y2="0.86">
<stop offset="0" :stop-color="lightColor" stop-opacity="1" />
@ -36,14 +38,14 @@ const darkColor = computed(() => getPaletteColorByNumber(props.themeColor, 500))
</g>
</svg>
</div>
<div class="absolute -bottom-400px -left-200px lt-sm:(-bottom-760px -left-100px)">
<div class="absolute -bottom-300px -left-400px lt-sm:(-bottom-760px -left-100px)">
<svg height="896" width="967.8852157128662">
<defs>
<path
id="path-2"
opacity="1"
fill-rule="evenodd"
d="M896,448 C1142.6325445712241,465.5747656464056 695.2579309733121,896 448,896 C200.74206902668806,896 5.684341886080802e-14,695.2579309733121 0,448.0000000000001 C0,200.74206902668806 200.74206902668791,5.684341886080802e-14 447.99999999999994,0 C695.2579309733121,0 475,418 896,448Z"
d="M108 720A216 216 90 00324 936H864A180 180 90 00927.936 587.664 144 144 90 00747.552 402.96 252 252 90 00256.368 514.8 216.096 216.096 90 00108 720Z"
/>
<linearGradient id="linearGradient-3" x1="0.5" y1="0" x2="0.5" y2="1">
<stop offset="0" :stop-color="darkColor" stop-opacity="1" />

View File

@ -76,7 +76,7 @@ export const themeSettings: App.Theme.ThemeSetting = {
}
},
watermark: {
visible: false,
visible: true,
text: 'Task Flux'
}
};