index.scss 1007 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .item {
  2. width: 100vw;
  3. margin-bottom: 20rpx;
  4. background-color: #ffffff;
  5. .top {
  6. display: flex;
  7. align-items: center;
  8. justify-content: space-between;
  9. height: 80rpx;
  10. width: 100%;
  11. border-bottom: 1rpx solid #ddd;
  12. box-sizing: border-box;
  13. padding-right: 30rpx;
  14. font-size: 28rpx;
  15. padding-left: 30rpx;
  16. box-sizing: border-box;
  17. }
  18. .content {
  19. position: relative;
  20. padding-bottom: 20rpx;
  21. padding-left: 30rpx;
  22. box-sizing: border-box;
  23. .num {
  24. height: 40rpx;
  25. line-height: 40rpx;
  26. font-size: 28rpx;
  27. color: #333333;
  28. padding: 20rpx 0;
  29. }
  30. .exp {
  31. line-height: 34rpx;
  32. font-size: 24rpx;
  33. margin-bottom: 8rpx;
  34. color: #999999;
  35. }
  36. }
  37. }
  38. /* 文本行数限制 */
  39. .line-1 {
  40. overflow: hidden;
  41. white-space: nowrap;
  42. text-overflow: ellipsis;
  43. }