From 3b7210338fa8fefe7618e3565fc8f21dec72baa2 Mon Sep 17 00:00:00 2001 From: imax <373170631@qq.com> Date: Fri, 1 Jul 2022 00:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/activeDetail/activeDetail.wxml | 4 ++-- pages/index/index.wxml | 8 ++++---- pages/index/myjoin/myjoin.js | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) 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()]; }