reset.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /* #ifdef H5 */
  2. .uni-page-head {
  3. background-color: transparent !important;
  4. }
  5. /* #endif */
  6. /* #ifdef H5 */
  7. /* #endif */
  8. uni-page-body,
  9. body,
  10. html {
  11. height: auto;
  12. min-height: 100%;
  13. }
  14. body {
  15. -webkit-overflow-scrolling: touch;
  16. }
  17. // 修改uni-nav-bar样式
  18. .uni-navbar-header {
  19. line-height: 96px !important;
  20. height: 96px !important;
  21. }
  22. .uni-status-bar {
  23. height: auto !important;
  24. }
  25. .uni-navbar-container {
  26. display: flex !important;
  27. align-items: center !important;
  28. justify-content: center !important;
  29. }
  30. .uni-navbar-shadow {
  31. box-shadow: 0 0 6px 2px #ccc;
  32. }
  33. uni-picker .uni-picker-item {
  34. font-size: 30px;
  35. }
  36. .iconfont {
  37. display: inline-block;
  38. vertical-align: middle;
  39. }
  40. // 修改image的图片样式
  41. // image {
  42. // width: 100%;
  43. // height: auto;
  44. // display: block;
  45. // }
  46. // 修改radio大小
  47. .uni-radio-wrapper {
  48. .uni-radio-input {
  49. width: 42px;
  50. height: 42px;
  51. }
  52. .uni-radio-input-checked {
  53. background-color: $mainColor !important;
  54. border-color: $mainColor !important;
  55. }
  56. }
  57. // 修改checkbox 样式
  58. .ljd-checkbox,.ljd-checkbox .uni-checkbox-input {
  59. width: 42px;
  60. height: 42px;
  61. border-radius: 50% !important;
  62. margin-right: 12px;
  63. }
  64. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
  65. color: #fff !important;
  66. background-color: $mainColor !important;
  67. // border: none !important;
  68. border-color: $mainColor !important;
  69. }
  70. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
  71. font-size: 36px;
  72. }
  73. img {
  74. width: 100%;
  75. height: auto;
  76. display: block;
  77. }
  78. image {
  79. width: 100%;
  80. height: auto;
  81. display: block;
  82. }
  83. .datetime-picker {
  84. .picker-body {
  85. font-size: 32px !important;
  86. }
  87. .btn-picker {
  88. font-size: 32px !important;
  89. &.submit {
  90. color: #3a1b06 !important;
  91. padding: 0 20px !important;
  92. border-radius: 24px !important;
  93. }
  94. &.cancel {
  95. color: #878787 !important;
  96. }
  97. }
  98. }
  99. // 轮播tag样式修改
  100. .swiper-wrap {
  101. .tui-tag-class {
  102. position: absolute;
  103. color: #fff;
  104. bottom: 30rpx;
  105. right: 0;
  106. }
  107. }
  108. uni-button::after {
  109. border: none;
  110. }