Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
transport-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
transport-show-h5
Commits
c713a4b7
提交
c713a4b7
authored
8月 05, 2020
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改缓存试题接口
上级
522015d1
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
+5
-5
ExamTopic.vue
src/modules/exam-module/src/ExamTopic.vue
+5
-3
questionsDetails.vue
src/pages/my/questionsDetails.vue
+0
-2
没有找到文件。
src/modules/exam-module/src/ExamTopic.vue
浏览文件 @
c713a4b7
...
...
@@ -275,7 +275,6 @@ export default {
}
else
{
this
.
swiper
.
slides
[
this
.
swiper
.
activeIndex
].
style
.
paddingBottom
=
'1.2rem'
}
// console.log(this.swiper.slides[this.swiper.activeIndex])
},
collectQuestion
()
{
const
queIds
=
this
.
collect
.
currentId
...
...
@@ -666,8 +665,8 @@ export default {
this
.
scrollDom
()
},
1000
)
setTimeout
(()
=>
{
this
.
cardChange
(
this
.
$route
.
query
.
id
)
},
1
00
)
this
.
$route
.
query
.
id
!==
undefined
&&
this
.
cardChange
(
this
.
$route
.
query
.
id
)
},
5
00
)
this
.
currentNum
===
this
.
questionsData
.
sheet
.
question_count
?
this
.
nextBtnShow
=
false
:
this
.
nextBtnShow
=
true
if
(
res
.
answers
!==
null
)
{
if
(
res
.
answers
.
answerPage
!==
undefined
&&
this
.
$route
.
query
.
id
===
undefined
&&
res
.
answers
.
answerPage
!==
this
.
questionsData
.
sheet
.
question_count
)
{
...
...
@@ -745,6 +744,9 @@ export default {
this
.
$emit
(
'goExamResult'
,
this
.
requestParam
)
},
examSubmit
(
status
,
isSub
)
{
if
(
status
===
0
&&
this
.
swiper
.
activeIndex
+
1
===
this
.
swiper
.
slides
.
length
)
{
return
false
}
const
reqData
=
this
.
requestData
const
param
=
{
sheet_id
:
this
.
questionsData
.
sheet
.
id
,
...
...
src/pages/my/questionsDetails.vue
浏览文件 @
c713a4b7
...
...
@@ -367,8 +367,6 @@ export default {
if
(
this
.
isMove
)
{
this
.
isMove
=
false
const
goIndex
=
this
.
questionData
.
list
.
findIndex
(
item
=>
{
return
item
.
question_id
===
window
.
localStorage
.
myQuestionDetileId
})
console
.
log
(
goIndex
,
window
.
localStorage
.
myQuestionDetileId
)
console
.
log
(
JSON
.
stringify
(
this
.
questionData
.
list
))
this
.
swiper
.
slideTo
(
goIndex
,
0
,
false
)
}
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论