oil-station/gasStation-uni/unpackage/dist/dev/mp-weixin/pagesMy/editUser/index.wxml
2024-08-16 18:26:19 +08:00

1 line
4.2 KiB
Plaintext

<view class="content data-v-65730625"><view class="container data-v-65730625"><view class="my-header data-v-65730625"><view data-event-opts="{{[['tap',[['goBack',['$event']]]]]}}" class="my-icons data-v-65730625" bindtap="__e"><uni-icons vue-id="48ee3f81-1" type="left" size="16" class="data-v-65730625" bind:__l="__l"></uni-icons></view><view class="my-text data-v-65730625">{{title}}</view><view class="my-icons data-v-65730625"></view></view><block wx:if="{{editType==0}}"><view class="pBox data-v-65730625"><u-form vue-id="48ee3f81-2" model="{{form}}" data-ref="uForm" class="data-v-65730625 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('48ee3f81-3')+','+('48ee3f81-2')}}" label="昵称" prop="name" class="data-v-65730625" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('48ee3f81-4')+','+('48ee3f81-3')}}" clearable="{{true}}" border="{{false}}" placeholder="请填写昵称" value="{{form.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" class="data-v-65730625" bind:__l="__l"></u-input></u-form-item></u-form><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="but-sub data-v-65730625" bindtap="__e">提交保存</view></view></block><block wx:if="{{editType==1}}"><view class="pBox data-v-65730625"><u-form vue-id="48ee3f81-5" model="{{form}}" data-ref="uForm" class="data-v-65730625 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('48ee3f81-6')+','+('48ee3f81-5')}}" label="手机号" prop="mobile" label-width="70px" class="data-v-65730625" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('48ee3f81-7')+','+('48ee3f81-6')}}" clearable="{{true}}" border="{{false}}" placeholder="请填写手机号" value="{{mobile}}" data-event-opts="{{[['^input',[['__set_model',['','mobile','$event',[]]]]]]}}" class="data-v-65730625" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('48ee3f81-8')+','+('48ee3f81-5')}}" label="验证码" prop="code" label-width="70px" class="data-v-65730625" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input bind:input="__e" vue-id="{{('48ee3f81-9')+','+('48ee3f81-8')}}" clearable="{{true}}" border="{{false}}" placeholder="请填写验证码" value="{{code}}" data-event-opts="{{[['^input',[['__set_model',['','code','$event',[]]]]]]}}" class="data-v-65730625" bind:__l="__l"></u-input><u-button vue-id="{{('48ee3f81-10')+','+('48ee3f81-8')}}" slot="right" disabled="{{isCode}}" size="mini" type="success" data-event-opts="{{[['^click',[['getCode']]]]}}" bind:click="__e" class="data-v-65730625" bind:__l="__l" vue-slots="{{['default']}}">{{codeText}}</u-button></u-form-item></u-form><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="but-sub data-v-65730625" bindtap="__e">保存变更</view></view></block><block wx:if="{{editType==2}}"><view class="pBox data-v-65730625"><view class="data-v-65730625"></view><u-form vue-id="48ee3f81-11" model="{{form}}" data-ref="uForm" class="data-v-65730625 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('48ee3f81-12')+','+('48ee3f81-11')}}" label="车牌号" prop="mobile" label-width="70px" class="data-v-65730625" bind:__l="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('48ee3f81-13')+','+('48ee3f81-12')}}" clearable="{{true}}" border="{{false}}" placeholder="请输入车牌号" value="{{form.carNo}}" data-event-opts="{{[['^focus',[['e0']]],['^input',[['__set_model',['$0','carNo','$event',[]],['form']]]]]}}" bind:focus="__e" bind:input="__e" class="data-v-65730625" bind:__l="__l"></u-input></u-form-item></u-form><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="but-sub data-v-65730625" bindtap="__e">保存</view></view></block><u-keyboard vue-id="48ee3f81-14" mode="car" show="{{show}}" tips="{{value}}" data-ref="uKeyboard" value="{{value}}" data-event-opts="{{[['^cancel',[['e1']]],['^confirm',[['submitAmount']]],['^change',[['valChange']]],['^backspace',[['backspace']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:cancel="__e" bind:confirm="__e" bind:change="__e" bind:backspace="__e" bind:input="__e" class="data-v-65730625 vue-ref" bind:__l="__l"></u-keyboard></view></view>