%-*- coding: UTF-8 -*-

\documentclass[AutoFakeBold,hyperref, UTF8]{ctexart}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\usepackage{longtable}
\input{../../preamble}
\usepackage{caption}
\usepackage{seqsplit}
\usepackage{subfiles}
\usepackage{multirow}
\usepackage[table,xcdraw]{xcolor}

\begin{document}

% Please add the following required packages to your document preamble:
% \usepackage{multirow}
% \usepackage[table,xcdraw]{xcolor}
% If you use beamer only pass "xcolor=table" option, i.e. \documentclass[xcolor=table]{beamer}
\begin{table}[]
\begin{tabular}{|ccc|c|c|c|}
\hline
\rowcolor[HTML]{9B9B9B} 
\multicolumn{3}{|c|}{\cellcolor[HTML]{9B9B9B}封装}                                                                  & \cellcolor[HTML]{9B9B9B}                     & \cellcolor[HTML]{9B9B9B}                       & \cellcolor[HTML]{9B9B9B}                       \\ \cline{1-3}
\rowcolor[HTML]{9B9B9B} 
\multicolumn{1}{|c|}{\cellcolor[HTML]{9B9B9B}QFP100} & \multicolumn{1}{c|}{\cellcolor[HTML]{9B9B9B}QFP64} & QFP48 & \multirow{-2}{*}{\cellcolor[HTML]{9B9B9B}名称} & \multirow{-2}{*}{\cellcolor[HTML]{9B9B9B}数字功能} & \multirow{-2}{*}{\cellcolor[HTML]{9B9B9B}模拟功能} \\ \hline
\multicolumn{1}{|c|}{1}                              & \multicolumn{1}{c|}{1}                             & 1     & A                                            & A                                              & -                                              \\ \hline
\multicolumn{1}{|c|}{2}                              & \multicolumn{1}{c|}{2}                             & 2     & B                                            & B                                              & -                                              \\ \hline
\end{tabular}
\end{table}


% Please add the following required packages to your document preamble:
% \usepackage{multirow}
\begin{table}[]
\begin{tabular}{|ccc|c|c|c|}
\hline
\multicolumn{3}{|c|}{封装}                                          & \multirow{2}{*}{名称} & \multirow{2}{*}{数字功能} & \multirow{2}{*}{模拟功能} \\ \cline{1-3}
\multicolumn{1}{|c|}{QFP100} & \multicolumn{1}{c|}{QFP64} & QFP48 &                     &                       &                       \\ \hline
\multicolumn{1}{|c|}{1}      & \multicolumn{1}{c|}{1}     & 1     & A                   & A                     & -                     \\ \hline
\multicolumn{1}{|c|}{2}      & \multicolumn{1}{c|}{2}     & 2     & B                   & B                     & -                     \\ \hline
\end{tabular}
\end{table}


\end{document}
