Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
publich5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
xuyanwei
publich5
Commits
917d77a5
提交
917d77a5
authored
8月 05, 2020
作者:
zhengyadong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
143ce21c
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
26 行增加
和
8 行删除
+26
-8
index.js
config/index.js
+1
-1
index.vue
src/views/moonMatch/index.vue
+4
-1
match.vue
src/views/moonMatch/match.vue
+4
-1
userView.vue
src/views/moonMatch/userView.vue
+5
-2
viewMatch.vue
src/views/moonMatch/viewMatch.vue
+4
-1
index.vue
src/views/weekPractice/index.vue
+4
-1
practice.vue
src/views/weekPractice/practice.vue
+4
-1
没有找到文件。
config/index.js
浏览文件 @
917d77a5
...
...
@@ -23,7 +23,7 @@ module.exports = {
// Various Dev Server settings
host
:
'192.168.2.
39
'
,
// can be overwritten by process.env.HOST
host
:
'192.168.2.
64
'
,
// can be overwritten by process.env.HOST
port
:
8082
,
// can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser
:
false
,
errorOverlay
:
true
,
...
...
src/views/moonMatch/index.vue
浏览文件 @
917d77a5
...
...
@@ -20,7 +20,7 @@
</div>
</div>
<div>
<div
v-if=
"list.length == 0"
>
<div
v-if=
"list.length == 0
&&listStatus
"
>
<none-data></none-data>
</div>
<list-footer
title=
'这是我的底线'
v-if=
"list.length > 5"
></list-footer>
...
...
@@ -74,6 +74,7 @@ export default {
},
},
toastPage
:
null
,
listStatus
:
false
};
},
created
()
{
...
...
@@ -88,9 +89,11 @@ export default {
loadingType
:
'spinner'
,
duration
:
0
});
this
.
listStatus
=
false
getMoonListAPI
(
this
.
listQuery
).
then
(
res
=>
{
this
.
toastPage
.
clear
()
if
(
res
.
data
.
code
==
0
){
this
.
listStatus
=
true
this
.
list
=
res
.
data
.
data
.
list
}
})
...
...
src/views/moonMatch/match.vue
浏览文件 @
917d77a5
...
...
@@ -47,7 +47,7 @@
<p-button
name=
"下一题"
@
click=
"nextQuestion"
v-if=
"currentIndex+1 != list.length"
></p-button>
</div>
</div>
<div
v-if=
"list.length == 0"
>
<div
v-if=
"list.length == 0
&&listStatus
"
>
<none-data></none-data>
</div>
...
...
@@ -228,6 +228,7 @@ export default {
},
componentName
:
''
,
toastPage
:
null
,
listStatus
:
false
};
},
async
created
()
{
...
...
@@ -305,6 +306,7 @@ export default {
loadingType
:
'spinner'
,
duration
:
0
});
this
.
listStatus
=
false
let
API
if
(
status
){
API
=
getMatchConDetailAPI
(
this
.
conQuery
)
...
...
@@ -314,6 +316,7 @@ export default {
API
.
then
(
res
=>
{
this
.
toastPage
.
clear
()
if
(
res
.
data
.
code
==
0
){
this
.
listStatus
=
true
if
(
res
.
data
.
data
.
length
===
0
)
return
this
.
list
=
res
.
data
.
data
if
(
this
.
list
.
length
==
0
)
return
...
...
src/views/moonMatch/userView.vue
浏览文件 @
917d77a5
...
...
@@ -37,7 +37,7 @@
</div>
</div>
<div
v-if=
"list.length == 0"
>
<div
v-if=
"list.length == 0
&&listStatus
"
>
<none-data></none-data>
</div>
<!-- 答案 -->
...
...
@@ -154,7 +154,8 @@ export default {
'4'
:
completion
},
componentName
:
''
,
title
:
''
title
:
''
,
listStatus
:
false
};
},
created
()
{
...
...
@@ -185,8 +186,10 @@ export default {
},
// 获取题目详情
getDetail
(){
this
.
listStatus
=
false
getWeekDetailAPI
(
this
.
listQuery
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
this
.
listStatus
=
true
if
(
res
.
data
.
data
.
length
===
0
)
return
this
.
list
=
res
.
data
.
data
this
.
currentIndex
=
0
// 当前选中索引值
...
...
src/views/moonMatch/viewMatch.vue
浏览文件 @
917d77a5
...
...
@@ -37,7 +37,7 @@
</text-case>
</div>
</div>
<div
v-if=
"list.length == 0"
>
<div
v-if=
"list.length == 0
&&listStatus
"
>
<none-data></none-data>
</div>
<!-- 切换题目 -->
...
...
@@ -201,6 +201,7 @@ export default {
goodsType
:
4
,
},
collectionStatus
:
false
,
listStatus
:
false
};
},
created
()
{
...
...
@@ -238,12 +239,14 @@ export default {
loadingType
:
'spinner'
,
duration
:
0
});
this
.
listStatus
=
false
this
.
topTitle
=
this
.
viewType
[
type
].
title
this
.
iconType
=
this
.
viewType
[
type
].
iconType
let
API
=
this
.
viewType
[
type
][
'API'
](
this
[
this
.
viewType
[
type
].
query
])
API
.
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
){
this
.
toastPage
.
clear
()
this
.
listStatus
=
true
if
(
res
.
data
.
data
.
length
===
0
)
return
this
.
list
=
res
.
data
.
data
this
.
currentIndex
=
0
// 当前选中索引值
...
...
src/views/weekPractice/index.vue
浏览文件 @
917d77a5
...
...
@@ -24,7 +24,7 @@
</div>
</div>
<div>
<div
v-if=
"list.length == 0"
>
<div
v-if=
"list.length == 0
&&listStatus
"
>
<none-data></none-data>
</div>
<list-footer
title=
'这是我的底线'
v-if=
"list.length > 5"
></list-footer>
...
...
@@ -52,6 +52,7 @@ export default {
pageSize
:
100
,
},
toastPage
:
null
,
listStatus
:
false
};
},
created
()
{
...
...
@@ -66,9 +67,11 @@ export default {
loadingType
:
'spinner'
,
duration
:
0
});
this
.
listStatus
=
false
getWeekListAPI
(
this
.
listQuery
).
then
(
res
=>
{
this
.
toastPage
.
clear
()
if
(
res
.
data
.
code
==
0
){
this
.
listStatus
=
true
this
.
list
=
res
.
data
.
data
.
map
}
})
...
...
src/views/weekPractice/practice.vue
浏览文件 @
917d77a5
...
...
@@ -67,7 +67,7 @@
<right-answer
:analysis=
'currentObj.analysis'
:answer=
"currentObj.rightanswer"
></right-answer>
</div>
<div
v-if=
"list.length == 0"
>
<div
v-if=
"list.length == 0
&&listStatus
"
>
<none-data></none-data>
</div>
...
...
@@ -228,6 +228,7 @@ export default {
}
],
toastPage
:
null
,
listStatus
:
false
};
},
created
()
{
...
...
@@ -253,10 +254,12 @@ export default {
loadingType
:
'spinner'
,
duration
:
0
});
this
.
listStatus
=
false
getWeekDetailAPI
(
this
.
listQuery
).
then
(
res
=>
{
this
.
toastPage
.
clear
()
if
(
res
.
data
.
code
==
0
){
this
.
list
=
res
.
data
.
data
this
.
listStatus
=
true
if
(
this
.
list
.
length
===
0
)
return
this
.
currentIndex
=
1
// 当前选中索引值
this
.
currentObj
=
this
.
list
[
0
]
// 当前选中题目
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论