123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- .news_banner {
- width: 100%;
- height: 3.9rem;
- position: relative;
- padding-top: 0.8rem;
- }
- .news_banner img {
- width: 100%;
- height: 100%;
- /* object-fit: cover; */
- }
- .news_header_info {
- position: absolute;
- top: 0.8rem;
- left: 0;
- right: 0;
- bottom: 0;
- margin: auto;
- width: 13rem;
- height: 0.84rem;
- color: #333;
- }
- .news_header_title {
- font-size: 0.36rem;
- font-weight: 700;
- }
- .news_header_stitle {
- padding-top: 0.3rem;
- font-size: 0.16rem;
- }
- .news_info {
- padding-top: 0.93rem;
- padding-bottom: 0.5rem;
- background-color: #fff;
- }
- .news_main {
- position: relative;
- margin: 0 auto;
- width: 13rem;
- }
- .news_search {
- font-size: 0.14rem;
- text-align: right;
- }
- .header_content_right {
- position: relative;
- display: inline-block;
- width: 2.5rem;
- height: 0.3rem;
- border: 0.01rem solid #dcdee2;
- background-color: #fff;
- border-radius: 0.04rem;
- overflow: hidden;
- }
- #search_help {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0.4rem;
- line-height: 0.3rem;
- padding: 0 0.08rem;
- font-size: 0.14rem;
- border: none;
- color: #333;
- background-color: #fff;
- background-image: none;
- cursor: text;
- }
- #search_help::-webkit-input-placeholder,
- #search_help:-moz-placeholder,
- #search_help::-moz-placeholder,
- #search_help:-ms-input-placeholder {
- color: #c1c6cf;
- font-size: 0.14rem;
- }
- #search_help:focus {
- outline: none;
- }
- .search_box {
- position: absolute;
- top: 0;
- bottom: 0;
- right: 0;
- padding: 0.05rem 0.1rem;
- cursor: pointer;
- }
- .search_img {
- width: 0.14rem;
- height: 0.14rem;
- }
- .news_list {
- margin: 0 auto;
- font-size: 0.16rem;
- background-color: #fff;
- }
- .news_list_box {
- margin: 0 auto;
- width: 13rem;
- min-height: 3rem;
- }
- .news_list_item {
- margin-right: 0.27rem;
- margin-bottom: 0.3rem;
- display: inline-block;
- width: 4.1rem;
- background-color: #f8f8f8;
- box-shadow: 0 0 0.12rem 0 #0000001a;
- cursor: pointer;
- overflow: hidden;
- }
- .news_list_item:nth-child(3n) {
- margin-right: 0;
- }
- .news_list_item .news_item_img {
- width: 100%;
- height: 2.7rem;
- object-fit: cover;
- transition: all .3s ease-out;
- -webkit-transition: all .3s ease-out;
- }
- .news_list_item:hover .news_item_img {
- margin-left: -5%;
- width: 110%;
- height: 2.7rem;
- object-fit: cover;
- transition: all .3s ease-out;
- -webkit-transition: all .3s ease-out;
- }
- .news_list_item .news_item_title {
- margin: 0.1rem 0.16rem;
- height: 0.52rem;
- font-size: 0.18rem;
- font-weight: 700;
- line-height: 0.26rem;
- color: #333;
- text-overflow: -o-ellipsis-lastline;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- .news_list_item .news_item_stitle {
- margin: 0.1rem 0.16rem;
- font-size: 0.16rem;
- line-height: 0.32rem;
- color: #666;
- }
- .news_page_box {
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 0.2rem 0 0.5rem;
- font-size: 0.16rem;
- color: #333;
- background-color: #fff;
- }
- .news_page_box .news_page_prev {
- margin-left: 0.1rem;
- margin-right: 0.1rem;
- width: 0.4rem;
- height: 0.4rem;
- line-height: 0.4rem;
- text-align: center;
- transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
- -webkit-transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
- transform: rotateY(0.5turn);
- background: #ffffff;
- border: 1px solid #dddddd;
- cursor: pointer;
- }
- .news_page_box .news_page_prev.disabled {
- cursor: not-allowed;
- }
- .news_page_box .news_page_num {
- margin-left: 0.1rem;
- margin-right: 0.1rem;
- width: 0.4rem;
- height: 0.4rem;
- color: #333;
- line-height: 0.4rem;
- text-align: center;
- transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
- -webkit-transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
- background: #ffffff;
- border: 1px solid #dddddd;
- cursor: pointer;
- }
- .news_page_box .news_page_next {
- margin-left: 0.1rem;
- margin-right: 0.1rem;
- width: 0.4rem;
- height: 0.4rem;
- line-height: 0.4rem;
- text-align: center;
- transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
- -webkit-transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
- background: #ffffff;
- border: 1px solid #dddddd;
- cursor: pointer;
- }
- .news_page_box .news_page_next.disabled {
- cursor: not-allowed;
- }
- .news_page_box .news_page_prev img,
- .news_page_box .news_page_next img {
- display: inline-block;
- width: 0.2rem;
- vertical-align: middle;
- }
- .news_page_box > div:hover,
- .news_page_box .news_page_num.selected {
- background-color: #1D70F2;
- border: 1px solid #1D70F2;
- color: #fff;
- }
- .news_detail_box {
- padding: 0.73rem 0 0.84rem;
- background-color: #fff;
- }
- .news_detail_main {
- position: relative;
- margin: 0 auto;
- width: 13rem;
- }
- .news_detail_header {
- font-size: 0.16rem;
- border-bottom: 0.01rem dashed #ccc;
- text-align: center;
- }
- .news_detail_header .detail_title {
- font-size: 0.28rem;
- line-height: 0.5rem;
- color: #333;
- font-weight: 700;
- }
- .news_detail_header .detail_stitle {
- padding: 0.17rem 0 0.28rem;
- font-size: 0.16rem;
- color: #666;
- }
- .news_detail_content {
- padding-top: 0.2rem;
- font-size: 0.16rem;
- line-height: 0.48rem;
- color: #666;
- }
|