|
|
@@ -14,11 +14,11 @@
|
|
|
<img src="../../assets/icon/newIcon/return.svg" alt="" />
|
|
|
</div>
|
|
|
<div v-if="tcid" class="class-info-group">
|
|
|
- <span class="class-label">班级</span>
|
|
|
+ <span class="class-label">{{ lang.ssClass }}</span>
|
|
|
<span class="class-value">{{ className }}</span>
|
|
|
</div>
|
|
|
<div v-if="tcid" class="class-info-group">
|
|
|
- <span class="class-label" v-if="inviteCode">识别码</span>
|
|
|
+ <span class="class-label" v-if="inviteCode">{{ lang.ssInviteCode }}</span>
|
|
|
<span class="class-value" v-if="inviteCode">{{ inviteCode }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -38,12 +38,12 @@
|
|
|
inactive-color="#d8d8d8"
|
|
|
@change="onFreeBrowseChange"
|
|
|
></el-switch>
|
|
|
- <span class="switch-label" :class="{ active: freeBrowse }">{{ freeBrowse ? '自由浏览' : '跟随模式' }}</span>
|
|
|
+ <span class="switch-label" :class="{ active: freeBrowse }">{{ freeBrowse ? lang.ssFreeBrowse : lang.ssFollowMode }}</span>
|
|
|
</div>
|
|
|
<div class="free-browse-switch" v-if="tType == 2">
|
|
|
- <span class="switch-label" :class="{ active: freeBrowse }">{{ freeBrowse ? '自由浏览' : '跟随模式' }}</span>
|
|
|
+ <span class="switch-label" :class="{ active: freeBrowse }">{{ freeBrowse ? lang.ssFreeBrowse : lang.ssFollowMode }}</span>
|
|
|
</div>
|
|
|
- <el-tooltip effect="dark" content="刷新" placement="bottom">
|
|
|
+ <el-tooltip effect="dark" :content="lang.ssRefresh" placement="bottom">
|
|
|
<div class="refresh_icon" @click="refreshCourse">
|
|
|
<img src="../../assets/icon/course/refresh-2.svg" />
|
|
|
</div>
|
|
|
@@ -58,7 +58,7 @@
|
|
|
</div>
|
|
|
<div class="pec_h_r_btn_afterClass" @click="afterClass" v-if="courseDetail.userid == userid">
|
|
|
<img src="../../assets/icon/newIcon/afterClass.svg" alt="" />
|
|
|
- <span>下课</span>
|
|
|
+ <span>{{ lang.ssEndClass }}</span>
|
|
|
</div>
|
|
|
<div class="name_box" v-if="tType == 2">
|
|
|
{{ userJson.username }}
|
|
|
@@ -385,7 +385,7 @@ export default {
|
|
|
})
|
|
|
.catch(err => {
|
|
|
console.log(err);
|
|
|
- this.$message.error("获取课程数据失败");
|
|
|
+ this.$message.error(this.lang.ssGetCourseDataFail);
|
|
|
this.pageLoading = false;
|
|
|
});
|
|
|
},
|
|
|
@@ -465,9 +465,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
afterClass() {
|
|
|
- this.$confirm('此操作将使当前课程内所有学生退出登录,是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
+ this.$confirm(this.lang.ssEndClassConfirm, this.lang.ssPrompt, {
|
|
|
+ confirmButtonText: this.lang.ssConfirm,
|
|
|
+ cancelButtonText: this.lang.ssCancel,
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
this.$refs.ppt.contentWindow.PPTistStudent.forceLogout();
|