<template>
	<view class="pages">
		<view class="item" @click="itemClick('1')">

			<text class="text">密码设置</text>
			<image src="../../static/baseIcon/zy.png" style="width: 15px;height: 15px;"></image>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			itemClick(index) {
				switch (index) {
					case "1":
						uni.navigateTo({
							url: '../index/ChangePassword'
						});
						break;
					default:
						break;
				}
			}

		}
	}
</script>

<style lang="scss">
	.pages {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;

		.item {
			background: #fff;
			padding: 20px 15px;
			display: flex;
			flex-direction: row;
			justify-content: space-between;

			.text {
				color: #101010;
				font-size: 16px;
			}
		}
	}
</style>