list.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /* mHome/pages/bond/list/list.wxss */
  2. .top-view {
  3. position: sticky;
  4. top: 0px;
  5. z-index: 999;
  6. .title-view {
  7. margin: 10px;
  8. background-color: #f0f0f0;
  9. height: 80px;
  10. border-radius: 10px;
  11. display: flex;
  12. align-items: center;
  13. align-content: center;
  14. flex-direction: column;
  15. padding: 5px 10px;
  16. .title-view-up, .title-view-mid, .title-view-dwn {
  17. display: flex;
  18. flex-direction: row;
  19. justify-content: space-between;
  20. align-items: center;
  21. height: 50%;
  22. width: 100%;
  23. align-content: center;
  24. padding: 5px 0px;
  25. text {
  26. color: #666;
  27. font-size: 13px;
  28. }
  29. }
  30. .title-view-up {
  31. border-bottom: 1px solid #ddd;
  32. }
  33. }
  34. }
  35. .item-view {
  36. margin: 10px;
  37. border-radius: 10px;
  38. display: flex;
  39. align-items: center;
  40. align-content: center;
  41. flex-direction: column;
  42. padding: 5px 10px;
  43. border: 1px solid #ddd;
  44. .item-view-up, .item-view-mid, .item-view-dwn {
  45. display: flex;
  46. flex-direction: row;
  47. justify-content: space-between;
  48. align-items: center;
  49. height: 50%;
  50. width: 100%;
  51. align-content: center;
  52. height: 25px;
  53. text {
  54. color: #333;
  55. font-size: 13px;
  56. /*超出隐藏*/
  57. overflow: hidden;
  58. /*溢出不换行*/
  59. white-space: nowrap;
  60. /*溢出显示用省略号*/
  61. text-overflow: ellipsis;
  62. text-align: center;
  63. }
  64. :first-child {
  65. text-align: left;
  66. }
  67. :last-child {
  68. text-align: right;
  69. }
  70. }
  71. .item-view-up {
  72. border-bottom: 1px solid #ddd;
  73. padding-bottom: 5px;
  74. text {
  75. width: 25%;
  76. }
  77. }
  78. }
  79. .right {
  80. height: inherit;
  81. width: 130px;
  82. color: white;
  83. display: flex;
  84. .item {
  85. width: 65px;
  86. text-align: center;
  87. display: flex;
  88. justify-content: center;
  89. align-items: center;
  90. font-size: 12px;
  91. }
  92. }