\documentclass[openany]{book}
\usepackage[margin=1in]{geometry}
\usepackage{indentfirst}
\usepackage[many]{tcolorbox}
\usepackage{hyperref}
    % \definecolor{ling}{HTML}{EE0000}
    % \hypersetup{colorlinks=true}%,linkcolor=ling
\usepackage{cleveref}
\newtcbtheorem
    [number within=chapter,Crefname={Definition}{Definitions}]
    {definition}
    {Definition}
    {
        fonttitle=\bfseries\color{black},%设置标题文本的字体颜色
        opacityback=0,%主盒子文本区域的背景颜色透明度
        left=.25em,
        right=.25em,
        top=.45ex,
        bottom=.45ex,
        before skip=2pt plus 2pt minus 1pt,
        after skip =6pt plus 2pt minus 4pt,
        arc=0pt,%效果等同于sharp conners
        enhanced,%启用增强模式
        breakable,%可断页
        boxrule=0pt,%将主盒子的上下左右边线，以及标题行的边线，宽度设置为零，视觉上不再可见
        % toprule=0pt,
        frame hidden,%主盒子不描线也不填充的快捷方式
        borderline south={1pt}{0mm}{black},%添加新的边线
        borderline west ={1pt}{0mm}{black},
        borderline east ={1pt}{0mm}{black},
        attach boxed title to top left={
            yshift=-3mm,
            yshifttext=-1mm,
            xshift=3em 
        },%将标题盒子独立出来
        overlay unbroken and first={
            \draw [line width=1pt] (title.west) -- ++(-3em+.5pt,0pt) -- ++(down:\baselineskip);
            \draw [line width=1pt] (title.east) -- ++( 3em,0pt);
        },
        overlay middle and last={},
        boxed title style={
            frame style   ={fill=none},
            interior style={fill=none},
            left=.25em,
            right=.25em,
            top=.45ex,
            bottom=.45ex
        }%设置独立出来的标题盒子的风格
    }
    {def}
\NewDocumentCommand{\Doubleref}{m}{{\color{red}Definition \ref{#1} (\nameref{#1})}}
\begin{document}

\chapter{First}

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

\begin{definition}{Vectors}{vectors}
    This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 
\end{definition}

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

\begin{definition}{GouGu}{gougu}
	This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 
\end{definition}

\chapter{Second}

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

\begin{definition}{Euler}{euler}
    This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 
\end{definition}

This is a piece of definition surrounded partially by a frame. I think it looks quite nice. This is a piece of definition surrounded partially by a frame. I think it looks quite nice. 

\chapter{Third}

Please refer to \Doubleref{def:vectors}.

Please refer to \Doubleref{def:gougu}.

Please refer to \Doubleref{def:euler}.

\raggedleft
\Cref{def:euler} is important. 

\cref{def:euler} is important. 

\Cpageref{def:euler} is important. 

\cpageref{def:euler} is important. 

\nameCref{def:euler} is important. 

\namecref{def:euler} is important. 

\labelcref{def:euler} is important. 

\labelcpageref{def:euler} is important. 

\end{document}