@keyframes arrow-movement { 0% { left: 0%; } 49% { left: 100%; } 50% { left: -100%; } 100% { left: 0%; } } body { &.copy-protection { -webkit-user-select: none !important; /* Safari */ -moz-user-select: none !important; /* Firefox */ -ms-user-select: none !important; /* IE/Edge */ user-select: none !important; /* 标准 */ } >header { @borderRadius: 25px; >.brief { height: 3.98rem; background-color: var(--primaryColor); color: white; >.page-width { height: 100%; font-weight: bold; >.left { font-size: 1.1rem; letter-spacing: 0.1rem; } >.right { cursor: pointer; >i { @width: 1.7rem; width: @width; height: @width; line-height: @width; border: 0.124rem solid white; border-radius: 50%; font-size: 0.7rem; margin-right: 0.5rem; } } } } >.actions { height: 7.4rem; background-color: white; border-bottom: var(--primaryBorder); >.page-width { height: 100%; @logoWidth: 20rem; @rightWidth: 20rem; >* { max-height: 100%; } >.logo { display: block; width: @logoWidth; height: 75%; >img { width: 100%; height: 100%; } } >.search { width: calc(100% - @logoWidth - @rightWidth); padding: 0 3rem; } >.right { width: @rightWidth; >.layui-btn { @btnHeight: 2.5rem; height: @btnHeight; border-radius: calc(@btnHeight / 2); &.contact { @color: #51c236; position: relative; z-index: 1; color: @color; border-color: @color; opacity: 1; >.fa-weixin { font-size: 1.4rem; margin-right: 0.3rem; } >.weixin { position: absolute; top: 100%; left: 0%; width: 100%; height: 10rem; padding: 0.5rem; display: none; >img { width: 100%; height: 100%; border: var(--primaryBorder); background-color: white; } } &:hover { >.weixin { display: block; } } } &.leave-msg { color: var(--primaryColor); border-color: var(--primaryColor); >a { color: inherit; } &:hover { color: var(--primaryColor3); border-color: var(--primaryColor3); } } } } } } >.menu { position: relative; @height: 4.5rem; height: @height; box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.05); >.page-width { height: 100%; >.layui-nav { display: flex; height: 100%; background-color: transparent !important; padding: 0; >.layui-nav-item { flex: 1; height: 100%; >a { height: 100%; line-height: @height; font-size: 1.1rem; font-weight: bold; color: var(--primaryColor); >.layui-icon { margin-left: 0.5rem; } &:hover { color: var(--primaryColor3); } } &::after { background-color: transparent; } &.layui-this { >a { color: var(--primaryColor3); } } } >.layui-nav-bar { background-color: var(--primaryColor); } } } >.big-dropdown { position: absolute; top: 100%; width: 100%; background-color: var(--primaryColor); z-index: 1; display: none; >.page-width { padding: 4rem 0; >.column { width: calc(100% / 3); padding: 0 1rem; &+.column { border-left: 1px solid #2c4d72; } >.row { min-height: 5.5rem; color: white; padding: 1rem; @imgWidth: 3rem; border: 1px solid transparent; >img { width: @imgWidth; height: @imgWidth; } >.right { width: calc(100% - @imgWidth - 1rem); >.top { margin-bottom: 0.5rem; >.title { font-size: 1.2rem; font-weight: bold; } >i { margin-left: 1rem; color: var(--primaryColor3); } } >.sub-title { height: 3.875rem; font-size: 0.8rem; -webkit-line-clamp: 3; opacity: 0.85; } } &:hover { border-color: #2c4d72; } } >.video { padding: 0 1rem; >video { background-color: white; width: 100%; height: 15rem; border-radius: 2rem; } } >p { margin-top: 1rem; padding: 0 1rem; color: white; } } } } } } >footer { background-color: var(--primaryColor); color: white; @border: 1px solid #5c7691; >.actions { height: 6.5rem; border-bottom: @border; >.page-width { height: 100%; >.left { font-weight: bold; letter-spacing: 0.1rem; cursor: pointer; >i { @width: 2.2rem; width: @width; height: @width; line-height: @width; border: 0.125rem solid white; border-radius: 50%; font-size: 0.9rem; margin-right: 0.5rem; } } >.right { >.layui-btn { border: none; font-size: 1rem; color: white; &.contact { position: relative; z-index: 1; opacity: 1; >*+* { margin-left: 0.7rem; } >.fa-weixin { font-size: 1.6rem; color: #51c236; } >.weixin { position: absolute; top: 100%; left: 0%; width: 100%; height: 10rem; padding: 0.5rem; display: none; >img { width: 100%; height: 100%; border: var(--primaryBorder); background-color: white; } } &:hover { color: var(--primaryColor3); >.weixin { display: block; } } } &.leave-msg { >a { color: inherit; } &:hover { color: var(--primaryColor3); } } } >.divider { border-right: 0.15rem solid white; height: 1rem; margin: 0 1rem; } } } } >.menu { border-bottom: @border; >.page-width { padding: 3rem 0; >.menu-item { flex: 1; &+* { margin-left: 5rem; } >.menu-item-title { padding-bottom: 1rem; border-bottom: @border; margin-bottom: 1rem; } >.menu-item-link { display: block; padding: 0.2rem 0; color: white; letter-spacing: 0.05rem; &:hover { color: var(--primaryColor3); } } } } } >.record { height: 6.5rem; >.page-width { height: 100%; font-weight: bold; >* { color: inherit; position: relative; &+* { margin-left: 2.5rem; &::before { position: absolute; content: '|'; top: 50%; left: -1.25rem; transform: translateY(-50%); } } } } } } }