1234567891011121314151617 |
- <!--components/w-dialog/index.wxml-->
- <van-popup round lock-scroll="{{true}}" overlay="{{ overlay }}" z-index="{{102}}" show="{{show}}" close-on-click-overlay="{{ closeOnClickOverlay }}" bind:click-overlay="onClickOverlay">
- <view class="dialog-section">
- <view class="dialog-title {{ theme === 'default' ? 'default' : '' }}" wx:if="{{ title }}">{{ title }}</view>
- <view class="dialog-content {{ messageAlign }}">{{ message }}</view>
- <view class="dialog-btn-group" wx:if="{{ theme === 'default' }}">
- <view class="btn" bind:tap="onDialogClose" wx:if="{{ showCancelButton }}">{{ cancelButtonText }}</view>
- <view class="btn del-btn" bind:tap="onDialogConfirm" wx:if="{{ showConfirmButton }}">{{ confirmButtonText }}</view>
- </view>
- <view class="dialog-btn-group--theme" wx:if="{{ theme === 'round-button' }}">
- <view class="btn" bind:tap="onDialogClose" wx:if="{{ showCancelButton }}">{{ cancelButtonText }}</view>
- <view class="btn del-btn" bind:tap="onDialogConfirm" wx:if="{{ showConfirmButton }}">{{ confirmButtonText }}</view>
- </view>
- </view>
- </van-popup>
|