global.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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: 15px 15px;
  61. .menu-item-box {
  62. width: 100%;
  63. display: flex;
  64. align-items: center;
  65. .menu-icon {
  66. color: #007AFF;
  67. font-size: 16px;
  68. margin-right: 5px;
  69. }
  70. .text-right {
  71. margin-left: auto;
  72. margin-right: 34rpx;
  73. color: #999;
  74. }
  75. }
  76. }
  77. .xy-card{
  78. background-color: #fff;
  79. border-radius: 12rpx;
  80. box-sizing: border-box;
  81. padding: 24rpx;
  82. }
  83. .require{
  84. position: relative;
  85. &::before{
  86. content: "*";
  87. position: absolute;
  88. left: -16rpx;
  89. color: #f56c6c;
  90. line-height: 40rpx;
  91. font-size: 40rpx;
  92. top: 6rpx;
  93. }
  94. }
  95. //iphone距离底部安全距离
  96. .safe-bottom{
  97. bottom:calc(24rpx + env(safe-area-inset-bottom) / 2)!important;
  98. }