myReport.wxml
4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!-- 我的报名页面 -->
<view class='warp_head'>
<view class="warp_name {{currTab==0?'active':''}}" data-current="0" bindtap='clickTab'><text></text>我的报名</view>
<view class="warp_name {{currTab==1?'active':''}}" data-current="1" bindtap='clickTab'><text></text>我的收藏</view>
<view class="warp_name {{currTab==2?'active':''}}" data-current="2" bindtap='clickTab'><text></text>评论回复</view>
<view class="warp_name {{currTab==3?'active':''}}" data-current="3" bindtap='clickTab'><text></text>我的微课</view>
</view>
<!-- begin:切换内容 -->
<view class="" wx:if="{{currTab==0}}">
<view class="nodata" wx:if="{{mysignlist.length==0}}">去看一下孕育妈咪圈的活动吧</view>
<block wx:else>
<view class='report_list' wx:for="{{mysignlist}}" wx:key=''>
<image class='report_img' src='{{item.list_pic}}'></image>
<view class='report_info'>
<view class='report_txt'>{{item.title}}</view>
<text class='report_char'>{{item.address}}</text>
<text class='report_char'>{{item.end_time}}</text>
<view class='report_flx'>
<text class='report_btn' wx:if="{{item.money==0}}">免费</text>
<text class='report_btn' wx:else>¥{{item.money}}</text>
<text class='report_btn report_over' wx:if="{{item.isOver==2}}">已结束</text>
</view>
</view>
</view>
</block>
<view class="searchfuwu c1" bindtap="join" wx:if="{{mysignlist.length==0}}">参加活动</view>
</view>
<view wx:if="{{currTab==1}}">
<view class="nodata" wx:if="{{mysignlist==0}}">去看一下孕育妈咪圈的活动吧</view>
<block wx:else>
<view class='report_list' wx:for="{{mysignlist}}" wx:key=''>
<image class='report_img' src='{{item.list_pic}}'></image>
<view class='report_info'>
<view class='report_txt'>{{item.title}}</view>
<text class='report_char'>{{item.address}}</text>
<text class='report_char'>{{item.end_time}}</text>
<view class='report_flx'>
<text class='report_btn' wx:if="{{item.money==0}}">免费</text>
<text class='report_btn' wx:else>¥{{item.money}}</text>
<text class='report_btn report_over' wx:if="{{item.isOver==1}}">已结束</text>
</view>
</view>
</view>
</block>
</view>
<view wx:if="{{currTab==2}}">
<view class="nodata" wx:if="{{content.length==0}}">去看一下孕育妈咪圈的活动吧</view>
<block wx:else>
<view class='report_menu' wx:for="{{content}}" wx:key="">
<view class='report_date'>{{item.common_time}}</view>
<view class='report_tab'>
<view class='report_comment'>您对{{item.title}}活动的评论有了回复</view>
<!-- begin:展开的内容 -->
<view class='report_con' wx:if="{{item.shows}}">
<text wx:if="{{item.is_commoned==1}}">{{item.commoned}}</text>
<text wx:if="{{item.is_commoned==2}}">{{item.content}}</text>
</view>
<!-- begin:点击展开 -->
<view class='reply_box' bindtap='showHide' data-changeid="{{item.id}}">
<text class='reply_open' wx:if="{{item.shows}}">收起回复</text>
<text class='reply_open' wx:else>展开回复</text>
<image class='reply_img reply_rote' wx:if="{{item.shows}}" src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
<image class='reply_img' wx:else src='http://bronet.ibaby88.cn/aicon01@2x.png'></image>
</view>
</view>
</view>
</block>
<view class="searchfuwu c2" bindtap="join" wx:if="{{content.length==0}}">参加活动</view>
</view>
<view wx:if="{{currTab==3}}">
<view class="nodata" wx:if="{{mincourse.length==0}}">去看一下孕育妈咪圈的活动吧</view>
<block wx:else>
<view class='course_box' bindtap='course_Tap' wx:for="{{mincourse}}" wx:key="" data-activityid="{{item.ActivityId}}">
<image class='course_img' src='{{item.pic}}'></image>
<view class='course_menu'>
<view class='course_txt'>儿童险TOP16爆款问题,答案儿童险TOP16爆款问题,答案儿童险TOP16爆款问题,答案</view>
<view class='course_name'>孙潇潇</view>
<view class='course_price'>2018年10月1日 10:00</view>
</view>
</view>
</block>
<view class="searchfuwu c3" bindtap="join" wx:if="{{mincourse.length==0}}">参加活动</view>
</view>