|  | @@ -1,26 +1,22 @@
 | 
	
		
			
				|  |  |  <template>
 | 
	
		
			
				|  |  |    <!-- 分析工况 -->
 | 
	
		
			
				|  |  | -  <div style="height: 100%;">
 | 
	
		
			
				|  |  | -    <el-card class="custom-card">
 | 
	
		
			
				|  |  | -      <template #header>
 | 
	
		
			
				|  |  | -        <span>分析工况</span>
 | 
	
		
			
				|  |  | -      </template>
 | 
	
		
			
				|  |  | -      <el-space style="height: 100%;">
 | 
	
		
			
				|  |  | -        <div v-for="item in btninfo">
 | 
	
		
			
				|  |  | -          <el-button
 | 
	
		
			
				|  |  | -            :key="item.name"
 | 
	
		
			
				|  |  | -            class="work-btn"
 | 
	
		
			
				|  |  | -            @click="handleWorkClick(item)"
 | 
	
		
			
				|  |  | -          >
 | 
	
		
			
				|  |  | -            <img
 | 
	
		
			
				|  |  | -              :src="selectedWork === item.name ? item.highlightImg : item.img"
 | 
	
		
			
				|  |  | -              alt="work icon"
 | 
	
		
			
				|  |  | -            />
 | 
	
		
			
				|  |  | -            <!-- {{ item.name }} -->
 | 
	
		
			
				|  |  | -          </el-button>
 | 
	
		
			
				|  |  | -        </div>
 | 
	
		
			
				|  |  | -      </el-space>
 | 
	
		
			
				|  |  | -    </el-card>
 | 
	
		
			
				|  |  | +  <div class="container">
 | 
	
		
			
				|  |  | +    <el-space style="width: 80%;height: 100%;">
 | 
	
		
			
				|  |  | +      <div v-for="item in btninfo">
 | 
	
		
			
				|  |  | +        <el-button
 | 
	
		
			
				|  |  | +          :key="item.name"
 | 
	
		
			
				|  |  | +          class="work-btn"
 | 
	
		
			
				|  |  | +          @click="handleWorkClick(item)"
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  | +          <img
 | 
	
		
			
				|  |  | +            :src="selectedWork === item.name ? item.highlightImg : item.img"
 | 
	
		
			
				|  |  | +            alt="work icon"
 | 
	
		
			
				|  |  | +          />
 | 
	
		
			
				|  |  | +          <!-- {{ item.name }} -->
 | 
	
		
			
				|  |  | +        </el-button>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  | +    </el-space>
 | 
	
		
			
				|  |  | +    
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -53,16 +49,26 @@ const handleWorkClick = (item) => {
 | 
	
		
			
				|  |  |  </script>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <style scoped>
 | 
	
		
			
				|  |  | +.container {
 | 
	
		
			
				|  |  | +  width: 100%;
 | 
	
		
			
				|  |  | +  height: 100%;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +  display: flex;
 | 
	
		
			
				|  |  | +  justify-content: center;
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  .work-btn {
 | 
	
		
			
				|  |  |    width: 100%;
 | 
	
		
			
				|  |  |    height: 100%;
 | 
	
		
			
				|  |  |    display: flex;
 | 
	
		
			
				|  |  |    flex-direction: column;
 | 
	
		
			
				|  |  |    align-items: center;
 | 
	
		
			
				|  |  | -  justify-content: center;
 | 
	
		
			
				|  |  | +  justify-content: space-around;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |    background-color: transparent !important;
 | 
	
		
			
				|  |  |    border: none;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  </style>
 |