.my-province { position: relative; } .my-province span { line-height: normal; color: #f03; font-size: 14px; margin-right: 5px; } .my-province i { margin-left: 5px; font-size: 12px; color: #e6e6e6; } .my-province div { display: none; width: 286px; position: absolute; top: 30px; z-index: 100; background-color: #fff; border: 1px solid #e6e6e6; padding: 10px; } .my-province div .icon-play { transform: rotate(-90deg); position: absolute; top: -10px; } .my-province div ul { width: 100%; padding: 0; list-style: none; display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; margin: 0; } .my-province div ul > li:last-child { color: #f03; } .my-province div ul li { padding: 5px; width: 60px; margin: 3px; box-sizing: border-box; } .my-province div ul li:hover { background-color: #f6f6f6; border: 5px; } .my-search { margin: 32px 30px 0 0; } .my-search div { display: flex; align-items: center; border: 1px solid #aaa; border-radius: 5px; padding: 0 0 0 5px; overflow: hidden; max-width: 300px; } .my-search div select { border: 0; outline: none; border-right: 1px solid #e6e6e6 !important; height: 34px; box-sizing: border-box; border-right: 0; } .my-search div input { border: 0; outline: none; padding: 5px; height: 34px; box-sizing: border-box; border-left: 0; width: 100%; } .my-search div label { display: block; margin: 0; height: 34px; box-sizing: border-box; color: #0099CC !important; line-height: 34px; padding: 0 10px; color: #fff; } textarea { resize: none; } @keyframes nav { from { height: 0; } to { height: calc(100vh - 90px); } } @-webkit-keyframes nav { /* Safari and Chrome */ from { height: 0; } to { height: calc(100vh - 90px); } } @-moz-keyframes nav { /* Safari and Chrome */ from { height: 0; } to { height: calc(100vh - 90px); } } @keyframes navc { from { height: calc(100vh - 90px); } to { height: 0; } } @-webkit-keyframes navc { /* Safari and Chrome */ from { height: calc(100vh - 90px); } to { height: 0; } } @-moz-keyframes navc { /* Safari and Chrome */ from { height: calc(100vh - 90px); } to { height: 0; } } .show { display: block !important; } .noshow { display: none !important; } body { height: 100vh; overflow-y: scroll; } body a { text-decoration: none; color: #777; } body a:hover { color: #03C762; text-decoration: none; cursor: pointer; } body::-webkit-scrollbar { /*滚动条整体样式*/ width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ height: 10px; } body::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); background: #999; } body::-webkit-scrollbar-thumb:hover { background: #03C762; } body::-webkit-scrollbar-track { /*滚动条里面轨道*/ -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); border-radius: 10px; background: #eee; } .header { width: 100%; border-bottom: 1px solid #f1f1f1; background-color: #fff; position: fixed; z-index: 1000; } .header .my-province { margin-left: 5px; margin-top: 20px; } @media screen and (max-width: 768px) { .header .my-province { display: none; } } .header .ha-item { margin-top: 10px; height: 70px; } .header .ha-item .img { height: 100%; } .header .ha-item .img span { font-size: 30px; font-weight: bold; color: #03C762; display: block; line-height: 70px; } .header .ha-item .img img { height: 100%; } .header .ha-item .button { display: none; } @media screen and (max-width: 768px) { .header .ha-item .button { display: block; } } .header .ha-item .button .button { color: #03C762; padding: 10px; border: 2px solid #03C762; margin-top: 13px; text-align: center; font-size: 20px; border-radius: 5px; } @media screen and (max-width: 768px) { .header .ha-item .my-search { display: none; } } .header .ha-item .app { height: 100%; text-align: center; position: relative; } @media screen and (max-width: 768px) { .header .ha-item .app { display: none; } } .header .ha-item .app a { text-decoration: none; color: #03C762; } .header .ha-item .app a img { width: 50px; } .header .ha-item .app div { position: absolute; right: 0px; } .header .hb-item { box-sizing: border-box; } .header .hb-item .nav { box-sizing: border-box; width: 100%; display: flex; justify-content: flex-start; align-content: center; } @media screen and (max-width: 768px) { .header .hb-item .nav { display: none; } } .header .hb-item .nav > .nav-item > a.active { color: #03C762; } .header .hb-item .nav .nav-item { padding: 0 20px; } .header .hb-item .nav .nav-item a { color: #777; font-weight: bold; text-decoration: none; line-height: 40px; display: table-cell; vertical-align: bottom; font-size: 18px; } .header .hb-item .nav .nav-item a i { margin-left: 5px; font-size: 12px; color: #e6e6e6; } .header .hb-item .nav .nav-item a:hover { color: #03C762; } .header .hb-item .nav .nav-item .nav-ul { display: none; overflow: hidden; padding: 0; position: absolute; z-index: 1; background-color: #fff; overflow: auto !important; } .header .hb-item .nav .nav-item .nav-ul .nav-li { width: 100px; padding: 10px; list-style: none; } .header .hb-item .nav .nav-item .nav-ul .nav-li:hover { background-color: #03C762; } .header .hb-item .nav .nav-item .nav-ul .nav-li:hover a { color: #fff; } .header .hb-item .nav .nav-item .nav-ul .nav-li a { color: #777; line-height: 15px; font-size: small; } #nav-sm { position: fixed; z-index: 99; width: 100vw; overflow-y: scroll; box-sizing: border-box; background-color: #fff; margin-top: 80px; padding: 0 0 0 22px; } #nav-sm .my-province { padding: 20px 0; } #nav-sm .my-province div { top: 50px; } #nav-sm .search { padding: 20px 0; border-bottom: 1px solid #e6e6e6; } #nav-sm .search .my-search { margin: 0; } @media screen and (max-width: 768px) { #nav-sm { border-top: 1px solid #eee; } } #nav-sm::-webkit-scrollbar { height: 0; } #nav-sm > ul > li > a.active { color: #03C762; } #nav-sm ul { padding-inline-start: 0; } #nav-sm ul li { list-style-type: none; } #nav-sm ul li a { font-weight: bold; font-size: 20px; font-size: 16px; line-height: 40px; color: #555; text-decoration: none; } #nav-sm ul li a:hover { color: #03C762; } #nav-sm ul li .nav-sm-ul { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; padding: 0; } #nav-sm ul li .nav-sm-ul .nav-sm-li { padding: 0 10px; } #nav-sm ul li .nav-sm-ul .nav-sm-li a { font-size: 14px; font-weight: normal; } .nav-sm-noheight { height: 0px; } .nav-sm-show { height: calc(100vh - 80px); animation: nav 0.5s; -webkit-animation: nav 0.5s normal; -moz-animation: nav 0.5s; } .nav-sm-noshow { height: 0px; animation: navc 0.5s; -webkit-animation: navc 0.5s normal; -moz-animation: navc 0.5s; } .body { background-color: #fff; max-width: 1200px; min-height: 700px; overflow: hidden; position: relative; padding: 10px 15px 15px; margin: 141px 20px 20px; } .body .my-loading { text-align: center; color: #999; display: none; } .body .my-read { margin-top: 20px; text-align: center; } .body .my-read .good { border-radius: 5px; border: 1px solid #e6e6e6; display: inline-block; padding: 5px 30px; margin-bottom: 10px; } .body .my-search { margin: 10px 0; } .body .my-articles ul { width: 100%; border-top: 1px solid #e6e6e6; padding: 0; list-style: none; overflow: hidden; } .body .my-articles ul li { color: #777; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; padding: 5px 0px; } .body .my-articles ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; background-color: #000; transform: translateY(-2px); margin-right: 5px; border-radius: 50%; } .body .my-comment .h5 { display: flex; justify-content: space-between; align-content: center; } .body .my-comment .remind { text-align: center; background-color: #e6e6e6; padding: 5px; border-radius: 5px; margin: 10px 0px; } .body .my-comment .comment { border-top: 1px solid #e6e6e6; padding-top: 10px; } .body .my-comment .comment .nocomment, .body .my-comment .comment .loading, .body .my-comment .comment .nodata { display: none; text-align: center; margin: 10px; } .body .my-comment .comment .nocomment { display: block; padding-bottom: 10px; } .body .my-comment .comment .nocomment:hover { color: #03C762; } .body .my-comment .comment .user { width: 100%; padding: 20px 0; border-bottom: 1px solid #e6e6e6; display: grid; grid-template-columns: 10% 90%; } .body .my-comment .comment .user .u-img { width: 100%; text-align: center; } .body .my-comment .comment .user .u-img .img { width: 100%; max-width: 64px; } .body .my-comment .comment .user .u-content { margin-left: 10px; text-align: justify; } .body .my-comment .comment .user .u-content .u-name { font-size: 16px; } .body .my-comment .comment .user .u-content .u-detail { padding: 5px 0px; } .body .my-comment .comment .user .u-content .u-flex { display: flex; justify-content: space-between; align-items: center; } .body .my-nav { border-bottom: 1px solid #e6e6e6; } .body .my-nav::after { display: block; content: ''; clear: both; } .body .my-nav ul { list-style: none; padding: 0; } .body .my-nav ul li { float: left; padding: 5px; margin: 0px 5px; color: #777; } .body .my-nav ul .active { color: black; border-bottom: 3px solid #03C762; font-weight: bold; } .body .my-list .list-item { text-decoration: none; color: black; display: flex; justify-content: flex-start; align-items: start; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid #e6e6e6; } .body .my-list .list-item:hover { color: #03C762; } .body .my-list .list-item .item-img { flex: 1; padding: 0 20px; } @media screen and (max-width: 768px) { .body .my-list .list-item .item-img { padding: 0 10px; } } .body .my-list .list-item .item-img img { width: 100%; border-radius: 5px; } .body .my-list .list-item .item-img img:hover { transform: scale(1.1); } .body .my-list .list-item .item-detail { flex: 4; height: 100%; position: relative; overflow: hidden; } @media screen and (max-width: 768px) { .body .my-list .list-item .item-detail { flex: 2; } } .body .my-list .list-item .item-detail .title { font-weight: 400; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 16px; } .body .my-list .list-item .item-detail .time { font-size: 12px; color: #777; margin-top: 5px; } .body .my-list .list-item .item-detail .time span { margin-left: 5px; } @media screen and (max-width: 768px) { .body { padding: 0px; border-radius: 10px 10px 0 0; margin: 100px 20px 20px; } } .footer { width: 100%; box-sizing: border-box; overflow: hidden; background-color: #fff; border-top: 1px solid #f1f1f1; text-align: center; color: #777; } .footer p { margin: 0; padding: 20px 0px 0px; } .footer > p:last-child { padding-bottom: 50px; } #top { position: fixed; bottom: 80px; right: 20px; padding: 20px; z-index: 1000; color: #fff; background-color: rgba(98, 96, 96, 0.3); border-radius: 10px; } #share { position: fixed; top: 60vh; right: 0px; box-sizing: border-box; display: flex; } @media screen and (max-width: 768px) { #share { display: none; } } #share > div:first-child { height: 132px; box-sizing: border-box; background-color: #03C762; color: #fff; font-size: 15px; width: 30px; letter-spacing: 10px; text-align: center; line-height: 30px; border-radius: 5px 0 0 5px; writing-mode: vertical-lr; /*从左向右 从右向左是 writing-mode: vertical-rl;*/ writing-mode: tb-lr; /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/ } #share ul { width: 0px; height: 132px; border: 1px solid #aaa; border-right: none; list-style: none; padding: 0; box-sizing: border-box; background-color: #fff; } #share ul > li:first-child { background-color: #c6c6c6; line-height: 26px; font-weight: bold; } #share ul li { padding: 5px 10px; width: 100px; vertical-align: middle; } #share ul li img { width: 20px; vertical-align: middle; margin-right: 5px; } #share ul li:hover:not(ul>li:first-child) { background-color: #e6e6e6; } #share #qrcode { width: 180px; box-sizing: border-box; box-shadow: 0px 0px 5px #999; display: none; position: absolute; background-color: #fff; top: -210px; border-radius: 5px; right: 140px; } #share #qrcode::before { display: block; content: "微信扫一扫:分享"; line-height: 30px; font-size: 12px; text-align: center; background-color: #e6e6e6; } #share #qrcode img { margin: auto; padding: 20px 0; } #share #qrcode .wei { text-align: center; } #toast { display: none; position: fixed; top: 0; left: 0; z-index: 100; width: 100vw; height: 100vh; background-color: rgba(29, 27, 27, 0.5); text-align: center; } #toast > div { background-color: #fff; position: absolute; padding: 5px; border-radius: 5px; width: 200px; left: calc(50vw - 100px); top: 30vh; } #download { position: fixed; bottom: 0px; width: 100vw; display: none; justify-content: space-between; align-items: center; background-color: rgba(1, 1, 1, 0.5); padding: 5px 10px; color: #fff; z-index: 1000; } #download .left { width: 200px; } #download .left::before { display: block; content: ''; clear: both; } #download .left img, #download .left div { float: left; } #download .left img { width: 50px; } #download .left div { margin-left: 10px; } #download .left .row1 { margin-bottom: 10px; } @media screen and (max-width: 768px) { #download { display: flex; } } #imglist { display: none; overflow: scroll; position: fixed; width: 100vw; box-sizing: border-box; height: 100vh; top: 0; z-index: 1000; background-color: #fff; } #imglist::-webkit-scrollbar { /*滚动条整体样式*/ width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ height: 5px; } #imglist::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); background: #999; } #imglist::-webkit-scrollbar-thumb:hover { background: #03C762; } #imglist::-webkit-scrollbar-track { /*滚动条里面轨道*/ -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); border-radius: 10px; background: #eee; } #imglist p { position: fixed; bottom: 5px; width: 100%; text-align: center; } #imglist span { display: block; position: fixed; right: 20px; top: 10px; width: 35px; height: 115px; background-color: #000; padding: 5px; border-radius: 5px; } #imglist span img { width: 25px; position: relative !important; margin: 5px 0; } #imglist div { line-height: 100%; position: relative; width: 100%; height: 100%; } #imglist div img { position: absolute; } #imglist div .glyphicon { position: fixed; color: #000; width: 20%; max-width: 50px; height: 100px; border-radius: 5px; text-align: center; line-height: 100px; margin-top: calc(50vh - 50px); } #imglist div .glyphicon:hover { background-color: rgba(247, 237, 237, 0.5); } #imglist div .left { left: 50px; } @media screen and (max-width: 768px) { #imglist div .left { left: 10px; } } #imglist div .right { right: 50px; } @media screen and (max-width: 768px) { #imglist div .right { right: 10px; } }