From 8cea7d46704357d1a2f3740a2599824d65ff7724 Mon Sep 17 00:00:00 2001
From: luJianJun <2587063613@qq.com>
Date: Tue, 8 Aug 2023 18:31:20 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E7=82=B9=E5=87=BB=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/detail.vue | 102 +++++++++++++++++++++++++++++--------------
1 file changed, 69 insertions(+), 33 deletions(-)
diff --git a/src/views/detail.vue b/src/views/detail.vue
index 891e1c7..9a11b1b 100644
--- a/src/views/detail.vue
+++ b/src/views/detail.vue
@@ -53,10 +53,15 @@
@@ -1281,7 +1287,7 @@ let contacts = reactive({
let getHousingInfo = () => {
api.details({
uniqid: uniqid.value,
- uid:store.state.user.uid
+ uid: store.state.user.uid
}).then(res => {
// console.log(res)
if (res.code === 200) {
@@ -1961,7 +1967,8 @@ img {
.top-contact-btn {
width: 200px !important;
}
-.contact-btn:hover{
+
+.contact-btn:hover {
background: -webkit-linear-gradient(0, rgba(168, 209, 247, 1) -4%, rgba(213, 232, 249, 1) 102%);
background: -moz-linear-gradient(0, rgba(168, 209, 247, 1) -4%, rgba(213, 232, 249, 1) 102%);
background: linear-gradient(0, rgba(168, 209, 247, 1) -4%, rgba(213, 232, 249, 1) 102%);
@@ -2061,6 +2068,18 @@ img {
width: 210px;
}
+ .fav-btn{
+
+ }
+
+ .fav-btn:hover .fav-img-f{
+ opacity: 0.4;
+ }
+
+ .fav-btn:hover .fav-img-t{
+ opacity:0;
+ }
+
.tool-btn {
width: 199px;
height: 48px;
@@ -2077,6 +2096,22 @@ img {
font-size: 14px;
cursor: pointer;
+ .fav-img{
+ width: 20px;
+ height:20px;
+ position: absolute;
+ top:0;
+ left:0;
+ transition: all linear 0.2s;
+ }
+
+ .fav-img-f{
+ opacity:0;
+ }
+ .fav-img-t{
+ opacity:1;
+ }
+
.tool-icon {
width: 20px;
height: 20px;
@@ -2433,7 +2468,8 @@ img {
flex-shrink: 0;
position: relative;
}
- .img:hover{
+
+ .img:hover {
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.4);
-webkit-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.4);
@@ -2545,7 +2581,7 @@ img {
font-style: normal;
color: #7F7F7F;
font-size: 14px;
- padding:15px 0;
+ padding: 15px 0;
.title-box {
width: 65px;