92629e08 by simon

默认提交

1 parent be3dcffb
......@@ -41,6 +41,7 @@ Page({
// 加入房间
joinRoomDialogVisible: false,
// joinRoomDialogVisibleUnAuth: false,
isJoin: false, // 是否能加入状态
joined: false, // 是否已加入
......@@ -205,8 +206,17 @@ Page({
if (detailData.customMade == 1 && detailData.type == 1 && ownerMember.mySelf == 0 && options.t == "join" && !joined) {
this.setData({
joinRoomDialogVisible: true,
isJoin: true
})
isJoin: true,
});
// if (detailData.isAuth == 1) {
// this.setData({
// joinRoomDialogVisible: true,
// })
// } else {
// this.setData({
// joinRoomDialogVisibleUnAuth: true,
// })
// }
}
});
console.log("memberCode:", app.store.getItem("memberCode"));
......@@ -981,7 +991,6 @@ Page({
}
},
/**
* 隐藏蒙层
*/
......
......@@ -235,6 +235,15 @@
<view class="t1">邀请你一起加入组队送祝福!</view>
</view>
</van-dialog>
<!-- <van-dialog close-on-click-overlay use-slot confirm-button-text="点击加入" show="{{ joinRoomDialogVisibleUnAuth }}" confirm-button-open-type="getUserInfo" bind:getuserinfo="getUserInfo">
<view class="dialog dialog2">
<view class="portrait">
<image class="portrait-inner" mode="scaleToFill" src="{{ownerMember.memberHead}}" />
</view>
<view class="nickname">{{ownerMember.memberName}}</view>
<view class="t1">邀请你一起加入组队送祝福!</view>
</view>
</van-dialog> -->
<van-popup class="poster-popup" show="{{ authorizeVisible }}">
<authorize-comp evttype="{{evttype}}" bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
......