<template>
	<div class="container">
		<div class="cell-item">
			<div class="cell-label"><span>*</span>姓名</div>
			<input class="cell-input" type="text" :value="form.name" @input="inputMobile">
		</div>
		<div class="cell-item">
			<div class="cell-label"><span>*</span>身份证号</div>
			<input class="cell-input" type="idcard" :maxlength="18" :value="form.id_card" @input="inputIdCard">
		</div>
		<div class="submit" @click="onSubmit">立即绑定</div>
	</div>
</template>

<script>
import methods from './methods.js';
export default {
	data() {
		return {
			form: {
				name: '',
				id_card: '',
			}
		};
	},
	onLoad() {
	},
	onShow() {
	},
	methods: {
		...methods
	}
};
</script>

<style lang="scss">
@import './style.scss';
</style>
