* { margin: 0; padding: 0; box-sizing: border-box; } html { height: 100%; font-size: 14px; user-select: none; } body { font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif; height: 100%; color: black; } a { text-decoration: none; color: black; outline: none; } i { font-style: normal; } img { max-width: 100%; max-height: 100%; vertical-align: middle; object-fit: cover; } ul { list-style: none; } body { overflow: auto; overflow-y: overlay; } /* 文本域取消下拉 */ textarea { resize: none !important; min-height: 100px !important; } /* 主题色 */ :root { --themeColor: #5C4B32; --themeColor2: #FCE9AC; } /* 找不到页面 */ .noFindPage { padding-top: 100px; opacity: 0; transition: opacity .5s; } // 重置antd样式 #root { width: 100vw; height: 100vh; min-width: 1600px; min-height: 900px; overflow: auto; overflow-y: overlay; #App { width: 100%; height: 100%; position: relative; .Appvideo { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 20; overflow: hidden; // background-color: black; video { width: 100%; // height: 100%; } } .Apptab { position: absolute; z-index: 10; left: 50%; transform: translateX(-50%); top: 20px; width: 1600px; height: 91px; margin: 0 auto; background-size: 100% 100%; padding: 18px 0 0 180px; display: flex; .ApptabRow { width: 180px; height: 51px; font-size: 22px; color: #fff; line-height: 51px; text-align: center; cursor: pointer; &:nth-of-type(3) { margin-left: 522px; } } .ApptabRowAc { background-image: url('../../assets/img/active.png'); background-size: 100% 100%; color: var(--themeColor2); position: relative; // pointer-events: none; &::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 116px; height: 16px; background-image: url('../../assets/img/chosen.png'); background-size: 100% 100%; } } .APPtabSearch { position: absolute; right: 120px; top: 46%; transform: translateY(-50%); width: 24px; height: 24px; background-image: url('../../assets/img/icon_search.png'); background-size: 100% 100%; cursor: pointer; } .APPtabShow { position: absolute; right: 60px; top: 46%; transform: translateY(-50%); width: 20px; height: 20px; background-image: url('../../assets/img/icon_menu_active.png'); background-size: 100% 100%; cursor: pointer; } } .APPtabHide { position: absolute; top: 40px; right: 40px; z-index: 10; width: 40px; height: 40px; border-radius: 50%; background-image: url('../../assets/img/icon_menu_normal.png'); background-size: 100% 100%; cursor: pointer; } &>div { width: 100%; height: 100%; } } // a { // color: var(--themeColor); // } /* antd图片预览组件 */ .ant-image { display: none; } } [hidden] { display: none !important; } // 滚动条 .mySorrl::-webkit-scrollbar { /*滚动条整体样式*/ width: 3px; /*高宽分别对应横竖滚动条的尺寸*/ height: 1px; } .mySorrl::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; -webkit-box-shadow: inset 0 0 5px transparent; background: var(--themeColor2); } .mySorrl::-webkit-scrollbar-track { /*滚动条里面轨道*/ -webkit-box-shadow: inset 0 0 5px transparent; border-radius: 10px; background: transparent; } #root { .AppM { width: 100vw; max-width: 500px; margin: 0 auto; overflow: hidden; position: relative; } // 横屏 竖屏的切换 #ScreenChange { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; background-color: rgba(0, 0, 0, .8); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: all .5s; &>img { width: 200px; } &>p { margin-top: 20px; color: #fff; font-size: 18px; height: 40px; } } /*横屏*/ @media screen and (orientation: landscape) { #ScreenChange { opacity: 1; pointer-events: auto; } } } // pc首页箭头动画帧 .A1locBoxLoc{ animation: moveDian 1s linear infinite alternate; } @keyframes moveDian { 0% { transform: translateY(-6px); } 100% { transform: translateY(6px); } }