y595705120 2 hafta önce
ebeveyn
işleme
91d2f7275a

+ 1 - 1
build.go

@@ -19,7 +19,7 @@ func main() {
 	fmt.Println("target_dir", target)
 	os.RemoveAll(target + "static")
 	os.Remove(target + "index.html")
-	os.Remove(target + "favicon.ico")
+	// os.Remove(target + "favicon.ico")
 
 	copyDir("./dist", target)
 }

+ 9 - 8
src/containers/center/play/components/iCourseInfo.vue

@@ -30,17 +30,18 @@
         <p style="font-size: 24px;"> 说明 </p>
         <p class="mt10">岗位名称:{{tpl.name}}<strong style="color: red;">{{tpl.nd}}</strong></p>
         <p class="mt10">
-          学习截至时间:
-          <strong style="color: red;">
-            {{info.canStudyDate}}
-          </strong>
+          视频学时: <strong style="color: red;" >学满{{tpl.mediaXs/10}}就算通过</strong>
         </p>
         <p class="mt10" v-if="tpl.testGroupId>0">
-          参与练习<strong style="color: red;"> {{finishCount}}</strong>题,满100题可得
+          参与练习: <strong style="color: red;"> {{finishCount}}</strong>题,满100题可得
           <strong style="color: red;">{{tpl.testXs/10}}</strong>学时
         </p>
-        <p class="mt10" style="color: red;" v-if="tpl.examGroupId>0">报名成功,80天内完成学习与考试</p>
-        <p class="mt10" v-if="tpl.examGroupId==0">完成所有视频,即可打印学时证明</p>
+        <p class="mt10" v-if="tpl.examGroupId>0">
+          报名成功: <strong style="color: red;" >80天内完成学习与考试</strong>
+        </p>
+        <p class="mt10" v-if="tpl.tplId>0">
+          学时证明: <strong style="color: red;">获得足够学时,可打印</strong>
+        </p>
 
         <div>
           <el-button type="primary" class="mt10" style="font-size: 14px;" @click="startExam" v-if="tpl.examGroupId>0"
@@ -51,7 +52,7 @@
             v-if="tpl.testGroupId>0" :disabled="info.score>=60">
             在线练习
           </el-button>
-          <el-button type="primary" class="mt10" style="font-size: 14px;" @click="printCert" v-if="tpl.tplId>0">
+          <el-button type="primary" class="mt10" style="font-size: 14px;" @click="printCert" v-if="info.isPass && tpl.tplId>0">
             学时证明
           </el-button>
         </div>