diff --git a/src/assets/styles/apartmentDetail.css b/src/assets/styles/apartmentDetail.css
index c533352..7ece524 100644
--- a/src/assets/styles/apartmentDetail.css
+++ b/src/assets/styles/apartmentDetail.css
@@ -999,7 +999,7 @@
color: #555555;
line-height: 30px;
padding: 0 15px;
- margin-bottom: 26px;
+ margin-bottom: 20px;
white-space: pre-line;
}
.content .details-box .details-right {
diff --git a/src/assets/styles/apartmentDetail.less b/src/assets/styles/apartmentDetail.less
index 6131c14..8650d9a 100644
--- a/src/assets/styles/apartmentDetail.less
+++ b/src/assets/styles/apartmentDetail.less
@@ -1438,7 +1438,7 @@
color: #555555;
line-height: 30px;
padding: 0 15px;
- margin-bottom: 26px;
+ margin-bottom: 20px;
white-space: pre-line;
}
}
diff --git a/src/components/apartment/sameBrandItem.vue b/src/components/apartment/sameBrandItem.vue
index 8930153..0e54900 100644
--- a/src/components/apartment/sameBrandItem.vue
+++ b/src/components/apartment/sameBrandItem.vue
@@ -51,6 +51,7 @@ const gobrand = (item) => router.push(`/apartmentDetail?uniqid=${item.uniqid}`);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.117647058823529);
padding: 8px 0;
cursor: pointer;
+ transition: all .3s;
&:not(:last-of-type) {
margin-bottom: 20px;
diff --git a/src/components/apartment/seachModule.vue b/src/components/apartment/seachModule.vue
index 65ba042..5b8c5fb 100644
--- a/src/components/apartment/seachModule.vue
+++ b/src/components/apartment/seachModule.vue
@@ -23,7 +23,7 @@
历史搜索
-
+
{{ item }}
diff --git a/src/components/public/apartment-item.vue b/src/components/public/apartment-item.vue
index 0f30503..ccd4b9c 100644
--- a/src/components/public/apartment-item.vue
+++ b/src/components/public/apartment-item.vue
@@ -50,20 +50,20 @@
-
+

- {{ calculateDuration(item.distance.walking_duration) }}
+ {{ item.distance.walking_duration }}时长(分)
-
+

- {{ calculateDuration(item.distance.transit_duration) }}
+ {{ item.distance.transit_duration }}时长(分)
-
+

- {{ calculateDuration(item.distance.driving_duration) }}
+ {{ item.distance.driving_duration }}时长(分)
@@ -85,10 +85,10 @@
HK$
-
{{ it.discountprice || it["price"] }}
+
{{ it.discountprice || it.price }}
/月
-
HK${{ it.discountprice }}/月
+
HK${{ it.price }}/月
diff --git a/src/components/public/viewMap.vue b/src/components/public/viewMap.vue
index 8ef50d4..fcfbc3c 100644
--- a/src/components/public/viewMap.vue
+++ b/src/components/public/viewMap.vue
@@ -130,7 +130,7 @@ defineExpose({
#container {
cursor: pointer;
- width: 816px;
+ width: 814px;
height: 180px;
margin-top: 20px;
// margin-bottom: 40px;
diff --git a/src/components/seachPage/input.vue b/src/components/seachPage/input.vue
index 9da2995..75b2699 100644
--- a/src/components/seachPage/input.vue
+++ b/src/components/seachPage/input.vue
@@ -124,17 +124,26 @@
-
- {{ listSort.check }}
+
+
+ {{ listSort.check }}
+

+
+
-
@@ -438,13 +447,14 @@ let selectTabCheck = reactive({
//最新发布选项
let listSort = shallowReactive({
type: [
+ { title: "综合", type: "default" },
{ title: "最新发布", type: "timestamp" },
{ title: "热门", type: "hotnum" },
{ title: "价格从低到高", type: "rentasc" },
{ title: "价格从高到低", type: "rentdesc" },
],
- checkType: "timestamp",
- check: "最新发布",
+ checkType: "default",
+ check: "综合",
});
//搜索列表排序
let listSortCheck = (item) => {
@@ -844,6 +854,20 @@ img {
color: #000000;
text-align: center;
cursor: pointer;
+
+ .sort-btn {
+ cursor: pointer;
+ color: #000;
+ line-height: 24px;
+ font-size: 14px;
+ font-weight: 650;
+
+ .sort-icon {
+ width: 20px;
+ height: 20px;
+ margin-left: 10px;
+ }
+ }
}
.img {
@@ -1003,3 +1027,51 @@ img {
--el-dropdown-menuItem-hover-fill: rgba(246, 246, 246, 1);
}
+
\ No newline at end of file
diff --git a/src/views/apartmentDetail.vue b/src/views/apartmentDetail.vue
index ade286c..d74cc39 100644
--- a/src/views/apartmentDetail.vue
+++ b/src/views/apartmentDetail.vue
@@ -95,16 +95,30 @@
-
+
+
+
+

+ {{ distancePitch.walking_duration }}时长(分)
+
+
+

+ {{ distancePitch.transit_duration }}时长(分)
+
+
+

+ {{ distancePitch.driving_duration }}时长(分)
@@ -179,7 +193,7 @@