App.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <template>
  2. <div id="app">
  3. <!-- 路由占位符 -->
  4. <router-view></router-view>
  5. </div>
  6. </template>
  7. <script>
  8. export default {
  9. name: 'app'
  10. }
  11. // 控制是否屏蔽全局console.log 日志;isDebug设为false即可屏蔽
  12. const isDebug = false;
  13. console.log = (function (oldLogFunc) {
  14. return function () {
  15. if (isDebug) {
  16. oldLogFunc.apply(this, arguments);
  17. }
  18. }
  19. })(console.log);
  20. </script>
  21. <style>
  22. #app {
  23. font-family: 'Avenir', Helvetica, Arial, sans-serif;
  24. -webkit-font-smoothing: antialiased;
  25. -moz-osx-font-smoothing: grayscale;
  26. text-align: center;
  27. color: #2c3e50;
  28. margin-top: 60px;
  29. }
  30. /* 表格样式 */
  31. .el-table{font-size: 12px;color:#333;}
  32. .el-table--border:after, .el-table--group:after, .el-table:before { background-color: #d1d9e9!important; }
  33. .el-table--border, .el-table--group { border-color: #d1d9e9!important; }
  34. .el-table--border th, .el-table--border th.gutter:last-of-type { border-bottom: 1px solid #d1d9e9!important; }
  35. .el-table--border td, .el-table--border th { border-right: 1px solid #d1d9e9!important; }
  36. .el-table td, .el-table th.is-leaf { border-bottom: 1px solid #d1d9e9!important; }
  37. .el-table td,.building-top .el-table th.is-leaf { border-bottom: 1px solid #d1d9e9!important; }
  38. .fixed-width{border-bottom: #d1d9e9!important ;}
  39. .el-table__fixed-right{height: 100%!important;border-bottom: 1px solid #d1d9e9!important;}
  40. .el-table__fixed{height: 100%!important;border-bottom: 1px solid #d1d9e9!important;}
  41. .el-table__footer{border-top: 1px solid #d1d9e9!important;}
  42. .has-gutter tr th{background-color: #e9eef9!important;color:#333; }
  43. .el-table tr th.is-leaf{background-color: #e9eef9!important;color:#333}
  44. .el-table__fixed-right-patch{background-color: #e9eef9!important;color:#333}
  45. .el-table .cell{line-height: 18px!important;}
  46. .box-card{padding:10px 20px}
  47. .g-txt-l{text-align: left ;}
  48. /* 搜索表单 */
  49. .search-bx1{ padding-top: 10px; clear: both;text-align: left;}
  50. .g-mr20{ margin-right:20px; }
  51. .g-mb20{ margin-bottom:20px; }
  52. /* 牛只信息卡片 */
  53. .cust-card-row{padding-bottom: 20px;}
  54. .cust-card-tt{text-align: right;float:right;font-weight: bold}
  55. .cust-line-bx{position:relative}
  56. .cust-ex-item{display:inline-block;width:33%;margin-bottom:10px;}
  57. .cust-ex-tt{width:200px;text-align:right;font-weight: bold}
  58. .cust-ex-ct{margin-bottom:10px;text-align:left!important;}
  59. .cust-rest{display: inline-block;width:33%;color:#FF4949}
  60. /* 按钮 搜索 大 */
  61. /* .btn-search{ background: #d1d9e9; border-color: $color8; color: $color3;padding: 7px 10px !important;font-size:14px;min-width:60px;}
  62. .miniPrimary:focus{background: $color8; border-color: $color8; color: $color3;padding: 7px 10px !important;font-size:14px;min-width:60px;}
  63. .miniPrimary:hover{color: $color3; border-color: $color9; background-color: $color9;padding: 7px 10px !important;font-size:14px;min-width:60px;} */
  64. </style>