diff --git a/kcui/src/assets/defaultConfig.js b/kcui/src/assets/defaultConfig.js index 070c553..b35b031 100644 --- a/kcui/src/assets/defaultConfig.js +++ b/kcui/src/assets/defaultConfig.js @@ -1,5 +1,6 @@ export const config = { - background:'40,47,183', + background:'255,255,255', + // background:'40,47,183', node: { //节点的默认配置 label: { //标签配置 show: false, //是否显示 diff --git a/kcui/src/assets/img/circle1.png b/kcui/src/assets/img/circle1.png new file mode 100644 index 0000000..f16c966 Binary files /dev/null and b/kcui/src/assets/img/circle1.png differ diff --git a/kcui/src/assets/img/graphbg.png b/kcui/src/assets/img/graphbg.png new file mode 100644 index 0000000..791250f Binary files /dev/null and b/kcui/src/assets/img/graphbg.png differ diff --git a/kcui/src/assets/js/graphvis.min.20241008.js b/kcui/src/assets/js/graphvis.min.20241008.js index c76fc71..673dbd5 100644 --- a/kcui/src/assets/js/graphvis.min.20241008.js +++ b/kcui/src/assets/js/graphvis.min.20241008.js @@ -4900,6 +4900,7 @@ ctx.beginPath(); ctx.rect(this.x, this.y, this.width, this.headerHeight); ctx.closePath(); + (ctx.fillStyle = `rgba(${this.headerColor},${this.headerAlpha})`), ctx.fill(); var lineWidth = this.borderWidth; @@ -5087,13 +5088,15 @@ borderColor: null, }, shape: "circle", - color: "30,160,255", + // color: "30,160,255,0.2", + + color: "30,160,255,0.01", borderColor: "20,20,20", - borderAlpha: 1, + borderAlpha: 10, borderWidth: 0, borderRadius: 0, lineDash: [0], - alpha: 1, + alpha: 10, size: 0, width: 60, height: 60, @@ -5433,6 +5436,7 @@ self.scene.add(node); self.nodes.push(node); nodeIdMapNode[n.id] = node; + }); var source, target, link; (data.links || []).forEach(function (l) { diff --git a/kcui/src/components/Head.vue b/kcui/src/components/Head.vue index 51f140b..1108f7e 100644 --- a/kcui/src/components/Head.vue +++ b/kcui/src/components/Head.vue @@ -2,6 +2,8 @@
目录
+
退出登录
@@ -21,6 +23,9 @@ export default { log(){ localStorage.clear(); this.$router.push('/') + }, + goMulu(){ + this.$router.push('/Mulu') } }, mounted() { diff --git a/kcui/src/view/Graph.vue b/kcui/src/view/Graph.vue index 0a456c7..0090eaf 100644 --- a/kcui/src/view/Graph.vue +++ b/kcui/src/view/Graph.vue @@ -1,6 +1,6 @@