work-order-detail.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. $submit-btn-height: 48px;
  2. .detail{
  3. position: relative;
  4. // overflow: hidden;
  5. height: calc(100% - $submit-btn-height);
  6. &.view{
  7. height: 100%;
  8. }
  9. }
  10. .form-content {
  11. padding: 10px;
  12. background-color: #fff;
  13. height: 100%;
  14. overflow-y: auto;
  15. border-radius: 6px;
  16. position: relative;
  17. box-sizing: border-box;
  18. }
  19. .uni-forms{
  20. margin-bottom: 20px;
  21. }
  22. .form-item {
  23. display: flex;
  24. align-items: center;
  25. flex: 1;
  26. }
  27. .item-title{
  28. text-align: right;
  29. min-width: max-content;
  30. }
  31. .item-title-width {
  32. display: block;
  33. min-width: max-content;
  34. }
  35. .uni-forms-item{
  36. margin-bottom: 0;
  37. border-bottom: 1px dashed #CACCCF;
  38. }
  39. :deep(.uni-forms-item__label){
  40. height: 44px;
  41. // line-height: 44px;
  42. font-weight: 500;
  43. font-size: 16px;
  44. color: #333333 !important;
  45. width: max-content !important;
  46. }
  47. :deep(.uni-select){
  48. border: none;
  49. text-align: right;
  50. padding-right: 0;
  51. .uniui-bottom:before {
  52. content: "\e6b5" !important;
  53. font-size: 16px !important;
  54. }
  55. }
  56. :deep(.uni-stat-box){
  57. background-color: transparent;
  58. }
  59. :deep(.uni-select--disabled){
  60. color: inherit;
  61. background-color: transparent;
  62. // background-color: #fff;
  63. }
  64. :deep(.uni-date-editor--x__disabled){
  65. opacity: 1;
  66. }
  67. :deep(.uni-date-x){
  68. text-align: right;
  69. color: inherit;
  70. font-size: inherit;
  71. background-color: transparent;
  72. padding-right: 10px;
  73. .icon-calendar{
  74. display: none;
  75. font-size: 0;
  76. }
  77. .uni-date__x-input{
  78. // color: #999999;
  79. font-size: inherit;
  80. padding-right: 0;
  81. }
  82. }
  83. :deep(.uni-easyinput__content-input){
  84. padding-right: 0;
  85. }
  86. :deep(.uni-easyinput__content-textarea){
  87. min-height: inherit;
  88. margin: 10px;
  89. }
  90. :deep(.content-clear-icon){
  91. padding: 0;
  92. font-size: 16px !important;
  93. }
  94. .add-btn{
  95. height: 32px;
  96. line-height: 32px;
  97. margin-bottom: 20px;
  98. box-shadow: 0px 2px 4px 0px rgba(45,116,169,0.5);
  99. &.yellow{
  100. background-color: #f5bb33;
  101. color: #fff;
  102. }
  103. }
  104. .device-section{
  105. width: 100%;
  106. // min-height: 312px;
  107. background: #F2F4F8;
  108. margin-bottom: 10px;
  109. padding: 10px;
  110. box-sizing: border-box;
  111. }
  112. .item-module {
  113. width: 100%;
  114. // height: 16px;
  115. position: relative;
  116. font-weight: 600;
  117. font-size: 14px;
  118. color: #333333;
  119. // margin-bottom: 10px;
  120. .module-border {
  121. position: absolute;
  122. left: -10px;
  123. top: 12px;
  124. width: 0px;
  125. height: 12px;
  126. border: 1px solid #004098;
  127. }
  128. }
  129. .item-content {
  130. width: 100%;
  131. min-height: calc(38px);
  132. box-sizing: border-box;
  133. font-weight: 500;
  134. font-size: 14px;
  135. color: #333333;
  136. line-height: 20px;
  137. border-bottom: 1px dashed #CACCCF;
  138. &:last-child {
  139. border-bottom: none;
  140. }
  141. }
  142. .item-opera{
  143. button{
  144. height: 32px;
  145. line-height: 32px;
  146. font-size: 14px;
  147. margin: 10px 0 0 10px;
  148. }
  149. }
  150. .submit-btn {
  151. width: 100%;
  152. height: $submit-btn-height;
  153. position: fixed;
  154. bottom: 0;
  155. left: 0;
  156. border-radius: 0;
  157. margin-top: $submit-btn-height;
  158. }
  159. :deep(.files-button) {
  160. display: flex;
  161. align-items: center;
  162. justify-content: flex-end;
  163. uni-button {
  164. margin-right: unset;
  165. }
  166. }
  167. .mini-btn {
  168. padding: 0;
  169. width: 45px;
  170. height: 25px;
  171. font-size: 10px;
  172. }