u-modal.wxml 1.7 KB
<u-popup wx:if="{{y}}" u-s="{{['d']}}" class="{{['data-v-f667648f', w]}}" bindclick="{{x}}" u-i="f667648f-0" bind:__l="__l" u-p="{{y}}"><view class="u-modal data-v-f667648f" style="{{'width:' + v}}"><view wx:if="{{a}}" class="u-modal__title data-v-f667648f">{{b}}</view><view class="u-modal__content data-v-f667648f" style="{{'padding-top:' + e}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><text class="u-modal__content__text data-v-f667648f" style="{{'text-align:' + d}}">{{c}}</text></block></view><view wx:if="{{f}}" class="u-modal__button-group--confirm-button data-v-f667648f"><slot name="confirmButton"></slot></view><block wx:else><u-line class="data-v-f667648f" u-i="f667648f-1,f667648f-0" bind:__l="__l"></u-line><view class="u-modal__button-group data-v-f667648f" style="{{'flex-direction:' + t}}"><view wx:if="{{g}}" hover-stay-time="{{150}}" hover-class="u-modal__button-group__wrapper--hover" class="{{['u-modal__button-group__wrapper', 'u-modal__button-group__wrapper--cancel', 'data-v-f667648f', j]}}" bindtap="{{k}}"><text class="u-modal__button-group__wrapper__text data-v-f667648f" style="{{'color:' + i}}">{{h}}</text></view><u-line wx:if="{{l}}" class="data-v-f667648f" u-i="f667648f-2,f667648f-0" bind:__l="__l" u-p="{{m}}"></u-line><view wx:if="{{n}}" hover-stay-time="{{150}}" hover-class="u-modal__button-group__wrapper--hover" class="{{['u-modal__button-group__wrapper', 'u-modal__button-group__wrapper--confirm', 'data-v-f667648f', r]}}" bindtap="{{s}}"><u-loading-icon wx:if="{{o}}" class="data-v-f667648f" u-i="f667648f-3,f667648f-0" bind:__l="__l"></u-loading-icon><text wx:else class="u-modal__button-group__wrapper__text data-v-f667648f" style="{{'color:' + q}}">{{p}}</text></view></view></block></view></u-popup>