index.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .item {
  2. width: 100vw;
  3. padding-left: 30rpx;
  4. box-sizing: border-box;
  5. margin-bottom: 20rpx;
  6. background-color: #ffffff;
  7. .top {
  8. display: flex;
  9. align-items: center;
  10. justify-content: space-between;
  11. height: 80rpx;
  12. width: 100%;
  13. border-bottom: 1rpx solid #ddd;
  14. box-sizing: border-box;
  15. padding-right: 30rpx;
  16. .tags {
  17. text {
  18. display: inline-block;
  19. height: 40rpx;
  20. line-height: 40rpx;
  21. background: #E7EEFF;
  22. border-radius: 20rpx;
  23. padding: 0 15rpx;
  24. font-size: 20rpx;
  25. color: #3874F6;
  26. margin-right: 10rpx;
  27. }
  28. }
  29. .statu {
  30. font-size: 28rpx;
  31. }
  32. }
  33. .content {
  34. position: relative;
  35. .num {
  36. font-size: 28rpx;
  37. color: #333333;
  38. padding: 20rpx 0;
  39. }
  40. .exp {
  41. height: 34rpx;
  42. font-size: 24rpx;
  43. margin-bottom: 8rpx;
  44. color: #999999;
  45. }
  46. .amount {
  47. position: absolute;
  48. font-size: 28rpx;
  49. color: #FF3B30;
  50. bottom: 0;
  51. right: 30rpx;
  52. }
  53. }
  54. .bottom {
  55. height: 72rpx;
  56. line-height: 72rpx;
  57. margin-top: 12rpx;
  58. border-top: 1rpx solid #ddd;
  59. box-sizing: border-box;
  60. padding-right: 30rpx;
  61. font-size: 24rpx;
  62. color: #666666;
  63. }
  64. }
  65. /* 文本行数限制 */
  66. .line-1 {
  67. overflow: hidden;
  68. white-space: nowrap;
  69. text-overflow: ellipsis;
  70. }