【修改】 会议详情报名
This commit is contained in:
@@ -287,6 +287,35 @@ Page({
|
|||||||
url: `../scanSign/scanSign?type=meetingDetail&meetingId=${meetingId}`,
|
url: `../scanSign/scanSign?type=meetingDetail&meetingId=${meetingId}`,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 报名
|
||||||
|
joinMeeting(e){
|
||||||
|
|
||||||
|
// 如果是去报名页面需要在缓存中存储会议信息 当报名结束后 需要清除缓存中的当前会议信息 meetingSignUpType 1 可报名 2报名
|
||||||
|
let meetingItem = this.data.meetingInfo
|
||||||
|
if (meetingItem.meetingSignUpType === 1) {
|
||||||
|
// 从消息报名的参会单位不可更改
|
||||||
|
wx.setStorage({
|
||||||
|
key:'companyDisabled',
|
||||||
|
data:true
|
||||||
|
})
|
||||||
|
wx.setStorage({
|
||||||
|
key: "currentMeetingInfo",
|
||||||
|
data: this.data.meetingInfo,
|
||||||
|
success() {
|
||||||
|
// 国际研讨会去国际研讨会的报名页面
|
||||||
|
if (meetingItem.meetingType !== 3) {
|
||||||
|
wx.navigateTo({
|
||||||
|
url: `../signUpPage/signUpPage?type=indexMsg`
|
||||||
|
})
|
||||||
|
} else if (meetingItem.meetingSignUpType === 2) {
|
||||||
|
wx.navigateTo({
|
||||||
|
url: `../signUpPageGuoji/signUpPageGuoji`
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
|
|||||||
@@ -468,6 +468,9 @@
|
|||||||
<!-- 合作伙伴end -->
|
<!-- 合作伙伴end -->
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
<view class="join-meeting" wx:if="{{meetingInfo.meetingSignUpType === 1}}">
|
||||||
|
<text bindtap='joinMeeting'>报名</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 缴费凭证 begin -->
|
<!-- 缴费凭证 begin -->
|
||||||
|
|||||||
@@ -320,3 +320,24 @@ margin-top: 15px;
|
|||||||
.hotel-info {
|
.hotel-info {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 报名按钮 */
|
||||||
|
.join-meeting {
|
||||||
|
margin-top: 10px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 40px;
|
||||||
|
line-height: 40px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.join-meeting text {
|
||||||
|
width: 80%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
border-radius: 10px;
|
||||||
|
color: #fff;
|
||||||
|
display: block;
|
||||||
|
background-color: #069f99;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user