u-cell-item.axml
1.6 KB
<view class="{{(((((('u-cell')+' '+'data-v-65423b64')+' '+((borderBottom)?'u-border-bottom':''))+' '+((borderTop)?'u-border-top':''))+' '+((center)?'u-col-center':''))+' '+((required)?'u-cell--required':''))}}" style="{{'background-color:'+(bgColor)+';'}}" hover-stay-time="150" hover-class="{{hoverClass}}" data-event-opts="{{[['tap',[['click',['$event']]]]]}}" onTap="__e"><block a:if="{{icon}}"><u-icon class="u-cell__left-icon-wrap data-v-65423b64" vue-id="43182f64-1" size="{{iconSize}}" name="{{icon}}" custom-style="{{iconStyle}}" onVueInit="__l"></u-icon></block><block a:else><view class="u-flex data-v-65423b64"><slot name="icon"></slot></view></block><view class="u-cell_title data-v-65423b64" style="{{$root.s0}}"><block a:if="{{title!==''}}"><block class="data-v-65423b64">{{title}}</block></block><block a:else><slot name="title"></slot></block><block a:if="{{label||$slots.label}}"><view class="u-cell__label data-v-65423b64" style="{{$root.s1}}"><block a:if="{{label!==''}}"><block class="data-v-65423b64">{{label}}</block></block><block a:else><slot name="label"></slot></block></view></block></view><view class="u-cell__value data-v-65423b64" style="{{$root.s2}}"><block a:if="{{value!==''}}"><block class="u-cell__value data-v-65423b64">{{value}}</block></block><block a:else><slot></slot></block></view><block a:if="{{$slots['right-icon']}}"><view class="u-flex u-cell_right data-v-65423b64"><slot name="right-icon"></slot></view></block><block a:if="{{arrow}}"><u-icon class="u-icon-wrap u-cell__right-icon-wrap data-v-65423b64" style="{{$root.s3}}" vue-id="43182f64-2" name="arrow-right" onVueInit="__l"></u-icon></block></view>