Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
蒋秀川
/
miniProject
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 51d9eef1
authored
Jun 08, 2023
by
李君
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
央视优化
1 parent
931e2a53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
52 deletions
miniProject/pages/editPwd/editPwd.wxml
miniProject/pages/editPwd/editPwd.wxss
miniProject/pages/editPwd/editPwd.wxml
View file @
51d9eef
<view class="container" style="padding-top: {{navHeight}}px;height:{{windowHeight}}px;">
<navbar
page-name="修改密码"
bg-color="#fff"
navbar-color="rgba(0, 0, 0, .85)"
nav="back"
backIcon="1"
bind:onGoBack="onGoBack"
/>
<view class="zong-content">
<van-form>
<van-cell-group>
<van-field
value="{{oldPwd}}"
type='password'
name="原密码"
label="原密码"
required
placeholder="原密码"
bind:change='inputBlur1'
/>
<van-field
type='password'
value="{{newPwd}}"
name="新密码"
required
label="新密码"
placeholder="新密码"
bind:change='inputBlur2'
/>
<van-field
type='password'
value="{{newPwd1}}"
name="确认密码"
required
label="确认密码"
placeholder="确认密码"
bind:change='inputBlur3'
/>
</van-cell-group>
<text class="tips">密码不小于八位且包含大小写字母、数字、特殊符号</text>
<view style="margin-top: 20rpx;">
<view class="btn">
<van-button color="#1A77FF" round block type="primary" bindtap="onSubmit">确定 </van-button>
<navbar page-name="修改密码" bg-color="" navbar-color="rgba(0, 0, 0, .85)" nav="back" backIcon="1" bind:onGoBack="onGoBack" />
<view class="~backgroundColor">
<view class="zong-content">
<van-form>
<van-cell-group class="group">
<van-field class="vanField" value="{{oldPwd}}" type='password' name="原密码" label="原密码" required label-class='label' input-class='input' placeholder="原密码" bind:change='inputBlur1' />
<van-field class="vanField" type='password' value="{{newPwd}}" name="新密码" required label="新密码" label-class='label' input-class='input' placeholder="新密码" bind:change='inputBlur2' />
<van-field class="vanField" border="{{ false }}" type='password' value="{{newPwd1}}" name="确认密码" required label="确认密码" label-class='label' input-class='input' placeholder="确认密码" bind:change='inputBlur3' />
</van-cell-group>
</van-form>
</view>
<text class="tips">密码不小于八位且包含大小写字母、数字、特殊符号</text>
<view style="margin-top: 20rpx;">
<view class="btn">
<van-button color="#1A77FF" round block type="primary" bindtap="onSubmit">确定 </van-button>
</view>
</view>
</view>
</van-form>
</view>
</view>
</view>
\ No newline at end of file
miniProject/pages/editPwd/editPwd.wxss
View file @
51d9eef
/* pages/editPwd.wxss */
.zong-content {
padding: 10rpx 0;
width: 100%;
margin-top: 50rpx;
padding: 10rpx 30rpx;
height: 324rpx;
margin-top: 24rpx;
border-radius: 16rpx;
background-color: #fff;
}
.tips {
display: block;
margin-top: 10rpx;
color: rgba(0, 0, 0, 0.65);
font-size: 24rpx;
}
.label {
color: rgba(0, 0, 0, 0.9) !important;
font-size: 28rpx;
height: 66rpx;
line-height: 66rpx;
/* padding: 5px; */
}
.input {
color: rgba(0, 0, 0, 0.7) !important;
font-size: 28rpx;
}
.vanField .van-field__body{
height: 66rpx;
line-height: 66rpx;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment