clay commit : 第一阶段完成
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user