1.2.0版本

This commit is contained in:
2026-08-04 11:07:38 +08:00
parent a091664cee
commit bf8ce482e4
78 changed files with 1998 additions and 863 deletions
+2 -4
View File
@@ -4,11 +4,10 @@ import { useState, useEffect } from 'react'
import './index.scss'
import { getAddressList, addAddress, updateAddress, deleteAddress } from '../../utils/store'
import type { AddressItem } from '../../types'
import ThemeToggle from '../../components/ThemeToggle'
import { useThemeContext } from '../../context/ThemeContext'
export default function AddressPage() {
const { theme } = useThemeContext()
const { theme, resolvedTheme } = useThemeContext()
const [list, setList] = useState<AddressItem[]>([])
const [editing, setEditing] = useState<AddressItem | null>(null)
const [showForm, setShowForm] = useState(false)
@@ -89,9 +88,8 @@ export default function AddressPage() {
}
return (
<View className={`theme-${theme}`}>
<View className={`theme-${resolvedTheme}`}>
<View className='address-page'>
<ThemeToggle />
<View className='page-header dashed-card mt-20'>
<View className='star-badge' />