diff --git a/app.json b/app.json index 900bb53..b3af4c9 100644 --- a/app.json +++ b/app.json @@ -1,112 +1,113 @@ { - "pages": [ - "pages/index/index", - "pages/picker/picker", - "pages/login", - "pages/logs/logs", - "pages/club/club", - "pages/message/message", - "pages/rank/rank", - "pages/center/center", - "pages/index/search/search", - "pages/index/club/club", - "pages/index/active/active", - "pages/index/activeing/activeing", - "pages/index/rank/rank", - "pages/index/activeDetail/activeDetail", - "pages/index/join/join", - "pages/index/teamJoin/teamJoin", - "pages/index/myjoin/myjoin", - "pages/index/history/history", - "pages/index/editjoin/editjoin", - "pages/message/clubmessage/clubmessage", - "pages/message/sysmessage/sysmessage", - "pages/message/activemessage/activemessage", - "pages/message/hostmessage/hostmessage", - "pages/center/cash/cash", - "pages/center/cashok/cashok", - "pages/center/cashlist/cashlist", - "pages/center/coupon/coupon", - "pages/club/mark/mark", - "pages/club/createClub/createClub", - "pages/club/clubDetail/clubDetail", - "pages/club/manage/manage", - "pages/club/clubgroups/clubgroups", - "pages/club/clublist/clublist", - "pages/club/popname/popname", - "pages/club/removesb/removesb", - "pages/club/deputy/deputy", - "pages/club/account/account", - "pages/club/setadmin/setadmin", - "pages/club/album/album", - "pages/club/albumdetail/albumdetail", - "pages/release/release", - "pages/release/addactive/addactive", - "pages/release/addrequired/addrequired", - "pages/release/manageac/manageac", - "pages/release/manageIndex/manageIndex", - "pages/release/messageset/messageset", - "pages/release/signIndex/signIndex", - "pages/release/updateactive/updateactive", - "pages/release/addjoiner/addjoiner", - "pages/release/activeSign/activeSign", - "pages/club/clubTag/clubTag", - "pages/release/scave/scave", - "pages/center/info/info", - "pages/center/order/order", - "pages/center/orderdetail/orderdetail", - "pages/release/extend/extend", - "pages/release/census/census", - "pages/release/map/map", - "pages/release/sendmessage/sendmessage", - "pages/index/order/order", - "pages/center/advice/advice", - "pages/index/activeList/activeList", - "pages/release/quan/quan", - "pages/release/addCoupon/addcoupon", - "pages/index/payOK/payok" + "pages": [ + "pages/index/index", + "pages/picker/picker", + "pages/login", + "pages/logs/logs", + "pages/club/club", + "pages/message/message", + "pages/webview/webview", + "pages/rank/rank", + "pages/center/center", + "pages/index/search/search", + "pages/index/club/club", + "pages/index/active/active", + "pages/index/activeing/activeing", + "pages/index/rank/rank", + "pages/index/activeDetail/activeDetail", + "pages/index/join/join", + "pages/index/teamJoin/teamJoin", + "pages/index/myjoin/myjoin", + "pages/index/history/history", + "pages/index/editjoin/editjoin", + "pages/message/clubmessage/clubmessage", + "pages/message/sysmessage/sysmessage", + "pages/message/activemessage/activemessage", + "pages/message/hostmessage/hostmessage", + "pages/center/cash/cash", + "pages/center/cashok/cashok", + "pages/center/cashlist/cashlist", + "pages/center/coupon/coupon", + "pages/club/mark/mark", + "pages/club/createClub/createClub", + "pages/club/clubDetail/clubDetail", + "pages/club/manage/manage", + "pages/club/clubgroups/clubgroups", + "pages/club/clublist/clublist", + "pages/club/popname/popname", + "pages/club/removesb/removesb", + "pages/club/deputy/deputy", + "pages/club/account/account", + "pages/club/setadmin/setadmin", + "pages/club/album/album", + "pages/club/albumdetail/albumdetail", + "pages/release/release", + "pages/release/addactive/addactive", + "pages/release/addrequired/addrequired", + "pages/release/manageac/manageac", + "pages/release/manageIndex/manageIndex", + "pages/release/messageset/messageset", + "pages/release/signIndex/signIndex", + "pages/release/updateactive/updateactive", + "pages/release/addjoiner/addjoiner", + "pages/release/activeSign/activeSign", + "pages/club/clubTag/clubTag", + "pages/release/scave/scave", + "pages/center/info/info", + "pages/center/order/order", + "pages/center/orderdetail/orderdetail", + "pages/release/extend/extend", + "pages/release/census/census", + "pages/release/map/map", + "pages/release/sendmessage/sendmessage", + "pages/index/order/order", + "pages/center/advice/advice", + "pages/index/activeList/activeList", + "pages/release/quan/quan", + "pages/release/addCoupon/addcoupon", + "pages/index/payOK/payok" + ], + "window": { + "backgroundTextStyle": "light", + "navigationBarBackgroundColor": "#FFCB12", + "navigationBarTitleText": "报名了", + "navigationBarTextStyle": "black" + }, + "tabBar": { + "list": [ + { + "pagePath": "pages/index/index", + "iconPath": "/images/star.png", + "selectedIconPath": "/images/stars.png", + "text": "活动" + }, + { + "pagePath": "pages/club/club", + "iconPath": "/images/ju.png", + "selectedIconPath": "/images/jus.png", + "text": "俱乐部" + }, + { + "pagePath": "pages/release/release", + "iconPath": "/images/pai.png", + "selectedIconPath": "/images/pais.png", + "text": "发布" + }, + { + "pagePath": "pages/message/message", + "iconPath": "/images/mes.png", + "selectedIconPath": "/images/mess.png", + "text": "消息" + }, + { + "pagePath": "pages/center/center", + "iconPath": "/images/cen.png", + "selectedIconPath": "/images/cens.png", + "text": "个人中心" + } ], - "window": { - "backgroundTextStyle": "light", - "navigationBarBackgroundColor": "#FFCB12", - "navigationBarTitleText": "报名了", - "navigationBarTextStyle": "black" - }, - "tabBar": { - "list": [ - { - "pagePath": "pages/index/index", - "iconPath": "/images/star.png", - "selectedIconPath": "/images/stars.png", - "text": "活动" - }, - { - "pagePath": "pages/club/club", - "iconPath": "/images/ju.png", - "selectedIconPath": "/images/jus.png", - "text": "俱乐部" - }, - { - "pagePath": "pages/release/release", - "iconPath": "/images/pai.png", - "selectedIconPath": "/images/pais.png", - "text": "发布" - }, - { - "pagePath": "pages/message/message", - "iconPath": "/images/mes.png", - "selectedIconPath": "/images/mess.png", - "text": "消息" - }, - { - "pagePath": "pages/center/center", - "iconPath": "/images/cen.png", - "selectedIconPath": "/images/cens.png", - "text": "个人中心" - } - ], - "color": "#808080", - "selectedColor": "#F7C30C" - }, - "sitemapLocation": "sitemap.json" + "color": "#808080", + "selectedColor": "#F7C30C" + }, + "sitemapLocation": "sitemap.json" } \ No newline at end of file diff --git a/pages/club/club.js b/pages/club/club.js index 3879039..b9ac1eb 100644 --- a/pages/club/club.js +++ b/pages/club/club.js @@ -125,8 +125,9 @@ Page({ }; re.request(Api.getMyJoinClubList(), '', header).then((res) => { let datas = res.data.data; + console.log(datas) for(var i=0;i { let datas = res.data.data; - for(var i=0;i { let datas = res.data.data; - datas.clubLogo = imgUrl + datas.clubLogo; + datas.clubLogo = datas.clubLogo; datas.clubBgimg = imgUrl + datas.clubBgimg; switch (datas.isJoin) { case 'false': diff --git a/pages/club/manage/manage.js b/pages/club/manage/manage.js index 2ee9941..d90b2ab 100644 --- a/pages/club/manage/manage.js +++ b/pages/club/manage/manage.js @@ -84,6 +84,11 @@ Page({ */ onLoad: function (options) { let queryval = JSON.parse(options.val) + if(this.uploaderList === undefined) { + this.uploaderList = [] + } + this.uploaderList.push(queryval.clubBgimg); + console.log( this.uploaderList) this.setData({ company:queryval, }) diff --git a/pages/club/manage/manage.wxml b/pages/club/manage/manage.wxml index a430005..4929e8c 100644 --- a/pages/club/manage/manage.wxml +++ b/pages/club/manage/manage.wxml @@ -67,14 +67,14 @@ 移除成员 - + 俱乐部收款账户 { let datas = res.data.data; - console.log(datas); - datas.clubLogo = imgUrl + datas.clubLogo; + // console.log(datas); + // datas.clubLogo = imgUrl + datas.clubLogo; that.setData({ company:datas }) @@ -201,7 +201,7 @@ tojion:function(){ }; re.request(Api.addClub(), postData, header).then((res) => { wx.showToast({ - title: '请求已发送', + title: '加入成功', icon: 'none', duration: 1000 }) diff --git a/pages/index/activeDetail/activeDetail.wxml b/pages/index/activeDetail/activeDetail.wxml index b5b1a0d..4976345 100644 --- a/pages/index/activeDetail/activeDetail.wxml +++ b/pages/index/activeDetail/activeDetail.wxml @@ -138,7 +138,7 @@ 在线咨询 --> - 我要报名 - 已报名 + 我要报名 + \ No newline at end of file diff --git a/pages/index/activeDetail/activeDetail.wxss b/pages/index/activeDetail/activeDetail.wxss index d5fa54e..51a8727 100644 --- a/pages/index/activeDetail/activeDetail.wxss +++ b/pages/index/activeDetail/activeDetail.wxss @@ -423,7 +423,7 @@ #online { background-color: #00000000; color: #000; - padding: 0; + padding: 0 30rpx; margin: 0; margin-left: 50rpx; } diff --git a/pages/index/myjoin/myjoin.js b/pages/index/myjoin/myjoin.js index 860f480..0278906 100644 --- a/pages/index/myjoin/myjoin.js +++ b/pages/index/myjoin/myjoin.js @@ -22,6 +22,7 @@ Page({ * 页面的初始数据 */ data: { + Agreement:'http://api.tuleduo.cn/privacy_agreement.html', genderdata: '', joiner: [{ clubId: '', @@ -71,6 +72,12 @@ Page({ info: new Info(), }); }, + seexcieyi:function(e){ + var webview= e.target.dataset.webview + wx.navigateTo({ + url: '/pages/webview/webview?webview='+webview, + }) + }, deteleItem : function(e){ var that = this; let info = this.data.info; diff --git a/pages/index/myjoin/myjoin.wxml b/pages/index/myjoin/myjoin.wxml index 341645e..fbceaed 100644 --- a/pages/index/myjoin/myjoin.wxml +++ b/pages/index/myjoin/myjoin.wxml @@ -75,7 +75,7 @@ - 我已阅读并同意《**活动报名协议》 + 我已阅读并同意《**活动报名协议》 diff --git a/pages/index/order/order.js b/pages/index/order/order.js index d613638..ed0b36b 100644 --- a/pages/index/order/order.js +++ b/pages/index/order/order.js @@ -6,6 +6,7 @@ Page({ * 页面的初始数据 */ data: { + Agreement:'http://api.tuleduo.cn/privacy_agreement.html', groups:[], checked:false, id:'', @@ -26,6 +27,12 @@ Page({ that.getOrderPeople(options.id); // that.getOrderDetail(options.id); }, + seexcieyi:function(e){ + var webview= e.target.dataset.webview + wx.navigateTo({ + url: '/pages/webview/webview?webview='+webview, + }) + }, backChange:function(e){ var that = this; that.setData({ diff --git a/pages/index/order/order.wxml b/pages/index/order/order.wxml index c7f1c05..f76a4d0 100644 --- a/pages/index/order/order.wxml +++ b/pages/index/order/order.wxml @@ -72,7 +72,7 @@ diff --git a/pages/release/addactive/addactive.js b/pages/release/addactive/addactive.js index 1b24fd9..89a8af7 100644 --- a/pages/release/addactive/addactive.js +++ b/pages/release/addactive/addactive.js @@ -9,7 +9,7 @@ Page({ * 页面的初始数据 */ data: { - + Agreement:'http://api.tuleduo.cn/privacy_agreement.html', dateTime:'', dateTimeArray:'', startT:'', @@ -426,12 +426,15 @@ console.log(startT); }) }, //查看协议 - seexcieyi: function () { - var that = this; - that.setData({ - flag: false + seexcieyi: function (e) { + // var that = this; + // that.setData({ + // flag: false + // }) + var webview= e.target.dataset.webview + wx.navigateTo({ + url: '/pages/webview/webview?webview='+webview, }) - that.self(); }, //看完协议了 know: function () { @@ -440,17 +443,6 @@ console.log(startT); flag: true }) }, - self: function () { - var that = this; - var header = {}; - var postData = { - type: 2 - }; - // re.request(Api.getAgreement(), postData, header).then((res) => { - // var ftext = res.data.data[0].content; - // WxParse.wxParse('ftext', 'html', ftext, that, 5); - // }) - }, // 删除图片 clearImg: function (e) { var nowList = []; //新数据 @@ -657,7 +649,7 @@ uploadfront: function (e) { }; if(!this.data.checked){ wx.showToast({ - title: '请先阅读并同意此协议', + title: '请先阅读并同意服务协议', icon: 'none', duration: 1500 }) @@ -820,7 +812,6 @@ uploadfront: function (e) { * 生命周期函数--监听页面卸载 */ onUnload: function () { - }, /** diff --git a/pages/release/addactive/addactive.wxml b/pages/release/addactive/addactive.wxml index 51e36c2..7c5be06 100644 --- a/pages/release/addactive/addactive.wxml +++ b/pages/release/addactive/addactive.wxml @@ -256,7 +256,7 @@ - 我已阅读并同意《****服务协议》 + 我已阅读并同意《报名了服务协议》 @@ -264,7 +264,7 @@ -