diff --git a/pages/index/activeDetail/activeDetail.wxml b/pages/index/activeDetail/activeDetail.wxml index 70a49b0..58e504b 100644 --- a/pages/index/activeDetail/activeDetail.wxml +++ b/pages/index/activeDetail/activeDetail.wxml @@ -46,7 +46,7 @@ {{company.clubName}} - + 活动:{{company.totalActivity}} | diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 735e1a4..f270a30 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -105,9 +105,9 @@ 人气活动 - + @@ -126,9 +126,9 @@ {{item.activityAddr}} {{item.clubName}} - + {{item.totalRegister?item.totalRegister:0}}人已参加 diff --git a/pages/index/myjoin/myjoin.js b/pages/index/myjoin/myjoin.js index 6731fd2..f38809d 100644 --- a/pages/index/myjoin/myjoin.js +++ b/pages/index/myjoin/myjoin.js @@ -6,12 +6,12 @@ function Detail(nickname, realname, phone, idcard, gender) { this.realname = realname; // this.phone = phone; this.idcard = idcard; - this.gender = gender; + this.gender = gender || 1; } function Info() { - this.details = [{}]; + this.details = [new Detail()]; }