收藏图标换下,收藏了以后变实心的五角星

This commit is contained in:
yanyizhou
2021-11-29 16:55:23 +08:00
parent 4a1c21f7ae
commit 56537b2482
3 changed files with 7 additions and 7 deletions
@@ -308,7 +308,7 @@
</el-table-column>
<el-table-column fixed="right"
v-if="isPermission('cac1eb379eb8e3b987cbb2e4599adb50,247cebaefa7cf1683092af160af11502,dbaf9df2990a595c8abea28e68b1a681')>0"
label="收藏" align="center" width="50"
label="收藏" align="center" width="200"
>
<template slot-scope="scope">
<div
@@ -343,7 +343,7 @@
@click="handleCommand([scope.row, '收藏'])"
>
</el-button>
<el-button title="取消收藏" class="collection-btn" icon="el-icon-star-off" style="color: #f56c6c;"
<el-button title="取消收藏" class="collection-btn" icon="el-icon-star-on"
v-btn-permission="'cac1eb379eb8e3b987cbb2e4599adb50'"
v-else
@click="handleCommand([scope.row, '取消收藏'])"
@@ -5741,7 +5741,7 @@ export default {
.collection-btn {
padding: 0;
border: none;
color: #4788c0;
color: #F2CB51;
font-size: 18px;
width: 18px;
height: 18px;
@@ -417,7 +417,7 @@
@click="handleCommand([scope.row, '收藏'])"
>
</el-button>
<el-button title="取消收藏" class="collection-btn" icon="el-icon-star-off" style="color: #f56c6c;" v-btn-permission="'d9730d984627af948053df56a2db7997'"
<el-button title="取消收藏" class="collection-btn" icon="el-icon-star-on" v-btn-permission="'d9730d984627af948053df56a2db7997'"
v-else
@click="handleCommand([scope.row, '取消收藏'])"
>
@@ -4460,7 +4460,7 @@ export default {
.collection-btn {
padding: 0;
border: none;
color: #4788c0;
color: #F2CB51;
font-size: 18px;
width: 18px;
height: 18px;
@@ -350,7 +350,7 @@
@click="handleCommand([scope.row, '收藏'])"
>
</el-button>
<el-button title="取消收藏" class="collection-btn" icon="el-icon-star-off" style="color: #f56c6c;" v-btn-permission="'f9745194958bc9ed3ee5127459795dbc'"
<el-button title="取消收藏" class="collection-btn" icon="el-icon-star-on" v-btn-permission="'f9745194958bc9ed3ee5127459795dbc'"
v-else
@click="handleCommand([scope.row, '取消收藏'])"
>
@@ -5191,7 +5191,7 @@ export default {
.collection-btn {
padding: 0;
border: none;
color: #4788c0;
color: #F2CB51;
font-size: 18px;
width: 18px;
height: 18px;