瀏覽代碼

客户管理置顶图标替换

lxf 1 年之前
父節點
當前提交
f911397a85
共有 5 個文件被更改,包括 6 次插入12 次删除
  1. 二進制
      public/img/isTop.png
  2. 二進制
      public/img/noTop.png
  3. 2 4
      src/views/customer/file/index.vue
  4. 2 4
      src/views/customer/highseas/index.vue
  5. 2 4
      src/views/customer/privatesea/index.vue

二進制
public/img/isTop.png


二進制
public/img/noTop.png


+ 2 - 4
src/views/customer/file/index.vue

@@ -17,10 +17,8 @@
         @get-list="getList">
         <template #isTop="{ item }">
           <div>
-            <el-icon style="color: red; cursor: pointer; font-size: 22px; transform: translateY(5px)" @click="deleteTop(item)" v-if="item.isTop === 1">
-              <Flag />
-            </el-icon>
-            <el-icon style="color: #b5b5b5; cursor: pointer; font-size: 22px; transform: translateY(5px)" @click="addTop(item)" v-else><Flag /></el-icon>
+            <img style="cursor: pointer; width: 20px; transform: translateY(5px)" :src="'/img/isTop.png'" @click="deleteTop(item)" v-if="item.isTop === 1" />
+            <img style="cursor: pointer; width: 20px; transform: translateY(5px)" :src="'/img/noTop.png'" @click="addTop(item)" v-else />
           </div>
         </template>
         <template #address="{ item }">

+ 2 - 4
src/views/customer/highseas/index.vue

@@ -17,10 +17,8 @@
         @get-list="getList">
         <template #isTop="{ item }">
           <div>
-            <el-icon style="color: red; cursor: pointer; font-size: 22px; transform: translateY(5px)" @click="deleteTop(item)" v-if="item.isTop === 1">
-              <Flag />
-            </el-icon>
-            <el-icon style="color: #b5b5b5; cursor: pointer; font-size: 22px; transform: translateY(5px)" @click="addTop(item)" v-else><Flag /></el-icon>
+            <img style="cursor: pointer; width: 20px; transform: translateY(5px)" :src="'/img/isTop.png'" @click="deleteTop(item)" v-if="item.isTop === 1" />
+            <img style="cursor: pointer; width: 20px; transform: translateY(5px)" :src="'/img/noTop.png'" @click="addTop(item)" v-else />
           </div>
         </template>
         <template #address="{ item }">

+ 2 - 4
src/views/customer/privatesea/index.vue

@@ -17,10 +17,8 @@
         @get-list="getList">
         <template #isTop="{ item }">
           <div>
-            <el-icon style="color: red; cursor: pointer; font-size: 22px; transform: translateY(5px)" @click="deleteTop(item)" v-if="item.isTop === 1">
-              <Flag />
-            </el-icon>
-            <el-icon style="color: #b5b5b5; cursor: pointer; font-size: 22px; transform: translateY(5px)" @click="addTop(item)" v-else><Flag /></el-icon>
+            <img style="cursor: pointer; width: 20px; transform: translateY(5px)" :src="'/img/isTop.png'" @click="deleteTop(item)" v-if="item.isTop === 1" />
+            <img style="cursor: pointer; width: 20px; transform: translateY(5px)" :src="'/img/noTop.png'" @click="addTop(item)" v-else />
           </div>
         </template>
         <template #address="{ item }">