Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
ZhangJianFrontEnd
Overview
Overview
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
vue-project
ZhangJian
ZhangJianFrontEnd
Commits
03d5233c
Commit
03d5233c
authored
Aug 16, 2021
by
wuxiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6f0cb331
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Center.vue
src/pages/index/Center.vue
+2
-2
mapFloatBG.png
static/images/index/mapFloatBG.png
+0
-0
No files found.
src/pages/index/Center.vue
View file @
03d5233c
...
...
@@ -158,12 +158,12 @@ export default {
tooltip
:
{
backgroundColor
:
'rgba(50, 50, 50, 0)'
,
borderColor
:
'rgba(50, 50, 50, 0)'
,
position
:
[
180
,
10
0
],
position
:
[
180
,
5
0
],
formatter
:
function
(
params
,
ticket
,
callback
)
{
// 根据业务自己拓展要显示的内容
let
name
=
params
.
name
if
(
name
===
'南通'
)
{
return
`<div style="width: 5
54px;height: 361
px;background: url(
${
require
(
'../../../static/images/index/mapFloatBG.png'
)}
) no-repeat;"></div>`
return
`<div style="width: 5
08px;height: 400
px;background: url(
${
require
(
'../../../static/images/index/mapFloatBG.png'
)}
) no-repeat;"></div>`
}
else
{
return
''
}
...
...
static/images/index/mapFloatBG.png
View replaced file @
6f0cb331
View file @
03d5233c
162 KB
|
W:
|
H:
185 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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