zoukankan      html  css  js  c++  java
  • elementui表格如何在表头每个列标题后面插入图片用于插入tooltip

          <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>

    效果:

  • 相关阅读:
    Mysql任务调度
    使用 IntraWeb (18)
    使用 IntraWeb (17)
    替盛大代发的招聘启示
    使用 IntraWeb (16)
    使用 IntraWeb (15)
    使用 IntraWeb (14)
    使用 IntraWeb (13)
    使用 IntraWeb (12)
    使用 IntraWeb (11)
  • 原文地址:https://www.cnblogs.com/Hhuizi/p/12532900.html
Copyright © 2011-2022 走看看