U
whychw
2020-07-16 82e644219d17ae55b9650dc592a24177b1c278f1
U
3个文件已修改
23 ■■■■■ 已修改文件
src/axios/index.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/BoxAll.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/index.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/axios/index.js
@@ -2,8 +2,9 @@
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;
src/components/BoxAll.vue
@@ -45,11 +45,11 @@
    }
    .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%;
    }
src/pages/index.vue
@@ -436,7 +436,7 @@
            return res;
        },
        timeChange () {
            this.switch_status = false;
            if (this.battList.delayTime > 100) {
                this.battList.delayTime = 100;
            }
@@ -552,8 +552,10 @@
<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;
@@ -569,7 +571,7 @@
.dev-state-item {
    flex: auto;
    line-height: 1.4rem;
    font-size: 1.2rem;
    font-size: 1rem;
    align-items: center;
    display: -webkit-flex;
    display: flex;