123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- page {
- .swiper {
- height: 600rpx;
- .slide-image {
- width: 100%;
- height: 98%;
- }
- }
- .rankingTitle {
- width: 100%;
- display: flex;
- justify-content: space-between;
- margin: 20rpx 0;
- font-weight: bold;
- .title {}
- .tabs {
- margin: 0;
- padding: 0;
- text {
- font-size: 25rpx;
- padding: 6rpx 28rpx;
- border-radius: 25rpx;
- margin: 0 10rpx;
- }
- .actvice {
- background: #B7D173;
- color: white;
- }
- }
- }
- .rankingContent {
- width: 100%;
- height: 250rpx;
- display: flex;
- justify-content: space-between;
- .rankingCard {
- width: 32%;
- height: 100%;
- color: white;
- border-radius: 15rpx;
- view {
- overflow: hidden; //超出的文本隐藏
- text-overflow: ellipsis; //溢出用省略号显示
- white-space: nowrap; //溢出不换行
- }
- padding: 20rpx;
- .ranking {
- width: 40rpx;
- height: 40rpx;
- text-align: center;
- line-height: 40rpx;
- border-radius: 5rpx;
- font-size: 27.17rpx;
- font-weight: bold;
- }
- .title {
- font-size: 25rpx;
- font-weight: bold;
- }
- .content {
- font-size: 20rpx;
- }
- }
- }
- .tabs {
- display: flex;
- justify-content: space-between;
- .tabIndex {
- font-weight: bold;
- border-bottom: #B7D173 4rpx solid;
- border-radius: 50%;
- padding-bottom: 5rpx;
- }
- }
- .card {
- width: 100%;
- display: flex;
- margin: 50rpx 0;
- justify-content: space-between;
- height: 250rpx;
- .image {
- width: 40%;
- height: 100%;
- // background: greenyellow;
- image {
- width: 100%;
- height: 100%;
- border-radius: 15rpx;
- }
- }
- .content {
- width: 58%;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- .title {
- font-weight: bold;
- overflow: hidden; //超出的文本隐藏
- text-overflow: ellipsis; //溢出用省略号显示
- white-space: nowrap; //溢出不换行
- }
- .detail {
- font-size: 25rpx;
- color: gray;
- word-wrap: break-word;
- }
- .tabs {
- .score {
- font-size: 25rpx;
- color: gray;
- }
- text {
- font-size: 20rpx;
- padding: 5rpx 10rpx;
- border-radius: 20rpx;
- background: #e8f5c5;
- color: #B7D173;
- margin: 10rpx;
- }
- }
- .bottom {
- .prive {
- font-size: 30rpx;
- font-weight: bold;
- color: orange;
- }
- .range {
- font-size: 25rpx;
- color: gray;
- }
- }
- }
- }
- }
|