Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
shuchengMiniPro
Project
Project
Details
Activity
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
cfld-frontend
shuchengMiniPro
Commits
9f4a93d3
Commit
9f4a93d3
authored
Dec 20, 2023
by
王玉鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 列表页地图区划点
parent
5e7897f2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
areaData.js
src/pages/entryPark/areaData.js
+0
-0
index.vue
src/pages/entryPark/index.vue
+10
-1
No files found.
src/pages/entryPark/areaData.js
0 → 100644
View file @
9f4a93d3
This diff is collapsed.
Click to expand it.
src/pages/entryPark/index.vue
View file @
9f4a93d3
...
...
@@ -96,7 +96,7 @@
</u-empty>
</view>
<div
v-else
class=
"content z-100"
:class=
"
{'no-filter': activeBar === 1}">
<map
id=
"mapId"
@
markertap=
"handleMarkerClick"
@
callouttap=
"handleMarkerClick"
:scale=
'10'
style=
"width: 100%;height: calc(100vh - 246rpx)"
latitude=
"31.464086"
longitude=
"116.944909"
class=
"map"
:markers=
"markers"
>
<map
id=
"mapId"
:polygons=
"polygons"
@
markertap=
"handleMarkerClick"
@
callouttap=
"handleMarkerClick"
:scale=
'10'
style=
"width: 100%;height: calc(100vh - 246rpx)"
latitude=
"31.464086"
longitude=
"116.944909"
class=
"map"
:markers=
"markers"
>
</map>
<div
v-if=
"activeInfo.id"
:key=
"activeInfo.id"
@
click=
"toDetail(activeInfo)"
style=
"position: fixed;padding: 0 30rpx;bottom: 30rpx;width: 100vw;z-index: 999;box-sizing: border-box;"
>
<park-card-vue
:key=
"activeInfo.id"
:key-words=
"keyWords"
:detail=
"activeInfo"
v-if=
"activeBar == 0"
></park-card-vue>
...
...
@@ -114,6 +114,7 @@ import carrierCardVue from "../../components/media/carrier-card.vue";
import
parkCardVue
from
"../../components/media/park-card.vue"
;
import
landCardVue
from
"../../components/media/land-card.vue"
;
import
dropdownVue
from
"../../components/dropdown/dropdown.vue"
;
import
areaData
from
'./areaData.js'
;
export
default
{
components
:
{
carrierCardVue
,
...
...
@@ -130,6 +131,14 @@ export default {
pageNum
:
1
,
haveMore
:
true
,
isLoading
:
true
,
polygons
:
[
{
points
:
areaData
,
strokeWidth
:
2
,
strokeColor
:
'#4274EF'
,
fillColor
:
'#4274EF10'
,
}
],
//筛选菜单列表
menuList
:
[
[
...
...
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