reset.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. .ljd-checkbox,.ljd-checkbox .uni-checkbox-input {
  47. width: 46px;
  48. height: 46px;
  49. border-radius: 50% !important;
  50. }
  51. .ljd-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
  52. color: #fff !important;
  53. background-color: $mainColor !important;
  54. border: none !important;
  55. }
  56. img {
  57. width: 100%;
  58. height: auto;
  59. display: block;
  60. }
  61. .datetime-picker {
  62. .picker-body {
  63. font-size: 32px !important;
  64. }
  65. .btn-picker {
  66. font-size: 32px !important;
  67. &.submit {
  68. color: #3a1b06 !important;
  69. padding: 0 20px !important;
  70. border-radius: 24px !important;
  71. }
  72. &.cancel {
  73. color: #878787 !important;
  74. }
  75. }
  76. }
  77. uni-button::after {
  78. border: none;
  79. }