Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
home-with-kids-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
92629e08
authored
2020-01-16 19:31:45 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
be3dcffb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
src/pages/blessing/blessing.js
src/pages/blessing/blessing.wxml
src/pages/blessing/blessing.js
View file @
92629e0
...
...
@@ -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({
}
},
/**
* 隐藏蒙层
*/
...
...
src/pages/blessing/blessing.wxml
View file @
92629e0
...
...
@@ -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>
...
...
Please
register
or
sign in
to post a comment