答案1
像这样?
\documentclass{article}
\usepackage[most]{tcolorbox}
\usepackage{lipsum}
\newtcolorbox{widebox}[1][]{%
enhanced, breakable, spread sidewards, left*=0pt, right*=0pt, boxrule=0pt, colback=cyan!10, #1}
\begin{document}
\lipsum[1]
\begin{widebox}
\lipsum[1]
\end{widebox}
\begin{widebox}[colback=red!20,overlay unbroken and first={\node[anchor=west] at ([xshift=1cm]frame.west) {\includegraphics[width=2cm]{example-image-a}};}]
\lipsum[1-5]
\end{widebox}
\end{document}