Showing
1 changed file
with
9 additions
and
9 deletions
| 1 | <!--components/showModal/showModal.wxml--> | 1 | <!--components/showModal/showModal.wxml--> |
| 2 | -<cover-view class="mask flex-vc" hidden="{{!hasShow}}"> | ||
| 3 | - <cover-view class="showModal"> | ||
| 4 | - <cover-view class="header"> | 2 | +<view class="mask flex-vc" hidden="{{!hasShow}}"> |
| 3 | + <view class="showModal"> | ||
| 4 | + <view class="header"> | ||
| 5 | {{opt.header}} | 5 | {{opt.header}} |
| 6 | - </cover-view> | ||
| 7 | - <cover-view class="body">{{opt.body}}</cover-view> | ||
| 8 | - </cover-view> | ||
| 9 | - <cover-view class="footer flex-cc"> | 6 | + </view> |
| 7 | + <view class="body">{{opt.body}}</view> | ||
| 8 | + </view> | ||
| 9 | + <view class="footer flex-cc"> | ||
| 10 | <button class="button-none cancel" plain wx:if="{{opt.cancelText}}" | 10 | <button class="button-none cancel" plain wx:if="{{opt.cancelText}}" |
| 11 | bindtap="tapButton" data-type="cancel" | 11 | bindtap="tapButton" data-type="cancel" |
| 12 | style="color:{{opt.cancelColor}};">{{opt.cancelText}}</button> | 12 | style="color:{{opt.cancelColor}};">{{opt.cancelText}}</button> |
| 13 | <button class="button-none" plain | 13 | <button class="button-none" plain |
| 14 | bindtap="tapButton" data-type="confirm" | 14 | bindtap="tapButton" data-type="confirm" |
| 15 | style="color:{{opt.confirmColor}};">{{opt.confirmText}}</button> | 15 | style="color:{{opt.confirmColor}};">{{opt.confirmText}}</button> |
| 16 | - </cover-view> | ||
| 17 | -</cover-view> | 16 | + </view> |
| 17 | +</view> |
-
Please register or login to post a comment