<template>
<view class="page">
	<u-form :model="form" ref="uForm" :label-width="120">
		<view class="form-box">
			<u-form-item label="问卷名称"><u-input v-model="form.name" /></u-form-item>
		</view>
		<view class="form-box">
			<u-form-item label="问卷说明" label-position="top"><u-input v-model="form.name" type="textarea"/></u-form-item>
		</view>
		<view class="select-item" v-for="i in 2" :key="2">
			<view class="top">
				<view class="title">
					1.这里有标题这里有标题这里有标题
				</view>
				<u-radio-group class="radio-box">
					<u-radio shape="circle">这里有选项这里有选项</u-radio>
					<u-radio shape="circle">这里有选项这里有选项</u-radio>
				</u-radio-group>
			</view>
			<view class="bottom">
				<u-button type="primary" size="mini">编辑</u-button>
				<u-button type="success" size="mini">复制</u-button>
				<u-button type="success" size="mini">上移</u-button>
				<u-button type="success" size="mini">下移</u-button>
				<u-button type="error" size="mini">删除</u-button>
			</view>
		</view>
	</u-form>
		<view class="page-footer">
			<u-button type="info"><u-icon name="setting"></u-icon>设置</u-button>
			<u-button type="info"><u-icon name="eye"></u-icon>预览</u-button>
			<u-button type="success"><u-icon name="checkmark-circle"></u-icon>提交</u-button>
		</view>	  
</view>
</template>

<script>
	export default {
		data() {
			return {
				form: {
					name: '',
				},
				value:0
			};
		},
		methods:{
			 bindTextAreaBlur: function (e) {
			            console.log(e.detail.value)
			        }
		}
	}
</script>

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