123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- .container {
- display: flex;
- flex-direction: column;
- height: 100vh;
- background-color: #f5f5f5;
- }
- .custom-nav {
- display: flex;
- align-items: center;
- height: 90rpx;
- margin-bottom: 20rpx;
- background-color: #2E82FF;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 1000;
- padding: 0 20rpx;
- padding-top: 44px;
- }
- .back-icon {
- width: 16px;
- height: 16px;
- vertical-align: middle;
- }
- .nav-title {
- flex: 1;
- text-align: center;
- font-size: 34rpx;
- color: #fff;
- }
- .notice-list {
- flex: 1;
- padding: 20rpx 40rpx;
- border-radius: 32px;
- padding-top: 190rpx;
- }
- .notice-item {
- display: flex;
- background-color: white;
- border-radius: 16rpx;
- padding: 30rpx 20rpx;
- margin-bottom: 20rpx;
- position: relative;
- box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
- width: 90%;
- margin-left: auto;
- margin-right: auto;
- }
- .notice-left {
- margin-right: 20rpx;
- }
- .notice-icon {
- width: 80rpx;
- height: 80rpx;
- }
- .notice-content {
- flex: 1;
- overflow: hidden;
- padding-right: 80rpx;
- }
- .notice-title {
- font-size: 32rpx;
- font-weight: 500;
- margin-bottom: 10rpx;
- color: #333;
- }
- .notice-desc {
- font-size: 28rpx;
- color: #666;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- line-height: 1.4;
- }
- .notice-date {
- font-size: 24rpx;
- color: #999;
- position: absolute;
- top: 30rpx;
- right: 20rpx;
- }
- .notice-footer {
- text-align: center;
- font-size: 24rpx;
- color: #999;
- padding: 20rpx 0;
- margin-bottom: 20rpx;
- }
|