From cb9cd5f77b5d6ace463f46ab2f0e8aafa82f9dcb Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期二, 15 四月 2025 09:44:54 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/wyyDatabase --- src/views/directory/index.vue | 25 +++++++++++++------------ 1 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/views/directory/index.vue b/src/views/directory/index.vue index b94eafc..ac083af 100644 --- a/src/views/directory/index.vue +++ b/src/views/directory/index.vue @@ -461,37 +461,38 @@ { type: "tree", data: [this.chartData], - // symbol: "emptyCircle", top: "10%", bottom: "10%", layout: "radial", - symbol: "emptyCircle", + symbol: "circle", symbolSize: 7, initialTreeDepth: 3, // 灞曞紑鎵�鏈夎妭鐐� animationDurationUpdate: 750, emphasis: { focus: "descendant", }, + label: { position: "top", //鏍囩鐨勪綅缃�� verticalAlign: "middle", //鏂囧瓧鍨傜洿瀵归綈鏂瑰紡锛岄粯璁よ嚜鍔ㄣ�� fontSize: 12, //鏂囧瓧鐨勫瓧浣撳ぇ灏� color: "#bc1c00", }, - leaves: { - symbol: "emptyCircle", - label: { - fontSize: 12, - }, - }, + // leaves: { + // symbol: "emptyCircle", + // label: { + // fontSize: 12, + // }, + // }, expandAndCollapse: false, lineStyle: { color: "#bc1c00", width: 1, }, itemStyle: { - symbol: "emptyCircle", - color: "#bc1c00", + color: function (params) { + return "green"; + }, }, roam: true, center: ["5%", "0%"], // 寰皟鍨傜洿灞呬腑 @@ -519,7 +520,7 @@ <style lang="less" scoped> .page { width: 100%; - height: 100%; + height: 100vh; box-sizing: border-box; background-color: #e9e1d4; position: relative; @@ -527,7 +528,7 @@ } .page-header { - height: 9.4%; + height: 9.4vh; width: 100%; text-align: left; border-bottom: 2px solid #937950; -- Gitblit v1.9.1