This commit is contained in:
expdsn 2024-09-29 15:31:47 +08:00
parent 1eb9a6e0d6
commit 5dddc19d76
2 changed files with 26 additions and 38 deletions

View File

@ -61,7 +61,6 @@ export default defineComponent(() => {
<Button type="primary" icon={<SwapOutlined />} <Button type="primary" icon={<SwapOutlined />}
onClick={()=> { onClick={()=> {
router.path = '' router.path = ''
router.path = 's2-background'
}}> }}>
</Button> </Button>

View File

@ -52,9 +52,6 @@ export default defineComponent(() => {
<Transition name="settings"> <Transition name="settings">
{show.value && ( {show.value && (
<div class="absolute left-6 bottom-20 w-[600px] h-[480px] rounded-lg overflow-hidden shadow-2xl flex"> <div class="absolute left-6 bottom-20 w-[600px] h-[480px] rounded-lg overflow-hidden shadow-2xl flex">
{
router.path.startsWith('settings-') ?
<>
<div class="w-[200px] p-4 h-full bg-white/60 backdrop-blur flex flex-col"> <div class="w-[200px] p-4 h-full bg-white/60 backdrop-blur flex flex-col">
<div <div
class={ class={
@ -80,16 +77,8 @@ export default defineComponent(() => {
<SettingsTab label="问题反馈" path="settings-fallback" /> <SettingsTab label="问题反馈" path="settings-fallback" />
</div> </div>
<Content /> <Content />
</>
:
router.path.startsWith('s2') ?
<>
<div class="w-full h-full flex justify-center items-center bg-red-300">
</div>
</>
: ''
}
</div> </div>
)} )}