his.less 1.9 KB

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