c-input-item.axml 19.6 KB
<view class="c-input-item data-v-47f60cf8" style="{{(vuex_theme)}}"><block a:if="{{type=='text'}}"><u-form-item vue-id="b6de9050-1" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-2')+','+('b6de9050-1')}}" maxlength="{{maxlenth}}" input-align="right" disabled="{{disabled}}" placeholder="{{placeholder?placeholder:'请输入'}}" placeholder-style="font-size:34rpx;color:rgba(0,0,0,0.45);" customStyle="{{customStyle}}" clearable="{{clearable}}" value="{{getValues}}" data-event-opts="{{[['^click',[['handelClick',['text']]]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input></u-form-item></block><block a:if="{{type=='text1'}}"><u-form-item vue-id="b6de9050-3" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-4')+','+('b6de9050-3')}}" maxlength="{{maxlenth}}" input-align="left" disabled="{{disabled}}" placeholder="{{placeholder?placeholder:'请输入'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" clearable="{{clearable}}" value="{{getValues}}" data-event-opts="{{[['^click',[['handelClick',['text']]]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input></u-form-item></block><block a:if="{{type=='number'}}"><u-form-item vue-id="b6de9050-5" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input onInput="__e" vue-id="{{('b6de9050-6')+','+('b6de9050-5')}}" maxlength="{{maxlenth}}" type="number" input-align="right" disabled="{{disabled}}" placeholder="{{placeholder?placeholder:'请输入'}}" placeholder-style="font-size:34rpx;color:rgba(0,0,0,0.45);" clearable="{{clearable}}" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" class="data-v-47f60cf8" onVueInit="__l"></u-input></u-form-item></block><block a:if="{{type=='number1'}}"><u-form-item vue-id="b6de9050-7" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input onInput="__e" vue-id="{{('b6de9050-8')+','+('b6de9050-7')}}" maxlength="{{maxlenth}}" type="number" input-align="left" disabled="{{disabled}}" placeholder="{{placeholder?placeholder:'请输入'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" clearable="{{clearable}}" value="{{getValues}}" data-event-opts="{{[['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" class="data-v-47f60cf8" onVueInit="__l"></u-input></u-form-item></block><block a:if="{{type=='radio'}}"><u-form-item vue-id="b6de9050-9" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-radio-group onInput="__e" vue-id="{{('b6de9050-10')+','+('b6de9050-9')}}" value="{{getValues}}" data-event-opts="{{[['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('b6de9050-11-'+index)+','+('b6de9050-10')}}" name="{{item.value}}" disabled="{{item.disabled}}" active-color="var(--primary-color)" class="data-v-47f60cf8" a:for="{{options}}" a:for-item="item" a:for-index="index" a:key="index" onVueInit="__l" vue-slots="{{['default']}}">{{''+item.label+''}}</u-radio></u-radio-group></u-form-item></block><block a:if="{{type=='radio1'}}"><u-form-item vue-id="b6de9050-12" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-radio-group onInput="__e" style="width:fit-content;" vue-id="{{('b6de9050-13')+','+('b6de9050-12')}}" value="{{getValues}}" data-event-opts="{{[['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('b6de9050-14-'+index)+','+('b6de9050-13')}}" name="{{item.value}}" disabled="{{item.disabled}}" active-color="var(--primary-color)" class="data-v-47f60cf8" a:for="{{options}}" a:for-item="item" a:for-index="index" a:key="index" onVueInit="__l" vue-slots="{{['default']}}">{{''+item.label+''}}</u-radio></u-radio-group></u-form-item></block><block a:if="{{type=='date'}}"><u-form-item vue-id="b6de9050-15" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-16')+','+('b6de9050-15')}}" type="text" input-align="right" disabled="{{true}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择时间'}}" placeholderStyle="{{placeholderStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['e0']]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-picker vue-id="{{('b6de9050-17')+','+('b6de9050-15')}}" mode="time" confirm-color="var(--primary-color)" params="{{({year:true,month:true,day:true})}}" value="{{time_visible}}" data-event-opts="{{[['^confirm',[['onConfirmTime']]],['^input',[['__set_model',['','time_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-picker></u-form-item></block><block a:if="{{type=='date1'}}"><u-form-item vue-id="b6de9050-18" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-19')+','+('b6de9050-18')}}" type="text" input-align="right" disabled="{{true}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择时间'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['e1']]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-picker vue-id="{{('b6de9050-20')+','+('b6de9050-18')}}" mode="time" confirm-color="var(--primary-color)" params="{{({year:true,month:true,day:true})}}" value="{{time_visible}}" data-event-opts="{{[['^confirm',[['onConfirmTime1']]],['^input',[['__set_model',['','time_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-picker></u-form-item></block><block a:if="{{type=='date2'}}"><u-form-item vue-id="b6de9050-21" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000',height:'20px'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-22')+','+('b6de9050-21')}}" type="text" input-align="left" disabled="{{true}}" border="{{border}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择时间'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['e2']]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-picker vue-id="{{('b6de9050-23')+','+('b6de9050-21')}}" mode="time" confirm-color="var(--primary-color)" params="{{({year:true,month:true,day:true,hour:true,minute:true})}}" value="{{time_visible}}" data-event-opts="{{[['^confirm',[['onConfirmTime2']]],['^input',[['__set_model',['','time_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-picker></u-form-item></block><block a:if="{{type=='date3'}}"><u-form-item vue-id="b6de9050-24" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000',height:'20px'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-25')+','+('b6de9050-24')}}" type="text" input-align="left" disabled="{{true}}" border="{{border}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择时间'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['e3']]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-picker vue-id="{{('b6de9050-26')+','+('b6de9050-24')}}" mode="time" confirm-color="var(--primary-color)" params="{{({year:true,month:true,day:true})}}" value="{{time_visible}}" data-event-opts="{{[['^confirm',[['onConfirmTime3']]],['^input',[['__set_model',['','time_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-picker></u-form-item></block><block a:if="{{type=='select'}}"><u-form-item vue-id="b6de9050-27" label="{{label}}" labelWidth="{{200}}" label-position="{{labelPosition}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-28')+','+('b6de9050-27')}}" maxlength="{{100}}" input-align="right" disabled="{{true}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择'}}" placeholder-style="font-size:34rpx;color:rgba(0,0,0,0.45);" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['handelClick',['select']]]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-select vue-id="{{('b6de9050-29')+','+('b6de9050-27')}}" mode="single-column" confirm-color="var(--primary-color)" list="{{options}}" default-value="{{defs}}" value="{{select_visible}}" data-event-opts="{{[['^confirm',[['onConfirmSingle']]],['^input',[['__set_model',['','select_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-select></u-form-item></block><block a:if="{{type=='select1'}}"><u-form-item vue-id="b6de9050-30" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000',height:'20px'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-31')+','+('b6de9050-30')}}" maxlength="{{100}}" input-align="left" disabled="{{true}}" border="{{border}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['handelClick',['select']]]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-select vue-id="{{('b6de9050-32')+','+('b6de9050-30')}}" mode="single-column" confirm-color="var(--primary-color)" list="{{options}}" default-value="{{defs}}" value="{{select_visible}}" data-event-opts="{{[['^confirm',[['onConfirmSingle']]],['^input',[['__set_model',['','select_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-select></u-form-item></block><block a:if="{{type=='select2'}}"><u-form-item vue-id="b6de9050-33" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-34')+','+('b6de9050-33')}}" maxlength="{{100}}" input-align="right" disabled="{{true}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['handelClick',['select']]]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-select vue-id="{{('b6de9050-35')+','+('b6de9050-33')}}" mode="single-column" confirm-color="var(--primary-color)" list="{{options}}" default-value="{{defs}}" value="{{select_visible}}" data-event-opts="{{[['^confirm',[['onConfirmSingle']]],['^input',[['__set_model',['','select_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-select></u-form-item></block><block a:if="{{type=='cascader'}}"><u-form-item vue-id="b6de9050-36" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-37')+','+('b6de9050-36')}}" input-align="right" disabled="{{true}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择'}}" placeholderStyle="{{placeholderStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['e4']]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-select vue-id="{{('b6de9050-38')+','+('b6de9050-36')}}" mode="mutil-column-auto" list="{{options}}" confirm-color="var(--primary-color)" value="{{select_visible}}" data-event-opts="{{[['^confirm',[['onConfirmAutoMutil']]],['^input',[['__set_model',['','select_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-select></u-form-item></block><block a:if="{{type=='area'}}"><u-form-item vue-id="b6de9050-39" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-40')+','+('b6de9050-39')}}" input-align="right" disabled="{{true}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['e5']]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-select vue-id="{{('b6de9050-41')+','+('b6de9050-39')}}" mode="mutil-column-auto" list="{{options}}" confirm-color="var(--primary-color)" value="{{select_visible}}" data-event-opts="{{[['^confirm',[['onConfirmArea']]],['^input',[['__set_model',['','select_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-select></u-form-item></block><block a:if="{{type=='area1'}}"><u-form-item vue-id="b6de9050-42" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input vue-id="{{('b6de9050-43')+','+('b6de9050-42')}}" input-align="left" disabled="{{true}}" clearable="{{clearable}}" placeholder="{{placeholder?placeholder:'请选择'}}" placeholderStyle="{{placeholderStyle}}" customStyle="{{customStyle}}" value="{{getValues}}" data-event-opts="{{[['^click',[['e6']]],['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" onClick="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-input><u-select vue-id="{{('b6de9050-44')+','+('b6de9050-42')}}" mode="mutil-column-auto" list="{{options}}" confirm-color="var(--primary-color)" value="{{select_visible}}" data-event-opts="{{[['^confirm',[['onConfirmArea']]],['^input',[['__set_model',['','select_visible','$event',[]]]]]]}}" onConfirm="__e" onInput="__e" class="data-v-47f60cf8" onVueInit="__l"></u-select></u-form-item></block><block a:if="{{type=='textarea'}}"><u-form-item vue-id="b6de9050-45" label="{{label}}" labelWidth="{{200}}" label-style="{{({whiteSpace:'nowrap',fontSize:'30rpx',color:'#000000'})}}" required="{{required}}" right-icon="{{rightIcon?'arrow-right':''}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input onInput="__e" vue-id="{{('b6de9050-46')+','+('b6de9050-45')}}" input-align="right" disabled="{{disabled}}" placeholder="{{placeholder?placeholder:'请输入'}}" placeholderStyle="{{placeholderStyle}}" clearable="{{clearable}}" value="{{getValues}}" data-event-opts="{{[['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" class="data-v-47f60cf8" onVueInit="__l"></u-input></u-form-item></block><block a:if="{{type=='textarea1'}}"><u-form-item vue-id="b6de9050-47" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000'})}}" required="{{required}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input onInput="__e" vue-id="{{('b6de9050-48')+','+('b6de9050-47')}}" input-align="left" maxlength="{{maxlenth}}" disabled="{{disabled}}" border="{{border}}" placeholder="{{placeholder?placeholder:'请输入请假原因'}}" placeholderStyle="{{placeholderStyle}}" clearable="{{clearable}}" customStyle="{{customStyle}}" type="textarea" height="{{50}}" value="{{getValues}}" data-event-opts="{{[['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" class="data-v-47f60cf8" onVueInit="__l"></u-input></u-form-item></block><block a:if="{{type=='textarea2'}}"><u-form-item vue-id="b6de9050-49" label="{{label}}" labelWidth="{{200}}" label-position="top" label-style="{{({whiteSpace:'nowrap',fontSize:'26rpx',color:'#000000'})}}" required="{{required}}" prop="{{name}}" class="data-v-47f60cf8" onVueInit="__l" vue-slots="{{['default']}}"><u-input onInput="__e" vue-id="{{('b6de9050-50')+','+('b6de9050-49')}}" input-align="left" maxlength="{{maxlenth}}" disabled="{{disabled}}" border="{{border}}" placeholder="{{placeholder?placeholder:'请输入请假原因'}}" placeholderStyle="{{placeholderStyle}}" clearable="{{clearable}}" customStyle="{{customStyle}}" type="textarea" height="{{50}}" value="{{getValues}}" data-event-opts="{{[['^input',[['__set_model',['','getValues','$event',[]]]]]]}}" class="data-v-47f60cf8" onVueInit="__l"></u-input></u-form-item></block></view>