65c8b1505cb489fbff434bdf911cdc962f6c3b29.svn-base 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <template>
  2. <div id="app">
  3. <router-view v-if="isRouterAlive" />
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'App',
  9. provide() {
  10. return {
  11. reload: this.reload
  12. }
  13. },
  14. data() {
  15. return {
  16. isRouterAlive: true
  17. }
  18. },
  19. methods: {
  20. reload() {
  21. this.isRouterAlive = false
  22. this.$nextTick(() => {
  23. this.isRouterAlive = true
  24. })
  25. }
  26. }
  27. }
  28. </script>
  29. <style lang="scss">
  30. // .table-fixed {
  31. // /deep/ .el-table__fixed-right {
  32. // height: 100% !important; //设置高优先,以覆盖内联样式
  33. // }
  34. // /deep/ .el-table__fixed {
  35. // height: 100% !important; //设置高优先,以覆盖内联样式
  36. // }
  37. // }
  38. // .el-table__body-wrapper.is-scrolling-none~.el-table__fixed-right{
  39. // height: 100% !important;
  40. // }
  41. // 弹窗最小高度
  42. .dialogMinHeight{
  43. min-height: 450px;
  44. }
  45. .filter-container .filter-item{
  46. margin-right: 3px;
  47. }
  48. .fixed-width .el-button--mini{
  49. margin-right: 3px;
  50. }
  51. .el-date-editor.el-input{
  52. margin-right: 3px;
  53. }
  54. .dialog-footer{
  55. right:30px;position:absolute;bottom:30px
  56. }
  57. .el-autocomplete-suggestion li{
  58. padding:0 3px!important;
  59. }
  60. .filter-item .el-input__inner{
  61. width: 100%;
  62. }
  63. // body .el-table th.gutter {
  64. // display: table-cell !important
  65. // }
  66. input::-webkit-outer-spin-button,
  67. input::-webkit-inner-spin-button {
  68. -webkit-appearance: none;
  69. }
  70. input[type="number"]{
  71. -moz-appearance: textfield;
  72. }
  73. .search .filter-item{
  74. margin-right: 5px;
  75. }
  76. // 开始日期结束日期
  77. .inputDatetime .el-range-separator{ padding: 0; margin: 0 10px; }
  78. .recipeTemplate{
  79. position: absolute;
  80. width: 120px;
  81. height: 120px;
  82. right: -50px;
  83. top: -0px;
  84. margin: 0;
  85. background: url(assets/images/sanjiao.png) no-repeat;
  86. right: -50px;
  87. top: 0;
  88. margin: 0;
  89. p{
  90. position: absolute;
  91. z-index: 1;
  92. color: #fff;
  93. right: 40px;
  94. top: 15px;
  95. width: 70px;
  96. -webkit-transform: rotate(45deg);
  97. -moz-transform: rotate(45deg);
  98. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);/*ie*/
  99. font-size: 10px;
  100. }
  101. }
  102. .recipeTemplateF{
  103. position: absolute;
  104. width: 120px;
  105. height: 120px;
  106. z-index: 3;
  107. right: -50px;
  108. top: -0px;
  109. margin: 0;
  110. background: url(assets/images/sanjiao.png) no-repeat;
  111. right: -50px;
  112. top: 0;
  113. margin: 0;
  114. p{
  115. position: absolute;
  116. z-index: 1;
  117. color: #fff;
  118. right: 40px;
  119. top: 15px;
  120. width: 70px;
  121. -webkit-transform: rotate(45deg);
  122. -moz-transform: rotate(45deg);
  123. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);/*ie*/
  124. font-size: 10px;
  125. }
  126. }
  127. .contentOperation{
  128. position: absolute;
  129. width: 120px;
  130. height: 120px;
  131. right: -50px;
  132. top: 0px;
  133. margin: 0;
  134. background: url(assets/images/sanjiao.png) no-repeat;
  135. p{
  136. position: absolute;
  137. z-index: 1;
  138. color: #fff;
  139. right: 30px;
  140. top: 10px;
  141. width: 70px;
  142. -webkit-transform: rotate(45deg);
  143. -moz-transform: rotate(45deg);
  144. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);/*ie*/
  145. font-size: 10px;
  146. }
  147. }
  148. </style>