提交 404cbcfb authored 作者: GOD_ZYX's avatar GOD_ZYX

Merge remote-tracking branch 'origin/master' into enterprise

# Conflicts: # learnOnline/pages/learnSystem/my/my.wxml
......@@ -123,6 +123,8 @@ const getCourseDetail = (id, sid, callback) => {
isUp: true,
chapters: []
})
/* 课程考核 考核标准文案读取 */
json.tabs3richTest = cur.course_evaluation
callback(json)
}
})
......
......@@ -6,7 +6,7 @@
<view class='tit'>课程考核标准</view>
</view>
<view class='detail'>
<view class='h1'>请上PC上查看计算规则</view>
<rich-text class='detail-rich' nodes='{{item.richText}}'></rich-text>
<!-- <view class='h1'>一、最终成绩计算</view>
<view class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于60分为不及格,需重修此门课程。</view>
<image class='b1' src='../icons/courseContent/b1.png' mode='aspectFill'></image>
......
......@@ -73,6 +73,8 @@ Page({
}, {
title: '课程考核',
isShow: false,
richText: "<div class='h1'>一、最终成绩计算</div> <div class='p'>课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于60分为不及格,需重修此门课程。</div> <img class='b1' src='../icons/courseContent/b1.png' mode='aspectFill' /> <div class='h1'>二、具体细则</div> <div class='h2'>课程表现:总分100分(占科目总成绩的30%)</div> <div class='p'>1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</div> <div class='em'>注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</div> <div class='p'>2、课程讨论及反馈建设性问题50分:课程讨论以后台数据为准,反馈问题以教务老师问题统计为准,满分50分,酌情给分。</div> <div class='h2'>每章试题:总分100分(占科目总成绩的30%)</div> <div class='p'>本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)</div> <div class='h2'>结业大作业:总分100分(占科目总成绩的40%)</div> <div class='p'>结业大作业满分为100分,以助教老师给分为准。</div>",
// richText: `<dd data-reactid=".17ssbxqo7pw.0.1.1.0.0.1.0.0.1.1.1"><h4 data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.0" style="font - family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: rgb(63, 59, 58); margin-top: 10px; ">一、最终成绩计算</h4><p data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.1" style="color: rgb(63, 59, 58); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; ">课程表现得分*30%+每章试题得分*30%+结业大作业得分*40%=该门课程总得分,满分100分,低于80分为不及格,需重修此门课程。</p><div class="tac" data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.2" style="text-align: center; color: rgb(63, 59, 58); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px; margin-bottom: 20px; "><img src="https://e-learning.ezijing.com/static/assets/img/course-check.png" data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.2.0"></div><h4 data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.3" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: rgb(63, 59, 58); margin-top: 10px;">二、具体细则</h4><h4 data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.4" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: rgb(63, 59, 58); margin-top: 10px;">课程表现:总分100分(占科目总成绩的30%)</h4><p data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.5" style="color: rgb(63, 59, 58); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px;">1、每个视频观看完成度50分:以后台数据统计为准,全部看完视频满分50分,其它酌情给分。</p><p data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.6" style="color: rgb(63, 59, 58); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px;"><span data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.6.0" style="color: rgb(176, 143, 57);">注:视频观看考核的是实际播放时长,不是进度条的显示状态,进度条满格并不一定表示观看完这个视频。以下方每日学习时长为准。</span></p><p data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.7" style="color: rgb(63, 59, 58); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px;">2、课程讨论及反馈建设性问题50分:课程讨论以后台数据为准,反馈问题以教务老师问题统计为准,满分50分,酌情给分。</p><h4 data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.8" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: rgb(63, 59, 58); margin-top: 10px;">每章试题:总分100分(占科目总成绩的30%)</h4><p data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.9" style="color: rgb(63, 59, 58); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px;">本课程所有试题的平均正确率*100分*占总成绩30%=此项得分。(比如正确度为80%,则此项得分:80%*100*30%=24分)。</p><h4 data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.a" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: rgb(63, 59, 58); margin-top: 10px;">结业大作业:总分100分(占科目总成绩的40%)</h4><p data-reactid=".1bth85ikiwg.0.1.1.0.0.1.0.0.1.1.1.b" style="color: rgb(63, 59, 58); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22.4px;">结业大作业满分为100分,以助教老师给分为准。</p></dd>`,
assess: {
score: '20',
duration: '00:01:20',
......@@ -112,6 +114,7 @@ Page({
this.setData({ 'headerInfo': json.headerInfo })
this.setData({ 'tabs[0].content': json.tabs0Content })
this.setData({ 'tabs[1].chapterList': json.tabs1ChapterList })
json.tabs3richTest && this.setData({ 'tabs[3].richText': json.tabs3richTest.replace(/<img.*?(src=["|'].*?["|']).*?>/gi, '<img width="100%" $1>') })
CourseApi.getCourseAssess(this.cid, this.sid, (json1) => {
this.setData({ 'tabs[3].assess': json1 })
wx.hideLoading()
......@@ -145,6 +148,7 @@ Page({
this.setData({ 'headerInfo': json.headerInfo })
this.setData({ 'tabs[0].content': json.tabs0Content })
this.setData({ 'tabs[1].chapterList': json.tabs1ChapterList })
json.tabs3richTest && this.setData({ 'tabs[3].richText': json.tabs3richTest.replace(/<img.*?(src=["|'].*?["|']).*?>/gi, '<img width="100%" $1>') })
CourseApi.getCourseAssess(this.cid, this.sid, (json1) => {
this.setData({ 'tabs[3].assess': json1 })
wx.hideLoading()
......
......@@ -10,7 +10,7 @@
<block wx:for='{{exam.group}}' wx:key='{{index}}'>
<block wx:if='{{item.type == 1}}'>
<view class='q-group'>
<view class='q-num'>{{index+1}}.</view><rich-text class='q-title' nodes='{{item.title}}'></rich-text>
<view class='q-num'>{{index+1}}.</view><rich-text class='q-title' nodes='{{item.title}}'></rich-text><view class='q-type'>(单选题)</view>
<radio-group class='radio-group' bindchange='radioChange' data-index='{{index}}'>
<block wx:for='{{item.arr}}' wx:key='{{index}}' wx:for-item='item1' wx:for-index='index1'>
<label class='radio {{item.cur && item1.checked && "success"}} {{item.cur && !item1.checked && item1.selected && "error"}}'><radio value='{{index1}}' disabled='{{item.cur}}' checked='{{item1.selected}}'/>{{ index1 == 0 ? "A" : (index1 == 1 ? "B" : (index1 == 2 ? "C" : (index1 == 3 ? "D" : (index1 == 4 ? "E" : (index1 == 5 ? "F" : "G"))))) }}. {{item1.option}}</label>
......@@ -21,7 +21,7 @@
</block>
<block wx:if='{{item.type == 2}}'>
<view class='q-group'>
<view class='q-num'>{{index+1}}.</view><rich-text class='q-title' nodes='{{item.title}}'></rich-text>
<view class='q-num'>{{index+1}}.</view><rich-text class='q-title' nodes='{{item.title}}'></rich-text><view class='q-type'>(多选题)</view>
<checkbox-group class='checkbox-group' bindchange='checkboxChange' data-index='{{index}}'>
<block wx:for='{{item.arr}}' wx:key='{{index}}' wx:for-item='item1' wx:for-index='index1'>
<label class='checkbox {{item.cur && item1.checked && "success"}} {{item.cur && !item1.checked && item1.selected && "error"}}'><checkbox value='{{index1}}' disabled='{{item.cur}}' checked='{{item1.selected}}'/>{{ index1 == 0 ? "A" : (index1 == 1 ? "B" : (index1 == 2 ? "C" : (index1 == 3 ? "D" : (index1 == 4 ? "E" : (index1 == 5 ? "F" : "G"))))) }}. {{item1.option}}</label>
......
......@@ -6,7 +6,8 @@
/* 循环 所有选择题 */
.exam .q-group { padding: 20rpx 20rpx; border-bottom: 1rpx solid #c9c9c97a; overflow: hidden; }
.exam .q-group .q-num { float: left; margin-right: 10rpx; font-size: 30rpx; color: #676a6c; }
.exam .q-group .q-title { float: left; width: 620rpx; font-size: 28rpx; color: #676a6c; text-align: justify; }
.exam .q-group .q-title { float: left; width: 610rpx; font-size: 28rpx; color: #676a6c; text-align: justify; }
.exam .q-group .q-type { float: right; font-size: 30rpx; color: #676a6c; }
.exam .q-group .radio-group { float: left; margin-top: 20rpx; width: 100%; }
.exam .q-group .radio-group .radio { display: block; font-size: 28rpx; color: #3f3b3a; line-height: 40rpx; margin-bottom: 10rpx; }
.exam .q-group .checkbox-group { float: left; margin-top: 20rpx; width: 100%; }
......
......@@ -22,4 +22,8 @@
<view class='text'>敬请期待</view>
</view>
</view>
<!-- 增加 关联公众号组件 - 模拟器上不显示,真机没问题 -->
<!-- <view class='relative-account'>
<official-account class='item' bindload='printMsg'></official-account>
</view> -->
</view>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论