clay commit : 第一阶段完成
This commit is contained in:
@@ -78,7 +78,7 @@ export default {
|
||||
}
|
||||
|
||||
.context_name {
|
||||
font-size: 1.6rem;
|
||||
font-size: 1.8rem;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #1956BC;
|
||||
@@ -94,12 +94,12 @@ export default {
|
||||
|
||||
.name {
|
||||
margin-top: 2rem;
|
||||
font-size: 1.4rem;
|
||||
font-size: 1.6rem;
|
||||
font-weight: 600;
|
||||
color: #1956BC;
|
||||
}
|
||||
.text {
|
||||
font-size: 1.2rem;
|
||||
font-size: 1.4rem;
|
||||
color: #3C3C3C;
|
||||
clear: left;
|
||||
div {
|
||||
|
||||
@@ -363,10 +363,17 @@ export default {
|
||||
} else if (this.type == 1) {
|
||||
this.contextData = res.data
|
||||
} else if (this.type == 3) {
|
||||
|
||||
|
||||
|
||||
this.contextData = handleTree(res.data, "id", "pid", null, null)
|
||||
console.log(this.contextData,"this.contextData")
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 菜单点击,路由切换
|
||||
* @param nav
|
||||
|
||||
Reference in New Issue
Block a user