<view class="{{['uni-forms-item','is-direction-'+localLabelPos,border?'uni-forms-item--border':'',border&&isFirstBorder?'is-first-border':'']}}"><block wx:if="{{$slots.label}}"><slot name="label"></slot></block><block wx:else><view class="{{['uni-forms-item__label',(!label&&!required)?'no-label':'']}}" style="{{'width:'+(localLabelWidth)+';'+('justify-content:'+(localLabelAlign)+';')}}"><block wx:if="{{required}}"><text class="is-required">*</text></block><text>{{label}}</text></view></block><view class="uni-forms-item__content"><slot></slot><view class="{{['uni-forms-item__error',(msg)?'msg--active':'']}}"><text>{{msg}}</text></view></view></view>