You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
546 B
15 lines
546 B
<view class="container">
|
|
<form bindsubmit="create_question">
|
|
<view class="form-wrap">
|
|
<textarea name="question_title" placeholder="输入题干"></textarea>
|
|
</view>
|
|
<checkbox-group name="standard_answers">
|
|
<view wx:for="{{4-0}}" class="flex-wrap">
|
|
<checkbox value="{{index+1}}"></checkbox>
|
|
<input name="{{'question_choices_'+index}}" placeholder="输入选项文字"></input>
|
|
</view>
|
|
</checkbox-group>
|
|
<button type="primary" size="mini" form-type="submit">保存</button>
|
|
</form>
|
|
</view>
|