clay commit : 第一阶段完成

This commit is contained in:
clay
2022-09-26 18:14:33 +08:00
parent 62ba7e59c8
commit 1eb9631127
2 changed files with 10 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ export default {
} }
.context_name { .context_name {
font-size: 1.6rem; font-size: 1.8rem;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #1956BC; color: #1956BC;
@@ -94,12 +94,12 @@ export default {
.name { .name {
margin-top: 2rem; margin-top: 2rem;
font-size: 1.4rem; font-size: 1.6rem;
font-weight: 600; font-weight: 600;
color: #1956BC; color: #1956BC;
} }
.text { .text {
font-size: 1.2rem; font-size: 1.4rem;
color: #3C3C3C; color: #3C3C3C;
clear: left; clear: left;
div { div {

View File

@@ -363,10 +363,17 @@ export default {
} else if (this.type == 1) { } else if (this.type == 1) {
this.contextData = res.data this.contextData = res.data
} else if (this.type == 3) { } else if (this.type == 3) {
this.contextData = handleTree(res.data, "id", "pid", null, null) this.contextData = handleTree(res.data, "id", "pid", null, null)
console.log(this.contextData,"this.contextData")
} }
}) })
}, },
/** /**
* 菜单点击,路由切换 * 菜单点击,路由切换
* @param nav * @param nav