Prechádzať zdrojové kódy

fix: 修正运输总重量的描述提示icon.

peter 4 mesiacov pred
rodič
commit
50aab29596

+ 8 - 3
src/pages/indent-manage/indent/components/calcPrice/components/step1.vue

@@ -176,7 +176,9 @@
           <el-tooltip
             content="轻货/重货的计算公式不同. PS: 可以理解成货运的负重系数, 对货运商来说, 轻货得换算成更高的重量以平衡成本利润"
           >
-            <span class="el-icon-warning-outline"></span>
+            <el-icon size="16">
+              <Warning></Warning>
+            </el-icon>
           </el-tooltip>
         </div>
         <div
@@ -194,7 +196,9 @@
           <el-tooltip
             content="空+派 方式轻货/重货的判断条件特殊, 部分情况下存在跟上一行不同的负重系数"
           >
-            <span class="el-icon-warning-outline"></span>
+            <el-icon size="16">
+              <Warning></Warning>
+            </el-icon>
           </el-tooltip>
         </div>
         <div
@@ -222,7 +226,8 @@
 
 <script lang="ts" setup>
 import { defineComponent } from 'vue'
-import { ElTooltip, ElCarousel, ElCarouselItem } from 'element-plus'
+import { ElTooltip, ElCarousel, ElCarouselItem, ElIcon } from 'element-plus'
+import { Warning } from '@element-plus/icons-vue'
 import { $t } from '@/i18n/index'
 import commonTitle from './title.vue'
 defineComponent({