diff --git a/pages/club/createClub/createClub.js b/pages/club/createClub/createClub.js index ffd59fb..89be129 100644 --- a/pages/club/createClub/createClub.js +++ b/pages/club/createClub/createClub.js @@ -427,7 +427,7 @@ setclub: function () { var postData = { clubName: that.data.clubName, clubLogo:that.data.showList[0], - clubCircle:that.data.circleId, + clubCircle:'', clubIntroduction:that.data.clubIntroduction, clubPerson:that.data.clubPerson, clubPhone:that.data.clubPhone, @@ -447,13 +447,15 @@ setclub: function () { icon: 'none', duration: 1000 }) - }else if(that.data.tagList.length==0){ - wx.showToast({ - title: '主打项目必填', - icon: 'none', - duration: 1000 - }) - }else { + } + // else if(that.data.tagList.length==0){ + // wx.showToast({ + // title: '主打项目必填', + // icon: 'none', + // duration: 1000 + // }) + // } + else { re.request(Api.creatClub(),postData, header).then((res) => { console.log(res) wx.showToast({ diff --git a/pages/club/createClub/createClub.wxml b/pages/club/createClub/createClub.wxml index 3c288b0..1f702dd 100644 --- a/pages/club/createClub/createClub.wxml +++ b/pages/club/createClub/createClub.wxml @@ -18,15 +18,15 @@ 俱乐部简介 - + + 俱乐部联系人 diff --git a/pages/club/manage/manage.js b/pages/club/manage/manage.js index d90b2ab..9046631 100644 --- a/pages/club/manage/manage.js +++ b/pages/club/manage/manage.js @@ -87,8 +87,15 @@ Page({ if(this.uploaderList === undefined) { this.uploaderList = [] } - this.uploaderList.push(queryval.clubBgimg); - console.log( this.uploaderList) + if(queryval.clubBgimg){ + this.uploaderList.push(queryval.clubBgimg); + this.setData({ + showUpload:false, + uploaderList: this.uploaderList, + }) + } + + console.log( this.uploaderList,'tupian',this.showUpload ) this.setData({ company:queryval, }) @@ -262,7 +269,7 @@ uploadcom: function (e) { clubIntroduction:that.data.company.clubIntroduction, clubLogo:that.data.old?that.data.company.clubLogo:that.data.showListcom[0], clubName:that.data.company.clubName, - joinWay:that.data.joinWay, + joinWay:0, payType:that.data.payType }; diff --git a/pages/club/manage/manage.wxml b/pages/club/manage/manage.wxml index 4929e8c..1cd5c36 100644 --- a/pages/club/manage/manage.wxml +++ b/pages/club/manage/manage.wxml @@ -35,14 +35,15 @@ 认证状态 - 个人认证 + 未认证 + 个人认证 企业认证 俱乐部简介 - +