Browse Source

modify css of point config

haojianlong 5 years ago
parent
commit
cf460d41fa

+ 1 - 0
src/components/point/dynamicdata/locationCascader.vue

@@ -50,6 +50,7 @@ export default {
 </script>
 <style lang="less" scoped>
 .location{
+  width: 100%;
   /deep/ .el-input__inner{
     vertical-align: baseline;
   }

+ 2 - 8
src/views/point/dynamicdata/addRelation/equipRela/index.vue

@@ -49,7 +49,7 @@
               <el-table-column prop="LocationFlag" label="位置标签" align="right" show-overflow-tooltip></el-table-column>
               <el-table-column prop="SubTypeName" label="设备类型关键字" align="right" show-overflow-tooltip></el-table-column>
               <el-table-column prop="EquipmentMark" label="设备标识" show-overflow-tooltip align="right" width="200" class-name="bgf5"></el-table-column>
-              <el-table-column type="selection" width="45" class-name="bgf5"></el-table-column>
+              <el-table-column type="selection" width="35" class-name="bgf5"></el-table-column>
             </el-table>
           </div>
           <!-- 智能推荐 -->
@@ -92,7 +92,7 @@
           <div class="r-custom-table custom-table" v-loading="rTableLoading">
             <el-table ref="rTableBody" :data="RtableData" tooltip-effect="dark" style="width: 100%" height="100%" @row-click="clickRightRow"
               @selection-change="rightSelectionChange">
-              <el-table-column type="selection" width="45" class-name="bgf5"></el-table-column>
+              <el-table-column type="selection" width="35" class-name="bgf5"></el-table-column>
               <el-table-column label="设备实例名称" width="200" class-name="bgf5" show-overflow-tooltip>
                 <template slot-scope="scope">{{ scope.row.EquipLocalName }}</template>
               </el-table-column>
@@ -618,12 +618,6 @@ export default {
       .l-custom-table {
         td {
           text-align: right;
-          padding-right: 10px;
-        }
-      }
-      .r-custom-table {
-        td {
-          padding-left: 10px;
         }
       }
     }