Commit d5d413d9 by 王志慧

commit

1 parent 77dd13cf
...@@ -92,9 +92,10 @@ export default { ...@@ -92,9 +92,10 @@ export default {
1: '商城订单', 1: '商城订单',
2: '直播订单', 2: '直播订单',
3: '活动订单', 3: '活动订单',
4: '门店套餐', 4: '门店服务套餐',
5: '精品升级', 5: '精品升级',
6: '权益提单' 6: '权益提单',
7: '商城订单'
} }
} }
}, },
...@@ -165,7 +166,7 @@ export default { ...@@ -165,7 +166,7 @@ export default {
<div class="item flex"><span class="arc" style="color:#3975C6;">●</span>新增产值:${ev.items[0].value}</div>` <div class="item flex"><span class="arc" style="color:#3975C6;">●</span>新增产值:${ev.items[0].value}</div>`
tooltipEl.style.opacity = 1 tooltipEl.style.opacity = 1
tooltipEl.style.left = currentData.x - 140 / 2 + 'px' tooltipEl.style.left = currentData.x - 140 / 2 + 'px'
tooltipEl.style.top = currentData.y - 30 - 15 + 'px' tooltipEl.style.top = currentData.y - 40 - 15 + 'px'
}, },
onHide() { onHide() {
tooltipEl.style.opacity = 0 tooltipEl.style.opacity = 0
...@@ -193,7 +194,7 @@ export default { ...@@ -193,7 +194,7 @@ export default {
this.lineChart.guide().text({ this.lineChart.guide().text({
...textObj, ...textObj,
content: '产值', content: '产值',
offsetX: -10, offsetX: -10,
offsetY: -165 offsetY: -165
}) })
this.lineChart.render() this.lineChart.render()
...@@ -316,7 +317,7 @@ export default { ...@@ -316,7 +317,7 @@ export default {
<div class="item flex"><span class="arc" style="color:#FA7C0B;">●</span>流失客户:${ev.items[1].value}</div>` <div class="item flex"><span class="arc" style="color:#FA7C0B;">●</span>流失客户:${ev.items[1].value}</div>`
tooltipEl.style.opacity = 1 tooltipEl.style.opacity = 1
tooltipEl.style.left = currentData.x - 140 / 2 + 'px' tooltipEl.style.left = currentData.x - 140 / 2 + 'px'
tooltipEl.style.top = currentData.y - 30 - 15 + 'px' tooltipEl.style.top = currentData.y - 40 - 15 + 'px'
}, },
onHide() { onHide() {
tooltipEl.style.opacity = 0 tooltipEl.style.opacity = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!