123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209 |
- html,
- body {
- width: 7680px;
- min-height: 2120px;
- height: 100%;
- font-size: 20px;
- color: #fff;
- font-family: 'Microsoft YaHei';
- overflow-y: hidden;
- }
- *,
- *:before,
- *:after {
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- }
- a {
- text-decoration: none;
- cursor: pointer;
- }
- [v-cloak] {
- display: none;
- }
- .pointer {
- cursor: pointer;
- }
- #app {
- background: url('../groupImg/page-bg.png') center center no-repeat;
- background-size: 100% 100%;
- padding-top: 10px;
- width: 100%;
- height: 100%;
- overflow: hidden;
- color: #fff;
- display: grid;
- grid-template-columns: repeat(3, 1fr);
- padding: 10px;
- position: relative;
- }
- #app > div {
- width: 100%;
- height: 100%;
- }
- div {
- overflow: hidden;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- }
- .my-header {
- position: relative;
- height: 70px;
- line-height: 70px;
- background: url('../groupImg/header-bg.png') center center no-repeat;
- background-size: 100% 100%;
- text-align: center;
- font-weight: bold;
- font-size: 32px;
- font-weight: bold;
- }
- .my-header span {
- background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- .my-header span.right {
- position: absolute;
- right: 60px;
- top: 0px;
- font-size: 16px;
- }
- .LeftBox,
- .CenterBox,
- .RightBox {
- padding: 0 20px;
- }
- .CenterBox > .main {
- width: 100%;
- height: calc(100% - 70px);
- display: grid;
- grid-template-columns: 3fr 4fr 3fr;
- gap: 10px;
- /* background: url('../groupImg/back-center.png') center center no-repeat; */
- background-size: 100% 100%;
- }
- .LeftBox > .main {
- width: 100%;
- height: calc(100% - 70px);
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- grid-template-rows: repeat(3, 1fr);
- gap: 10px;
- }
- .RightBox > .main {
- width: 100%;
- height: calc(100% - 70px);
- display: grid;
- grid-template-rows: 5fr 8fr 11fr;
- gap: 10px;
- }
- .LeftBox .card {
- width: 100%;
- height: 100%;
- overflow: hidden;
- background: url('../groupImg/frame1.png') center center no-repeat;
- background-size: 100% 100%;
- }
- .title {
- position: relative;
- text-align: center;
- height: 100px;
- line-height: 100px;
- }
- .title .text {
- font-size: 30px;
- font-weight: bold;
- color: #05fbfe;
- text-shadow: 0px 2px 10px rgba(10, 30, 52, 0.48);
- background: linear-gradient(0deg, #ffffff 0%, #63dcff 0%, #e0f3ff 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- position: relative;
- }
- .title .text::before {
- position: absolute;
- content: ' ';
- top: 15px;
- left: -40px;
- width: 30px;
- height: 10px;
- background: url('../groupImg/title-left2.png') no-repeat;
- }
- .title .text::after {
- position: absolute;
- content: ' ';
- top: 15px;
- right: -40px;
- width: 30px;
- height: 10px;
- background: url('../groupImg/title-right2.png') no-repeat;
- }
- .content {
- height: calc(100% - 110px);
- padding: 0 15px 10px;
- }
- .left-lt .content {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- gap: 10px;
- }
- .left-lt .content > div:first-child {
- display: grid;
- gap: 10px;
- grid-template-rows: repeat(2, 1fr);
- }
- .LeftBox .content-left-top {
- width: 100%;
- display: flex;
- align-items: center;
- height: 100%;
- }
- .LeftBox .item2 {
- width: 50%;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .LeftBox .item2 .item2-title {
- font-weight: bold;
- font-size: 30px;
- }
- .LeftBox .item2 .item2-title span {
- font-weight: bold;
- font-size: 20px;
- }
- .LeftBox .item2 .item2-img {
- width: 150px;
- height: 150px;
- /* margin-top: -20px; */
- }
- .LeftBox .item2 .item2-text {
- color: #fff;
- font-size: 20px;
- }
- .LeftBox .content-left-top {
- width: 100%;
- display: flex;
- align-items: center;
- height: 100%;
- }
- .LeftBox .content-left-bottom {
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .LeftBox .total {
- text-align: center;
- width: 260px;
- height: 40px;
- position: absolute;
- left: calc(50% - 130px);
- bottom: 5%;
- font-weight: bold;
- color: #69c0ff;
- font-size: 30px;
- z-index: 999 !important;
- }
- .LeftBox .commonBack,
- .RightBox .commonBack {
- background-color: #042148;
- border-radius: 15px;
- }
- .LeftBox .left-rt .content {
- display: grid;
- grid-template-rows: repeat(2, 1fr);
- gap: 10px;
- }
- .LeftBox .left-rt .content > div:first-child {
- display: grid;
- gap: 10px;
- grid-template-columns: 3fr 4fr 4fr;
- }
- .LeftBox .left-rt .item3 {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .LeftBox .left-rt .item3 .item3-title {
- font-weight: bold;
- font-size: 30px;
- color: #69c0ff;
- }
- .LeftBox .left-rt .item3 .item3-title span {
- font-size: 20px;
- font-weight: bold;
- }
- .left-rt .item3 .item3-img {
- margin-top: -20px;
- width: 100px;
- height: 102px;
- margin-bottom: 18px;
- }
- .LeftBox .left-rt .item3 .item3-text {
- font-size: 14px;
- color: #fff;
- }
- .LeftBox .left-rt .item4-text {
- font-size: 20px;
- }
- .LeftBox .left-rt .item4 .item4-title {
- position: relative;
- padding-left: 10px;
- color: #69c0ff;
- margin-left: 10px;
- margin-top: 5px;
- font-size: 30px;
- }
- .LeftBox .left-rt .item4 .item4-title::before {
- content: '';
- position: absolute;
- left: 0;
- top: 50%;
- transform: translate(0, -50%);
- width: 5px;
- height: 5px;
- border-radius: 50%;
- background-color: #69c0ff;
- }
- .LeftBox .left-rt .item4 .item4-con {
- display: flex;
- align-items: center;
- justify-content: space-around;
- height: 100%;
- margin-top: 20px;
- }
- .LeftBox .left-rt .item4 .item4-con .item {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin: 0 30px;
- }
- .LeftBox .left-rt .item4 .item4-con .item .title {
- color: #69c0ff;
- font-weight: bold;
- font-size: 30px;
- height: 30px !important;
- line-height: 30px !important;
- margin-top: 10px;
- }
- .LeftBox .left-rt .item4 .item4-con .item .title span {
- font-weight: bold;
- font-size: 20px;
- }
- .LeftBox .left-rt .item4 .item4-con .item .text {
- font-size: 30px;
- color: #fff;
- }
- .LeftBox .left-rtb {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- }
- .LeftBox .left-rc {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- grid-template-rows: repeat(2, 1fr);
- }
- .LeftBox .left-lb,
- .left-rb {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- }
- .LeftBox .light {
- background-color: #79a4db6c !important;
- }
- .CenterBox .center-l .card,
- .CenterBox .center-r .card {
- width: 100%;
- height: 100%;
- overflow: hidden;
- background: url('../groupImg/frame2.png') center center no-repeat;
- background-size: 100% 100%;
- }
- .CenterBox .center-l,
- .CenterBox .center-r {
- display: grid;
- gap: 10px;
- grid-template-rows: repeat(3, 1fr);
- }
- .CenterBox .boxs {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- grid-template-rows: repeat(2, 1fr);
- padding: 10px;
- color: #69c0ff;
- height: 100%;
- }
- .CenterBox .boxs > div {
- flex: 0 0 50%;
- background: url('../groupImg/left1-bg.png') no-repeat center;
- background-size: 100% 100%;
- padding: 20px 30px;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- }
- .CenterBox .boxs > div > p {
- width: 80%;
- }
- .CenterBox .boxs > div > p:nth-child(1) {
- text-align: center;
- }
- .CenterBox .boxs > div > p:nth-child(2) {
- margin-top: 25px;
- text-align: center;
- }
- .CenterBox .boxs .name {
- color: #f3f3f3;
- font-size: 30px;
- }
- .CenterBox .boxs .change {
- color: #32edaa;
- }
- .CenterBox .boxs .change.up {
- color: #ed3248;
- }
- .CenterBox .boxs .num {
- font-size: 36px;
- font-weight: bold;
- margin-right: 5px;
- }
- .CenterBox .boxs .el-icon-more {
- font-size: 35px;
- }
- .CenterBox .top {
- display: flex;
- justify-content: space-between;
- }
- .CenterBox .top .box {
- flex: 1;
- margin: 0 10px;
- display: flex;
- flex-direction: column;
- align-items: center;
- color: #69c0ff;
- }
- /* .CenterBox .t {
- padding: 15px 0;
- display: flex;
- align-items: center;
- background-color: rgba(59,211,255,0.05);
- } */
- .CenterBox .t {
- padding: 25px 0;
- display: flex;
- font-size: 30px;
- font-weight: bold;
- align-items: center;
- justify-content: center;
- background-color: #042148;
- }
- .CenterBox .b {
- padding: 15px 0;
- display: flex;
- align-items: center;
- justify-content: space-around;
- background-color: rgba(7, 42, 76, 0.6);
- padding: 15px 0;
- }
- .CenterBox .b span {
- color: #69c0ff;
- font-size: 34px;
- font-weight: 900;
- }
- .CenterBox .t img {
- margin-right: 10px;
- }
- .CenterBox .box > div {
- width: 100%;
- }
- .CenterBox .box > img {
- width: 40px;
- }
- .CenterBox .box > div p {
- font-size: 30px;
- color: #e1e3ef;
- }
- .CenterBox .box > div span {
- display: inline-block;
- font-size: 36px;
- margin-right: 5px;
- font-weight: bolder;
- margin-top: 5px;
- }
- .CenterBox .map-box {
- height: 100%;
- position: relative;
- padding: 30px 0;
- }
- .CenterBox .mapBack{
- position: absolute;
- width: 60px;
- height: 60px;
- top: 100px;
- right: 100px;
- z-index: 99999999;
- }
- .CenterBox .status {
- position: absolute;
- /* bottom: 20px; */
- bottom: 250px;
- right: 50px;
- background-color: rgba(3, 10, 12, 0.46);
- border: 1px solid #4A57CF;
- }
- .CenterBox .status2{
- position: absolute;
- bottom: 150px;
- background-color: rgba(3, 10, 12, 0.46);
- border: 1px solid #4A57CF;
- left: 50px;
- }
- .CenterBox .status p ,.CenterBox .status2 p {
- background-color: #02397f;
- line-height: 55px;
- text-align: center;
- font-size: 30px;
- color: #69c0ff;
- }
- tspan{
- font-weight: normal !important;
- }
- .CenterBox .status li, .CenterBox .status2 li{
- line-height: 40px;
- padding-right: 15px;
- list-style: none;
- position: relative;
- font-size: 26px;
- }
- .CenterBox .status li::before,.CenterBox .status2 li::before {
- content: '';
- position: absolute;
- left: -15px;
- top: 50%;
- transform: translate(0, -50%);
- width: 5px;
- height: 5px;
- background-color: #69c0ff;
- border-radius: 50%;
- }
- .CenterBox .status i {
- font-size: 20px;
- font-weight: bold;
- color: #69c0ff;
- }
- .CenterBox .tooltip-cont {
- margin: -15px;
- border: 1px solid #69c0ff;
- border-radius: 8px;
- padding: 15px;
- background-color: rgb(39 122 145 / 0.36);
- font-size: 30px;
- }
- .CenterBox .tooltip-cont p {
- line-height: 1.8;
- color: #f3f3f3;
- position: relative;
- padding-left: 12px;
- }
- .CenterBox .tooltip-cont p::before {
- position: absolute;
- display: inline-block;
- content: '';
- left: -10px;
- top: 20px;
- width: 15px;
- height: 15px;
- border-radius: 50%;
- background-color: #69c0ff;
- }
- .CenterBox .tooltip-cont span {
- color: #69c0ff;
- }
- .RightBox .right-t {
- display: grid;
- gap: 10px;
- grid-template-columns: 3fr 1fr;
- background: url('../groupImg/langBack.png') no-repeat center;
- background-size: 100% 100%;
- padding: 10px;
- }
- .RightBox .right-c,
- .RightBox .right-b {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- }
- .RightBox .right-c > div,
- .RightBox .right-b > div {
- background: url('../groupImg/cBack.png') no-repeat center;
- background-size: 100% 100%;
- padding: 10px;
- }
- .RightBox .top-lb {
- padding: 0px 30px;
- display: grid;
- /* grid-template-columns: repeat(11, 1fr); */
- grid-template-columns: 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr 1fr 2.5fr;
- gap: 10px;
- padding-bottom: 20px;
- }
- .RightBox .top-lb > .topCard:nth-child(odd) > div:first-child,
- .RightBox .top-rb > .topCard:nth-child(odd) > div:first-child {
- width: 190px;
- height: 190px;
- background-size: 100% 100%;
- }
- .RightBox .top-lb > .topCard:nth-child(even) > div:first-child,
- .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
- width: 100px;
- height: 100px;
- background-size: 100% 100%;
- }
- .RightBox .titleBackBlue {
- background: url('../groupImg/completed.png') no-repeat center;
- background-size: 95% 95%;
- }
- .RightBox .titleBackYellow {
- background: url('../groupImg/completed2.png') no-repeat center;
- background-size: 95% 95%;
- }
- .RightBox .top-rb {
- padding: 0px 30px;
- display: grid;
- grid-template-columns: 2.5fr 1fr 2.5fr;
- gap: 10px;
- padding-bottom: 20px;
- }
- .RightBox .top-lb > .topCard:nth-child(even) > div:first-child {
- background: url('../groupImg/completedDot.png') no-repeat center;
- background-size: 100% auto;
- background-position: 0 25%;
- }
- .RightBox .top-rb > .topCard:nth-child(even) > div:first-child {
- background: url('../groupImg/completedDot.png') no-repeat;
- background-size: 100% auto;
- background-position: 0 35%;
- }
- .RightBox .centerBack {
- background: url('../groupImg/back2.png') no-repeat;
- background-size: 100% 100%;
- }
- .RightBox .center-l > div:nth-child(2){
- grid-template-columns: repeat(3, 1fr);
- gap: 10px;
- }
- /* .RightBox .center-l > div:nth-child(2) div {
- background: url('../groupImg/center-left-list-back.png') no-repeat;
- background-size: 100% 100%;
- text-align: center;
- padding: 10%;
- } */
- .RightBox .right-cl>div{
- background: url('../groupImg/center-left-list-back.png') no-repeat;
- background-size: 100% 100%;
- padding: 10%;
- }
- .RightBox .right-cl{
- display: grid;
- }
- .RightBox .center-l-title {
- width: 100%;
- height: 15%;
- margin-top: 10%;
- font-size: 30px;
- font-weight: bold;
- }
- .RightBox .center-l-list {
- height: 30%;
- margin: 10% 0;
- background: url('../groupImg/project.png') no-repeat center;
- background-size: 100% auto;
- font-size: 26px;
- }
- .RightBox .center-l-list2 {
- height: 25%;
- background: url('../groupImg/pin.png') no-repeat center;
- background-size: 100% auto;
- font-size: 26px;
- }
- .RightBox .right-br {
- display: grid;
- gap: 10px;
- grid-template-rows: repeat(2, 1fr);
- }
- .RightBox .right-brt {
- display: grid;
- gap: 10px;
- grid-template-columns: repeat(2, 1fr);
- }
- .RightBox .flotage {
- width: 220px;
- height: 100px;
- background-color: rgba(54, 60, 67, 0.4);
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- padding: 10px;
- /* border: 1px solid #557e81; */
- top: 15px;
- border-radius: 5px;
- transition: all 0.2s;
- }
- .tip-box {
- position: absolute;
- width: 2000px !important;
- height: 1400px !important;
- top: calc(50% - 700px);
- left: calc(50% - 1000px);
- background: url('../groupImg/popup.png') no-repeat center;
- background-color: #133b65;
- background-size: 100% 100%;
- padding: 200px 100px 100px 100px;
- border-radius: 55px;
- z-index: 9999999999;
- }
- .titleImg {
- width: 100%;
- height: 100%;
- border-radius: 10px;
- }
- .popLeft,
- .popright {
- height: 90%;
- width: 50%;
- }
- .popright {
- right: 0;
- }
- .poptitle{
- top:60px;
- left: calc(50% - 210px);
- width: 400px;
- text-align: center;
- font-size: 30px;
- font-weight: bolder;
- background: linear-gradient(-3deg, #99eeff 0%, #99eeff 30%, #ffffff 91%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- }
- .doubleTip{
- display: grid;
- grid-template-rows: repeat(2, 1fr);
- gap: 10px;
- }
- .tip2 {
- width: 100%;
- height: 100%;
- display: grid;
- grid-template-columns: 60% 40%;
- /* grid-template-rows: 1fr 1fr; */
- grid-gap: 10px;
- }
- .tip-down {
- position: absolute;
- top:10px;
- right: 30px;
- width: 50px;
- text-align: center;
- height: 50px;
- line-height: 50px;
- cursor: pointer;
- font-size: 60px;
- }
- .row-item,.header-item{
- font-size: 20px !important;
- }
- .tip2-list {
- height: 100%;
- display: grid;
- grid-template-rows: repeat(5, minmax(0, 1fr));
- background-color: #04224c;
- padding: 20px 20px;
- font-size: 30px;
- }
- .tip2-list > div {
- width: 100%;
- height: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .tip2-list > div:nth-child(2),
- .tip2-list > div:nth-child(4) {
- border-top: 1px solid #69c0ff;
- border-bottom: 1px solid #69c0ff;
- }
- .total3 {
- bottom: 15%;
- }
- .total {
- text-align: center;
- position: absolute;
- left: calc(50% - 150px);
- bottom: 15%;
- font-size: 30px;
- font-weight: bold;
- color: #69c0ff;
- z-index: 999;
- }
- .productTip{
- /* height: ; */
- height: 1800px !important;
- width: 3000px !important;
- top: calc( 50% - 900px);
- left: calc( 50% - 1500px );
- z-index: 99999999999 !important;
- }
- .productPoptitle{
- font-size: 40px !important;
- top: 80px !important;
- }
- .productTip .row-item,.productTip .header-item{
- font-size: 30px !important;
- }
- .ballLight{
- width: 110px;
- height: auto;
- z-index: 999 !important;
- left: 170px;
- top: 80px;
- }
- .ballLight2{
- width: 150px;
- height: auto;
- z-index: 999 !important;
- left: 170px;
- top: 190px;
- }
- .ss{
- width: 100px !important;
- height: 100px !important;
- background-color: #32edaa !important;
- color: yellow !important;
- }
- /* 公共css */
- /* 宽高纵横比 */
- i{
- font-style:normal !important;
- }
- .aspect-auto {
- aspect-ratio: auto;
- }
- .aspect-square {
- aspect-ratio: 1 / 1;
- }
- .aspect-video {
- aspect-ratio: 16 / 9;
- }
- /* aspect-[4/3] */
- /* 居中 */
- .mx-auto {
- margin: 0 auto;
- }
- /* 设置容器内的列数/每列距离 */
- .columns-1 {
- columns: 1;
- }
- /* columns-[20px] */
- /* 盒子模型 */
- .box-border {
- box-sizing: border-box;
- }
- .box-content {
- box-sizing: content-box;
- }
- /* 消失 */
- .hidden {
- display: none;
- }
- /* 块级元素 */
- .block {
- display: block;
- }
- /* 行内块 */
- .inline-block {
- display: inline-block;
- }
- /* 行内元素 */
- .inline {
- display: inline;
- }
- /* 弹性布局 */
- .flex {
- display: flex;
- }
- /* 主轴起点在左边 */
- .flex-row {
- flex-direction: row;
- }
- /* 主轴起点在右边 */
- .flex-row-reverse {
- flex-direction: row-reverse;
- }
- /* 主轴竖向排列,在上面 */
- .flex-col {
- flex-direction: column;
- }
- /* 主轴竖向排列,在下面 */
- .flex-col-reverse {
- flex-direction: column-reverse;
- }
- /* 自动换行 */
- .flex-wrap {
- flex-wrap: wrap;
- }
- /* 自动换行下起点 */
- .flex-wrap-reverse {
- flex-wrap: wrap-reverse;
- }
- /* 不换行 */
- .flex-nowrap {
- flex-wrap: nowrap;
- }
- /* 弹性成长 */
- .grow {
- flex-grow: 1;
- }
- /* 不允许弹性成长 */
- .grow-0 {
- flex-grow: 0;
- }
- /* 主轴从左开始 */
- .justify-start {
- justify-content: flex-start;
- }
- /* 主轴从右开始 */
- .justify-end {
- justify-content: flex-end;
- }
- /* 主轴剧中 */
- .justify-center {
- justify-content: center;
- }
- /* 主轴两端无间隔 */
- .justify-between {
- justify-content: space-between;
- }
- /* 主轴两端有间隔 */
- .justify-around {
- justify-content: space-around;
- }
- /* 所有间隔相等 */
- .justify-evenly {
- justify-content: space-evenly;
- }
- /* 纵向起点最上方 */
- .items-start {
- align-items: flex-start;
- }
- /* 纵向起点最下方 */
- .items-end {
- align-items: flex-end;
- }
- .items-center {
- align-items: center;
- }
- /* 网格布局 */
- .grid {
- display: grid;
- }
- /* 有几列 */
- .grid-cols-4 {
- grid-template-columns: repeat(4, minmax(0, 1fr));
- grid-template-columns: repeat(4, 1fr);
- }
- /* 有几行 */
- .grid-rows-3 {
- grid-template-rows: repeat(3, minmax(0, 1fr));
- grid-template-rows: repeat(3, 1fr);
- }
- /* 容器中的内容上下布局 */
- .grid-center {
- align-items: center;
- }
- /* 间距 */
- .gap-7 {
- gap: 1.75rem;
- }
- /* 允许弹性成长 */
- .shrink {
- flex-shrink: 1;
- }
- /* 不允许弹性成长 */
- .shrink-0 {
- flex-shrink: 0;
- }
- /* 不允许成长也不允许收缩 */
- .flex-none {
- flex: none;
- }
- /* 浮动布局 */
- .float-right {
- float: right;
- }
- .float-left {
- float: left;
- }
- .clear-both {
- clear: both;
- }
- /* 溢出 */
- .overflow-auto {
- overflow: auto;
- }
- .overflow-hidden {
- overflow: hidden;
- }
- .overflow-scroll {
- overflow: scroll;
- }
- .overflow-x-auto {
- overflow-x: auto;
- }
- .overflow-y-auto {
- overflow-y: auto;
- }
- /* 定位 */
- .fixed {
- position: fixed;
- }
- .absolute {
- position: absolute;
- }
- .relative {
- position: relative;
- }
- .top-0 {
- top: 0px;
- }
- .right-0 {
- right: 0px;
- }
- .bottom-0 {
- bottom: 0px;
- }
- .left-0 {
- left: 0px;
- }
- /* top-[3px] */
- /* z-[100] */
- /* 显示隐藏未脱离文档流 */
- .visible {
- visibility: visible;
- }
- .invisible {
- visibility: hidden;
- }
- /* 内边距 */
- .p-0 {
- padding: 0px;
- }
- .px-0 {
- padding-left: 0px;
- padding-right: 0px;
- }
- .py-0 {
- padding-top: 0px;
- padding-bottom: 0px;
- }
- .pt-0 {
- padding-top: 0px;
- }
- .pr-0 {
- padding-right: 0px;
- }
- .pb-0 {
- padding-bottom: 0px;
- }
- .pl-0 {
- padding-left: 0px;
- }
- /* p-[5px] */
- /* 外边距 */
- .m-0 {
- margin: 0px;
- }
- .mx-0 {
- margin-left: 0px;
- margin-right: 0px;
- }
- .my-0 {
- margin-top: 0px;
- margin-bottom: 0px;
- }
- .mt-0 {
- margin-top: 0px;
- }
- .mr-0 {
- margin-right: 0px;
- }
- .mb-0 {
- margin-bottom: 0px;
- }
- .ml-0 {
- margin-left: 0px;
- }
- /* m-[5px] */
- /* 宽度 */
- .w-full {
- width: 100%;
- }
- .w-screen {
- width: 100vw;
- }
- /* w-[32rem] */
- /* min-w-[50%] */
- /* max-w-[50%] */
- /* 高度 */
- .h-full {
- height: 100%;
- }
- .h-screen {
- height: 100vh;
- }
- /* h-[32rem] */
- /* min-h-[50%] */
- /* max-h-[32rem] */
- /* 字体 */
- .text-xs {
- font-size: 0.75rem; /* 12px */
- line-height: 1rem; /* 16px */
- }
- .text-sm {
- font-size: 0.875rem; /* 14px */
- line-height: 1.25rem; /* 20px */
- }
- .text-base {
- font-size: 1rem; /* 16px */
- line-height: 1.5rem; /* 24px */
- }
- .text-lg {
- font-size: 1.125rem; /* 18px */
- line-height: 1.75rem; /* 28px */
- }
- .text-xl {
- font-size: 1.25rem; /* 20px */
- line-height: 1.75rem; /* 28px */
- }
- .text-2xl {
- font-size: 1.5rem; /* 24px */
- line-height: 2rem; /* 32px */
- }
- .text-3xl {
- font-size: 1.875rem; /* 30px */
- line-height: 2.25rem; /* 36px */
- }
- .text-4xl {
- font-size: 2.25rem; /* 36px */
- line-height: 2.5rem; /* 40px */
- }
- .text-5xl {
- font-size: 3rem; /* 48px */
- line-height: 1;
- }
- .text-6xl {
- font-size: 3.75rem; /* 60px */
- line-height: 1;
- }
- .text-7xl {
- font-size: 4.5rem; /* 72px */
- line-height: 1;
- }
- .text-8xl {
- font-size: 6rem; /* 96px */
- line-height: 1;
- }
- .text-9xl {
- font-size: 8rem; /* 128px */
- line-height: 1;
- }
- /* text-[14px] */
- /* 字体粗细font-weight */
- /* font-[1100] */
- /* https://tailwindcss.com/docs/font-weight */
- /* 字体间距letter-spacing */
- /* tracking-[.25em] */
- /* 行高line-height */
- /* leading-[3rem] */
- /* 无列表样式 */
- .list-none {
- list-style-type: none;
- }
- /* 小圆点 */
- .list-disc {
- list-style-type: disc;
- }
- /* 数字列表 */
- .list-decimal {
- list-style-type: decimal;
- }
- .text-left {
- text-align: left;
- }
- .text-center {
- text-align: center;
- }
- .text-right {
- text-align: right;
- }
- /* 所有文本头尾对齐 */
- .text-justify {
- text-align: justify;
- }
- /* 文本颜色 */
- /* text-[#50d71e] */
- /* https://tailwindcss.com/docs/text-color */
- /* 下划线 */
- .underline {
- text-decoration-line: underline;
- }
- /* 上划线 */
- .overline {
- text-decoration-line: overline;
- }
- /* 中划线 */
- .line-through {
- text-decoration-line: line-through;
- }
- /* 无划线 */
- .no-underline {
- text-decoration-line: none;
- }
- /* 全小写 */
- .lowercase {
- text-transform: lowercase;
- }
- /* 全大写 */
- .uppercase {
- text-transform: uppercase;
- }
- /* 首字母大写 */
- .capitalize {
- text-transform: capitalize;
- }
|