diff --git a/src/assets/images/case/wight.png b/src/assets/images/case/wight.png
new file mode 100644
index 00000000..5cac9530
Binary files /dev/null and b/src/assets/images/case/wight.png differ
diff --git a/src/assets/images/case/wighttime.png b/src/assets/images/case/wighttime.png
new file mode 100644
index 00000000..3c4cc3d7
Binary files /dev/null and b/src/assets/images/case/wighttime.png differ
diff --git a/src/components/Case/collectList.vue b/src/components/Case/collectList.vue
index d70d0b42..d6c613dd 100644
--- a/src/components/Case/collectList.vue
+++ b/src/components/Case/collectList.vue
@@ -8,7 +8,10 @@
@@ -161,6 +164,26 @@
line-height: 40px;
font-weight: 200;
color: #999999;
+ display: flex;
+ justify-content: end;
+ .box{
+ display: flex;
+ justify-content: end;
+ align-items: center;
+ .image{
+ width: 14px;
+ height: 14px;
+ background: url('../../assets/images/case/Frame(5).png') no-repeat;
+ background-size: 100%;
+ margin-right: 10px;
+ }
+ &:hover{
+ .image{
+ background: url('../../assets/images/case/Frame(12).png') no-repeat;
+ background-size: 100%;
+ }
+ }
+ }
i {
margin-right: 5px;
}
diff --git a/src/components/Portal/interactBar.vue b/src/components/Portal/interactBar.vue
index a47ff5d9..a1faad95 100644
--- a/src/components/Portal/interactBar.vue
+++ b/src/components/Portal/interactBar.vue
@@ -536,6 +536,7 @@ export default {
this.$store.dispatch("unicomFavorites",false)
}
this.$message({message:'已取消收藏',type:'success'});
+ this.$emit('deleteFavorite',true)
//this.$emit('addFavorite',res.result);//添加收藏,如果是true代表添加成功,false代表已存在
}else{
console.log('取消收藏失败:'+res.message);
diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue
index 1e488c4b..aa1c5998 100644
--- a/src/views/portal/case/Index.vue
+++ b/src/views/portal/case/Index.vue
@@ -264,7 +264,7 @@
@@ -838,6 +838,9 @@ export default {
},
methods: {
+ deleteFavorite(e){
+ this.search()
+ },
positiveReview(e){
this.favorableName = this.switch[e]
this.getPositive()
@@ -2498,7 +2501,7 @@ export default {
// color: #fff;
}
// .png{
- // background: url('../../../assets/images/case/Frame(17).png') no-repeat;
+ // background: url('../../../assets/images/case/wighttime.png') no-repeat;
// }
}
.png{
@@ -2537,7 +2540,7 @@ export default {
.png{
width: 20px;
height: 20px;
- background: url('../../../../public/images/browse.png') no-repeat;
+ background: url('../../../assets/images/case/wighttime.png') no-repeat;
background-size: 100%;
margin-right: 9px;
}
@@ -2563,7 +2566,7 @@ export default {
// color: #fff;
}
// .png{
- // background: url('../../../assets/images/case/Frame(4).png') no-repeat;
+ // background: url('../../../assets/images/case/wight.png') no-repeat;
// }
}
.png{
@@ -2602,7 +2605,7 @@ export default {
.png{
width: 18px;
height: 18px;
- background: url('../../../../public/images/collect.png') no-repeat;
+ background: url('../../../assets/images/case/wight.png') no-repeat;
background-size: 100%;
margin-right: 9px;
}