public.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /*
  2. * @日期选择器样式 开始
  3. */
  4. .el-calendar-table,
  5. tr,
  6. td,
  7. th {
  8. border: 0px !important;
  9. }
  10. .el-calendar__body {
  11. padding: 0 !important;
  12. }
  13. .el-calendar-table .el-calendar-day {
  14. padding: 15px !important;
  15. text-align: center;
  16. height: auto !important;
  17. }
  18. .el-calendar-table thead>th {
  19. text-align: center;
  20. }
  21. #calendar .filter {
  22. width: 5px;
  23. height: 5px;
  24. border: 1px #1989fa solid;
  25. border-radius: 100%;
  26. text-align: center;
  27. margin: auto;
  28. margin-top: 5px;
  29. background-color: #1989fa;
  30. }
  31. /*
  32. * @日期选择器样式 结束
  33. */
  34. /*
  35. * @抽屉样式 开始
  36. */
  37. .el-drawer__header {
  38. margin-bottom: 0px !important;
  39. }
  40. /*
  41. * @抽屉样式 结束
  42. */
  43. /*
  44. * @图片上传样式 开始
  45. */
  46. .el-upload-list {
  47. display: flex !important;
  48. }
  49. .el-upload-list li,
  50. .el-upload-list .el-upload {
  51. width: calc(33% - 10px) !important;
  52. height: 110px !important;
  53. margin: 0 15px 15px 0 !important;
  54. }
  55. .el-upload-list li:nth-child(3n),
  56. .el-upload-list .el-upload:nth-child(3n) {
  57. margin: 0 !important;
  58. }
  59. .avatar-uploader .el-upload {
  60. border: 1px dashed #d9d9d9;
  61. border-radius: 6px;
  62. cursor: pointer;
  63. position: relative;
  64. overflow: hidden;
  65. }
  66. .avatar-uploader .el-upload:hover {
  67. border-color: #409eff;
  68. }
  69. /*
  70. * @图片上传样式 结束
  71. */
  72. /*
  73. * @消息弹出框样式 开始
  74. */
  75. .el-message-box {
  76. margin-top: 70%;
  77. }
  78. /*
  79. * @消息弹出框样式 结束
  80. */
  81. /*
  82. * @uni-textarea 文本域样式 开始
  83. */
  84. uni-textarea {
  85. border: 0px solid #ededed;
  86. padding: 0;
  87. }
  88. /*
  89. * @uni-textarea 文本域样式 结束
  90. */
  91. /*
  92. * @全局input样式 开始
  93. */
  94. uni-input {
  95. background-color: transparent;
  96. }
  97. /*
  98. * @全局input样式 结束
  99. */
  100. //折叠面板样式 开始
  101. .u-cell__body {
  102. padding: 10px 10px !important;
  103. }
  104. //折叠面板样式 结束
  105. //步骤条样式 开始
  106. .u-steps {
  107. .u-steps-item {
  108. .u-text {
  109. justify-content: center !important;
  110. }
  111. }
  112. }
  113. //步骤条样式 结束
  114. //自写table表格样式-普通
  115. .tableType1 {
  116. .u-row:nth-child(1) {
  117. >.u-col {
  118. background-color: #f7f7f7;
  119. }
  120. }
  121. .u-row {
  122. align-items: initial !important;
  123. line-height: 28px;
  124. border: 1px #e5e5e5 solid;
  125. border-bottom: 0px;
  126. >.u-col {
  127. border-right: 1px #e5e5e5 solid;
  128. }
  129. >.u-col:last-child {
  130. border-right: 0px #e5e5e5 solid;
  131. }
  132. }
  133. .u-row:last-child {
  134. .u-col {
  135. border-bottom: 1px #e5e5e5 solid;
  136. }
  137. }
  138. }
  139. //自写table表格样式-横向
  140. .tableType2 {
  141. .u-row {
  142. align-items: initial !important;
  143. line-height: 28px;
  144. border: 1px #e5e5e5 solid;
  145. border-bottom: 0px;
  146. background-color: #f7f7f7;
  147. >.u-col {
  148. border-right: 1px #e5e5e5 solid;
  149. }
  150. >.u-col:nth-child(even) {
  151. background-color: #ffffff;
  152. }
  153. >.u-col:last-child {
  154. border-right: 0px;
  155. }
  156. }
  157. .u-row:last-child {
  158. border-bottom: 1px #e5e5e5 solid;
  159. }
  160. }
  161. //ios底部安全距离
  162. .ios-padding-bottom {
  163. /*兼容 IOS<11.2*/
  164. padding-bottom: constant(safe-area-inset-bottom) !important;
  165. /*兼容 IOS>11.2*/
  166. padding-bottom: env(safe-area-inset-bottom) !important;
  167. }
  168. //公共按钮绝对定位
  169. .app-position-fixed {
  170. position: fixed;
  171. left: 0;
  172. right: 0;
  173. bottom: 0px;
  174. //#ifdef APP-PLUS
  175. bottom: 5px;
  176. //#endif
  177. padding: 0px 15px 0px 15px;
  178. .app-buttom {
  179. width: 100%;
  180. height: 40px;
  181. font-size: 14px;
  182. margin-bottom: 15px
  183. }
  184. }