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 @@
-
- +
+
+ + +
@@ -99,8 +104,8 @@ {{ housingInfo['data'] && housingInfo['data'].info.rent[0] }}~{{ - housingInfo['data'] && housingInfo['data'].info.rent[1] - }} + housingInfo['data'] && housingInfo['data'].info.rent[1] +}} /{{ housingInfo['data'] && housingInfo['data'].info.rentalperiod }}
@@ -482,33 +487,33 @@
-
-
-
- - -
-
- {{ item && item.name }} -
-
-
- - {{ items.title }} - - - - -
+
@@ -790,7 +795,8 @@
- +
@@ -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;