Blame view

pages/createQuestionnaire/createQuestionnaire.vue 1.64 KB
4dfe89e4   monkeyhouyi   初始化
1
2
  <template>
  <view class="page">
15ee21cf   monkeyhouyi   调查问卷,时间段选择
3
4
5
  	<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>
4dfe89e4   monkeyhouyi   初始化
6
  		</view>
15ee21cf   monkeyhouyi   调查问卷,时间段选择
7
8
  		<view class="form-box">
  			<u-form-item label="问卷说明" label-position="top"><u-input v-model="form.name" type="textarea"/></u-form-item>
4dfe89e4   monkeyhouyi   初始化
9
  		</view>
15ee21cf   monkeyhouyi   调查问卷,时间段选择
10
11
12
13
  		<view class="select-item" v-for="i in 2" :key="2">
  			<view class="top">
  				<view class="title">
  					1.这里有标题这里有标题这里有标题
4dfe89e4   monkeyhouyi   初始化
14
  				</view>
15ee21cf   monkeyhouyi   调查问卷,时间段选择
15
16
17
18
  				<u-radio-group class="radio-box">
  					<u-radio shape="circle">这里有选项这里有选项</u-radio>
  					<u-radio shape="circle">这里有选项这里有选项</u-radio>
  				</u-radio-group>
4dfe89e4   monkeyhouyi   初始化
19
  			</view>
15ee21cf   monkeyhouyi   调查问卷,时间段选择
20
21
22
23
24
25
  			<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>
4dfe89e4   monkeyhouyi   初始化
26
27
  			</view>
  		</view>
15ee21cf   monkeyhouyi   调查问卷,时间段选择
28
29
30
31
32
33
  	</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>	  
4dfe89e4   monkeyhouyi   初始化
34
35
36
37
38
39
40
  </view>
  </template>
  
  <script>
  	export default {
  		data() {
  			return {
15ee21cf   monkeyhouyi   调查问卷,时间段选择
41
42
43
  				form: {
  					name: '',
  				},
4dfe89e4   monkeyhouyi   初始化
44
45
46
47
48
49
50
51
52
53
54
55
56
57
  				value:0
  			};
  		},
  		methods:{
  			 bindTextAreaBlur: function (e) {
  			            console.log(e.detail.value)
  			        }
  		}
  	}
  </script>
  
  <style  scoped lang="scss">
  	@import 'createQuestionnaire.scss';
  </style>