|
@@ -303,87 +303,10 @@ export default withLayout((props) => {
|
303
|
303
|
<view className='flex-item'>
|
304
|
304
|
<text>{detail.enlisted || 0}人已报名</text>
|
305
|
305
|
</view>
|
306
|
|
- <text className='Btn' onClick={handleSignup}>{activityStatusDict[detail.activityStatus]?.text1}</text>
|
|
306
|
+ <button className='Btn' disabled={btnDisabled} onClick={handleSignup}>{btnText}</button>
|
307
|
307
|
</view>
|
308
|
308
|
|
309
|
309
|
</view>
|
310
|
|
- // <view className='houseInfo'>
|
311
|
|
- // {/* <view> */}
|
312
|
|
- // <view className='flex-h'>
|
313
|
|
- // <view className='left'>
|
314
|
|
- // <view className='Title'>
|
315
|
|
- // <view className='flex-item'>
|
316
|
|
- // <text>{detail.title}</text>
|
317
|
|
- // </view>
|
318
|
|
- // </view>
|
319
|
|
- // <view className='flex-h Address'>
|
320
|
|
- // <text className='iconfont icon-dingwei'></text>
|
321
|
|
- // <view className='flex-item'>
|
322
|
|
- // <text>{detail.address}</text>
|
323
|
|
- // </view>
|
324
|
|
- // <text className='price'>价格待定</text>
|
325
|
|
- // </view>
|
326
|
|
- // <text className='flex-h Time'>
|
327
|
|
- // 时间:
|
328
|
|
- // {getDateFormat(
|
329
|
|
- // new Date(detail.startDate).valueOf(),
|
330
|
|
- // true,
|
331
|
|
- // 'yyyy/M/d'
|
332
|
|
- // )}{' '}
|
333
|
|
- // -{' '}
|
334
|
|
- // {getDateFormat(
|
335
|
|
- // new Date(detail.endDate).valueOf(),
|
336
|
|
- // true,
|
337
|
|
- // 'yyyy/M/d'
|
338
|
|
- // )}
|
339
|
|
- // </text>
|
340
|
|
- // </view>
|
341
|
|
- // <view className='right'>
|
342
|
|
- // <view>
|
343
|
|
- // {/* <Button open-type='share'>
|
344
|
|
- // <text className='iconfont icon-fenxiang'></text>
|
345
|
|
- // <text>分享</text>
|
346
|
|
- // </Button> */}
|
347
|
|
- // <text className='iconfont icon-fenxiang'></text>
|
348
|
|
- // <text>分享</text>
|
349
|
|
- // </view>
|
350
|
|
- // <view>
|
351
|
|
- // <text className='iconfont icon-dingwei'></text>
|
352
|
|
- // <text>海报</text>
|
353
|
|
- // </view>
|
354
|
|
- // </view>
|
355
|
|
- // </view>
|
356
|
|
-
|
357
|
|
- // <view className='lastdate'>
|
358
|
|
- // <text className='text'>距离结束还有</text>
|
359
|
|
- // <text className='text day'>7</text>
|
360
|
|
- // <text className='text'>天</text>
|
361
|
|
- // <text className='text time'>2</text>
|
362
|
|
- // <text className='text'>时</text>
|
363
|
|
- // <text className='text time'>4</text>
|
364
|
|
- // <text className='text'>分</text>
|
365
|
|
- // <text className='text time'>5</text>
|
366
|
|
- // <text className='text'>秒</text>
|
367
|
|
- // {/* <view>距离结束还有</view> */}
|
368
|
|
- // </view>
|
369
|
|
-
|
370
|
|
- // <view className='flex-h join'>
|
371
|
|
- // <view className='Collect' onClick={handleFavor}>
|
372
|
|
- // <text className='iconfont icon-shoucang' style={isSaved ? { color: 'red' } : undefined}></text>
|
373
|
|
- // <text>{isSaved ? '已收藏' : '收藏'}</text>
|
374
|
|
- // </view>
|
375
|
|
- // <view className='enlisted'>
|
376
|
|
- // <view>
|
377
|
|
- // <text className='iconfont icon-shoucang'></text>
|
378
|
|
- // <text>{detail.enlisted || 0}人已报名</text>
|
379
|
|
- // </view>
|
380
|
|
- // </view>
|
381
|
|
- // <view className='btn' onClick={handleSignup}>
|
382
|
|
- // <text>{activityStatusDict[detail.activityStatus]?.text1}</text>
|
383
|
|
- // </view>
|
384
|
|
- // </view>
|
385
|
|
- // {/* </view> */}
|
386
|
|
- // </view>
|
387
|
310
|
);
|
388
|
311
|
|
389
|
312
|
return (
|