wangting
2025-01-06 8e93b46e605caf680b3731bf2838c739507cd575
修改按钮中图标样式
已修改2个文件
13 ■■■■■ 文件已修改
Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-button.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/styles/ui.scss 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-button.vue
@@ -7,6 +7,7 @@
        <el-button :key="item.oid"
                   :type="item.paramVOS && item.paramVOS.btnType ?  item.paramVOS.btnType : 'primary'" plain
                   size="small"
                   class="button-custom-icon"
                   @click="buttonClick(item)">
          <icon-show :name="item.iconPath"></icon-show>{{ item.name }}
        </el-button>
@@ -19,6 +20,7 @@
        <el-button :key="item.oid"
                   :type="item.paramVOS.btnType || 'text'" plain
                   size="small"
                   class="button-custom-icon"
                   @click="buttonClick(item,scope.row)">
          <icon-show v-if="item.iconPath" :name="item.iconPath"></icon-show>
          <i v-else :class="item.id === 'edit' ? 'el-icon-edit' : (item.id === 'delete'  ||item.id === 'del' ? 'el-icon-delete' : '')"></i>
@@ -36,6 +38,7 @@
                   :type="item.paramVOS && item.paramVOS.btnType ?  item.paramVOS.btnType : 'primary'" plain
                   plain
                   size="small"
                   class="button-custom-icon"
                   @click="buttonClick(item)">
          <icon-show :name="item.iconPath"></icon-show>{{ item.name }}
        </el-button>
@@ -47,6 +50,7 @@
                   :type="item.paramVOS && item.paramVOS.btnType ?  item.paramVOS.btnType : 'primary'" plain
                   plain
                   size="small"
                   class="button-custom-icon"
                   @click="buttonClick(item)">
          <icon-show :name="item.iconPath"></icon-show>{{ item.name }}
        </el-button>
@@ -54,6 +58,7 @@
      <el-button type="primary"
                 plain
                 size="small"
                 class="button-custom-icon"
                 @click="$emit('refresh')">刷新</el-button>
    </div>
  </div>
Source/plt-web/plt-web-ui/src/styles/ui.scss
@@ -546,7 +546,7 @@
}
/*显示svg图标的按钮*/
.el-button--small.button-custom-icon{
  padding: 7px 14px;
  padding: 7px 12px;
}
.el-button--small.button-custom-icon > span{
  height: 16px;
@@ -562,9 +562,9 @@
}
/*图标**/
.el-button--small.button-custom-icon > span .iconShow{
  font-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  font-size: 12px !important;
  width: 12px !important;
  height: 12px !important;
  margin-right: 6px;
}