global.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .text-center {
  2. text-align: center;
  3. }
  4. .font-13 {
  5. font-size: 13px;
  6. }
  7. .font-12 {
  8. font-size: 12px;
  9. }
  10. .font-11 {
  11. font-size: 11px;
  12. }
  13. .text-grey1 {
  14. color: #888;
  15. }
  16. .text-grey2 {
  17. color: #aaa;
  18. }
  19. .list-cell-arrow::before {
  20. content: ' ';
  21. height: 10px;
  22. width: 10px;
  23. border-width: 2px 2px 0 0;
  24. border-color: #c0c0c0;
  25. border-style: solid;
  26. -webkit-transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
  27. transform: matrix(0.5, 0.5, -0.5, 0.5, 0, 0);
  28. position: absolute;
  29. top: 50%;
  30. margin-top: -6px;
  31. right: 30rpx;
  32. }
  33. .list-cell {
  34. position: relative;
  35. width: 100%;
  36. box-sizing: border-box;
  37. background-color: #fff;
  38. color: #333;
  39. padding: 26rpx 30rpx;
  40. }
  41. .list-cell:first-child {
  42. border-radius: 8rpx 8rpx 0 0;
  43. }
  44. .list-cell:last-child {
  45. border-radius: 0 0 8rpx 8rpx;
  46. }
  47. .list-cell::after {
  48. content: '';
  49. position: absolute;
  50. border-bottom: 1px solid #eaeef1;
  51. -webkit-transform: scaleY(0.5) translateZ(0);
  52. transform: scaleY(0.5) translateZ(0);
  53. transform-origin: 0 100%;
  54. bottom: 0;
  55. right: 0;
  56. left: 0;
  57. pointer-events: none;
  58. }
  59. .menu-list {
  60. margin: 0.625rem 0.625rem;
  61. .menu-item-box {
  62. width: 100%;
  63. display: flex;
  64. align-items: center;
  65. .title {
  66. width: 80%;
  67. white-space: nowrap;
  68. overflow: hidden; //超出的文本隐藏
  69. text-overflow: ellipsis; //溢出用省略号显示
  70. }
  71. .content {
  72. width: 20%;
  73. text-align: right;
  74. white-space: nowrap;
  75. overflow: hidden; //超出的文本隐藏
  76. text-overflow: ellipsis; //溢出用省略号显示
  77. }
  78. .menu-icon {
  79. color: #007AFF;
  80. font-size: 16px;
  81. margin-right: 5px;
  82. }
  83. .text-right {
  84. margin-left: auto;
  85. margin-right: 34rpx;
  86. color: #999;
  87. }
  88. }
  89. }