@import "./c/config"; @import "./c/function"; .g-fx { background-color: #00023a; } .g-pg { position: relative; background-image: url(../images/home/bg.png); // background-color: #00023a; background-repeat: no-repeat; background-size: 100% 100%; } .i-corner { position: absolute; z-index: 0; width: 121px; &.z-left-top { top: 15px; left: 15px; } &.z-left-bottom { bottom: 15px; left: 15px; } &.z-right-top { top: 15px; right: 15px; } &.z-right-bottom { bottom: 15px; right: 15px; } } .m-topnav { position: relative; z-index: 1; width: 100%; height: 101px; background-image: url(../images/home/top1.png); background-repeat: no-repeat; background-position: top center; background-size: 100%; .back { position: absolute; left: 21px; right: 0; top: 0; line-height: 70px; img { width: 21px; } } .title { position: absolute; left: 60px; right: 0; top: 0; line-height: 82px; font-family: PingFang SC; font-weight: bold; color: #FFFFFF; font-size: 34px; // text-shadow: 0px 4px 3px rgba(18, 27, 70, 0.51); background: linear-gradient(0deg, #8FD4FF 0%, #FFFFFF 64.0380859375%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .selectArea { position: absolute; left: 680px; width: 120px; right: 0; top: 20px; ::v-deep .el-input__inner { height: 32px !important; border-radius: 16px !important; border: none !important; color: #fff !important; background: linear-gradient(180deg, #05326E 0%, #032A5D 100%) !important; } } .btn-back { position: absolute; top: 52px; left: 40px; display: flex; width: 60px; align-items: center; line-height: 22px; font-size: 16px; color: #1a95ff; cursor: pointer; img { width: 16px; margin-right: 5px; } .z-default { display: block; } .z-on { display: none; } &:hover { color: #fff; .z-default { display: none; } .z-on { display: block; } } } .nav-list { position: absolute; top: 45px; left: 850px; display: flex; // width: 500px; &.z-right { left: auto; right: 120px; .nav-item { background-image: url(../images/shuju/main/nav-right.png); &.z-on { &::before { background-image: url(../images/shuju/main/nav-right-on.png); } } } } .nav-item { position: relative; margin-right: 95px; width: 120px; height: 40px; line-height: 40px; font-size: 18px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; // background-image: url(../images/shuju/main/nav-left.png); // background-size: 100%; text-align: center; cursor: pointer; color: #41A5F2; span { position: relative; z-index: 1; } // &:hover { // color: #fff; // } &.z-on { background-image: none; color: #86F3FF; font-size: 20px; &::after { position: absolute; z-index: -1; content: ""; display: block; bottom: -2px; left: -50px; width: 226px; height: 20px; background-image: url(../images/home/choose.png); background-size: 100%; } } } } .date { position: absolute; right: 20px; top: 30px; color: #91D5FF; text-align: center; .dateFlex { display: flex; align-items: center; justify-content: center; .dateFlex_mw { .date-month { font-size: 14px; } .date-week { font-size: 16px; } } .date-time { font-size: 34px; margin-left: 11px; } } } .msg { position: absolute; display: flex; align-items: center; top: 40px; right: 40px; font-size: 16px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #ffffff; line-height: 22px; .weather { display: flex; align-items: center; img { position: relative; width: 20px; } div { margin-left: 3px; } } .date { margin-left: 24px; display: flex; align-items: center; .date-div { margin: 0 10px; height: 22px; width: 1px; background-color: #fff; opacity: 0.8; } } } } .g-cnt { padding: 24px; }