提交 ac977010 编写于 作者: huangwensu's avatar huangwensu

web端头部不显示

上级 f8828386
......@@ -81,7 +81,7 @@ export default {
data() {
return {
step1: false,
step2: true,
step2: false,
step3: false,
step4: false,
progressText: "",
......@@ -90,41 +90,41 @@ export default {
};
},
watch: {
// currentProgress(n,o) {
// let _this = this;
// if(n == 1) { // 项目学习
// _this.step1 = true;
// _this.step2 = false;
// _this.step3 = false;
// _this.step4 = false;
// }else if(n == 2) { // 申请学分
// _this.step1 = false;
// _this.step2 = true;
// _this.step3 = false;
// _this.step4 = false;
// _this.showTip = true;
// setInterval(() => {
// _this.showTip = false;
// },5000)
// }else if(n == 3) { // 学分审核
// _this.step1 = false;
// _this.step2 = false;
// _this.step3 = true;
// _this.step4 = false;
// _this.progressText = "审核中";
// }else if(n == 4) { // 审核失败
// _this.step1 = false;
// _this.step2 = false;
// _this.step3 = true;
// _this.step4 = false;
// _this.progressText = "审核失败";
// }else if(n == 5) { // 申请成功
// _this.step1 = false;
// _this.step2 = false;
// _this.step3 = false;
// _this.step4 = true;
// }
// }
currentProgress(n,o) {
let _this = this;
if(n == 1) { // 项目学习
_this.step1 = true;
_this.step2 = false;
_this.step3 = false;
_this.step4 = false;
}else if(n == 2) { // 申请学分
_this.step1 = false;
_this.step2 = true;
_this.step3 = false;
_this.step4 = false;
_this.showTip = true;
setInterval(() => {
_this.showTip = false;
},5000)
}else if(n == 3) { // 学分审核
_this.step1 = false;
_this.step2 = false;
_this.step3 = true;
_this.step4 = false;
_this.progressText = "审核中";
}else if(n == 4) { // 审核失败
_this.step1 = false;
_this.step2 = false;
_this.step3 = true;
_this.step4 = false;
_this.progressText = "审核失败";
}else if(n == 5) { // 申请成功
_this.step1 = false;
_this.step2 = false;
_this.step3 = false;
_this.step4 = true;
}
}
},
created() {},
methods: {
......
<template>
<section :class="isFixNavbar ? 'nav-top fixed' : 'nav-top'" :style="'height:' + navHeight">
<section v-if="!isWeb" :class="isFixNavbar ? 'nav-top fixed' : 'nav-top'" :style="'height:' + navHeight">
<!-- <section v-if="isWeb" :class="isFixNavbar ? 'nav-top fixed' : 'nav-top'"> -->
<div
class="nav-part"
......
......@@ -96,9 +96,7 @@
import CommonNavbar from "@/components/common/common-navbar";
import CommonDescription from "@/components/common/common-description";
import CommonSpliteLine from "@/components/common/common-splite-line";
// import CommonTitle from "@/components/common/common-title";
// import CertShow from "@/components/business/cert-show";
// import CellListItem from "@/components/business/cell-list-item";
import CellListDetail from "@/components/business/cell-list-detail";
// import NoPermContent from "@/components/business/no-perm-content";
// import CommonBannerVideo from "@/components/common/common-banner-video";
......@@ -209,9 +207,6 @@ export default {
let _this = this;
this.from = this.$route.query.from || this.from || "native";
this.projectId = this.$route.query.id || 1;
//this.componentId = this.$route.query.componentId;
// this.moduleId = this.$route.query.moduleId;
//this.moduleName = this.$route.query.moduleName;
this.courseRequire = this.$route.query.courseRequire;
window.__getUserInfo64Comp = function(param) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册