@font-face { font-family: pangmenzhengdao; src: url('../assets/fonts/pangmenzhengdao.ttf'); } @font-face { font-family: '阿里妈妈东方大楷 Regular'; font-weight: normal; src: url('../assets/fonts/AlimamaDongFangDaKai-Regular.ttf') format('truetype'); font-display: swap; } @font-face { font-family: '站酷庆科黄油体'; font-weight: normal; src: url('../assets/fonts/zhankuqingke.ttf') format('truetype'); font-display: swap; } .box { transform-origin: 0 0; position: absolute; left: 50%; top: 50%; transition: 0.3s; } .blackBack { background-image: url('../assets/login/bg.png'); width: 100%; // height: calc(100% - 10px); // 进入全屏 height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; } .backImage { background-color: #021428; //021428 width: 100%; height: 100%; opacity: 0.9; display: flex; flex-direction: column; overflow: hidden; } .header { // background-image: url('../assets/layout/full-header.png'); // background-size: cover; // background-position: center; // background-repeat: no-repeat; height: 60px; display: flex; align-items: center; justify-content: space-between; flex-direction: row; margin: 10px; background-color: rgba(73, 122, 175, 0.3); } .headerText { color: GoldenRod; font-size: 32px; white-space: nowrap; // font-weight: bold; // margin-top: 10px; font-family: 'pangmenzhengdao'; } .configBanners { // height: 100%; width: 110px; height: 48px; font-size: 20px; // 适当减小字体大小 margin: 0px 10px; font-style: italic; font-weight: bold; color: #fff; border: 1px solid transparent; // 默认透明边框 // border: 1px solid #00caf7; white-space: nowrap; background: linear-gradient(to bottom, #01408e, #07295e); display: flex; // 使用flex布局 align-items: center; // 垂直居中 justify-content: center; // 水平居中 text-align: center; // 文字居中 box-sizing: border-box; // 确保边框计算在内 padding: 0 2px; // 如果需要可以添加内边距 overflow: hidden; // 防止内容溢出 text-overflow: ellipsis; // 文字过长显示省略号 position: relative; overflow: hidden; &:hover { border-color: #00caf7; // 悬停效果 opacity: 0.9; } &.active { border: 1px solid #00caf7 !important; background: linear-gradient(to bottom, #0150a0, #083070); // 激活时背景加深 box-shadow: 0 0 10px rgba(0, 202, 247, 0.5); // 可选:添加发光效果 } &::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 202, 247, 0.2), transparent); transition: left 0.5s ease; } &.active::after { left: 100%; } &.active { animation: pulse 2s infinite; } } @keyframes pulse { 0% { box-shadow: 0 0 5px rgba(0, 202, 247, 0.5); } 50% { box-shadow: 0 0 15px rgba(0, 202, 247, 0.8); } 100% { box-shadow: 0 0 5px rgba(0, 202, 247, 0.5); } } .boxBack { width: 100%; height: 100%; display: flex; align-items: center; flex-direction: column; padding: 0px 20px; } .otherTabContent { flex: 1; // 占据剩余空间 // width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(2, 20, 40, 0.7); border-radius: 10px; margin: 0px 10px 10px 10px; border: 1px solid rgba(0, 202, 247, 0.3); } .row { // height: calc(65% - 200px); flex: 1; width: 100%; } .rowTwo { height: 30%; width: 100%; margin-top: 10px; } .boxleft { height: 100%; // width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; } .fullBorderBox { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 10px; // 如果需要内边距 box-sizing: border-box; // 确保内边距计算在内 } .risklevel { height: 50%; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0px 10px; } .risklevelOne { height: 50%; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0px 10px; } .risklevelTwo { height: 100%; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0px 10px 10px 10px; } .riskChange { width: 30%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-around; padding: 20px 10px; } .riskChangeTwo { width: 70%; height: 100%; padding: 26px 10px; display: flex; align-items: center; justify-content: flex-start; } .gradient { background-image: linear-gradient( 250deg, rgba(47, 109, 255, 1) 0%, rgba(255, 255, 255, 54) 50%, rgba(47, 109, 255, 1) 100% ); width: 100%; height: 30%; display: flex; align-items: center; justify-content: center; padding: 2px; // margin: 10px; } .gradientTwo { background-image: linear-gradient( 250deg, rgba(47, 109, 255, 1) 0%, rgba(255, 255, 255, 54) 50%, rgba(47, 109, 255, 1) 100% ); width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-around; padding: 2px; } .gradientThree { background-image: linear-gradient( 275deg, rgba(47, 109, 255, 1) 0%, rgba(255, 255, 255, 54) 50%, rgba(47, 109, 255, 1) 100% ); display: flex; align-items: center; justify-content: space-around; padding: 2px; } .gradientNext { width: 100%; height: 100%; background-color: #021428; // z-index: 999; } .gradientNextTwo { width: 100%; height: 100%; background-color: rgba(47, 109, 255, 0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5px; color: #fff; } .gradientText { font-size: 34px; font-weight: bold; color: #49ebff; font-style: italic; font-family: '站酷庆科黄油体'; } .gradientName { font-size: 12px; } .gradientTextTwo { font-size: 86px; font-weight: bold; // color: #ef595a; color: #12f714; } .gradientNameTwo { font-size: 28px; } .title { background-image: url('../assets/layout/title.png'); background-size: cover; background-position: bottom; background-repeat: no-repeat; width: 90%; height: 25px; padding-bottom: 10px; display: flex; flex-direction: row; align-items: center; // justify-content: center; } .circle { width: 12px; height: 12px; background: #021428; border-radius: 50%; border: 3px solid #fff; margin-right: 5px; } .titlename { color: #fff; font-size: 16px; font-family: '站酷庆科黄油体'; letter-spacing: 3px; } // .risklevelOne { // height: 60%; // width: 90%; // } .boxTwo { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; // width: 100%; } .capsuleChart { width: 100%; height: 100%; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: 20px; } .scrollboard { width: 90%; height: 100%; display: flex; align-items: center; justify-content: center; margin: 0px 20px 20px 20px; flex: 1; } .scrollboard :global(.header) { height: auto; padding: 0; } .scrollboard :global(.dv-scroll-board .rows .ceil) { text-align: center; } .scrollboard :global(.dv-scroll-board .header .header-item) { text-align: center; } .scoreBox { // background-image: url("../assets/layout/score-box.png"); // background-size: cover; // background-position: center; // background-repeat: no-repeat; width: 100%; display: flex; flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 20px; } .scoreBox1 { background-image: url('../assets/layout/score-box.png'); background-size: contain; background-position: center; background-repeat: no-repeat; width: 100%; // height: 140px; display: flex; flex-direction: row; align-items: center; justify-content: space-around; margin-bottom: 20px; padding: 5px; } .score { display: flex; flex-direction: row; // align-items: center; // justify-content: space-between; background-image: url('../assets/layout/ks.png'); background-size: cover; background-position: center; background-repeat: no-repeat; object-fit: cover; // width: 230px; width: 33%; height: auto; margin: 10px; } .score2 { display: flex; flex-direction: row; // align-items: center; // justify-content: space-between; background-image: url('../assets/layout/xk.png'); background-size: cover; background-position: center; background-repeat: no-repeat; object-fit: cover; width: 33%; height: auto; margin: 10px; } .score3 { display: flex; flex-direction: row; // align-items: center; // justify-content: space-between; background-image: url('../assets/layout/wk.png'); background-size: cover; background-position: center; background-repeat: no-repeat; object-fit: cover; width: 33%; height: auto; margin: 10px; } .score4 { display: flex; flex-direction: column; align-items: center; justify-content: space-between; background-image: url('../assets/layout/score.png'); background-size: contain; background-position: center; background-repeat: no-repeat; width: 30%; padding: 0px 15px; // height: 100%; // margin: 10px; } .scoreRight { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 40%; margin-left: 50%; } .scoreLeft { font-size: 12px; font-weight: bold; color: #6cc8d9; margin-top: 5px; } .scoreText { font-size: 13px; font-weight: bold; color: #6cc8d9; } .scoreText2 { font-size: 33px; color: #7fffff; font-weight: bold; // font-style: oblique; } .scoreText3 { font-size: 12px; color: #6cc8d9; font-weight: bold; } .ulData { li { // transform: rotate(45deg); position: absolute; left: 50%; top: 50%; // margin-left: -20px; // margin-right: -20px; transform: translate(-50%, -50%); } li:nth-of-type(1) { // transform: rotate(45deg); transform: translate(-50%, -50%) rotate(12deg) translate(-280px) rotate(-12deg); // transform-origin: 20px 220px; } li:nth-of-type(2) { transform: translate(-50%, -50%) rotate(38deg) translate(-280px) rotate(-38deg); } li:nth-of-type(3) { transform: translate(-50%, -50%) rotate(64deg) translate(-280px) rotate(-64deg); } li:nth-of-type(4) { transform: translate(-50%, -50%) rotate(90deg) translate(-280px) rotate(-90deg); } li:nth-of-type(5) { transform: translate(-50%, -50%) rotate(116deg) translate(-280px) rotate(-116deg); } li:nth-of-type(6) { transform: translate(-50%, -50%) rotate(142deg) translate(-280px) rotate(-142deg); } li:nth-of-type(7) { transform: translate(-50%, -50%) rotate(168deg) translate(-280px) rotate(-168deg); } li:nth-of-type(8) { transform: translate(-50%, -50%) rotate(-12deg) translate(-280px) rotate(12deg); } li:nth-of-type(9) { transform: translate(-50%, -50%) rotate(-38deg) translate(-280px) rotate(38deg); } li:nth-of-type(10) { transform: translate(-50%, -50%) rotate(-64deg) translate(-280px) rotate(64deg); } li:nth-of-type(11) { transform: translate(-50%, -50%) rotate(-116deg) translate(-280px) rotate(116deg); } li:nth-of-type(12) { transform: translate(-50%, -50%) rotate(-142deg) translate(-280px) rotate(142deg); } li:nth-of-type(13) { transform: translate(-50%, -50%) rotate(-168deg) translate(-280px) rotate(168deg); } } .roateData { background-image: linear-gradient( 275deg, rgba(47, 109, 255, 1) 0%, rgba(255, 255, 255, 54) 50%, rgba(47, 109, 255, 1) 100% ); display: flex; align-items: center; justify-content: space-around; padding: 2px; // background-color: rgba(47, 109, 255, 0.1); } .roatBack { background-color: #021428; width: 100%; height: 100%; padding: 5px; }