1 |
- <view class="u-page"><u--form class="vue-ref" vue-id="5c007464-1" labelPosition="left" model="{{model1}}" data-ref="form1" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item class="vue-ref" vue-id="{{('5c007464-2')+','+('5c007464-1')}}" labelWidth="110" label="网关ID" prop="addProject.gatewayDeviceId" borderBottom="{{true}}" data-ref="item1" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('5c007464-3')+','+('5c007464-2')}}" border="none" placeholder="网关ID" value="{{model1.addProject.gatewayDeviceId}}" data-event-opts="{{[['^input',[['__set_model',['$0','gatewayDeviceId','$event',[]],['model1.addProject']]]]]}}" bind:__l="__l"></u--input></u-form-item><u-form-item class="vue-ref" vue-id="{{('5c007464-4')+','+('5c007464-1')}}" label="测试项目说明" prop="addProject.description" borderBottom="{{true}}" labelWidth="110" data-ref="item3" bind:__l="__l" vue-slots="{{['default']}}"><u--textarea bind:input="__e" vue-id="{{('5c007464-5')+','+('5c007464-4')}}" placeholder="不低于3个字" count="{{true}}" value="{{model1.addProject.description}}" data-event-opts="{{[['^input',[['__set_model',['$0','description','$event',[]],['model1.addProject']]]]]}}" bind:__l="__l"></u--textarea></u-form-item></u--form><view style="display:flex;margin-top:100rpx;"><u-button vue-id="5c007464-6" type="primary" text="提交" data-event-opts="{{[['^click',[['submit']]]]}}" bind:click="__e" bind:__l="__l"></u-button><u-button vue-id="5c007464-7" type="error" text="重置" data-event-opts="{{[['^click',[['reset']]]]}}" bind:click="__e" bind:__l="__l"></u-button></view></view>
|