【修改】 页面标题
This commit is contained in:
@@ -21,7 +21,8 @@ Page({
|
||||
// 合同签订联系人的id
|
||||
signedContactsId:{},
|
||||
// 当前登录人的id
|
||||
currentId:''
|
||||
currentId:'',
|
||||
pageTitle:'项目',// 页面标题 默认是 项目
|
||||
},
|
||||
goBack(){
|
||||
wx.navigateBack()
|
||||
@@ -113,14 +114,16 @@ Page({
|
||||
}
|
||||
if(options.type === 'ziliao'){
|
||||
this.setData({
|
||||
showProjectData:false
|
||||
showProjectData:false,
|
||||
pageTitle:'资料网员详情'
|
||||
})
|
||||
}
|
||||
this.data.id = options.id
|
||||
this.data.workingGroupId = options.workingGroupId
|
||||
if (options.type == 'work') { // 工作组项目有会议详情
|
||||
this.setData({
|
||||
showMeeting: true
|
||||
showMeeting: true,
|
||||
pageTitle:'工作组详情'
|
||||
})
|
||||
MeetingApi.meetingList({
|
||||
workingGroupProjectId: this.data.id,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!-- 自定义头部start -->
|
||||
<view class="custom flex_center" style="padding-top:{{statusBarHeight}}px">
|
||||
<image src="../../assets/images/back.png" bindtap="goBack"></image>
|
||||
<text>项目详情</text>
|
||||
<text>{{pageTitle}}</text>
|
||||
</view>
|
||||
<view class="empty_custom" style="padding-top:{{statusBarHeight}}px"></view><!-- 空view用来填充自定义头部的padding-top -->
|
||||
<!-- 自定义头部end -->
|
||||
|
||||
Reference in New Issue
Block a user