Commit 03d5233c by wuxiao

no message

parent 6f0cb331
...@@ -158,12 +158,12 @@ export default { ...@@ -158,12 +158,12 @@ export default {
tooltip: { tooltip: {
backgroundColor: 'rgba(50, 50, 50, 0)', backgroundColor: 'rgba(50, 50, 50, 0)',
borderColor: 'rgba(50, 50, 50, 0)', borderColor: 'rgba(50, 50, 50, 0)',
position: [180, 100], position: [180, 50],
formatter: function (params, ticket, callback) { formatter: function (params, ticket, callback) {
// 根据业务自己拓展要显示的内容 // 根据业务自己拓展要显示的内容
let name = params.name let name = params.name
if (name === '南通') { if (name === '南通') {
return `<div style="width: 554px;height: 361px;background: url(${require('../../../static/images/index/mapFloatBG.png')}) no-repeat;"></div>` return `<div style="width: 508px;height: 400px;background: url(${require('../../../static/images/index/mapFloatBG.png')}) no-repeat;"></div>`
} else { } else {
return '' return ''
} }
......
static/images/index/mapFloatBG.png

162 KB | W: | H:

static/images/index/mapFloatBG.png

185 KB | W: | H:

static/images/index/mapFloatBG.png
static/images/index/mapFloatBG.png
static/images/index/mapFloatBG.png
static/images/index/mapFloatBG.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment