Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
X
x-training
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
x-training
Commits
6e9f725d
提交
6e9f725d
authored
3月 22, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
fb7cecba
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
27 行增加
和
15 行删除
+27
-15
account.js
src/api/account.js
+3
-1
practice1.vue
src/pages/practice/components/practice1.vue
+2
-0
tabForm1.vue
src/pages/practice/components/tabForm1.vue
+1
-1
tabForm4.vue
src/pages/practice/components/tabForm4.vue
+1
-1
tabForm7.vue
src/pages/practice/components/tabForm7.vue
+1
-1
rankingList.vue
src/pages/ranking/rankingList.vue
+1
-1
index.vue
src/pages/result/index.vue
+11
-3
axios.js
src/utils/axios.js
+7
-7
没有找到文件。
src/api/account.js
浏览文件 @
6e9f725d
...
@@ -10,7 +10,9 @@ export function bindWechat(data) {
...
@@ -10,7 +10,9 @@ export function bindWechat(data) {
}
}
// 修改密码
// 修改密码
export
function
updatePassword
(
data
)
{
export
function
updatePassword
(
data
)
{
return
httpRequest
.
post
(
'/api/usercenter/user/change-pwd-by-cookie'
,
data
)
return
httpRequest
.
post
(
'/api/usercenter/user/change-pwd-by-cookie'
,
data
,
{
headers
:
{
'Content-Type'
:
'multipart/form-data'
}
})
}
}
// 重置密码
// 重置密码
export
function
resetPassword
(
data
)
{
export
function
resetPassword
(
data
)
{
...
...
src/pages/practice/components/practice1.vue
浏览文件 @
6e9f725d
...
@@ -346,11 +346,13 @@ export default {
...
@@ -346,11 +346,13 @@ export default {
background
:
none
;
background
:
none
;
border
:
1px
solid
#58C0D9
;
border
:
1px
solid
#58C0D9
;
color
:
#58C0DA
;
color
:
#58C0DA
;
font-family
:
auto
;
}
}
.el-textarea__inner
{
.el-textarea__inner
{
background
:
none
;
background
:
none
;
border
:
1px
solid
#58C0D9
;
border
:
1px
solid
#58C0D9
;
color
:
#58C0DA
;
color
:
#58C0DA
;
font-family
:
auto
;
}
}
}
}
}
}
...
...
src/pages/practice/components/tabForm1.vue
浏览文件 @
6e9f725d
...
@@ -264,7 +264,7 @@ export default {
...
@@ -264,7 +264,7 @@ export default {
margin-right
:
20px
;
margin-right
:
20px
;
span
{
span
{
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#222222
;
//
color: #222222;
}
}
}
}
}
}
...
...
src/pages/practice/components/tabForm4.vue
浏览文件 @
6e9f725d
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
margin-right
:
20px
;
margin-right
:
20px
;
span
{
span
{
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#222222
;
//
color: #222222;
}
}
}
}
}
}
...
...
src/pages/practice/components/tabForm7.vue
浏览文件 @
6e9f725d
...
@@ -249,7 +249,7 @@ export default {
...
@@ -249,7 +249,7 @@ export default {
}
}
span
{
span
{
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#222222
;
//
color: #222222;
}
}
}
}
}
}
...
...
src/pages/ranking/rankingList.vue
浏览文件 @
6e9f725d
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<p>
{{ item.rank }}
</p>
<p>
{{ item.rank }}
</p>
<p>
{{ item.school }}
</p>
<p>
{{ item.school }}
</p>
<p>
{{ item.username }}
</p>
<p>
{{ item.username }}
</p>
<p>
{{ item.updated_at }}
</p>
<p>
{{ item.updated_at
|| item.created_at
}}
</p>
<p
v-if=
"selectValue == 11 || selectValue == 21 || selectValue == 31"
>
{{ item.times }}
</p>
<p
v-if=
"selectValue == 11 || selectValue == 21 || selectValue == 31"
>
{{ item.times }}
</p>
<p
v-else
>
{{ item.score }}
</p>
<p
v-else
>
{{ item.score }}
</p>
</li>
</li>
...
...
src/pages/result/index.vue
浏览文件 @
6e9f725d
...
@@ -118,6 +118,11 @@ export default {
...
@@ -118,6 +118,11 @@ export default {
data2
.
push
(
this
.
getNowTime
(
item
.
date_index
))
data2
.
push
(
this
.
getNowTime
(
item
.
date_index
))
})
})
this
.
polar
=
{
this
.
polar
=
{
dataZoom
:
[{
type
:
'inside'
,
start
:
0
,
end
:
50
}],
grid
:
{
grid
:
{
x
:
30
,
x
:
30
,
y
:
20
,
y
:
20
,
...
@@ -210,11 +215,14 @@ export default {
...
@@ -210,11 +215,14 @@ export default {
const
mm
=
date
.
getMonth
()
+
(
n
===
1
?
0
:
1
)
const
mm
=
date
.
getMonth
()
+
(
n
===
1
?
0
:
1
)
const
dd
=
date
.
getDate
()
const
dd
=
date
.
getDate
()
const
hh
=
date
.
getHours
()
const
hh
=
date
.
getHours
()
const
mf
=
date
.
getMinutes
()
<
10
?
'0'
+
date
.
getMinutes
()
:
date
.
getMinutes
()
const
mf
=
date
.
getMinutes
()
const
ss
=
date
.
getSeconds
()
<
10
?
'0'
+
date
.
getSeconds
()
:
date
.
getSeconds
()
const
ss
=
date
.
getSeconds
()
dateTime
=
n
>
1
?
yy
+
'-'
+
mm
+
'-'
+
dd
:
yy
+
'-'
+
mm
+
'-'
+
dd
+
' '
+
hh
+
':'
+
mf
+
':'
+
ss
dateTime
=
this
.
toDo
(
yy
)
+
'-'
+
this
.
toDo
(
mm
)
+
'-'
+
this
.
toDo
(
dd
)
+
' '
+
this
.
toDo
(
hh
)
+
':'
+
this
.
toDo
(
mf
)
+
':'
+
this
.
toDo
(
ss
)
return
dateTime
return
dateTime
},
},
toDo
(
n
)
{
return
n
<
10
?
'0'
+
n
:
n
},
getRank
()
{
getRank
()
{
const
param
=
{
const
param
=
{
type
:
10
,
type
:
10
,
...
...
src/utils/axios.js
浏览文件 @
6e9f725d
...
@@ -41,13 +41,13 @@ httpRequest.interceptors.request.use(
...
@@ -41,13 +41,13 @@ httpRequest.interceptors.request.use(
config
.
params
=
params
config
.
params
=
params
}
}
// config.data = params
// config.data = params
//
if (config.headers['Content-Type'] === 'multipart/form-data') {
if
(
config
.
headers
[
'Content-Type'
]
===
'multipart/form-data'
)
{
//
const form = new window.FormData()
const
form
=
new
window
.
FormData
()
//
for (const key in config.data) {
for
(
const
key
in
config
.
data
)
{
//
form.append(key, config.data[key])
form
.
append
(
key
,
config
.
data
[
key
])
//
}
}
//
config.data = form
config
.
data
=
form
//
}
}
return
config
return
config
},
},
function
(
error
)
{
function
(
error
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论