1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <!DOCTYPE html>
- <html data-bs-theme="light" lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
- <title>{dreamer-cms:global name="title" /}</title>
- <link rel="stylesheet" href="{dreamer-cms:template /}assets/bootstrap/css/bootstrap.min.css">
- <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Roboto.css">
- <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/Roboto%20Slab.css">
- <link rel="stylesheet" href="{dreamer-cms:template /}assets/css/styles.css">
- <style>
- .logo{
- max-height: 3.2rem;
- }
- .nav-bar-box{
- display: flex;
- flex-wrap: inherit;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- }
- @media (max-width: 450px) {
- .logo{
- max-height: 2rem;
- }
- }
- .navbar-toggler-icon {
- --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
- }
- .navbar-toggler {
- --bs-navbar-toggler-border-radius: 0;
- background-color: #000;
- border: none
- }
- </style>
- </head>
- <body style="margin: 0px;">
- <header>
- <div class=" pt-xl-4" style="margin: 0 auto;padding: 0;">
- <nav class="navbar navbar-expand-md bg-body pt-3" style="width: 100%;">
- <div class="nav-bar-box px-1 px-sm-2 px-md-2 px-l-3 px-xl-4">
- <a class="navbar-brand d-flex align-items-center" href="/">
- {dreamer-cms:sql sql="select image_path as litpic from system_archives where id = [1800352925088759808]"}
- <img class="logo" data-src="/resources/uploads/[field:litpic /]"
- src="{dreamer-cms:template /}assets/img/none.png" alt="logo" style="margin: 0 .5rem 0 0;">
- {/dreamer-cms:sql}
- <!-- <span>{dreamer-cms:global name="title" /}</span> -->
- </a>
- <button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-2">
- <span class="navbar-toggler-icon"></span>
- </button>
- <div class="collapse navbar-collapse" id="navcol-2">
- <ul class="navbar-nav ms-auto">
- <li class="nav-item"><a class="nav-link active" href="/">首页</a></li>
- {dreamer-cms:categoryartlist length="5"}
- {dreamer-cms:if test="('true' eq [field:haschildren/])"}
- <li class="nav-item ">
- <a class="nav-link active" href="[field:typeurl/]">[field:typenamecn /]</a>
- </li>
- {/dreamer-cms:if}
- {dreamer-cms:if test="('false' eq [field:haschildren/])"}
- <li class="nav-item"><a class="nav-link active" href="[field:typeurl /]">[field:typenamecn
- /]</a></li>
- {/dreamer-cms:if}
- {/dreamer-cms:categoryartlist}
- </ul>
- </div>
- </div>
- </nav>
- </div>
- </header>
- </body>
- </html>
|