common.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /**手机端**/
  2. .app {
  3. @media screen and(min-width:$min-width) {
  4. display: none;
  5. }
  6. }
  7. /**PC端**/
  8. .pc {
  9. display: none;
  10. width: 1100px;
  11. margin: 0 auto;
  12. @media screen and(min-width:$min-width) {
  13. display: block;
  14. }
  15. }
  16. /**pc端隐藏tab和顶部**/
  17. .uni-tabbar {
  18. @media screen and(min-width:$min-width) {
  19. display: none !important;
  20. }
  21. }
  22. uni-page-head,
  23. uni-app .uni-page-head {
  24. @media screen and(min-width:$min-width) {
  25. display: none !important;
  26. }
  27. }
  28. /**end**/
  29. .omit {
  30. white-space: nowrap;
  31. text-overflow: ellipsis;
  32. overflow: hidden;
  33. }
  34. .ellip {
  35. -webkit-line-clamp: 2;
  36. @media screen and(min-width:$min-width) {
  37. -webkit-line-clamp: 3;
  38. }
  39. text-overflow: ellipsis;
  40. display: -webkit-box;
  41. -webkit-box-orient: vertical;
  42. overflow: hidden;
  43. }
  44. .m15 {
  45. margin-top: 15px !important;
  46. }
  47. .clear {
  48. clear: both;
  49. }
  50. .flex {
  51. display: flex;
  52. text-align: center;
  53. .f {
  54. flex: 1;
  55. overflow: hidden;
  56. }
  57. }
  58. .btn {
  59. color: white;
  60. background-color: $main-color;
  61. border-radius: 5px;
  62. font-size: 14px;
  63. text-align: center;
  64. padding: 5px;
  65. }
  66. .form_group {
  67. padding: 15px;
  68. overflow: hidden;
  69. border-bottom: 1px solid $line;
  70. background-color: white;
  71. &.form_group:last-child {
  72. border-bottom: 0px;
  73. }
  74. .lable {
  75. font-size: 15px;
  76. float: left;
  77. line-height: 30px;
  78. width: 75px;
  79. text-align: left;
  80. color: #545555;
  81. .icon {
  82. font-size: 23px;
  83. font-weight: normal;
  84. }
  85. }
  86. picker {
  87. margin-left: 106px;
  88. margin-top: 5px;
  89. }
  90. input {
  91. margin-left: 20px;
  92. float: left;
  93. font-size: 15px;
  94. margin-top: -7px;
  95. border-radius: 5px;
  96. padding: 10px;
  97. width: 60%;
  98. @media screen and(min-width:$min-width) {
  99. width: 88%;
  100. }
  101. }
  102. textarea {
  103. display: block;
  104. font-size: 14px;
  105. padding: 10px;
  106. height: 120px;
  107. border-radius: 5px;
  108. margin-top: 35px;
  109. background-color: white;
  110. }
  111. .u-switch {
  112. margin-left: 20px;
  113. }
  114. }
  115. .footer {
  116. width: 100%;
  117. position: fixed;
  118. bottom: 0%;
  119. padding: 10px;
  120. background-color: #f2f3f5;
  121. }
  122. .ws {
  123. width: 30%;
  124. border-radius: 25px;
  125. }