#index { // color: #d3d6dd; color: #fff; width: 1920px; height: 1080px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transform-origin: left top; overflow: hidden; // .bg { // width: 100%; // height: 100%; // padding: 16px 16px 0 16px; // background-image: url("../assets/pageBg.png"); // background-size: cover; // background-position: center center; // } .host-body { padding: 0 0 30px 0; .dv-dec-10, .dv-dec-10-s { width: 33.3%; height: 5px; } .dv-dec-10-s { transform: rotateY(180deg); } .dv-dec-8 { width: 200px; height: 50px; } .title { position: relative; width: 500px; text-align: center; background-size: cover; background-repeat: no-repeat; .title-text { font-size: 24px; position: absolute; bottom: 0; left: 50%; transform: translate(-50%); } .dv-dec-6 { position: absolute; bottom: -30px; left: 50%; width: 250px; height: 8px; transform: translate(-50%); } } // 第二行 .aside-width { // width: 40%; } .react-r-s, .react-l-s { background-color: #0f1325; } // 平行四边形 .react-right { padding: 14px 18px 6px; &.react-l-s { text-align: right; // width: 500px; } font-size: 16px; // width: 300px; // height: 50px; line-height: 16px; text-align: center; // transform: skewX(-45deg); // background-color: #0f1325; cursor: pointer; // .react-after { // position: absolute; // right: -25px; // top: 0; // height: 50px; // width: 50px; // background-color: #0f1325; // transform: skewX(45deg); // } .text { display: inline-block; // transform: skewX(45deg); // padding: 0 8px; } } .react-left { &.react-l-s { // width: 500px; text-align: left; } font-size: 16px; line-height: 16px; // width: 300px; text-align: center; // transform: skewX(45deg); // background-color: #0f1325; cursor: pointer; // .react-left { // position: absolute; // left: -25px; // top: 0; // height: 50px; // width: 50px; // background-color: #0f1325; // transform: skewX(-45deg); // } .text { display: inline-block; // padding: 0 8px; // transform: skewX(-45deg); } } .body-box { margin-top: 16px; display: flex; flex-direction: column; //下方区域的布局 .content-box { display: grid; grid-template-columns: 2fr 3fr 5fr 3fr 2fr; } // 底部数据 .bottom-box { margin-top: 10px; display: grid; grid-template-columns: repeat(2, 50%); } } .item-chart-top { margin-top: 16px; } .pos-relative { position: relative; } } }