1 line
2.4 KiB
Plaintext
1 line
2.4 KiB
Plaintext
<view class="content"><u-form vue-id="6a7b0820-1" model="{{model}}" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('6a7b0820-2')+','+('6a7b0820-1')}}" label="姓名" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('6a7b0820-3')+','+('6a7b0820-2')}}" placeholder="请输入姓名" border="bottom" clearable="{{true}}" value="{{model.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['model']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('6a7b0820-4')+','+('6a7b0820-1')}}" label="性别" bind:__l="__l" vue-slots="{{['default']}}"><u-radio-group bind:input="__e" vue-id="{{('6a7b0820-5')+','+('6a7b0820-4')}}" value="{{model.gender}}" data-event-opts="{{[['^input',[['__set_model',['$0','gender','$event',[]],['model']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('6a7b0820-6')+','+('6a7b0820-5')}}" label="男" name="男" bind:__l="__l" vue-slots="{{['default']}}">男</u-radio><u-radio vue-id="{{('6a7b0820-7')+','+('6a7b0820-5')}}" label="女" name="女" bind:__l="__l" vue-slots="{{['default']}}">女</u-radio></u-radio-group></u-form-item><u-form-item vue-id="{{('6a7b0820-8')+','+('6a7b0820-1')}}" label="简介" bind:__l="__l" vue-slots="{{['default']}}"><u-textarea bind:input="__e" vue-id="{{('6a7b0820-9')+','+('6a7b0820-8')}}" placeholder="请输入简介" value="{{model.intro}}" data-event-opts="{{[['^input',[['__set_model',['$0','intro','$event',[]],['model']]]]]}}" bind:__l="__l"></u-textarea></u-form-item><u-form-item vue-id="{{('6a7b0820-10')+','+('6a7b0820-1')}}" label="上传图片" label-width="150rpx" bind:__l="__l" vue-slots="{{['default']}}"><view class="media-container"><jade-image-upload vue-id="{{('6a7b0820-11')+','+('6a7b0820-10')}}" list="{{model.FileList1}}" control="{{control}}" maxCount="{{maxCount}}" compressSize="{{compressSize}}" compressQuality="{{compressQuality}}" compressWidth="{{compressWidth}}" imageSize="{{imageSize}}" data-event-opts="{{[['^chooseFile',[['chooseFile']]],['^imgDelete',[['mediaDelete']]]]}}" bind:chooseFile="__e" bind:imgDelete="__e" bind:__l="__l"></jade-image-upload></view></u-form-item><u-button vue-id="{{('6a7b0820-12')+','+('6a7b0820-1')}}" type="primary" data-event-opts="{{[['^click',[['submitForm']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">提交</u-button></u-form></view> |