|
|
|
@ -2,7 +2,7 @@ import { Children, createContext, useEffect, useState } from 'react';
|
|
|
|
|
import { Dropdown, Space, Tabs } from 'antd';
|
|
|
|
|
import { MailFilled, MailOutlined, WhatsAppOutlined, DownOutlined } from '@ant-design/icons';
|
|
|
|
|
import InputComposer from './Input/InputComposer';
|
|
|
|
|
import EmailNewBtn from './Input/EmailNewBtn';
|
|
|
|
|
import EmailComposer from './Input/EmailComposer';
|
|
|
|
|
import { WABIcon } from '@/components/Icons';
|
|
|
|
|
import useConversationStore from '@/stores/ConversationStore';
|
|
|
|
|
import { useShallow } from 'zustand/react/shallow';
|
|
|
|
@ -69,7 +69,7 @@ const ReplyWrapper = () => {
|
|
|
|
|
const replyTypes = [
|
|
|
|
|
// { key: 'waba', label: mobile ? '' : (<WABASwitcher />), icon: <WABIcon />, children: <InputComposer channel={'waba'} /> },
|
|
|
|
|
{ key: 'waba', label: mobile ? '' : '商业号', icon: <WABIcon />, children: <InputComposer channel={'waba'} /> },
|
|
|
|
|
{ key: 'email', label: mobile ? '' : '邮件', icon: <MailOutlined className='text-indigo-500' />, children: <EmailNewBtn /> },
|
|
|
|
|
{ key: 'email', label: mobile ? '' : '邮件', icon: <MailOutlined className='text-indigo-500' />, children: <EmailComposer /> },
|
|
|
|
|
// { key: 'whatsapp', label: mobile ? '' : 'WhatsApp', icon: <WhatsAppOutlined className='text-whatsapp' />, children: <InputComposer channel={'whatsapp'} /> },
|
|
|
|
|
{ key: 'wa', label: mobile ? '' : 'WhatsApp', icon: <WhatsAppOutlined className='text-whatsapp' />, children: <div className='p-2 py-4 text-center text-whatsapp bg-gray-200 rounded rounded-b-none border-gray-300 border-solid border border-b-0 border-x-0'>正在开发……敬请期待</div> },
|
|
|
|
|
// TODO ⬆️WA未登录,要提示用户到个人页面扫码
|
|
|
|
|