<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 class="item" @click="itemClick('1')" style="margin-top: 10px;">
		
			<text class="text">清除缓存</text>
			<image src="../../static/baseIcon/zy.png" style="width: 15px;height: 15px;"></image>
		</view> -->


		<!-- #ifdef APP-PLUS -->

		<!-- <view class="item" @click="itemClick('2')" style="border-bottom: none;">

			<text class="text">检查新版本</text>
			<image src="../../static/baseIcon/zy.png" style="width: 15px;height: 15px;"></image>
		</view> -->

		<!-- #endif -->


		<view class="item" @click="itemClick('3')" style="margin-top: 10px;">

			<text class="text">关于我们</text>
			<image src="../../static/baseIcon/zy.png" style="width: 15px;height: 15px;"></image>
		</view>

		<view class="item" @click="itemClick('4')" style="border-bottom: none;">

			<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 "0":
						uni.navigateTo({
							url: '../index/ChangePassword'
						});
						break;
						case "2":
						break;
						case "3":
						break;
						case "4":
						break;
					default:
						break;
				}
			}

		}
	}
</script>

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

		.item {
			background: #fff;
			padding: 16px 15px;
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			border-bottom: 1px solid #eee;

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