<template>
	<view>
		<cu-custom bgColor="bg-gradual-blue" :isBack="true">
			<block slot="backText">返回</block>
			<block slot="content">活动报名</block>
		</cu-custom>
		<form>
			<view class="cu-form-group margin-top">
				<view class="title">姓名</view>
				<input placeholder="请输入姓名" name="name"></input>
			</view>
			<view class="cu-form-group margin-top">
				<view class="title">部门</view>
				<input placeholder="请输入部门" name="officeName"></input>
			</view>
			<view class="cu-form-group margin-top">
				<view class="title">电话号码</view>
				<input placeholder="请输入电话号码" name="mobile"></input>
			</view>
			<view class=" margin-top" style="padding-left: 10px;padding-right: 10px;">
				<button style="width: 100%;" class='cu-btn lg bg-green shadow ' @click="submit()">提交</button>
			</view>
		</form>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				isCard: false
			};
		},
		methods: {
			IsCard(e) {
				this.isCard = e.detail.value
			},
			submit() {
				let is_sucess = '200'
				uni.navigateTo({
				  url: '/pages/test/luckyDraw/LuckyDrawEvents?is_sucess=200'
				})
			}
		}
	}
</script>

<style>

</style>
