<template>
	<view>
		<view class="set-group" style="padding-top: 18rpx;">
			<view class="d-b-c set-group-item " @click="gotoPage('pages/user/set/bind/loginPassword')">
				<view>{{$t('w_0041')}}</view>
				<view class="d-e-c">
					<text class="icon iconfont icon-jiantou"></text>
				</view>
			</view>
			<view class="d-b-c set-group-item" @click="gotoPage('pages/user/set/bind/payPassword')">
				<view>{{$t('N_I_217')}}</view>
				<view class="d-e-c gray9">
					<text class="icon iconfont icon-jiantou"></text>
				</view>
			</view>
		</view>
		<!-- <view  class="set-group" style="padding-top: 18rpx;">
			<view class="d-b-c set-group-item "
				@click="gotoPage('pages/user/set/bind/email?email='+encodeURIComponent(userInfo.email || ''))">
				<view>{{$t('PER_DA_33')}}</view>
				<view class="d-e-c gray9">
					<text class="">{{ userInfo.email || '' }}</text>
					<text class="icon iconfont icon-jiantou"></text>
				</view>
			</view>
			
			
		</view> -->
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userInfo: {
					email: '',
					phone: ''
				}
			};
		},
		onShow() {
			this.getData();
		},
		methods: {
			getData() {
				let self = this;
				if (self.loading) {
					return;
				}
				self.loading = true;
				self._get(
					'member/api/member/get-data', {},
					function(res) {
						self.userInfo = res.data;

						// self.codeimg = res.img;
					}, {},
					() => {
						self.loading = false;
					}
				);
			},
		}
	};
</script>

<style></style>