mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
案例二三级隐藏,课程给页面设置高度
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
</el-checkbox-group> -->
|
</el-checkbox-group> -->
|
||||||
|
|
||||||
<!-- 二级分类 -->
|
<!-- 二级分类 -->
|
||||||
<div class="field" v-if="twoList.length > 0" style="margin-top: 24px;">
|
<!-- <div class="field" v-if="twoList.length > 0" style="margin-top: 24px;">
|
||||||
<div style="line-height: 25px;padding-right: 10px;padding-left: 0;">
|
<div style="line-height: 25px;padding-right: 10px;padding-left: 0;">
|
||||||
<span class="item-title">二级分类</span>
|
<span class="item-title">二级分类</span>
|
||||||
<span class="item-line"></span>
|
<span class="item-line"></span>
|
||||||
@@ -48,9 +48,9 @@
|
|||||||
<div :class="item.fielclass ? 'fieldactive' : ''" @click="fieldswich(item, 2)"
|
<div :class="item.fielclass ? 'fieldactive' : ''" @click="fieldswich(item, 2)"
|
||||||
v-for="(item, idx) in twoList" :key="'b' + idx">{{ item.name }}</div>
|
v-for="(item, idx) in twoList" :key="'b' + idx">{{ item.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
<!-- 三级分类 -->
|
<!-- 三级分类 -->
|
||||||
<div class="field" v-if="threeList.length > 0" style="margin-top: 24px;">
|
<!-- <div class="field" v-if="threeList.length > 0" style="margin-top: 24px;">
|
||||||
<div style="line-height: 25px;padding-right: 10px;padding-left: 0;">
|
<div style="line-height: 25px;padding-right: 10px;padding-left: 0;">
|
||||||
<span class="item-title">三级分类</span>
|
<span class="item-title">三级分类</span>
|
||||||
<span class="item-line"></span>
|
<span class="item-line"></span>
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
<div :class="item.fielclass ? 'fieldactive' : ''" @click="fieldswich(item, 3)"
|
<div :class="item.fielclass ? 'fieldactive' : ''" @click="fieldswich(item, 3)"
|
||||||
v-for="(item, idx) in threeList" :key="'c' + idx">{{ item.name }}</div>
|
v-for="(item, idx) in threeList" :key="'c' + idx">{{ item.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -573,7 +573,8 @@ export default {
|
|||||||
}
|
}
|
||||||
console.log(isBack, 'isBack');
|
console.log(isBack, 'isBack');
|
||||||
// Promise.all([apiType.items("org_domain"), apiCase.majorTypes()]).then(rs => {
|
// Promise.all([apiType.items("org_domain"), apiCase.majorTypes()]).then(rs => {
|
||||||
Promise.all([apiType.treeList(1,155,1), apiCase.majorTypes()]).then(rs => {
|
// 90是测试环境,155是生产环境
|
||||||
|
Promise.all([apiType.treeList(1,90,1), apiCase.majorTypes()]).then(rs => {
|
||||||
if (rs[0].code == 200) {
|
if (rs[0].code == 200) {
|
||||||
const {records} = rs[0].data
|
const {records} = rs[0].data
|
||||||
records.forEach(item => {
|
records.forEach(item => {
|
||||||
|
|||||||
@@ -1524,6 +1524,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
.couser-list-content{
|
||||||
|
min-height: 110%;
|
||||||
|
}
|
||||||
// 标题
|
// 标题
|
||||||
.navTitle {
|
.navTitle {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|||||||
Reference in New Issue
Block a user