<el-table-column label="" min-width="120" prop="estAmount">
              <template slot="header">
                <span>预计保额(元)</span>
                <el-tooltip class="item" effect="dark" content="预估数,以实际签单为准。机动车辆保险为车辆价值,责任保险为累计赔偿限额,货物运输保险为货物价值,企业财产保险为标的价值,工程保险为工程造价,意外伤害保险为意外伤害赔偿限额,其他根据实际情况填写。">
                  <i class="el-icon-question interpretation" />
                </el-tooltip>
              </template>
              <template slot-scope="scope">
                <el-input
                  v-if="scope.row.edit"
                  v-model="scope.row.estAmount"
                  v-only-number="{min:0,precision:2}"
                  maxlength="15"
                />
                <span v-else>{{ scope.row.estAmount }}</span>
              </template>
            </el-table-column>

效果:

elementui表格如何在表头每个列标题后面插入图片用于插入tooltip

 

相关文章:

  • 2021-10-24
  • 2021-06-09
  • 2021-12-04
  • 2021-08-06
  • 2022-01-22
  • 2022-01-30
  • 2022-12-23
  • 2021-06-20
猜你喜欢
  • 2022-12-23
  • 2021-12-23
  • 2021-07-06
  • 2021-09-01
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
相关资源
相似解决方案