| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- /* pages/news/newList.wxss */
- .news_nav {
- height: 88rpx;
- display: flex;
- position: relative;
- border-bottom: 1px solid #f8f8f8;
- z-index: 1;
- background-color: #ffffff;
- justify-content: space-between;
- }
- .news_nav_item {
- width: 50%;
- flex: auto;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .news_nav_item view {
- display: inline-block;
- flex: none;
- position: relative;
- font-size: 30rpx;
- color: #999999;
- line-height: 88rpx;
- }
- .news_nav_item text {
- display: inline-block;
- font-size: 18rpx;
- color: #ffffff;
- background-color: #D0021B;
- border-radius: 100rpx;
- min-width: 24rpx;
- line-height: 24rpx;
- text-align: center;
- margin-left: 10rpx;
- }
- .news_nav_item.sec view {
- color: var(--color);
- }
- .news_nav_item.sec view::before {
- content: "";
- position: absolute;
- bottom: 0;
- left: 50%;
- width: 100rpx;
- display: block;
- height: 4rpx;
- margin: 0 -50rpx;
- background-color: var(--color);
- border-radius: 4rpx;
- }
- .news_list {
- padding: 30rpx;
- }
- .news_item {
- background-color: #ffffff;
- border-radius: 12rpx;
- margin-bottom: 30rpx;
- padding: 20rpx;
- }
- .news_item_tit {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .news_item_icon {
- flex: none;
- width: 12rpx;
- height: 12rpx;
- border-radius: 100rpx;
- display: block;
- background-color: #D0021B;
- margin-right: 14rpx;
- }
- .news_item_name {
- flex: auto;
- width: 100%;
- font-size: 28rpx;
- color: #333333;
- }
- .news_item_time {
- flex: none;
- width: auto;
- font-size: 24rpx;
- color: #999999;
- }
- .news_item_txt {
- font-size: 28rpx;
- color: #666666;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding-top: 20rpx;
- }
- .news_item_open .news_item_txt {
- white-space: normal;
- }
- .news_empty {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- background-color: #ffffff;
- }
- .news_empty_mid {
- text-align: center;
- width: 442rpx;
- }
- .news_empty_mid image {
- width: 442rpx;
- height: 194rpx;
- }
- .news_empty_mid view {
- font-size: 26rpx;
- color: #999999;
- }
|