aa2cca7f6870566f34da5c17570babbdb7c1324d.svn-base 2.5 KB

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