答案1
你可以从这里开始....
(需要改变颜色...)
\documentclass{article}
\usepackage[most]{tcolorbox}
\newtcolorbox[auto counter
%,number within=section
]{pabox}[2][]{%
colback=red!5!white,
colbacktitle=red,
coltitle=red!70!black,
colframe=red!75!black,
fonttitle=\bfseries,
detach title,
before upper={\tcbtitle\quad},
title=Problem~\thetcbcounter. #2,#1}
\begin{document}
\begin{pabox}[]{}
This is a \textbf{tcolorbox}.
\end{pabox}
\end{document}
编辑
\documentclass[border=3mm]{standalone}
\usepackage[most]{tcolorbox}
\newtcolorbox[auto counter
%,number within=section
]{pabox}[2][]{%
colback=green!90!blue,
%colbacktitle=black,
coltitle=black,
colframe=red!75!black,
fonttitle=\bfseries,
detach title,
bicolor,sidebyside,
righthand width=8cm,
colbacklower=blue!10,
before upper={\tcbtitle\quad},
title=Problem~\thetcbcounter. #2,#1}
\begin{document}
\begin{pabox}[]{}
\tcblower
This is a \textbf{tcolorbox}.
\end{pabox}
\end{document}