From e1c537a35a81a62314f8bb39f65167768a298e83 Mon Sep 17 00:00:00 2001
From: "1913812@qq.com" <1913812q>
Date: Wed, 29 Jun 2022 14:17:40 +0800
Subject: [PATCH] =?UTF-8?q?2022-6-22=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
胡春雨
---
pages/club/manage/manage.wxml | 4 ++--
pages/index/activeDetail/activeDetail.js | 8 ++++++--
pages/index/activeDetail/activeDetail.wxml | 10 +++++-----
pages/index/join/join.wxml | 3 ++-
pages/login.js | 4 +++-
utils/common.js | 4 ++--
6 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/pages/club/manage/manage.wxml b/pages/club/manage/manage.wxml
index de90fb1..191d993 100644
--- a/pages/club/manage/manage.wxml
+++ b/pages/club/manage/manage.wxml
@@ -5,10 +5,10 @@
俱乐部名称
-
+
俱乐部logo
diff --git a/pages/index/activeDetail/activeDetail.js b/pages/index/activeDetail/activeDetail.js
index 9bff1b0..2e24bd7 100644
--- a/pages/index/activeDetail/activeDetail.js
+++ b/pages/index/activeDetail/activeDetail.js
@@ -49,7 +49,6 @@ tojion:function(){
activeId:options.id,
});
that.getActiveDetail();
- that.getOtherActive();
that.addviews(options.id);
},
getActiveDetail:function(){
@@ -80,6 +79,7 @@ tojion:function(){
content
})
this.getclubInfo(datas.clubId);
+ this.getOtherActive();
})
},
Tomap:function(e){
@@ -119,6 +119,11 @@ tojion:function(){
url: '../../club/clubDetail/clubDetail?id='+this.data.company.clubId,
})
},
+ otherJump: function(e){
+ wx.navigateTo({
+ url: 'activeDetail?id='+e.currentTarget.dataset.id
+ })
+ },
getclubInfo:function(id){
var that = this;
const imgUrl = wx.getStorageSync('imgUrl');
@@ -173,7 +178,6 @@ tojion:function(){
};
re.request(Api.getOtherActive(), postData, header).then((res) => {
let datas = res.data.data;
- console.log(datas);
for(let i=0;i
-
+
-
+
- {{item.intro}}
- {{item.time}}
- 报名:{{item.people}}人
+ {{item.activityName}}
+ {{item.startRegisterTime+'至'+item.endRegisterTime}}
+ 报名:{{item.totalRegister}}人
diff --git a/pages/index/join/join.wxml b/pages/index/join/join.wxml
index 159f8de..5397d57 100644
--- a/pages/index/join/join.wxml
+++ b/pages/index/join/join.wxml
@@ -19,7 +19,8 @@
{{item.nickname}}{{item.helpname}}帮报名
{{item.createdTime}}
- 选择费用项
+
+ {{item.registerTime}}
diff --git a/pages/login.js b/pages/login.js
index 75b3030..7e92efb 100644
--- a/pages/login.js
+++ b/pages/login.js
@@ -22,7 +22,9 @@ Page({
// console.log(res.userInfo)
// }
// })
- }
+ }else{
+
+ }
}
})
},
diff --git a/utils/common.js b/utils/common.js
index 8f5eeee..b2ba6f6 100644
--- a/utils/common.js
+++ b/utils/common.js
@@ -1,7 +1,7 @@
// var HOST_URI = 'http://192.168.0.109:8088';
// var HOST_URI = 'http://192.168.0.104:8088';
- var HOST_URI = 'https://api.tuleduo.cn';
-// var HOST_URI = 'http://127.0.0.1:8088';
+ //var HOST_URI = 'https://api.tuleduo.cn';
+var HOST_URI = 'http://127.0.0.1:8088';