1 line
9.3 KiB
Plaintext
1 line
9.3 KiB
Plaintext
<view class="data-v-09ea0031"><block wx:if="{{objInfo.component=='input'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_form data-v-09ea0031"><view class="data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><view class="form_input data-v-09ea0031"><block wx:if="{{isEdit}}"><input class="{{['data-v-09ea0031',objInfo.value?'valueActive':'']}}" type="text" placeholder-style="color:#999;font-size:32rpx;" placeholder="{{!isEdit?'':objInfo.config.placeholder}}" data-event-opts="{{[['input',[['changeInput',['$event']]]]]}}" value="{{objInfo.value}}" bindinput="__e"/></block><block wx:if="{{!isEdit}}"><view class="valueActive data-v-09ea0031">{{objInfo.value?objInfo.value:''}}</view></block></view></view></block><block wx:if="{{objInfo.component=='input-number'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_form data-v-09ea0031"><view class="data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><view class="form_input data-v-09ea0031"><input class="{{['data-v-09ea0031',objInfo.value?'valueActive':'']}}" type placeholder-style="color:#999;font-size:32rpx;" disabled="{{!isEdit}}" placeholder="{{!isEdit?'':objInfo.config.placeholder}}" data-event-opts="{{[['input',[['changeInput',['$event']]]]]}}" value="{{objInfo.value}}" bindinput="__e"/></view></view></block><block wx:if="{{objInfo.component=='select'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_form data-v-09ea0031"><view class="data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><view data-event-opts="{{[['tap',[['changeSelect',['$event']]]]]}}" class="form_right data-v-09ea0031" bindtap="__e"><view class="{{['data-v-09ea0031',objInfo.value?'valueActive':'']}}">{{''+(!isEdit&&!objInfo.value?'':objInfo.value?objInfo.value:objInfo.config.placeholder)+''}}</view><view class="iconfont icon-arrows_right data-v-09ea0031"></view></view></view></block><block wx:if="{{objInfo.component=='Rate'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_form data-v-09ea0031"><view class="data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><view class="form_right data-v-09ea0031"><view class="data-v-09ea0031"><u-rate vue-id="482d4f4f-1" disabled="{{!isEdit}}" active-color="#FFD049" inactive-color="#b2b2b2" size="{{35}}" gutter="{{10}}" value="{{objInfo.value}}" data-event-opts="{{[['^change',[['changeRate']]],['^input',[['__set_model',['$0','value','$event',[]],['objInfo']]]]]}}" bind:change="__e" bind:input="__e" class="data-v-09ea0031" bind:__l="__l"></u-rate></view></view></view></block><block wx:if="{{objInfo.component=='TimePicker'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_form data-v-09ea0031"><view class="data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><picker mode="multiSelector" disabled="{{!isEdit}}" range="{{dateTimeArray}}" value="{{dateTime}}" data-event-opts="{{[['change',[['changeTime',['$event']]]],['columnchange',[['changeColumn',['$event']]]]]}}" bindchange="__e" bindcolumnchange="__e" class="data-v-09ea0031"><view class="form_right data-v-09ea0031"><view class="{{['data-v-09ea0031',objInfo.value?'valueActive':'']}}">{{''+(objInfo.value?objInfo.value:objInfo.config.placeholder)+''}}</view><view class="iconfont icon-arrows_right data-v-09ea0031"></view></view></picker></view></block><block wx:if="{{objInfo.component=='textarea'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_area data-v-09ea0031"><view class="area_head data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{''+objInfo.config.label+''}}</view><textarea class="{{['data-v-09ea0031',objInfo.value?'valueActive':'']}}" style="{{'height:'+(height+'rpx')+';'}}" maxlength="-1" auto-height="{{autoHeight}}" disabled="{{!isEdit}}" placeholder="{{!isEdit?'':objInfo.config.placeholder}}" placeholder-style="color:#999;font-size:32rpx;" data-event-opts="{{[['input',[['changeTextarea',['$event']]]]]}}" value="{{objInfo.value?objInfo.value:''}}" bindinput="__e"></textarea></view></block><block wx:if="{{objInfo.component=='radio'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_form data-v-09ea0031"><view class="data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><view class="form_right data-v-09ea0031"><radio-group class="labellist data-v-09ea0031" disabled="{{!isEdit}}" data-event-opts="{{[['change',[['changeRadio',['$event']]]]]}}" bindchange="__e"><block wx:for="{{objInfo.config.content}}" wx:for-item="item" wx:for-index="index" wx:key="index"><label class="labelbox"><view class="data-v-09ea0031"><radio color="#03aa96" disabled="{{!isEdit}}" value="{{item.value}}" checked="{{item.value==objInfo.value}}" class="data-v-09ea0031"></radio></view><view class="data-v-09ea0031">{{item.value}}</view></label></block></radio-group></view></view></block><block wx:if="{{objInfo.component=='checkbox'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_area data-v-09ea0031"><view class="area_head data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><checkbox-group style="display:flex;justify-content:flex-start;flex-wrap:wrap;" value="{{objInfo.value}}" data-event-opts="{{[['change',[['changeCheckbox',['$event']]]]]}}" bindchange="__e" class="data-v-09ea0031"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><label style="margin-right:15rpx;margin-bottom:25rpx;display:block;" class="data-v-09ea0031"><checkbox class="checkbox data-v-09ea0031" color="#ff7800" value="{{item.$orig.value}}" checked="{{item.g0!=-1}}" disabled="{{!isEdit}}"></checkbox><label class="_span data-v-09ea0031">{{item.$orig.value}}</label></label></block></checkbox-group></view></block><block wx:if="{{objInfo.component=='Cascader'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_form data-v-09ea0031"><view class="data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><picker disabled="{{!isEdit}}" mode="region" data-event-opts="{{[['change',[['changeAddress',['$event']]]]]}}" bindchange="__e" class="data-v-09ea0031"><view class="form_right data-v-09ea0031"><view class="{{['data-v-09ea0031',objInfo.value?'valueActive':'']}}">{{''+(!isEdit&&!objInfo.value?'':objInfo.value?objInfo.value:objInfo.config.placeholder)+''}}</view><view class="iconfont icon-arrows_right data-v-09ea0031"></view></view></picker></view></block><block wx:if="{{objInfo.component=='DatePicker'&&(objInfo.config.required==true||!isNotRequired)}}"><view class="fllow_form data-v-09ea0031"><view class="data-v-09ea0031"><text class="{{['data-v-09ea0031',objInfo.config.required==true?'b_color':'bo_color']}}">*</text>{{objInfo.config.label}}</view><picker mode="date" disabled="{{!isEdit}}" data-event-opts="{{[['change',[['changeDate',['$event']]]]]}}" bindchange="__e" class="data-v-09ea0031"><view class="form_right data-v-09ea0031"><view class="{{['data-v-09ea0031',objInfo.value?'valueActive':'']}}">{{''+(!isEdit&&!objInfo.value?'':objInfo.value?objInfo.value:objInfo.config.placeholder)+''}}</view><view class="iconfont icon-arrows_right data-v-09ea0031"></view></view></picker></view></block><block wx:if="{{objInfo.component=='uploadImage'&&(objInfo.config.required||!isNotRequired)}}"><upload-image vue-id="482d4f4f-2" flag="{{objInfo.config.required}}" imgList="{{objInfo.value?objInfo.value:[]}}" title="{{objInfo.config.label}}" single="{{objInfo.config.maxnum}}" isEdit="{{isEdit}}" data-event-opts="{{[['^uploadImg',[['uploadImg']]],['^delImg',[['delImg']]]]}}" bind:uploadImg="__e" bind:delImg="__e" class="data-v-09ea0031" bind:__l="__l"></upload-image></block><block wx:if="{{objInfo.component=='uploadFile'&&(objInfo.config.required||!isNotRequired)}}"><upload-file vue-id="482d4f4f-3" title="{{objInfo.config.label}}" flag="{{objInfo.config.required}}" fileList="{{objInfo.value?objInfo.value:[]}}" isEdit="{{isEdit}}" data-event-opts="{{[['^uploadFile',[['uploadFile']]],['^delFile',[['delFile']]]]}}" bind:uploadFile="__e" bind:delFile="__e" class="data-v-09ea0031" bind:__l="__l"></upload-file></block><block wx:if="{{objInfo.component=='select'}}"><tki-tree vue-id="482d4f4f-4" range="{{objInfo.config.content}}" multiple="{{objInfo.config.multiple}}" rangeKey="label" idKey="nodeKey" confirmColor="#03aa96" data-ref="tkitree" data-event-opts="{{[['^confirm',[['selectTree']]]]}}" bind:confirm="__e" class="data-v-09ea0031 vue-ref" bind:__l="__l"></tki-tree></block><u-select vue-id="482d4f4f-5" mode="mutil-column-auto" value-name="code" label-name="name" child-name="children" list="{{addressList}}" value="{{show}}" data-event-opts="{{[['^confirm',[['confirm']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-09ea0031" bind:__l="__l"></u-select></view> |