import { Dialog } from '@taroify/core'; import PhoneButton, { IPhoneButtonProps } from '@/components/phone-button'; import './index.less'; interface IProps { title?: string; onCancel: () => void; needPhone?: IPhoneButtonProps['needPhone']; onSuccess?: IPhoneButtonProps['onSuccess']; onBindPhone?: IPhoneButtonProps['onBindPhone']; } const PREFIX = 'login-dialog'; export default function LoginDialog(props: IProps) { const { title = '使用播络服务前,请先登录', needPhone, onSuccess, onCancel, onBindPhone } = props; return (
{title}
登录
); }