Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
58903d68
提交
58903d68
authored
5月 20, 2020
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 忘记密码适配移动端;课程教程提问列表只显示自己发布的内容;
上级
9a4005a3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
33 行增加
和
34 行删除
+33
-34
ForgetLogin.vue
client/src/modules/login-module/src/ForgetLogin.vue
+9
-11
courseDetail.vue
client/src/pages/learn/courseDetail.vue
+7
-4
forget.vue
client/src/pages/login/forget.vue
+17
-19
没有找到文件。
client/src/modules/login-module/src/ForgetLogin.vue
浏览文件 @
58903d68
<
template
>
<div
class=
"content-s"
>
<div
class=
"step3"
>
<el-form
ref=
"form3"
label-width=
"120px"
:model=
"accountSet"
:rules=
"accountRules"
label-position=
"left"
>
<el-row>
<el-col
:xs=
"24"
:sm=
"3"
:md=
"5"
:lg=
"6"
:xl=
"6"
><el-form-item></el-form-item></el-col>
<el-col
:xs=
"24"
:sm=
"18"
:md=
"14"
:lg=
"12"
:xl=
"12"
>
<el-form
ref=
"form3"
label-width=
"100px"
:model=
"accountSet"
:rules=
"accountRules"
label-position=
"top"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"center"
>
<el-col
:xs=
"24"
:md=
"10"
>
<el-form-item
prop=
"account"
:label=
"$t('LoginModule.NormalLogin.account')"
>
<el-input
v-model=
"accountSet.account"
type=
"text"
:placeholder=
"$t('LoginModule.ForgetLogin.inputStr')"
></el-input>
</el-form-item>
...
...
@@ -23,7 +22,6 @@
<el-button
style=
"width: 100%;"
type=
"primary"
@
click=
"onSubmitForm"
>
{{
$t
(
'LoginModule.ForgetLogin.finish'
)
}}
</el-button>
</el-form-item>
</el-col>
<el-col
:xs=
"24"
:sm=
"3"
:md=
"5"
:lg=
"6"
:xl=
"6"
><el-form-item></el-form-item></el-col>
</el-row>
</el-form>
<slot
name=
"go-back"
></slot>
...
...
@@ -193,19 +191,19 @@ export default {
.content-s
{
position
:
absolute
;
left
:
50%
;
top
:
55
%
;
padding
:
4
0px
0
;
width
:
80%
;
max-width
:
1
2
00px
;
top
:
22
%
;
padding
:
2
0px
0
;
width
:
calc
(
100%
-
20px
)
;
max-width
:
1
0
00px
;
box-shadow
:
0px
3px
10px
rgba
(
0
,
0
,
0
,
0
.3
);
transform
:
translateX
(
-50%
);
background
:
#fff
;
}
/* forget 登录 */
.step1
{
font-size
:
16px
;
width
:
90%
;
margin
:
20px
auto
0
auto
;
}
.step2
{
font-size
:
16px
;
width
:
71%
;
margin
:
20px
auto
0
auto
;
}
.step2
.txt-title
{
margin-bottom
:
0
.3rem
;
color
:
#999
;
text-align
:
center
;
}
.step2
.operate
{
margin-top
:
0
.2rem
;
}
.step3
{
font-size
:
16px
;
width
:
80%
;
margin
:
20px
auto
0
auto
;
}
.step3
{
font-size
:
16px
;
margin
:
10px
20px
0
;
}
::v-deep
.el-form-item__label
{
line-height
:
1
;
}
</
style
>
client/src/pages/learn/courseDetail.vue
浏览文件 @
58903d68
...
...
@@ -234,7 +234,8 @@ export default {
dataJson
:
{
limit
:
10
,
offset
:
0
,
sort
:
''
sort
:
''
,
is_myself
:
true
}
},
isCourseDis
:
this
.
getQueryString
(
'v'
),
...
...
@@ -835,9 +836,10 @@ export default {
this
.
params
=
{
path
:
`/
${
this
.
cid
}
`
,
request
:
'getCourseDiscussList'
,
page
:
{
dataJson
:
{
limit
:
10
,
offset
:
0
offset
:
0
,
is_myself
:
true
}
}
// cAction.Discuss.getCourseDiscussList(this.cid, this.sid, this.param).then(json2 => {
...
...
@@ -876,7 +878,8 @@ export default {
dataJson
:
{
limit
:
10
,
offset
:
0
,
sort
:
this
.
sort
[
index
].
isShow
?
str
:
''
sort
:
this
.
sort
[
index
].
isShow
?
str
:
''
,
is_myself
:
true
}
}
// cAction.Discuss.getCourseDiscussList(this.cid, this.sid, this.param).then(json => {
...
...
client/src/pages/login/forget.vue
浏览文件 @
58903d68
...
...
@@ -2,33 +2,31 @@
<div
class=
"login-page"
>
<div
class=
"login-box"
>
<div
class=
"login-mian"
>
<div
class=
"login-modules"
>
<forget-login
class=
"content-s-self"
>
<div
class=
"go-back"
slot=
"go-back"
>
<template
v-if=
"query.rd"
>
<router-link
class=
"router-link-class"
active-class=
"router-link-active-class"
:to=
"
{ path: '/login/index?rd=' + query.rd }">返回登录
</router-link>
</
template
>
<
template
v-else
>
<router-link
class=
"router-link-class"
active-class=
"router-link-active-class"
:to=
"
{ name: 'login-normal' }">返回登录
</router-link>
</
template
>
</div>
</forget-login>
</div>
<forget-login
class=
"content-s-self"
>
<div
class=
"go-back"
slot=
"go-back"
>
<template
v-if=
"query.rd"
>
<router-link
class=
"router-link-class"
active-class=
"router-link-active-class"
:to=
"
{ path: '/login/index?rd=' + query.rd }">返回登录
</router-link>
</
template
>
<
template
v-else
>
<router-link
class=
"router-link-class"
active-class=
"router-link-active-class"
:to=
"
{ name: 'login-normal' }">返回登录
</router-link>
</
template
>
</div>
</forget-login>
</div>
</div>
<div
class=
"mobile-login"
>
<div
class=
"title-box"
>
<img
src=
"../../assets/images/mlogin-tit1.png"
alt=
""
class=
"tit1"
>
<img
src=
"../../assets/images/mlogin-tit2.png"
alt=
""
class=
"tit2"
>
<img
src=
"../../assets/images/mlogin-tit1.png"
class=
"tit1"
>
<img
src=
"../../assets/images/mlogin-tit2.png"
class=
"tit2"
>
</div>
<div
class=
"logo-box"
>
<img
src=
"../../assets/images/mlogin-logo1.png"
alt=
""
class=
"tit1"
>
<img
src=
"../../assets/images/mlogin-logo2.png"
alt=
""
class=
"tit2"
>
<img
src=
"../../assets/images/mlogin-logo1.png"
class=
"tit1"
>
<img
src=
"../../assets/images/mlogin-logo2.png"
class=
"tit2"
>
</div>
<div
class=
"text-box"
>
<img
src=
"../../assets/images/login-tit1.png"
alt=
""
class=
"tit1"
>
<img
src=
"../../assets/images/login-tit2.png"
alt=
""
class=
"tit2"
>
<img
src=
"../../assets/images/login-tit3.png"
alt=
""
class=
"tit3"
>
<img
src=
"../../assets/images/login-tit1.png"
class=
"tit1"
>
<img
src=
"../../assets/images/login-tit2.png"
class=
"tit2"
>
<img
src=
"../../assets/images/login-tit3.png"
class=
"tit3"
>
</div>
<div
class=
"mlogin-modules"
>
<forget-login
class=
"content-s-self"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论