Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
publich5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
xuyanwei
publich5
Commits
1cfbc7a8
提交
1cfbc7a8
authored
8月 07, 2020
作者:
zhengyadong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改
上级
4963c70b
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
delete-icon.png
src/assets/img/practice/delete-icon.png
+0
-0
answer.vue
src/components/practice/answer.vue
+1
-1
textCase.vue
src/components/practice/textCase.vue
+1
-1
global.js
src/utils/global.js
+2
-2
practice.vue
src/views/weekPractice/practice.vue
+2
-2
没有找到文件。
src/assets/img/practice/delete-icon.png
查看替换文件 @
4963c70b
浏览文件 @
1cfbc7a8
290 Bytes
|
W:
|
H:
1.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/practice/answer.vue
浏览文件 @
1cfbc7a8
...
...
@@ -7,7 +7,7 @@
<div
class=
"answer-result right"
v-if=
"showAns&&ansStatus"
>
<img
src=
"@/assets/img/practice/right-result.png"
alt=
""
>
回答正确
</div>
正确答案:
{{
answer
.
replace
(
/,/g
,
''
)
}}
正确答案:
{{
answer
&&
answer
.
replace
(
/,/g
,
''
)
}}
</div>
<div
class=
"answer-analysis"
>
<span
class=
"analysis-t"
>
解析:
</span>
...
...
src/components/practice/textCase.vue
浏览文件 @
1cfbc7a8
...
...
@@ -45,7 +45,7 @@ export default {
videoUrl
:
videoUrl
,
getVideo
:
getVideo
,
imgUrl
:
imgUrl
,
open
:
fals
e
,
open
:
tru
e
,
autoHeight
:
null
,
slotHeight
:
null
,
videoOpen
:
false
,
...
...
src/utils/global.js
浏览文件 @
1cfbc7a8
...
...
@@ -31,9 +31,9 @@ export const videoUrl = function(link){
return
`
${
process
.
env
.
BASE_API
}
/file/file/download/
${
link
}
`
}
export
const
getVideo
=
function
(
data
){
return
`
${
process
.
env
.
BASE_API
}
file/
${
data
}
/index.m3u8`
return
`
${
process
.
env
.
BASE_API
}
/
file/
${
data
}
/index.m3u8`
}
export
const
imgUrl
=
function
(
link
){
// return `${process.env.BASE_API}/file/file/?fileName=${link}&isOnLine=true`
return
`
${
process
.
env
.
BASE_API
}
file/
${
link
}
`
return
`
${
process
.
env
.
BASE_API
}
/
file/
${
link
}
`
}
src/views/weekPractice/practice.vue
浏览文件 @
1cfbc7a8
...
...
@@ -293,8 +293,8 @@ export default {
},
_changeScore
(
answer
,
type
){
let
num
=
0
this
.
rightAns
.
indexOf
(
type
)
!=
-
1
&&
(
num
+=
1
)
this
.
userAns
.
indexOf
(
type
)
!=
-
1
&&
(
num
+=
2
)
this
.
rightAns
&&
this
.
rightAns
.
indexOf
(
type
)
!=
-
1
&&
(
num
+=
1
)
this
.
userAns
&&
this
.
userAns
.
indexOf
(
type
)
!=
-
1
&&
(
num
+=
2
)
this
.
currentStatus
[
answer
]
=
num
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论