| | |
| | | import axios from 'axios' |
| | | |
| | | // 跨域请求 |
| | | axios.defaults.baseURL = 'http://localhost:8919/zijing_sx/'; |
| | | // axios.defaults.baseURL = '/nfdw/'; |
| | | // axios.defaults.baseURL = 'http://192.168.10.140:8919/zijing_sx/'; |
| | | // axios.defaults.baseURL = 'http://localhost:8919/zijing_sx/'; |
| | | axios.defaults.baseURL = '/nfdw/'; |
| | | axios.defaults.transformRequest = [function(data) { |
| | | data = data+'&key=44c4a294cb66d13727c14b065dbe8548'; |
| | | return data; |
| | |
| | | } |
| | | .box-all-title-content { |
| | | display: inline-block; |
| | | height: 2.2rem; |
| | | line-height: 2.2rem; |
| | | font-size: 1.4rem; |
| | | padding-left: 2.6rem; |
| | | padding-right: 2.6rem; |
| | | height: 2rem; |
| | | line-height: 2rem; |
| | | font-size: 1rem; |
| | | padding-left: 2rem; |
| | | padding-right: 2rem; |
| | | background: url('../assets/images/title.png') no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | |
| | | return res; |
| | | }, |
| | | timeChange () { |
| | | |
| | | this.switch_status = false; |
| | | if (this.battList.delayTime > 100) { |
| | | this.battList.delayTime = 100; |
| | | } |
| | |
| | | |
| | | <style scoped> |
| | | .dev-states { |
| | | /*height: 100%;*/ |
| | | height: 100%; |
| | | padding: 0.6rem; |
| | | -webkit-box-sizing: border-box; |
| | | box-sizing: border-box; |
| | | display: -webkit-flex; |
| | | display: flex; |
| | | flex-direction: column; |
| | |
| | | .dev-state-item { |
| | | flex: auto; |
| | | line-height: 1.4rem; |
| | | font-size: 1.2rem; |
| | | font-size: 1rem; |
| | | align-items: center; |
| | | display: -webkit-flex; |
| | | display: flex; |