From 57b54480726dcb68bf17675192f74daae8635e47 Mon Sep 17 00:00:00 2001 From: luJianJun <2587063613@qq.com> Date: Fri, 21 Jul 2023 18:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E9=A1=B9=E5=8D=A1=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/assets/img/detail/infoIcon.png | Bin 0 -> 774 bytes src/assets/img/detail/videoStop.svg | 6 + src/components/seachModule/seachModule.vue | 2 +- src/components/seachPage/input.vue | 60 +++++- src/views/detail.vue | 228 ++++++++++++++++++++- 5 files changed, 274 insertions(+), 22 deletions(-) create mode 100644 src/assets/img/detail/infoIcon.png create mode 100644 src/assets/img/detail/videoStop.svg diff --git a/src/assets/img/detail/infoIcon.png b/src/assets/img/detail/infoIcon.png new file mode 100644 index 0000000000000000000000000000000000000000..9f58377a30cf232bca0c433fb9dd89c1f49b2dd6 GIT binary patch literal 774 zcmV+h1Nr=kP)Px#L}ge>W=%~1DgXcg2mk?xX#fNO00031000^Q000001E2u_0{{R30RRC20H6W@ z1ONa40RR91GN1zh1ONa40RR91H~;_u06%-T3IG5Ca7jc#RA>e5mf>;RFbsv0UjNq{ zRNWvOL>tr_#GRlWK^rvPAlbkh1f8JSpz;Lu2JHvsn3HH*Awepkd&J!nMT&TM07P3C z7uCwDz~u=!H>|J0>csQ6THX_Q3+`VMpu!)(-@@?=eX~VAha_B)HJPKfVbyIqmr*qj z_Riffu1ELha=URt$BE3obIzf#@!IJbC*s!5a;%Az*0%SFf_~t?P2_Oy`eU;JAKZd< z6dYrIcCV~~X8e?MAE{%Yvz`&{#N)t__oAG)7D{U(VhI-LW8$_ZqU|rrtckP>X3?Z_ z3k0Eu{SSLrsR57pE9Y+zszdh;X6=Xu)UVIaPc&Js%Jl%6R5pPirV^#>9rCtzB(-SS z{c9rGOPWYnJCazy?C$?fM^ZoIca*jV0#dBSxd9(RvIz_^{|$HS&;9S-MQTvJ2PUk9 zCZcyHB!U#VZR)a3-{NfdB|lqoGOS;rVO6rDcsU4{uS*QZ_)mo^qX4=>2$WPSm%nAb?mrUdy4WB>@8t?_|z~UxE zNd4^C!*L55aLU#^5Re+n`5(kdA=d;tumYjhvQdB&WF4WHnlOzevm`K$`t<5qVmqxq zUsQE+B;X5ZSrFg^hK{&QO_;vqyhH+174aSN{b#H38VUG + + + + + \ No newline at end of file diff --git a/src/components/seachModule/seachModule.vue b/src/components/seachModule/seachModule.vue index cd42de8..08cbded 100644 --- a/src/components/seachModule/seachModule.vue +++ b/src/components/seachModule/seachModule.vue @@ -171,7 +171,7 @@ let seachList = (item) => { query: { keyword: seachAllType.keyword, isNeedHousing:routePath.value === '/needHousing', - houseingPageType:routePath.value === '/needHousing'?6:routePath.value === '/intermediaryHousing'?1:routePath.value === '/personHousing'?0:'' + houseingPageType:routePath.value === '/needHousing'?6:routePath.value === '/intermediaryHousing'?1:routePath.value === '/personHousing'?0:0 } }) // if (routePath.value === '/') { diff --git a/src/components/seachPage/input.vue b/src/components/seachPage/input.vue index ad22358..96ee087 100644 --- a/src/components/seachPage/input.vue +++ b/src/components/seachPage/input.vue @@ -46,6 +46,14 @@ 求房源 +
+
+
+ +
+
+
@@ -77,6 +85,13 @@
学生公寓 {{ seachKey.key && seachKey.key.studentapartment && seachKey.key.studentapartment.count }}
+
+
+
+ +
+
+
@@ -181,11 +196,11 @@ let selectTabBoxInfo = ref(null)//个人/中介筛选实例 let apartmentSelectInfo = ref(null)//公寓筛选实例 //设置请求数据 let selectPage = (type) => { - if(type===seachAllType['tabType'])return + if (type === seachAllType['tabType']) return if (type === 'apartment') { selectTabBoxInfo.value.cleanSelect()//清空筛选数据 } else { - apartmentSelectInfo.value.cleanSelect&&apartmentSelectInfo.value.cleanSelect() + apartmentSelectInfo.value.cleanSelect && apartmentSelectInfo.value.cleanSelect() } //清空数据 if (type === 'apartment') @@ -369,15 +384,15 @@ let getLocationData = (data) => { } //更新当前数据数量 -let setListCount=(item,num)=>{ - console.log(item,num) +let setListCount = (item, num) => { + console.log(item, num) console.log(seachKey.key) - if(item.tabType==="intermediary"){ - seachKey.key['intermediary']['count']=num - }else if(item.tabType==="person"){ - seachKey.key['personal']['count']=num - }else if(item.tabType==="apartment"){ - seachKey.key['studentapartment']['count']=num + if (item.tabType === "intermediary") { + seachKey.key['intermediary']['count'] = num + } else if (item.tabType === "person") { + seachKey.key['personal']['count'] = num + } else if (item.tabType === "apartment") { + seachKey.key['studentapartment']['count'] = num } } @@ -641,6 +656,31 @@ img { } } + .four { + left:600px; + bottom: 0; + background: #62b1ff; + + .second-select-third-box { + position: absolute; + background: #fff; + top: 0; + left: -4px; + height: 45px; + width: 30px; + z-index: 88; + + .box { + border-radius: 0 0 0 16px; + background: #62b1ff; + height: 45px; + width: 30px; + position: absolute; + left:0; + } + } + } + .top-btn { width: 200px; height: 45px; diff --git a/src/views/detail.vue b/src/views/detail.vue index ecdbdaf..fded4fd 100644 --- a/src/views/detail.vue +++ b/src/views/detail.vue @@ -51,16 +51,79 @@
2
-
- - - - -
- +
+ + +
+
+
+
+ +
+
- - +
+ +
+
+
+
+
+
+
+ + + 基本信息 + +
+
+
+ + 房屋类型 + + + 洋楼 + +
+
+ + 所在楼层 + + + 28 + | + 有电梯 + +
+
+ + 晾晒区 + + + 阳台 + +
+
+ + 面积 + + + 680 平方呎 + +
+
+ + 性别要求 + + + 男女皆可 + +
@@ -80,14 +143,47 @@