qianduan-uniapp/unpackage/dist/dev/mp-weixin/pages/allHomework/submitHomework.wxml

1 line
848 B
Plaintext

<view class="container"><view class="header"><text class="title">提交作业</text></view><view class="form-container"><input class="input" placeholder="作业标题" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','title','$event',[]]]]]]}}" value="{{title}}" bindinput="__e"/><textarea class="textarea" placeholder="作业描述" disabled="{{true}}" data-event-opts="{{[['input',[['__set_model',['','content','$event',[]]]]]]}}" value="{{content}}" bindinput="__e"></textarea><textarea class="textarea" placeholder="请输入作业内容" data-event-opts="{{[['input',[['__set_model',['','homeworkContent','$event',[]]]]]]}}" value="{{homeworkContent}}" bindinput="__e"></textarea><button data-event-opts="{{[['tap',[['submitHomework',['$event']]]]]}}" class="submit-button" bindtap="__e">提交作业</button></view></view>