diff --git a/.env.dev b/.env.dev index 8a59d958..c54395cd 100644 --- a/.env.dev +++ b/.env.dev @@ -14,13 +14,8 @@ VUE_APP_TITLE = 芋道管理系统 # 芋道管理系统/开发环境 # VUE_APP_BASE_API = 'http://192.168.1.49:48080' # VUE_APP_BASE_API = 'http://192.168.1.8:48080' -<<<<<<< HEAD VUE_APP_BASE_API = 'http://192.168.0.33:48080' # VUE_APP_BASE_API = 'http://192.168.1.188:48080' -======= -# VUE_APP_BASE_API = 'http://192.168.0.33:48080' -VUE_APP_BASE_API = 'http://192.168.1.188:48080' ->>>>>>> test # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/assets/icons/svg/downward.svg b/src/assets/icons/svg/downward.svg new file mode 100644 index 00000000..995bcbc7 --- /dev/null +++ b/src/assets/icons/svg/downward.svg @@ -0,0 +1,12 @@ + + + 下拉展开 + + + + + + + + + \ No newline at end of file diff --git a/src/assets/icons/svg/upward.svg b/src/assets/icons/svg/upward.svg new file mode 100644 index 00000000..ef5c4fcf --- /dev/null +++ b/src/assets/icons/svg/upward.svg @@ -0,0 +1,14 @@ + + + 收起 + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 5f755fb8..ca85a160 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -13,8 +13,17 @@ body { font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; } -label { - font-weight: 700; +// label { +// font-weight: 700; +// } +.searchBarBox .el-form-item--medium .el-form-item__label { + line-height: 40px; +} +.searchBarBox .el-form-item--medium .el-form-item__content { + line-height: 40px; +} +.searchBarBox .el-range-editor--small.el-input__inner { + height: 34px; } html { diff --git a/src/main.js b/src/main.js index 4d698738..eb160008 100644 --- a/src/main.js +++ b/src/main.js @@ -52,6 +52,13 @@ Vue.prototype.divide = divide; Vue.prototype.tableHeight = function(n) { return window.innerHeight - n } +Vue.prototype.searchBarWidth = function(name, num) { + if (document.getElementById(name) && document.getElementById(name).offsetWidth < num) { + return true + } else { + return false + } +} // 全局组件挂载 Vue.component('DictTag', DictTag); diff --git a/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue b/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue index d8e7c1fd..9fb93919 100644 --- a/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue +++ b/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue @@ -1,151 +1,160 @@