wangting
2025-01-03 b25c902a87072b5ae2dd33ab8106f8490d050e34
调整图标
已修改5个文件
31 ■■■■■ 文件已修改
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/input-icon.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/router/avue-router.js 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/iconShow.vue
@@ -39,7 +39,7 @@
  svg{
    font-size: inherit;
    height: 100%;
    width:auto;
    width:100%;
  }
}
</style>
Source/plt-web/plt-web-ui/src/components/PLT-basic-component/input-icon.vue
@@ -2,7 +2,7 @@
  <div>
    <el-input :width="width" :class="inputClass" :style="inputStyle" :clearable="true" :value="value"
              :disabled="disabled" :placeholder="placeholder" type="text" :size="size" @clear="clearValue" @focus="handleFocus">
      <span slot="append" v-html="svgHtml" style="font-size: 20px;padding:3px 10px;width:20px;height:20px;display: block" @click="handleFocus"></span>
      <span slot="append" v-html="svgHtml" style="font-size: 18px;padding:3px 10px;width:18px;height:18px;display: block" @click="handleFocus"></span>
    </el-input>
    <el-dialog v-dialogDrag
               v-dialog-resize
@@ -205,6 +205,11 @@
  .el-input-group__append, .el-input-group__prepend{
    padding: 0;
  }
  svg{
    font-size: inherit;
    height: 100%;
    width:100%;
  }
}
.tag-group{font-size: 14px;}
.el-tag{
Source/plt-web/plt-web-ui/src/page/index/sidebar/sidebarItem.vue
@@ -8,7 +8,7 @@
                    @click="open(item)">
        <div style="display: flex">
          <icon-show :name="item[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show>
          <span slot="title"
          <span slot="title"  style="margin-left: 8px;"
                :alt="item[pathKey]"
                :class="{'el-menu--display':collapse && first}">{{ generateTitle(item) }}</span>
        </div>
@@ -19,7 +19,7 @@
        <template slot="title">
          <div style="display: flex">
            <icon-show :name="item[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show>
            <span slot="title"
            <span slot="title"  style="margin-left: 8px;"
                  :class="{'el-menu--display':collapse && first}">{{ generateTitle(item) }}</span>
          </div>
        </template>
@@ -31,7 +31,7 @@
                        @click="open(child)">
            <div style="display: flex">
              <icon-show :name="child[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show>
              <span slot="title">{{ generateTitle(child) }}</span>
              <span slot="title" style="margin-left: 8px;">{{ generateTitle(child) }}</span>
            </div>
          </el-menu-item>
          <sidebar-item v-else
@@ -137,7 +137,8 @@
    open(item) {
      const query = {
        ...item.query,
        id:item.id
        id:item.id,
        name:item.name
      }
      if (this.screen <= 1) this.$store.commit("SET_COLLAPSE");
      if (this.validIsOpen(item)) {
@@ -162,13 +163,13 @@
  outline: 0;
  background-color: #060708;
}
.iconShowSpan{
  display: inline-block;
  margin-top: -2px;
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.7);
}
.el-menu-item .iconShowSpan,.el-submenu__title .iconShowSpan{
  margin-top: -2px;
}
.el-submenu__title:hover .iconShowSpan{
  color: #ffffff;
}
Source/plt-web/plt-web-ui/src/router/avue-router.js
@@ -150,6 +150,7 @@
          icon = oMenu[propsDefault.icon],
          children = oMenu[propsDefault.children],
          meta = oMenu[propsDefault.meta] || {};
        meta.keepAlive=true;
        // meta中 keepalive 的处理
        meta = Object.assign(meta, (function () {
          if (option.keepAlive === true) {
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
@@ -76,8 +76,8 @@
                <icon-show :name="row.plCSClass"></icon-show>
              </span>
            </template>
            <template slot-scope="{type,disabled}" slot="plCSClassForm">
              <input-icon :disabled="disabled" v-model="form.plCSClass"></input-icon>
            <template slot-scope="{type,disabled}" slot="plImageForm">
              <input-icon :disabled="disabled" v-model="form.plImage"></input-icon>
            </template>
            <template slot="plTypeType" slot-scope="{row}">
              <el-tag :type="row.plTypeType === 'business' ? '' : 'success'">
@@ -298,7 +298,7 @@
          },
          {
            label: '图标',
            prop: 'plCSClass',
            prop: 'plImage',
            width: 80,
            rules: [
              {