From c2b96475d4f10f7d7d9d343bf05e55b2ed8e841c Mon Sep 17 00:00:00 2001 From: eternity Date: Mon, 27 Jun 2022 23:38:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5=E3=80=81?= =?UTF-8?q?=E6=8B=A8=E6=89=93=E4=BF=B1=E4=B9=90=E9=83=A8=E7=94=B5=E8=AF=9D?= =?UTF-8?q?=E3=80=81=E5=8A=A0=E5=85=A5=E4=BF=B1=E4=B9=90=E9=83=A8=E3=80=81?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E6=B4=BB=E5=8A=A8=E6=97=A0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/club/club.wxml | 8 +++---- pages/club/clubgroups/clubgroups.js | 8 +------ pages/index/activeDetail/activeDetail.js | 8 +++++++ pages/index/activeDetail/activeDetail.wxml | 8 +++---- pages/index/index.wxml | 28 +++++++++++----------- pages/index/index.wxss | 9 +++---- pages/release/addactive/addactive.js | 10 ++++---- pages/release/addactive/addactive.wxml | 6 ++--- 8 files changed, 44 insertions(+), 41 deletions(-) diff --git a/pages/club/club.wxml b/pages/club/club.wxml index 38a6649..1d08856 100644 --- a/pages/club/club.wxml +++ b/pages/club/club.wxml @@ -10,7 +10,7 @@ - + + diff --git a/pages/club/clubgroups/clubgroups.js b/pages/club/clubgroups/clubgroups.js index ed57b5f..ea71939 100644 --- a/pages/club/clubgroups/clubgroups.js +++ b/pages/club/clubgroups/clubgroups.js @@ -180,18 +180,12 @@ Page({ re.request(Api.clubMember(), postData, header).then((res) => { let datas = res.data.data; console.log(datas); - - - - - - let obj = {} let newdatas = datas.reduce((x, item) => { obj[item.userId] ? "" : obj[item.userId] = true && x.push(item) return x }, []) - +console.log(newdatas) that.setData({ personList: newdatas }) diff --git a/pages/index/activeDetail/activeDetail.js b/pages/index/activeDetail/activeDetail.js index 38163d5..9bff1b0 100644 --- a/pages/index/activeDetail/activeDetail.js +++ b/pages/index/activeDetail/activeDetail.js @@ -152,6 +152,14 @@ tojion:function(){ console.log(datas); }) }, + //打电话 + phone: function(e){ + wx.makePhoneCall({ + phoneNumber: e.target.dataset.phonenumber, + success(){}, + fail(){} + }) + }, getOtherActive:function(){ var that = this; const imgUrl = wx.getStorageSync('imgUrl'); diff --git a/pages/index/activeDetail/activeDetail.wxml b/pages/index/activeDetail/activeDetail.wxml index bbd7fd7..9dc2b41 100644 --- a/pages/index/activeDetail/activeDetail.wxml +++ b/pages/index/activeDetail/activeDetail.wxml @@ -66,10 +66,10 @@ {{company.clubIntroduction}} - + 联系俱乐部 - + 加入 已加入 @@ -133,10 +133,10 @@ 分享 -