Commit 51d9eef1 by 李君

央视优化

1 parent 931e2a53
<view class="container" style="padding-top: {{navHeight}}px;height:{{windowHeight}}px;"> <view class="container" style="padding-top: {{navHeight}}px;height:{{windowHeight}}px;">
<navbar <navbar page-name="修改密码" bg-color="" navbar-color="rgba(0, 0, 0, .85)" nav="back" backIcon="1" bind:onGoBack="onGoBack" />
page-name="修改密码" <view class="~backgroundColor">
bg-color="#fff" <view class="zong-content">
navbar-color="rgba(0, 0, 0, .85)" <van-form>
nav="back" <van-cell-group class="group">
backIcon="1" <van-field class="vanField" value="{{oldPwd}}" type='password' name="原密码" label="原密码" required label-class='label' input-class='input' placeholder="原密码" bind:change='inputBlur1' />
bind:onGoBack="onGoBack" <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' />
<view class="zong-content"> </van-cell-group>
<van-form>
<van-cell-group> </van-form>
<van-field
value="{{oldPwd}}" </view>
type='password' <text class="tips">密码不小于八位且包含大小写字母、数字、特殊符号</text>
name="原密码" <view style="margin-top: 20rpx;">
label="原密码" <view class="btn">
required <van-button color="#1A77FF" round block type="primary" bindtap="onSubmit">确定 </van-button>
placeholder="原密码" </view>
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>
</view> </view>
</view> </view>
</van-form>
</view>
</view>
</view>
\ No newline at end of file \ No newline at end of file
/* pages/editPwd.wxss */ /* pages/editPwd.wxss */
.zong-content { .zong-content {
padding: 10rpx 0;
width: 100%; width: 100%;
margin-top: 50rpx; height: 324rpx;
padding: 10rpx 30rpx; margin-top: 24rpx;
border-radius: 16rpx;
background-color: #fff;
} }
.tips { .tips {
display: block;
margin-top: 10rpx;
color: rgba(0, 0, 0, 0.65); color: rgba(0, 0, 0, 0.65);
font-size: 24rpx; 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 \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!