Showing
2 changed files
with
11 additions
and
6 deletions
1 | -<view wx:if="{{_show}}"> | 1 | +<block wx:if="{{_show}}"> |
2 | <!-- <view class="content" wx:if="{{!_text}}"> | 2 | <!-- <view class="content" wx:if="{{!_text}}"> |
3 | <view>公众号<text style="font-weight: bolder">“{{_copyText}}”</text>已经复制成功,</view> | 3 | <view>公众号<text style="font-weight: bolder">“{{_copyText}}”</text>已经复制成功,</view> |
4 | <view>打开微信搜索去添加吧~</view> | 4 | <view>打开微信搜索去添加吧~</view> |
5 | </view> --> | 5 | </view> --> |
6 | + <block wx:if="{{!_text}}"> | ||
6 | <view class="modal-mask"></view> | 7 | <view class="modal-mask"></view> |
7 | - <image wx:if="{{!_text}}" class="content" src="../images/WXTC@2x.png"> | 8 | + <image class="modal-image" src="../images/WXTC@2x.png"> |
8 | <view class="confirm" bindtap="onConfirm"></view> | 9 | <view class="confirm" bindtap="onConfirm"></view> |
9 | </image> | 10 | </image> |
10 | - <view wx:else class="text">{{_text}}</view> | ||
11 | - <view class="foot" wx:if="{{_text}}" bindtap="onConfirm"></view> | ||
12 | -</view> | ||
11 | + </block> | ||
12 | + <zero-alert wx:else> | ||
13 | + <view class="text">{{_text}}</view> | ||
14 | + <view class="foot" bindtap="onConfirm">确定</view> | ||
15 | + </zero-alert> | ||
16 | + | ||
17 | +</block> |
-
Please register or login to post a comment