首页

     <header>
            <svg @click="goBackOne" class="svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="12px"
                 height="20px"
                 xmlns="http://www.w3.org/2000/svg">
                <g transform="matrix(1 0 0 1 -10 -54 )">
                    <path d="M 9.6 19.6  L 11.864 17.336  L 4.528 10  L 11.864 2.664  L 9.6 0.4  L 0 10  L 9.6 19.6  Z "
                          fill-rule="nonzero" fill="#000000" stroke="none" transform="matrix(1 0 0 1 10 54 )"/>
                </g>
            </svg>
            <span class="title">首页标题</span>
        </header>

css:

  header {
            padding-top: 3.8vh;
            padding-left: 4.1vw;
            background-color: #fff;
        }

        .svg {
            float: left;
        }

        header .title {
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.9vh;
            padding-bottom: 0.5vh;
        }
posted @ 2023-09-14 10:35  Liku007  阅读(17)  评论(0编辑  收藏  举报