From e103f6c980d575765eb7aa7aaee9426749c30e9e Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期一, 25 九月 2023 20:41:00 +0800 Subject: [PATCH] 完善模块搜索框样式 --- ruoyi-ui/src/views/components/superMindmap.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/components/superMindmap.vue b/ruoyi-ui/src/views/components/superMindmap.vue index e2a3a91..9e57849 100644 --- a/ruoyi-ui/src/views/components/superMindmap.vue +++ b/ruoyi-ui/src/views/components/superMindmap.vue @@ -160,7 +160,7 @@ return B茅zier_curve_generator({source: start, target: end}); }) .attr("fill", "none") - .attr("stroke", "#c3c3c3") + .attr("stroke", "#EBA4AA") // 铏氱嚎 // .attr("stroke-dasharray", "8") .attr("stroke-width", 1); @@ -194,12 +194,12 @@ .attr("r", 4) .attr("fill", function (d) { if (d.data.childrenTemp) { - return 'red' + return '#EBA4AA' } else { return 'white' } }) - .attr("stroke", "red") + .attr("stroke", "#EBA4AA") .attr("stroke-width", 1); //缁樺埗鏍囨敞(鑺傜偣鍓嶇殑鐭╁舰) groups.append("rect") @@ -211,7 +211,7 @@ } ) .attr("height", 22) - .attr("fill", "grey") + .attr("fill", "#FFFFFF") // 娣诲姞鍦嗚 .attr("rx", 4) //缁樺埗閾炬帴鏂瑰紡 @@ -219,8 +219,8 @@ .attr("x", 12) .attr("y", -5) .attr("dy", 10) - .attr("fill", 'white') - .attr("font-size", 12) + .attr("fill", '#F6739F') + .attr("font-size", 14) .text(function (d) { return d.data.link; }) @@ -269,6 +269,8 @@ function (d) { if (d.data.prop === that.active) { return '#409EFF' + }else{ + return '#8296C5' } } ) -- Gitblit v1.9.1