Browse Source

接口问题修改

feature/v1.1.0
lfs3 7 years ago
parent
commit
07661a8439
2 changed files with 3 additions and 3 deletions
  1. 4
      pages/activity_detail/activity_detail.js
  2. 2
      pages/activity_detail/activity_detail.wxml

4
pages/activity_detail/activity_detail.js

@ -148,7 +148,7 @@ Page({
one_content: "block",
two_content: "none",
bottomBGColor: '#F36619',
buttomText: '团',
buttomText: '我要开团',
grounpInfo: "none",
grounpInfo2: "block",
@ -314,7 +314,7 @@ Page({
}
} else if (that.data.groupStatus == 20) {
//拼团成功
if (that.data.currentMemberTyp == -1) {
if (that.data.currentMemberType == -1) {
//游客
url = '/mall/wxa/activity/group/open';
this.groupOpenOrJoin(url);

2
pages/activity_detail/activity_detail.wxml

@ -40,7 +40,7 @@
</view>
<view class='grounp_info' style='display: {{grounpInfo}};'>
<view class='status'>
<text class="tag" style='border-color: {{tagColor}};color: {{tagColor}};'>拼团中</text>
<text class="tag" style='border-color: {{tagColor}};color: {{tagColor}};'>{{activityDetail.statusDesc}}</text>
<view class='remark' style='display: {{remark}};'>还差
<text class='num'>{{activityDetail.limitNum - memberList.length}}</text>人拼团成功
</view>

Loading…
Cancel
Save