|
@@ -317,37 +317,37 @@ export default class Detail extends Component {
|
317
|
317
|
<ScrollView
|
318
|
318
|
scrollY
|
319
|
319
|
className="detail-wrap">
|
320
|
|
- <View className="detail">
|
321
|
|
- {detail.isEnlist == 0 &&
|
322
|
|
- <View className="detail-sign__num">不需要报名</View>
|
323
|
|
- }
|
324
|
|
- {detail.isEnlist != 0 &&
|
325
|
|
- <View className="detail-sign__num">{detail.enlisted || 0}人已报名</View>
|
326
|
|
- }
|
327
|
|
- <View class="detail-title">{detail.title}</View>
|
328
|
|
- <View className="detail-top">
|
329
|
|
- <View className="detail-top__row">
|
330
|
|
- <Text className="row-label">活动时间:</Text>
|
331
|
|
- <Text className="row-content">{dayjs(detail.startDate).format('YYYY-MM-DD HH:mm:ss')}</Text>
|
332
|
|
- </View>
|
333
|
|
- <View className="detail-top__row">
|
334
|
|
- <Text className="row-label">活动地址:</Text>
|
335
|
|
- <Text className="row-content">{detail.address}</Text>
|
336
|
|
- </View>
|
337
|
|
- <View className="detail-top__row">
|
338
|
|
- <Text className="row-label">报名截止:</Text>
|
339
|
|
- {detail.enlistEnd &&
|
340
|
|
- <Text className="row-content">{dayjs(detail.enlistEnd).format('YYYY-MM-DD HH:mm:ss')}</Text>
|
341
|
|
- }
|
342
|
|
-
|
343
|
|
- </View>
|
|
320
|
+ <View className="detail">
|
|
321
|
+ {detail.isEnlist == 0 &&
|
|
322
|
+ <View className="detail-sign__num">不需要报名</View>
|
|
323
|
+ }
|
|
324
|
+ {detail.isEnlist != 0 &&
|
|
325
|
+ <View className="detail-sign__num">{detail.enlisted || 0}人已报名</View>
|
|
326
|
+ }
|
|
327
|
+ <View class="detail-title">{detail.title}</View>
|
|
328
|
+ <View className="detail-top">
|
|
329
|
+ <View className="detail-top__row">
|
|
330
|
+ <Text className="row-label">活动时间:</Text>
|
|
331
|
+ <Text className="row-content">{dayjs(detail.startDate).format('YYYY-MM-DD HH:mm:ss')}</Text>
|
|
332
|
+ </View>
|
|
333
|
+ <View className="detail-top__row">
|
|
334
|
+ <Text className="row-label">活动地址:</Text>
|
|
335
|
+ <Text className="row-content">{detail.address}</Text>
|
344
|
336
|
</View>
|
345
|
|
- <View className="detail-con">
|
346
|
|
- <View className="detail-con__title">活动详情</View>
|
347
|
|
- <import src='../../../components/wxParse/wxParse.wxml' />
|
348
|
|
- <template is='wxParse' data='{{wxParseData:article.nodes}}' />
|
|
337
|
+ <View className="detail-top__row">
|
|
338
|
+ <Text className="row-label">报名截止:</Text>
|
|
339
|
+ {detail.enlistEnd &&
|
|
340
|
+ <Text className="row-content">{dayjs(detail.enlistEnd).format('YYYY-MM-DD HH:mm:ss')}</Text>
|
|
341
|
+ }
|
|
342
|
+
|
349
|
343
|
</View>
|
350
|
344
|
</View>
|
|
345
|
+ <View className="detail-con">
|
|
346
|
+ <View className="detail-con__title">活动详情</View>
|
|
347
|
+ <import src='../../../components/wxParse/wxParse.wxml' />
|
|
348
|
+ <template is='wxParse' data='{{wxParseData:article.nodes}}' />
|
|
349
|
+ </View>
|
|
350
|
+ </View>
|
351
|
351
|
</ScrollView>
|
352
|
352
|
|
353
|
353
|
<View className="chat-entrance" onClick={this.handleMoreClick}>
|