Authored by 肖亚东

详情关注功能后台定制弹窗修改

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>
@@ -9,7 +9,7 @@ @@ -9,7 +9,7 @@
9 opacity: 0.5; 9 opacity: 0.5;
10 } 10 }
11 11
12 -.content { 12 +.modal-image {
13 width: 600rpx; 13 width: 600rpx;
14 height: 1028rpx; 14 height: 1028rpx;
15 position: fixed; 15 position: fixed;