| 1234567891011121314151617181920212223242526272829303132 |
- <wxs src="./index.wxs" module="computed" />
- <nut-overlay
- wx:if="{{ overlay }}"
- show="{{ show }}"
- zIndex="{{zIndex}}"
- duration="{{duration}}"
- overlay-style="{{overlayStyle}}"
- bind:click="onClickOverlay"
- />
- <nut-transition
- name="{{ computed.animationName({position})}}"
- show='{{ show }}'
- custom-class="{{computed.classes({position,popClass,round})}}"
- custom-style='z-index:{{zIndex}};{{popStyle}}'
- bind:tap='onClick'
- duration='{{duration}}'>
- <slot></slot>
- <view
- wx:if="{{closeable}}"
- bindtap="onClickCloseIcon"
- class="nut-popup__close-icon {{'nut-popup__close-icon--' + closeIconPosition}}"
- >
- <nut-icon name="{{closeIcon}}"></nut-icon>
- <!-- <slot name="close-icon">
- <Close height="12px"></Close>
- </slot> -->
- </view>
-
- </nut-transition>
|