e97c72755e6a503d788ac97f4872a06ecb45d6e5.svn-base 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. .el-autocomplete-suggestion li{
  55. padding:0 3px!important;
  56. }
  57. .filter-item .el-input__inner{
  58. width: 100%;
  59. }
  60. // body .el-table th.gutter {
  61. // display: table-cell !important
  62. // }
  63. input::-webkit-outer-spin-button,
  64. input::-webkit-inner-spin-button {
  65. -webkit-appearance: none;
  66. }
  67. input[type="number"]{
  68. -moz-appearance: textfield;
  69. }
  70. .search .filter-item{
  71. margin-right: 5px;
  72. }
  73. // 开始日期结束日期
  74. .inputDatetime .el-range-separator{ padding: 0; margin: 0 10px; }
  75. .recipeTemplate{
  76. position: absolute;
  77. width: 120px;
  78. height: 120px;
  79. right: -50px;
  80. top: -0px;
  81. margin: 0;
  82. background: url(assets/images/sanjiao.png) no-repeat;
  83. right: -50px;
  84. top: 0;
  85. margin: 0;
  86. p{
  87. position: absolute;
  88. z-index: 1;
  89. color: #fff;
  90. right: 40px;
  91. top: 15px;
  92. width: 70px;
  93. -webkit-transform: rotate(45deg);
  94. -moz-transform: rotate(45deg);
  95. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);/*ie*/
  96. font-size: 12px;
  97. }
  98. }
  99. .recipeTemplateF{
  100. position: absolute;
  101. width: 120px;
  102. height: 120px;
  103. z-index: 3;
  104. right: -50px;
  105. top: -0px;
  106. margin: 0;
  107. background: url(assets/images/sanjiao.png) no-repeat;
  108. right: -50px;
  109. top: 0;
  110. margin: 0;
  111. p{
  112. position: absolute;
  113. z-index: 1;
  114. color: #fff;
  115. right: 40px;
  116. top: 15px;
  117. width: 70px;
  118. -webkit-transform: rotate(45deg);
  119. -moz-transform: rotate(45deg);
  120. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);/*ie*/
  121. font-size: 12px;
  122. }
  123. }
  124. .contentOperation{
  125. position: absolute;
  126. width: 120px;
  127. height: 120px;
  128. right: -49px;
  129. top: 0px;
  130. margin: 0;
  131. background: url(assets/images/sanjiao.png) no-repeat;
  132. p{
  133. position: absolute;
  134. z-index: 1;
  135. color: #fff;
  136. right: 35px;
  137. top: 17px;
  138. width: 70px;
  139. -webkit-transform: rotate(45deg);
  140. -moz-transform: rotate(45deg);
  141. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);/*ie*/
  142. font-size: 12px;
  143. }
  144. }
  145. </style>