<template>
	<view>
		<z-navbar title="设置" back></z-navbar>
		<z-card class="mt-30">
			<z-cell label="更换手机号" arrow height="100rpx" @click.native="changeTel"></z-cell>
			<z-cell label="修改密码" arrow hideline  height="100rpx"  @click.native="changePass"></z-cell>
		</z-card>
		<z-button class="mt-50" @click="exit">退出登录</z-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			changeTel(){
				uni.navigateTo({
					url: './changetel',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			},
			changePass(){
				uni.navigateTo({
					url: './modifypass',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			},
			exit(){
				uni.clearStorage();
				uni.reLaunch({
				    url: '../../login/newlogin'
				});
			}
		}
	}
</script>

<style lang="scss" scoped>

</style>
