list.wxss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. page {
  2. background-color: #f2f2f2;
  3. }
  4. .tab-item {
  5. width: 100%;
  6. box-sizing: border-box;
  7. background-color: #fff;
  8. flex-direction: row;
  9. display: flex;
  10. justify-content: space-around;
  11. align-items: center;
  12. }
  13. .tab-item .item {
  14. height: 80rpx;
  15. font-size: 32rpx;
  16. flex-direction: row;
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. }
  21. .tab-item .item-checked {
  22. color: #6784f4;
  23. border-bottom: 2rpx #6784f4 solid;
  24. }
  25. scroll-view {
  26. width: 100%;
  27. height: 93vh;
  28. box-sizing: border-box;
  29. flex-direction: column;
  30. display: flex;
  31. padding: 20rpx 30rpx 0rpx 30rpx;
  32. }
  33. .list-item {
  34. width: 100%;
  35. height: 200rpx;
  36. padding: 20rpx 30rpx 20rpx 30rpx;
  37. box-sizing: border-box;
  38. flex-direction: column;
  39. display: flex;
  40. justify-content: space-between;
  41. background-color: #fff;
  42. border-radius: 10rpx;
  43. margin-bottom: 20rpx;
  44. position: relative;
  45. }
  46. .list-item .title {
  47. width: 500rpx;
  48. font-size: 28rpx;
  49. color: #666;
  50. white-space: nowrap;
  51. overflow: hidden;
  52. text-overflow: ellipsis;
  53. }
  54. .list-item .tag{
  55. flex-direction: row;
  56. display: flex;
  57. justify-content: center;
  58. align-items: center;
  59. font-size: 28rpx;
  60. color: rgb(31, 96, 236);
  61. position: absolute;
  62. right: 30rpx;
  63. top: 20rpx;
  64. }