Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online
Commits
404cbcfb
提交
404cbcfb
authored
11月 13, 2018
作者:
GOD_ZYX
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master' into enterprise
# Conflicts: # learnOnline/pages/learnSystem/my/my.wxml
上级
af0c3d66
69d6a8a2
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
15 行增加
和
4 行删除
+15
-4
CourseApi.js
learnOnline/apiService/CourseApi.js
+2
-0
courseAssess.wxml
.../learnSystem/courseContent/courseAssess/courseAssess.wxml
+1
-1
courseContent.js
learnOnline/pages/learnSystem/courseContent/courseContent.js
+4
-0
examDetail.wxml
...ages/learnSystem/courseContent/examDetail/examDetail.wxml
+2
-2
examDetail.wxss
...ages/learnSystem/courseContent/examDetail/examDetail.wxss
+2
-1
my.wxml
learnOnline/pages/learnSystem/my/my.wxml
+4
-0
没有找到文件。
learnOnline/apiService/CourseApi.js
浏览文件 @
404cbcfb
...
...
@@ -123,6 +123,8 @@ const getCourseDetail = (id, sid, callback) => {
isUp
:
true
,
chapters
:
[]
})
/* 课程考核 考核标准文案读取 */
json
.
tabs3richTest
=
cur
.
course_evaluation
callback
(
json
)
}
})
...
...
learnOnline/pages/learnSystem/courseContent/courseAssess/courseAssess.wxml
浏览文件 @
404cbcfb
...
...
@@ -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>
...
...
learnOnline/pages/learnSystem/courseContent/courseContent.js
浏览文件 @
404cbcfb
...
...
@@ -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
()
...
...
learnOnline/pages/learnSystem/courseContent/examDetail/examDetail.wxml
浏览文件 @
404cbcfb
...
...
@@ -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>
...
...
learnOnline/pages/learnSystem/courseContent/examDetail/examDetail.wxss
浏览文件 @
404cbcfb
...
...
@@ -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%; }
...
...
learnOnline/pages/learnSystem/my/my.wxml
浏览文件 @
404cbcfb
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论