Compare commits

..

3 Commits

Author SHA1 Message Date
fish 008f92ffe3 登录页账号输入框默认改为空
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-06 15:45:29 +08:00
fish eae13737ff 登录页移除底部文案
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-06 15:45:13 +08:00
fish fcebba0a32 Docker容器改名
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-06 15:19:07 +08:00
2 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
BACKEND_EXTRAS: ${BACKEND_EXTRAS:-} BACKEND_EXTRAS: ${BACKEND_EXTRAS:-}
container_name: TickFlow_Stock_Panel container_name: stock_panel
ports: ports:
- "${PORT:-3018}:3018" - "${PORT:-3018}:3018"
env_file: env_file:
+2 -7
View File
@@ -13,14 +13,14 @@ import { useEffect, useState, type FormEvent } from 'react'
import { useNavigate } from 'react-router-dom' import { useNavigate } from 'react-router-dom'
import { useMutation } from '@tanstack/react-query' import { useMutation } from '@tanstack/react-query'
import { motion } from 'framer-motion' import { motion } from 'framer-motion'
import { Eye, EyeOff, Loader2, Lock, ShieldCheck, ShieldAlert, Sparkles } from 'lucide-react' import { Eye, EyeOff, Loader2, Lock, ShieldCheck, ShieldAlert } from 'lucide-react'
import { api } from '@/lib/api' import { api } from '@/lib/api'
import { Logo } from '@/components/Logo' import { Logo } from '@/components/Logo'
import { cn } from '@/lib/cn' import { cn } from '@/lib/cn'
export function Auth() { export function Auth() {
const navigate = useNavigate() const navigate = useNavigate()
const [username, setUsername] = useState('admin') const [username, setUsername] = useState('')
const [password, setPassword] = useState('') const [password, setPassword] = useState('')
const [confirmPassword, setConfirmPassword] = useState('') // 仅设密码时用 const [confirmPassword, setConfirmPassword] = useState('') // 仅设密码时用
const [showPwd, setShowPwd] = useState(false) const [showPwd, setShowPwd] = useState(false)
@@ -196,11 +196,6 @@ export function Auth() {
</div> </div>
)} )}
</div> </div>
<div className="mt-4 flex items-center justify-center gap-1.5 text-[10px] text-muted/60">
<Sparkles className="h-3 w-3" />
·
</div>
</motion.div> </motion.div>
</div> </div>
) )