Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
house-type
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjiankun
house-type
Commits
e906af89
Commit
e906af89
authored
Jul 02, 2020
by
wangjiankun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 点击楼盘信息的图片与楼盘名称跳转到楼盘详情
fix:楼盘详情返回按钮功能
parent
ea8971c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
index.vue
src/views/RegionalPlate/index.vue
+8
-2
index.vue
src/views/propertiesDetail/index.vue
+1
-1
No files found.
src/views/RegionalPlate/index.vue
View file @
e906af89
...
...
@@ -152,8 +152,8 @@
</div>
<div
v-else-if=
"showType === 'property'"
class=
"dealWidth"
>
<div
class=
"searchDetailFlex"
>
<img
height=
"200"
:src=
"require('@assets/img/loupan.png')"
alt=
""
>
<p
class=
"propertyName"
>
{{
propertyDetailData
.
name
||
'楼房名称'
}}
</p>
<img
style=
"cursor: pointer"
@
click=
"toPropertyDetail"
height=
"200"
:src=
"require('@assets/img/loupan.png')"
alt=
""
>
<p
@
click=
"toPropertyDetail"
class=
"propertyName"
>
{{
propertyDetailData
.
name
||
'楼房名称'
}}
</p>
<p
class=
"propertyDetail"
v-html=
"'价格'+':' + propertyDetailData.price + '/m
<sup>
2
</sup>
'">
</p>
<p
class=
"propertyDetail"
>
{{
'产品类型'
+
':'
+
propertyDetailData
.
productType
}}
</p>
<p
class=
"propertyDetail"
...
...
@@ -245,6 +245,12 @@
query
:
item
})
},
toPropertyDetail
()
{
this
.
$router
.
push
({
path
:
'/propertiesDetail'
,
query
:
this
.
propertyDetailData
})
},
showTowerInfo
(
item
)
{
console
.
log
(
item
)
this
.
propertyDetailData
=
JSON
.
parse
(
JSON
.
stringify
(
item
))
...
...
src/views/propertiesDetail/index.vue
View file @
e906af89
...
...
@@ -2,7 +2,7 @@
<section
class=
"propertiesMain"
>
<header
class=
"header"
>
<div
class=
"back"
>
<el-link
type=
"primary"
>
返回
</el-link>
<el-link
type=
"primary"
@
click=
"$router.go(-1)"
>
返回
</el-link>
</div>
<div
class=
"name"
>
{{
propertyData
.
propertyName
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment