功能:完善 YumiNail 全栈修复与打包
This commit is contained in:
@@ -49,23 +49,13 @@
|
||||
import { ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
import {
|
||||
BellOutlined,
|
||||
ClearOutlined,
|
||||
InfoCircleOutlined,
|
||||
LeftOutlined,
|
||||
LockOutlined,
|
||||
MessageOutlined,
|
||||
QuestionCircleOutlined,
|
||||
RightOutlined,
|
||||
SafetyOutlined,
|
||||
SoundOutlined
|
||||
} from '@ant-design/icons-vue'
|
||||
import { message } from 'ant-design-vue'
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
const comingSoonDesc = '暂未开放,敬请期待'
|
||||
|
||||
const settingsSections = ref([
|
||||
{
|
||||
type: 'title',
|
||||
@@ -74,69 +64,12 @@ const settingsSections = ref([
|
||||
{
|
||||
key: 'account',
|
||||
title: '账号设置',
|
||||
desc: '修改密码、绑定手机号、管理账号安全项',
|
||||
desc: '管理手机号、登录密码和账号安全',
|
||||
icon: LockOutlined,
|
||||
bgColor: '#e6f7ff'
|
||||
},
|
||||
{
|
||||
type: 'title',
|
||||
title: '更多功能'
|
||||
},
|
||||
{
|
||||
key: 'notifications',
|
||||
title: '消息通知',
|
||||
desc: comingSoonDesc,
|
||||
icon: BellOutlined,
|
||||
bgColor: '#f6ffed'
|
||||
},
|
||||
{
|
||||
key: 'message-push',
|
||||
title: '消息推送',
|
||||
desc: comingSoonDesc,
|
||||
icon: MessageOutlined,
|
||||
bgColor: '#fffbe6'
|
||||
},
|
||||
{
|
||||
key: 'theme',
|
||||
title: '主题设置',
|
||||
desc: comingSoonDesc,
|
||||
icon: SoundOutlined,
|
||||
bgColor: '#f9f0ff'
|
||||
},
|
||||
{
|
||||
key: 'clear-cache',
|
||||
title: '缓存清理',
|
||||
desc: comingSoonDesc,
|
||||
icon: ClearOutlined,
|
||||
bgColor: '#fff2e8'
|
||||
},
|
||||
{
|
||||
key: 'privacy',
|
||||
title: '隐私政策',
|
||||
desc: comingSoonDesc,
|
||||
icon: SafetyOutlined,
|
||||
bgColor: '#e6f7ff'
|
||||
},
|
||||
{
|
||||
key: 'about',
|
||||
title: '关于我们',
|
||||
desc: comingSoonDesc,
|
||||
icon: InfoCircleOutlined,
|
||||
bgColor: '#f6ffed'
|
||||
},
|
||||
{
|
||||
key: 'help',
|
||||
title: '帮助中心',
|
||||
desc: comingSoonDesc,
|
||||
icon: QuestionCircleOutlined,
|
||||
bgColor: '#eef9ff'
|
||||
}
|
||||
])
|
||||
|
||||
const showComingSoon = () => {
|
||||
message.info('该功能暂未开放,敬请期待')
|
||||
}
|
||||
|
||||
const handleBackClick = () => {
|
||||
router.back()
|
||||
}
|
||||
@@ -146,8 +79,6 @@ const handleSettingClick = (key: string) => {
|
||||
router.push('/settings/account')
|
||||
return
|
||||
}
|
||||
|
||||
showComingSoon()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user