reset.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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: 96upx !important;
  20. height: 96upx !important;
  21. }
  22. // 修改uni-toast样式
  23. uni-toast {
  24. z-index: 99999 !important;
  25. }
  26. .uni-status-bar {
  27. height: auto !important;
  28. }
  29. .uni-navbar-container {
  30. display: flex !important;
  31. align-items: center !important;
  32. justify-content: center !important;
  33. }
  34. .uni-navbar-shadow {
  35. box-shadow: 0 0 6upx 2upx #ccc;
  36. }
  37. uni-picker .uni-picker-item {
  38. font-size: 30upx;
  39. }
  40. .iconfont {
  41. display: inline-block;
  42. vertical-align: middle;
  43. }
  44. // 修改image的图片样式
  45. // image {
  46. // width: 100%;
  47. // height: auto;
  48. // display: block;
  49. // }
  50. // 修改radio大小
  51. .uni-radio-wrapper {
  52. .uni-radio-input {
  53. width: 42upx;
  54. height: 42upx;
  55. }
  56. .uni-radio-input-checked {
  57. background-color: $mainColor !important;
  58. border-color: $mainColor !important;
  59. }
  60. }
  61. // 修改checkbox 样式
  62. .ljd-checkbox,.ljd-checkbox .uni-checkbox-input {
  63. width: 42upx;
  64. height: 42upx;
  65. border-radius: 50% !important;
  66. margin-right: 12upx;
  67. }
  68. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
  69. color: #fff !important;
  70. background-color: $mainColor !important;
  71. // border: none !important;
  72. border-color: $mainColor !important;
  73. }
  74. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked:before {
  75. font-size: 36upx;
  76. }
  77. img {
  78. width: 100%;
  79. height: auto;
  80. display: block;
  81. }
  82. image {
  83. width: 100%;
  84. height: auto;
  85. display: block;
  86. }
  87. .datetime-picker {
  88. .picker-body {
  89. font-size: 32upx !important;
  90. }
  91. .btn-picker {
  92. font-size: 32upx !important;
  93. &.submit {
  94. color: #3a1b06 !important;
  95. padding: 0 20upx !important;
  96. border-radius: 24upx !important;
  97. }
  98. &.cancel {
  99. color: #878787 !important;
  100. }
  101. }
  102. }
  103. // 轮播tag样式修改
  104. .swiper-wrap {
  105. .tui-tag-class {
  106. position: absolute;
  107. color: #fff;
  108. bottom: 30upx;
  109. right: 0;
  110. }
  111. }
  112. // 支付页样式修改
  113. // .pay-wrap {
  114. // .delivery-wrap {
  115. // .remark-wrap {
  116. // margin-bottom: 0 !important;
  117. // }
  118. // }
  119. // }
  120. uni-button::after {
  121. border: none;
  122. }