<template>
	<view>
		<view class="bg-white padding-left-40 padding-right-40">
			<u-form   ref="uForm" >
				<u-form-item   label="旧密码"  :label-width="labelWidth">
					<u-input maxlength="8" placeholder="请输入旧密码"   v-model="psw"  type="password"></u-input>
				</u-form-item>
				<u-form-item   label="新密码"  :label-width="labelWidth">
					<u-input maxlength="8" placeholder="请输入新密码"   v-model="newPsw"  type="password"></u-input>
				</u-form-item>
				<u-form-item   label="确认新密码"  :label-width="labelWidth">
					<u-input maxlength="8" placeholder="再次输入新密码"   v-model="confirmPsw"  type="password"></u-input>
				</u-form-item>
			</u-form>
		</view>
		<view @click="submit"  class="footer-fixed cu-btn  bg-color-base flex" style="padding: 45rpx;">
			确认修改
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				labelWidth:180,
				psw:'',
				newPsw:'',
				confirmPsw:''
			}
		},
		onShow() {
			
		},
		methods: {
	
			/**
			 * 修改密码
			 */
			submit(){
				
			}
		}
	}
</script>

<style lang="scss">
	page{
		background-color: #FFFFFF;
	}
	.bg-color-base {
		background-color: #7dc7ae;
		color: #FFFFFF;
	}
</style>
