zhaoxiaohai 3 年之前
父節點
當前提交
945e7fe461
共有 2 個文件被更改,包括 7 次插入4 次删除
  1. 3 3
      pages/liveStreaming/index.js
  2. 4 1
      pages/liveStreaming/index.wxml

+ 3 - 3
pages/liveStreaming/index.js

@@ -22,6 +22,7 @@ Page({
     optionRow: -1, //列表选中项
     isSy: true, //是否为私域直播
     myShowModel: false, //自定义model
+    myShowModel2: false, // 真正申请中提示
   },
 
   /**
@@ -61,9 +62,8 @@ Page({
           accountStatus: 2
         })
       } else {
-        if (res.data == '私域直播已申请') return wx.showModal({
-          title: "提示",
-          content: "您的私域直播账号正在申请中"
+        if (res.data == '私域直播已申请') return this.setData({
+          myShowModel2: true
         })
       }
     })

+ 4 - 1
pages/liveStreaming/index.wxml

@@ -177,4 +177,7 @@
     </view>
 </view>
 <!-- 自定义model -->
-<My_showModel isShow='{{myShowModel}}' title='提示' content="直播地址:+{{accountMsg.fliveurl_web}}" confirm='一键复制' cancel='知道了' bindcallBack='showModelCallBack' />
+<My_showModel isShow='{{myShowModel}}' title='提示' content="直播地址:+{{accountMsg.fliveurl_web}}" confirm='一键复制' cancel='知道了' bindcallBack='showModelCallBack' />
+
+<!-- 自定义model -->
+<My_showModel isShow='{{myShowModel2}}' title='提示' content="您的私域直播账号正在申请中" hideCancel />