|
@@ -38,10 +38,12 @@ const GroupFailure = 2;
|
38
|
38
|
|
39
|
39
|
@connect(state => state.user)
|
40
|
40
|
export default class Detail extends Component {
|
|
41
|
+
|
41
|
42
|
config = {
|
42
|
43
|
navigationBarTitleText: '拼团详情'
|
43
|
44
|
}
|
44
|
45
|
|
|
46
|
+
|
45
|
47
|
state = {
|
46
|
48
|
id: null, // 活动ID
|
47
|
49
|
recordId: undefined, // 发起拼团ID
|
|
@@ -81,7 +83,7 @@ export default class Detail extends Component {
|
81
|
83
|
if (!this.state.detail.groupActivityId) {
|
82
|
84
|
let id = this.$router.params.id
|
83
|
85
|
let recordId = this.$router.params.recordId
|
84
|
|
-
|
|
86
|
+
|
85
|
87
|
if (!id) {
|
86
|
88
|
const router = Taro.getStorageSync('router')
|
87
|
89
|
id = router.query.id
|
|
@@ -205,7 +207,7 @@ export default class Detail extends Component {
|
205
|
207
|
this.updateLeftTime(res.taShareActivity.startTime, res.taShareActivity.endTime)
|
206
|
208
|
}
|
207
|
209
|
|
208
|
|
- Taro.setNavigationBarTitle({ title: res.taShareActivity.activityName })
|
|
210
|
+ // Taro.setNavigationBarTitle({ title: res.taShareActivity.activityName })
|
209
|
211
|
|
210
|
212
|
// WxParse.wxParse('article', 'html', res.desc, this.$scope, 0)
|
211
|
213
|
|