index.vue 1.46 KB
<template>
	<div class="manage-container deviceStatus-wrapper">
        <el-tabs tab-position="top"  style="padding-left:10px;" v-model="languageVal" @tab-click="languageChange">
            <el-tab-pane label="前端配置" name="front"></el-tab-pane>
            <el-tab-pane label="后端配置" name="back"></el-tab-pane>
        </el-tabs>
        <front-side v-if="languageVal=='front'"></front-side>
        <back-side v-else></back-side>
	</div>
</template>
<script>
import frontSide from "./frontSide";
import backSide from "./backSide";
export default {
	data() {
		return {
			languageVal:'front'
		}
	},
	components: {
      "front-side":frontSide,
      "back-side":backSide,
    },
	computed: {

	},
	mounted() {
	    
	},
	created(){
        
	},
	methods: {
       languageChange(val){
           console.info(this.languageVal,654)
       }
	}
}
</script>

<style scoped>
.manage-input-box {
	margin-right: 10px;
}
.condition-item-text{
	float: left;
	position: relative;
	top: 6px;
}
.btn-box:after,
.btn-box:before {
	content: '';
	display: table;
}

.btn-box:after {
	clear: both;
}

.fl-btn+.fl-btn {
	margin-right: 20px;
}

.online-column {
	color: #67c23a;
}

.offline-column {
	color: #f56c6c;
}

.iplink-column {
	text-decoration: underline;
}
.manage-content{
    padding-bottom: 0;
}
.manage-content /deep/ .nborder .el-input__inner{
   border: none;
   height: 30px!important;
   background-color: transparent;
}
.manage-content /deep/ .cell{
	padding: 0;
}
</style>