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.
pk8f3pmu2/pages/question_setting/question_setting.wxml

14 lines
543 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}}"></checkbox>
<input name="{{'question_choices_'+index}}" placeholder="输入选项文字"></input>
</view>
</checkbox-group>
<button type="primary" size="mini" form-type="submit">保存</button>
</form>
</view>