Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
_milo
Great Teamwork
提交
bc9818b4
Great Teamwork
项目概览
_milo
/
Great Teamwork
通知
13
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Great Teamwork
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
bc9818b4
编写于
5月 03, 2023
作者:
M
m0_74163447
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
我的-重置密码界面
上级
939d4fbd
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
103 addition
and
0 deletion
+103
-0
teamwork/pages/my/my-resetpassword.vue
teamwork/pages/my/my-resetpassword.vue
+103
-0
未找到文件。
teamwork/pages/my/my-resetpassword.vue
0 → 100644
浏览文件 @
bc9818b4
<
template
>
<view
class=
"main"
>
<view
class=
"return"
>
<view
class=
"return-btn"
></view>
</view>
<view
class=
"content"
>
<veiw
class=
"password"
>
<span>
原
 
密
 
码:
</span>
<input
placeholder=
"请输入原密码"
type=
"text"
:password=
"showPassword"
name=
"input"
></input>
<!--
<text
:class=
"[!showPassword ?'cuIcon-attentionfill' : 'cuIcon-attentionforbidfill']"
class=
"text-gray"
@
click=
"showPwd"
></text>
-->
<!--
<input
type=
"safe-password"
:value=
"originalPassword"
:valplaceholder=
'请输入原密码'
></input>
-->
</veiw>
<veiw
class=
"password"
>
<span>
新
 
密
 
码:
</span>
<input
placeholder=
"请输入新密码"
type=
"text"
:password=
"showPassword"
name=
"input"
></input>
</veiw>
<veiw
class=
"password"
>
<span>
确认密码:
</span>
<input
placeholder=
"请确认密码"
type=
"text"
:password=
"showPassword"
name=
"input"
></input>
</veiw>
</view>
<view
class=
"confirm"
>
<button
class=
"confirm-btn"
@
click=
"confirmModification()"
>
确认修改
</button>
</view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
showPassword
:
true
,
}
},
methods
:
{
// showPwd: function() {
// this.showPassword = !this.showPassword;
// },
confirmModification
(){
uni
.
showModal
({
title
:
'
温馨提示
'
,
//提示标题
content
:
'
确认修改密码吗
'
,
//提示内容
showCancel
:
true
,
//是否显示取消按钮
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
//confirm为ture,代表用户点击确定
console
.
log
(
'
点击了确定按钮
'
);
}
else
if
(
res
.
cancel
)
{
//cancel为ture,代表用户点击取消
console
.
log
(
'
点击了取消按钮
'
);
}
}
})
}
}
}
</
script
>
<
style
>
.main
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
background-color
:
#EDEEF0
;
}
.return-btn
{
width
:
70
rpx
;
height
:
70
rpx
;
margin-top
:
50
rpx
;
margin-left
:
50
rpx
;
background-size
:
100%
100%
;
background-image
:
url("/static/my/exit-icon.png")
;
background-repeat
:
no-repeat
;
}
.content
{
width
:
70%
;
margin-top
:
50%
;
margin-left
:
auto
;
margin-right
:
auto
;
}
.password
{
margin-top
:
50
rpx
;
height
:
15%
;
display
:
flex
;
align-items
:
center
;
width
:
100%
;
border-bottom
:
1px
solid
#ccc
;
}
.confirm
{
height
:
20%
;
margin-top
:
20%
;
}
.confirm-btn
{
background-color
:
#F1992D
;
color
:
#FFFFFF
;
width
:
70%
;
height
:
85
rpx
;
margin-top
:
100
rpx
;
margin-left
:
auto
;
margin-right
:
auto
;
border-radius
:
20
rpx
;
}
</
style
>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录