1 line
3.8 KiB
Plaintext
1 line
3.8 KiB
Plaintext
<view class="container"><uni-card wx:if="{{a}}" u-s="{{['d']}}" u-i="235bda36-0" bind:__l="__l" u-p="{{a}}"><text class="uni-h6">弹出层组件用于弹出一个覆盖到页面上的内容,使用场景如:底部弹出分享弹窗、页面插屏广告等。</text></uni-card><uni-section wx:if="{{g}}" u-s="{{['d']}}" u-i="235bda36-1" bind:__l="__l" u-p="{{g}}"><view class="example-body box"><button class="button" type="primary" bindtap="{{b}}"><text class="button-text">顶部</text></button><button class="button" type="primary" bindtap="{{c}}"><text class="button-text">底部</text></button><button class="button" type="primary" bindtap="{{d}}"><text class="button-text">居中</text></button><button class="button" type="primary" bindtap="{{e}}"><text class="button-text">左侧</text></button><button class="button" type="primary" bindtap="{{f}}"><text class="button-text">右侧</text></button></view></uni-section><uni-section wx:if="{{l}}" u-s="{{['d']}}" u-i="235bda36-2" bind:__l="__l" u-p="{{l}}"><view class="example-body box"><button class="button popup-success" bindtap="{{h}}"><text class="button-text success-text">成功</text></button><button class="button popup-error" bindtap="{{i}}"><text class="button-text error-text">失败</text></button><button class="button popup-warn" bindtap="{{j}}"><text class="button-text warn-text">警告</text></button><button class="button popup-info" bindtap="{{k}}"><text class="button-text info-text">信息</text></button></view></uni-section><uni-section wx:if="{{q}}" u-s="{{['d']}}" class="hideOnPc" u-i="235bda36-3" bind:__l="__l" u-p="{{q}}"><view class="example-body box"><button class="button popup-success" bindtap="{{m}}"><text class="button-text success-text">成功</text></button><button class="button popup-error" bindtap="{{n}}"><text class="button-text error-text">失败</text></button><button class="button popup-warn" bindtap="{{o}}"><text class="button-text warn-text">警告</text></button><button class="button popup-info" bindtap="{{p}}"><text class="button-text info-text">信息</text></button></view></uni-section><uni-section wx:if="{{t}}" u-s="{{['d']}}" u-i="235bda36-4" bind:__l="__l" u-p="{{t}}"><view class="dialog-box"><text class="dialog-text">输入内容:{{r}}</text></view><button class="button" type="primary" bindtap="{{s}}"><text class="button-text">输入对话框</text></button></uni-section><uni-section wx:if="{{w}}" u-s="{{['d']}}" u-i="235bda36-5" bind:__l="__l" u-p="{{w}}"><button class="button" type="primary" bindtap="{{v}}"><text class="button-text">分享模版示例</text></button></uni-section><view><uni-popup wx:if="{{A}}" class="r" u-s="{{['d']}}" u-r="popup" bindchange="{{z}}" u-i="235bda36-6" bind:__l="__l" u-p="{{A}}"><view class="{{['popup-content', x && 'popup-height']}}"><text class="text">popup 内容</text></view></uni-popup></view><view><uni-popup wx:if="{{D}}" class="r" u-s="{{['d']}}" u-r="message" u-i="235bda36-7" bind:__l="__l" u-p="{{D}}"><uni-popup-message wx:if="{{B}}" u-i="235bda36-8,235bda36-7" bind:__l="__l" u-p="{{B}}"></uni-popup-message></uni-popup></view><view><uni-popup wx:if="{{I}}" class="r" u-s="{{['d']}}" u-r="alertDialog" u-i="235bda36-9" bind:__l="__l" u-p="{{I}}"><uni-popup-dialog wx:if="{{G}}" bindconfirm="{{E}}" bindclose="{{F}}" u-i="235bda36-10,235bda36-9" bind:__l="__l" u-p="{{G}}"></uni-popup-dialog></uni-popup></view><view><uni-popup wx:if="{{N}}" class="r" u-s="{{['d']}}" u-r="inputDialog" u-i="235bda36-11" bind:__l="__l" u-p="{{N}}"><uni-popup-dialog wx:if="{{L}}" class="r" u-r="inputClose" bindconfirm="{{K}}" u-i="235bda36-12,235bda36-11" bind:__l="__l" u-p="{{L}}"></uni-popup-dialog></uni-popup></view><view><uni-popup wx:if="{{P}}" class="r" u-s="{{['d']}}" u-r="share" u-i="235bda36-13" bind:__l="__l" u-p="{{P}}"><uni-popup-share u-i="235bda36-14,235bda36-13" bind:__l="__l"></uni-popup-share></uni-popup></view></view> |