1 line
1.9 KiB
Plaintext
1 line
1.9 KiB
Plaintext
|
<block wx:if="{{value}}"><view class="tn-modal-class tn-modal data-v-3a2c8cbc"><tn-popup vue-id="0b658bca-1" mode="center" popup="{{false}}" borderRadius="{{radius}}" width="{{width}}" zoom="{{zoom}}" safeAreaInsetBottom="{{safeAreaInsetBottom}}" maskCloseable="{{maskCloseable}}" zIndex="{{zIndex}}" closeBtn="{{showCloseBtn}}" value="{{value}}" data-event-opts="{{[['^close',[['close']]],['^input',[['__set_model',['','value','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" class="data-v-3a2c8cbc" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['tn-modal__box','data-v-3a2c8cbc',backgroundColorClass]}}" style="{{$root.s0}}"><block wx:if="{{!custom}}"><view class="data-v-3a2c8cbc"><block wx:if="{{title&&title!==''}}"><view class="tn-modal__box__title data-v-3a2c8cbc">{{title}}</view></block><view class="{{['tn-modal__box__content','data-v-3a2c8cbc',fontColorClass,contentClass]}}" style="{{(contentStyle)}}">{{content}}</view><block wx:if="{{$root.g0}}"><view class="{{['tn-modal__box__btn-box','data-v-3a2c8cbc',$root.g1!=2?'tn-flex-direction-column':'']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-3a2c8cbc"><tn-button class="{{['data-v-3a2c8cbc',item.g2>2?'tn-margin-bottom':'']}}" style="{{'width:'+(item.g3!=2?'80%':'46%')+';'}}" vue-id="{{('0b658bca-2-'+index)+','+('0b658bca-1')}}" width="100%" height="68rpx" fontSize="{{26}}" backgroundColor="{{item.$orig.backgroundColor||''}}" fontColor="{{item.$orig.fontColor||''}}" plain="{{item.$orig.plain||false}}" shape="{{item.$orig.shape||'round'}}" data-event-opts="{{[['^click',[['handleClick',[index]]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">{{''+item.$orig.text+''}}</tn-button></block></block></view></block></view></block><block wx:else><view class="data-v-3a2c8cbc"><slot></slot></view></block></view></tn-popup></view></block>
|