.
This commit is contained in:
parent
fd3011e0cb
commit
4f831af675
@ -118,12 +118,14 @@
|
||||
}, {
|
||||
"path": "pages/mine/pwd/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "修改密码"
|
||||
"navigationBarTitleText": "修改密码",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/mine/setting/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "应用设置"
|
||||
"navigationBarTitleText": "应用设置",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/mine/help/index",
|
||||
|
@ -1,16 +1,24 @@
|
||||
<template>
|
||||
<!-- 顶部导航栏 -->
|
||||
<custom-nav-bar :left="true" leftText="" @leftClick="" title="修改密码">
|
||||
</custom-nav-bar>
|
||||
<view class="pwd-retrieve-container">
|
||||
<uni-forms ref="form" :value="user" labelWidth="80px">
|
||||
<!-- <uni-forms-item name="oldPassword" label="旧密码">
|
||||
<uni-easyinput type="password" v-model="user.oldPassword" placeholder="请输入旧密码" />
|
||||
</uni-forms-item> -->
|
||||
<uni-forms-item name="newPassword" label="新密码">
|
||||
<u-form-item label="新密码" prop="newPassword" labelWidth="100px" required>
|
||||
<u--input type="password" v-model="user.newPassword" border="none" placeholder="请输入新密码"></u--input>
|
||||
</u-form-item>
|
||||
<u-line color="#D2D2D2"></u-line>
|
||||
|
||||
<!-- <uni-forms-item name="newPassword" label="新密码">
|
||||
<uni-easyinput type="password" v-model="user.newPassword" placeholder="请输入新密码" />
|
||||
</uni-forms-item>
|
||||
</uni-forms-item> -->
|
||||
<!-- <uni-forms-item name="confirmPassword" label="确认密码">
|
||||
<uni-easyinput type="password" v-model="user.confirmPassword" placeholder="请确认新密码" />
|
||||
</uni-forms-item> -->
|
||||
<button type="primary" @click="submit">提交</button>
|
||||
<u-button style="margin-top: 20%;" type="success" size="large" text="提交" @click="submit" />
|
||||
</uni-forms>
|
||||
</view>
|
||||
</template>
|
||||
@ -95,4 +103,5 @@
|
||||
padding-top: 36rpx;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
</style>
|
@ -1,4 +1,7 @@
|
||||
<template>
|
||||
<!-- 顶部导航栏 -->
|
||||
<custom-nav-bar :left="true" leftText="" @leftClick="" title="应用设置">
|
||||
</custom-nav-bar>
|
||||
<view class="setting-container" :style="{height: `${windowHeight}px`}">
|
||||
<view class="menu-list">
|
||||
<view class="list-cell list-cell-arrow" @click="handleToPwd">
|
||||
@ -21,10 +24,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="cu-list menu">
|
||||
<view class="cu-item item-box">
|
||||
<view class="content text-center" @click="handleLogout">
|
||||
<text class="text-black">退出登录</text>
|
||||
</view>
|
||||
<view class="item-box">
|
||||
<u-button class="bg-red" type="success" size="large" text="退出登录" @click="handleLogout"/>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -91,7 +92,7 @@
|
||||
}
|
||||
|
||||
.item-box {
|
||||
background-color: #FFFFFF;
|
||||
|
||||
margin: 30rpx;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
Loading…
Reference in New Issue
Block a user