|
@@ -1,12 +1,14 @@
|
|
|
<template>
|
|
<template>
|
|
|
<view class="container">
|
|
<view class="container">
|
|
|
<!-- 旧密码输入框 -->
|
|
<!-- 旧密码输入框 -->
|
|
|
|
|
+ <view class="input-group-header">旧密码:</view>
|
|
|
<view class="uni-input-wrapper">
|
|
<view class="uni-input-wrapper">
|
|
|
<input class="uni-input" placeholder="请输入旧密码" :password="showPassword1" v-model="oldPassword" />
|
|
<input class="uni-input" placeholder="请输入旧密码" :password="showPassword1" v-model="oldPassword" />
|
|
|
<text class="uni-icon" :class="[!showPassword1 ? 'uni-eye-active' : '']"
|
|
<text class="uni-icon" :class="[!showPassword1 ? 'uni-eye-active' : '']"
|
|
|
@click="changePassword1"></text>
|
|
@click="changePassword1"></text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
+ <view class="input-group-header">新密码:</view>
|
|
|
<!-- 新密码输入框 -->
|
|
<!-- 新密码输入框 -->
|
|
|
<view class="uni-input-wrapper">
|
|
<view class="uni-input-wrapper">
|
|
|
<input class="uni-input" placeholder="请输入新密码" :password="showPassword2" v-model="newPassword" />
|
|
<input class="uni-input" placeholder="请输入新密码" :password="showPassword2" v-model="newPassword" />
|
|
@@ -99,44 +101,34 @@
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style>
|
|
|
|
|
- ontainer {
|
|
|
|
|
- padding: 40rpx;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .input-group {
|
|
|
|
|
- margin-bottom: 30rpx;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- button {
|
|
|
|
|
- background-color: #007aff;
|
|
|
|
|
- color: white;
|
|
|
|
|
- padding: 20rpx 40rpx;
|
|
|
|
|
- border: none;
|
|
|
|
|
- border-radius: 10rpx;
|
|
|
|
|
- cursor: pointer;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .uni-input-wrapper {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- padding: 20rpx;
|
|
|
|
|
- margin: 20rpx;
|
|
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- .uni-icon {
|
|
|
|
|
- margin-left: 20rpx;
|
|
|
|
|
-
|
|
|
|
|
|
|
+<style lang="scss" scoped>
|
|
|
|
|
+ .container{
|
|
|
|
|
+ padding-top: 1rem;
|
|
|
|
|
+ .input-group-header{
|
|
|
|
|
+ margin-left: 1rem;
|
|
|
|
|
+ }
|
|
|
|
|
+ .uni-input-wrapper {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ margin: 1rem;
|
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
|
+ .uni-icon {
|
|
|
|
|
+ margin: 20rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .submitBtn {
|
|
|
|
|
+ background-color: #007aff;
|
|
|
|
|
+ color: white;
|
|
|
|
|
+ width: 90%;
|
|
|
|
|
+ margin-top: 2rem;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
.uni-eye-active {
|
|
.uni-eye-active {
|
|
|
color: #007aff;
|
|
color: #007aff;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .submitBtn {
|
|
|
|
|
- width: 90%;
|
|
|
|
|
- margin-top: 30rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</style>
|
|
</style>
|