Ver código fonte

修改选择框样式

guolei 1 ano atrás
pai
commit
2028f32c9b

+ 4 - 1
src/views/workManagement/components/simulationTable.vue

@@ -5,7 +5,7 @@
 			<el-button class="btn" type="info" @click="settingsSimulation">设为仿真视角</el-button>
 		</div>
 		<el-table class="table-content" ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%">
-			<el-table-column label="序号" width="55">
+			<el-table-column label="序号">
 				<template slot-scope="scope">
 					<el-radio v-model="currentFactor" :label="getRowIndex(scope.$index)"
 						@change="changeRowIndex(scope.row)"></el-radio>
@@ -347,4 +347,7 @@
 		height: 100%;
 		overflow-y: scroll;
 	}
+	/deep/ .el-input,/deep/ .el-input__inner{
+		width: 100px !important;
+	}
 </style>